简体   繁体   English

将h264视频流转换/包装为MPEG2 TS

[英]Converting/wrapping h264 video stream into MPEG2 TS

I am reading in an mp4 file which I can demux. 我正在读取可以解复用的mp4文件。 The file contains h264 video stream. 该文件包含h264视频流。 I want to be able to wrap the h264 video stream in mpeg2 ts such that I can pass it onto other parts of the system as mpeg2 ts or even writing it into a new file as mpeg2 ts. 我希望能够将h264视频流包装在mpeg2 ts中,以便可以将其作为mpeg2 ts传递到系统的其他部分,甚至可以将其作为mpeg2 ts写入新文件中。 Any pointers would be appreciated. 任何指针将不胜感激。

Thanks, 谢谢,

I recommend FFMPEG for this task. 对于此任务,我建议使用FFMPEG Here are some example uses for format conversions 这是格式转换的一些示例用法

tsMuxeR was built for this purpose. tsMuxeR是为此目的而构建的。

If you have troubles with that tool, try TsRemux . 如果您对该工具有疑问 ,请尝试TsRemux

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM