[FFmpeg-devel] [PATCH] Display decoded frame number on error
Remi Achard
remiachard at gmail.com
Fri Jul 12 14:09:58 EEST 2019
>
> Add `-copyts` for that. If you want the index of the first decode
> failure, you don't need this patch. Run with `-xerror -v verbose`.
> ist->frames_decoded will be printed for each input stream. Add 1 to
> that. The `time=` value at the end should be the timestamp + duration of
> the last successfully decoded frame, but if you have other streams or
> vsync cfr set, this may not hold.
>
This did the trick thanks. For the -v verbose this indeed print the last
decoded frame on normal run but not when using -xerror.
Eg.
[AVIOContext @ 0x7f7f77000080] Statistics: 52700397 bytes read, 4 seeks
More information about the ffmpeg-devel
mailing list