Time stamp and composition time offset

青春壹個敷衍的年華 提交于 2019-12-05 06:41:32

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!