akupenguin
17th October 2006, 22:50
1. akupenguin says that the framerate is always written and apparently (according to him) this is true if it is specified on the command line or not. But it doesn't appear there is a designated place within the specification as to where it is written and perhaps even required to be written in the raw form.
ITU-T H.264 (http://akuvian.org/src/x264/ITU-T_H264.pdf.gz) page 311 section E.1.1 "VUI parameters syntax", specifically the variables "num_units_in_tick", "time_scale", and "fixed_frame_rate_flag". And page 320 where their semantics are specified.
True, the encoder is not required to write a framerate in the stream (note the surrounding if(), and that the whole vui_parameters() is also optional). But it's certainly defined. And x264 chooses to always write vui, including framerate.
ITU-T H.264 (http://akuvian.org/src/x264/ITU-T_H264.pdf.gz) page 311 section E.1.1 "VUI parameters syntax", specifically the variables "num_units_in_tick", "time_scale", and "fixed_frame_rate_flag". And page 320 where their semantics are specified.
True, the encoder is not required to write a framerate in the stream (note the surrounding if(), and that the whole vui_parameters() is also optional). But it's certainly defined. And x264 chooses to always write vui, including framerate.