Convert H.264 Annex B to MPEG-TS

ⅰ亾dé卋堺 提交于 2019-12-05 17:50:37
szatmary

Its not a format change. It is a container. There is no need to parse out annex b to write it to a TS file. The TS wraps a PES that wraps a annex b stream. The mpegts format is pretty complex, especially without a third party library. The ts code i wrote and use at work is about 1000 lines of C++.

To write TS code, start by trying to reading a TS file using a hex editor, and referencing the wikipedia documentation. The book Video Demystified also has fairly good documentation.

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