以下摘抄自https://www.ietf.org/mail-archive/web/avt/current/msg09797.html
The maximum possible frame rate is always equal to time_scale / (2 * num_units_in_tick), regardless of the value of fixed_frame_rate_flag. Frame skipping is not allowed when fixed_frame_rate_flag is equal to 1. Gary Sullivan
翻译是:
最大的可能帧率永远等于sps的vui中的time_scale / (2 * num_units_in_tick),而不管fixed_frame_rate_flag的值是0还是1。
顺便说说一种可能的帧率获取错误的情况,就是time_scale / (2 * num_units_in_tick)明显不等于正确的帧率,这很有可能是因为没有去掉h264中的防止竞争码03。