- 【ffmpeg】 Setting r_frame_rate num 120,den 1 是发生在 avformat_find_stream_info 过程中的帧率探测结果。
不可信赖的tb 则需探测帧率
- tb_unreliable
- AV_CODEC_ID_MPEG2VIDEO 和 AV_CODEC_ID_H264 都需要探测帧率。
- 这是在快速接受中的值之间进行平衡的启发式方法
- MPEG-2 通常滥用字段重复标志来存储不同的帧速率。
- 还有一些“可变”的 fps 文件也需要检测。
/* Is the time base unreliable?
* This is a heuristic to balance between quick acceptance of the values in
* the headers vs. some extra checks.
* Old DivX and Xvid often have nonsense timebases like 1fps or 2fps.
* MPEG-2 commonly