[FFmpeg-devel] How to drop slice/packet to introduce losses for h264

Omkiran Sharma omkiran.for.wiki at gmail.com
Thu Aug 18 20:39:05 CEST 2011

why don't you write a small utility to just drop some nal units based
on some random variable whose distribution you can control and run
your streams through the utility.. this way it will work irrespective
of the encoder you use.

On Thu, Aug 18, 2011 at 11:51 PM, Hardik Sharma
<hardik.sharma22 at yahoo.com> wrote:
> Thanks Michael. Can you please elaborate a little bit more as I am not very comfortable with the code. I will appreciate it.
> On Wed, Aug 17, 2011 at 07:44:38PM -0700, Hardik Sharma wrote:
>>Hi  >>I am doing some experiment to check how ffmpeg/x264 react to packet or slice drop in h264 video streams. I already experimented with several sets of parameters to compare ffmpeg with JM. Can anyone tell me or help me to find out that how I can drop slices in ffmpeg/x264? I really appreciate any kind of help. Thanks.  >If you want to drop slices in ffmpeg, it probably could be hacked in
> easily in the h264 parser and then stream copy be used
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list