Reputation: 21
How to get frame rate and bitrate from h.264 video stream? I'm able to get width and height from SPS NAL unit but not the frame rate.
Upvotes: 2
Views: 5214
Reputation: 69662
vui_parameters
of SPS NAL has fields: timing_info_present_flag
, num_units_in_tick
, time_scale
, fixed_frame_rate_flag
- together they define frame rate of the stream (when/if applicable).
Upvotes: 5