[FFmpeg-devel] [PATCH 1/3] avcodec: add AV_EF_IGNORE_ERR

Michael Niedermayer michaelni at gmx.at
Fri May 2 18:43:15 CEST 2014


On Fri, May 02, 2014 at 05:21:14PM +0200, wm4 wrote:
> On Fri,  2 May 2014 17:00:46 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> 
> 
> > +#define AV_EF_IGNORE_ERR (1<<15)        ///< ignore errors and continue
> 
> > +{"ignore_err", "ignore errors", 0, AV_OPT_TYPE_CONST, {.i64 = AV_EF_IGNORE_ERR }, INT_MIN, INT_MAX, A|V|D, "err_detect"},
> 
> But what does it do? The description is a bit generic, and there's no
> other information available.

heres the docs that i forgot:
@@ -285,6 +285,11 @@ detect bitstream specification deviations
 detect improper bitstream length
 @item explode
 abort decoding on minor error detection
+ at item ignore_err
+ignore decoding errors, and continue decoding.
+This is usefull if you want to analyze the content of a video and thus want
+everything to be decoded no matter what. This option will not result in a video
+that is pleasing to watch in case of errors.
 @item careful
 consider things that violate the spec and have not been seen in the wild as errors
 @item compliant

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140502/0bad292b/attachment.asc>


More information about the ffmpeg-devel mailing list