[FFmpeg-devel] ffmpeg isn't able to conceal a whole frame loss!

Michael Niedermayer michaelni
Thu Feb 5 13:41:15 CET 2009

On Wed, Feb 04, 2009 at 11:16:02PM -0800, Hadi Hadizadeh wrote:
> Hi,I have encoded a video file using x264. To simulate the effect of the channel error,
> I drop some of its NAL units. By dropping a NAL unit, actually we loss a whole frame.
> I tried to decode this bitstram using ffmpeg but it seems that ffmpeg is not able to 
> handle a whole frame loss! For example, whenever it faces with a lost frame, 

if you encode a frame as a single NAL unit (without slices), and drop that
(which really is droping the whole frame), yes you will have 1 frame less.
In principle such frames could be interpolated along motion vectors but we
dont do that, also its rather obscure because videos intended to be
transmitted across lossy channels use multiple slices normally.

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090205/26c64204/attachment.pgp>

More information about the ffmpeg-devel mailing list