[FFmpeg-devel] A problem with Error Concealment in P-frames (error_resilience.c)...

Michael Niedermayer michaelni
Mon Mar 30 04:36:31 CEST 2009

On Sun, Mar 29, 2009 at 06:51:13PM -0700, Hadi Hadizadeh wrote:
> Hi,
> ?
> I encoded a video with x264 with 2 slices per frame and then I dropped the
> second slice of the first P-frame but unfortunately, the codes in 
> error_resilience.c cannot conceal the lost slice. Actually, I think it 
> cannot detect the macroblocks which have been lost and so it cannot find 
> the motion vector of the lost macroblocks. But what is the wrong and how 
> can I enable error concealment for lost slices in P-frames? Thanks!

IIRC Our error concealment code is able to hanle lost slices with
h263/mpeg1/2/4, i dont think ive tried h264, maybe you misconfigured lavc,
if not a patch fixing the bug is welcome

also for both config and bug see:
    /* handle missing slices */

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- 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/20090330/f3c22126/attachment.pgp>

More information about the ffmpeg-devel mailing list