Log in

View Full Version : ffmpeg isn't able to conceal a whole frame loss!


Redhat_doom
5th February 2009, 03:02
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, it simply discard that frame:

"[h264 @0x3f130] number of reference frames exceeds max (probably corrupt input), discarding one"

But do you know any switch for adding a whole frame concealment capability to ffmpeg? Any idea? Thanks!

Guest
5th February 2009, 03:12
Read ffmpeg documentation for available switches.

Redhat_doom
5th February 2009, 03:18
Read ffmpeg documentation for available switches.


Actually, ffmpeg has the following options for error concealment:

-ec <flags> .DV.. set error concealment strategy
guess_mvs .DV.. iterative motion vector (MV) search (slow)
deblock .DV.. use strong deblock filter for damaged MBs

But none of them can perform a whole frame concealment! I tried them. Any another idea? Thanks!