问题
Does H.264 buffer contains Time stamp and decoding time stamp information. when we get the H.264 nalu data does that contain timing information in it?
回答1:
If you mean raw H.264 NAL units than no they don't contain timing information if mean something like PTS/DTS. Timestamps are on higher level in containers like MKV/MP4/TS. The only time related information in H.264 specs afaik are num_units_in_tick/time_scale in VUI that can be used to finding FPS in case of constant frame rate (fixed_frame_rate_flag = 1), and some fields in Picture timing SEI but as they are optional and not really well specified so nobody really use them.
来源:https://stackoverflow.com/questions/22709183/time-stamp-and-composition-time-offset