[FFmpeg-user] Seeking a more detail explanation of err_detect options
Grilled Tanuki
flamegrilledtanuki at gmail.com
Fri May 30 15:20:42 EEST 2025
Hi all,
I am writing some software to parse through a repository of videos to
detect encoding errors that would result in a visual or audible glitch. I'm
not concerned about minor issues that a decoder can handle gracefully. I
have been using the following command.
FFMPEG_PATH -xerror -err_detect ERROR_DETECT -loglevel error -hwaccel cuda
-hwaccel_output_format cuda -i FILE_PATH -f null -
The documentation for err_detect lists the following options.
crccheck - verify embedded CRCs
bitstream - detect bitstream specification deviations
buffer - detect improper bitstream length
explode - abort decoding on minor error detection
ignore_err - ignore decoding errors, and continue decoding.
careful - consider things that violate the spec and have not been seen in
the wild as errors
compliant - consider all spec non compliances as errors
aggressive - consider things that a sane encoder should not do as an error
I have been using explode, however this fails on inconsequential errors
where the video still plays through fine. I want to switch to an option
that should only flag noticeable glitches, but the documentation on the
options is brief and vague to me. Does anyone have any insight on what
these options do and could give me a more detailed description?
Thanks
More information about the ffmpeg-user
mailing list