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

Remi Achard remiachard at gmail.com
Fri Jul 12 13:31:20 EEST 2019


>
> Exactly, you need to use the format string for uint64_t, PRIu64 from
> memory; check in the code base and standard.
>

Thanks for the pointer, didn't knew this.


> Then I think the timestamp of the frame would be a better choice. IIUC,
> the field you print depends on the way ffmpeg processes the frames,
> including seek: it is not robust.
>

Would you advice using the AVFrame::best_effort_timestamp field ?
One problem I see is that it doesn't seems to be aware of trim command (eg.
-ss flag).


More information about the ffmpeg-devel mailing list