我使用 libavcodec 进行视频处理。
的文档AVStream->r_frame_rate
说
Real base framerate of the stream.
This is the lowest framerate with which all timestamps can be
represented accurately (it is the least common multiple of all
framerates in the stream). Note, this value is just a guess!
我尝试了几个 mp4 和 avi 视频(25fps)并且r_frame_rate
总是像我预期的那样 25。所以,我想了解为什么文档说...is just a guess!
如果我总是得到精确的 fps?什么时候改变?