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

Michael Niedermayer michaelni at gmx.at
Thu Aug 18 16:40:16 CEST 2011

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110818/597f6c49/attachment.asc>

More information about the ffmpeg-devel mailing list