Streaming VLC中MJPEG源的镶嵌

Streaming VLC中MJPEG源的镶嵌,streaming,vlc,mjpeg,Streaming,Vlc,Mjpeg,我试图从多个mjpeg源建立一个马赛克流,并将其输出为另一个mjpeg。web界面中的矩阵向导要么已损坏,要么只是不清楚,VLC网站上的马赛克教程似乎无法帮助完成它。到目前为止,我得到的是: new channel1 broadcast enabled setup channel1 input "http://192.168.1.100:8080/video" setup channel

我试图从多个mjpeg源建立一个马赛克流,并将其输出为另一个mjpeg。web界面中的矩阵向导要么已损坏,要么只是不清楚,VLC网站上的马赛克教程似乎无法帮助完成它。到目前为止,我得到的是:

new channel1 broadcast enabled                                                       
setup channel1 input "http://192.168.1.100:8080/video"
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}                                                         

new channel2 broadcast enabled
setup channel2 input "http://192.168.1.100:8080/video"
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}                                                         

new channel3 broadcast enabled
setup channel3 input "http://192.168.1.100:8080/video"
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio}                                                         

new background broadcast enabled
setup background option image-duration=-1
setup background input flower.png
setup background output #transcode{sfilter=mosaic,vcodec=MJPEG,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=http,mux=MPJPEG,dst=127.0.0.1:333/mosaic}

control background play
control channel1 play
control channel2 play
control channel3 play
这看起来很接近它应该是什么,但不工作。有什么想法吗

非常感谢,
Igor

当你说它不工作时,你是说你看不到输出文件中镶嵌的视频吗?就我个人而言,我在使用rtsp streams时让它工作,但在使用http时却无法让它工作。您可以尝试从本地文件(磁盘上)创建马赛克,以帮助排除任何网络问题。此外,如果您的系统功能不足,您将获得一个没有镶嵌视频的视频文件。尝试一个流来检查这是否是问题所在。最后,如果您的背景图像、视频流和马赛克输出视频分辨率适合,它将有所帮助


希望这有帮助。

首先,您需要指定背景图片的完整路径;然后更改行:
设置背景输入flower.png
例如:
设置背景输入/home/yourName/flower.png

然后您必须知道,
--udp缓存
选项现在不受支持;那就省略它吧。另外,我建议您删除
马赛克保留图片
选项。
我将此帮助带回家。

这不是一个与编程相关的问题,请参阅感谢启动!没有通信问题,因为我直接在浏览器中看到mjpg流,也可以使用简单的html将四个流拼成一个马赛克,所以我猜系统功能也应该很好。我的猜测是,与rtsp一起工作的东西需要一些修改才能与mjpg一起工作,而且可能是我的命令行语法可能是错误的,现在它是
vlc-vvv--color-iqt--vlm-conf-mosaic.vlm.conf--mosaic width=360--mosaic height=288--mosaic keep picture--mosaic rows=2--mosaic position=1--mosaic order=1,2,3,4--ttl12--udp caching 800
将感谢您的更多建议!德克萨斯州!