Number of decoded frames in AVStream

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Number of decoded frames in AVStream

Andriy Gelman
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)

Thanks,
Andriy
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Number of decoded frames in AVStream

Gyan


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
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".