How to convert captured video stream with two slice packet to transport stream with one slice packet using ffmpeg?

只谈情不闲聊 提交于 2019-12-25 01:22:29

问题


I have captured video frame from multi media device. Captured stream has two slice packets. For testing a use case I need to convert it to transport stream with one slice packet.

Any suggestions/pointers?


回答1:


One slice is default on all h264 encoders I know of. Use ‘ffmpeg -i file.ts our -codec libx264 outfile.ts’



来源:https://stackoverflow.com/questions/58106400/how-to-convert-captured-video-stream-with-two-slice-packet-to-transport-stream-w

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