[FFmpeg-devel] How to disable all error concealment methods in ffmpeg...

Hadi Hadizadeh hadipardis
Sat Apr 25 19:55:53 CEST 2009

Thanks! I used "-er 0" to disable all error concealment methods. 
Then I dropped the second slice in the second P-frame. The result was
very horrible!! I dropped only the seond slice, but it seems that the other slices have
been corrupted as well!! So, I think there is something wrong in h264.c. I found that in
function decode_slice in h264.c when the function wants to read the third slice, the value of
"ret = decode_mb_cabac(h)" becomes negative after reading only 1 macroblock!

? int ret = decode_mb_cabac(h);
? int eos;
? ...

But what is the wrong? I can send a sample video clip to show this problem. Any idea? Thanks!

----- Original Message ----
From: Michael Niedermayer <michaelni at gmx.at>
To: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
Sent: Saturday, April 25, 2009 5:12:48 AM
Subject: Re: [FFmpeg-devel] How to disable all error concealment methods in ffmpeg...

On Fri, Apr 24, 2009 at 11:59:59PM -0700, Hadi Hadizadeh wrote:
> Hi,
> How can we disable all error concealment methods used in ffmpeg? Any idea? Thanks!

-er 0


Michael? ? GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable


More information about the ffmpeg-devel mailing list