[FFmpeg-devel] [PATCH] PB-frames support for i263

compn tempn
Wed Feb 18 16:59:57 CET 2009


On Wed, 18 Feb 2009 13:31:34 +0100, Michael Niedermayer wrote:
>On Wed, Feb 18, 2009 at 07:06:45AM -0500, compn wrote:
>> perhapse this 'try to decode even when unexpected happens' idea should
>> go in ffmpeg codec howto (and cook decoder?)?
>> 
>> http://wiki.multimedia.cx/index.php?title=FFmpeg_codec_howto
>
>yes, please add :)
>"The decission between erroring out or not in case of unexpected data
> should be made so that the output quality is maximized.
> This means that if undamaged data is assumed then unused/resereved values
> should lead to warnings but not failure. (assumtion of slightly non compliant
> file)
> OTOH if possibly damaged data is assumed and it is assumed that the original
> did contain specific values in reserved/unused fields then finding unexpected
> values should trigger error concealment code and the decoder/demuxer should
> attempt to resync.
> The decission between these 2 should be made by using 
> AVCodecContext.error_recognition unless its a clear case where only one of
> the 2 makes sense.
>"

thanks, added.

-compn




More information about the ffmpeg-devel mailing list