[FFmpeg-user] Number of decoded frames in AVStream
Gyan
ffmpeg at gyani.pro
Fri May 10 07:40:22 EEST 2019
On 10-05-2019 03:37 AM, Andriy Gelman wrote:
> Hello,
> Does anybody know if AVStream tracks the number of decoded frames?
> I've tested a few of the variables AVStream::nb_frames and
> AVStream::codec_info_nb_frames, but these don't work (as also stated in
> documentation)
The AVCodecContext of the decoder has a field frame_number that tracks
the frames returned to the caller.
Gyan
More information about the ffmpeg-user
mailing list