[Libav-user] newbie question: what is the appropriate/best way to obtain frame_rate from a video and how to control it when decoding video?
Yingzhou Zhang
zhangjsj at gmail.com
Mon Dec 19 07:25:19 CET 2011
hey there.
I have googled a little bit,found 2 way
1:AVFormatContext->streams->time_base.num/den?
2:AVCodecContext-> streams->r_frame_rate?
However the output of the 2 ways are not the same??
Could you tell me what is the exact way to get frame_rate and how to
control it when decoding video?
Thanks a lot
--
---------------------
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20111219/6538200d/attachment.html>
More information about the Libav-user
mailing list