diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2021-01-10 19:14:37 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2021-01-10 19:14:37 +0530 |
commit | 0fff6c039c7e52c41ec003b5ab47b5adb3daeb48 (patch) | |
tree | f615065e3a14ac7fc673b684f1eb42337979e856 | |
parent | 2e2891383e596314a9888ba9b99d6987c82d7c9b (diff) | |
download | ffmpeg-0fff6c039c7e52c41ec003b5ab47b5adb3daeb48.tar.gz |
doc/ffmpeg: document max_error_rate
-rw-r--r-- | doc/ffmpeg.texi | 5 | ||||
-rw-r--r-- | fftools/ffmpeg_opt.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 62015d7565..470ce961ce 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -1739,6 +1739,11 @@ No packets were passed to the muxer, the output is empty. No packets were passed to the muxer in some of the output streams. @end table +@item -max_error_rate (@emph{global}) +Set fraction of decoding frame failures across all inputs which when crossed +ffmpeg will return exit code 69. Crossing this threshold does not terminate +processing. Range is a floating-point number between 0 to 1. Default is 2/3. + @item -xerror (@emph{global}) Stop and exit on error diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index c295514401..fd923fce04 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -3586,7 +3586,7 @@ const OptionDef options[] = { { "debug_ts", OPT_BOOL | OPT_EXPERT, { &debug_ts }, "print timestamp debugging info" }, { "max_error_rate", HAS_ARG | OPT_FLOAT, { &max_error_rate }, - "ratio of errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.", "maximum error rate" }, + "ratio of decoding errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg returns an error instead of success.", "maximum error rate" }, { "discard", OPT_STRING | HAS_ARG | OPT_SPEC | OPT_INPUT, { .off = OFFSET(discard) }, "discard", "" }, |