Pipe UDP input to FFMPEG

冷暖自知 提交于 2019-12-01 00:24:40

This should work:

ffmpeg -i udp://localhost:1234 -vcodec copy output.mp4

Or try:

ffmpeg -i rtp://localhost:1234 -vcodec copy output.mp4

Replace 1234 with your port. I assume that the input is already in H.264, if not, remove the -vcodec copy.

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