[FFmpeg-devel] [PATCH] Display decoded frame number on error

Remi Achard remiachard at gmail.com
Fri Jul 12 13:15:14 EEST 2019


>
> Let's call good frames G and bad frames B. If your input is    G G G B B
> B G G B   then for all 3 initial B frames, ist->frames_decoded will be
> 3, and 5 for the last B frame. So, what your patched log tells you is
> the total number of previous _successful_ decodes. Presumably, you wish
> to see 4, 5, 6 and 9 respectively for these B frames.
>
 Oh I see what you mean, I was only considering the case where you use the
exit on error flag (-xerror).
Not sure what the clean way of doing this would be, without creating
aditional counter.


More information about the ffmpeg-devel mailing list