Udp流在vlc马赛克中

时间:2013-04-18 10:25:55

标签: windows stream udp vlc mosaic

我正在尝试使用Windows 7上的VLC 2.0.5在一个马赛克中重新组合三个UDP流。我不需要流式传输;但只是在我的屏幕上显示它。但我做错了,希望有人可以提供帮助。

这是我的conf文件:

new 1 broadcast enabled
setup 1 input "udp://@1.2.3.1:1234"
setup 1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}
new 2 broadcast enabled
setup 2 input "udp://@1.2.3.2:1234"
setup 2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}
new 6 broadcast enabled
setup 6 input "udp://@1.2.3.3:1235"
setup 6 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio} 
new BackGround broadcast enabled loop
setup BackGround input "file:///C:/file.bmp"
setup BackGround output output #transcode{sfilter=mosaic,vcodec=mp2v,vb=500,scale=1}:bridge-in{delay=400,id-offset=100}:display
setup BackGround option file-caching=300

control 1 play
control 2 play
control 6 play
control BackGround play

这是我的命令: ./vlc --color --vlm-conf --mosaic-width = 360 - mosaic-height = 288 - mosaic-keep-picture --mosaic-rows = 2 --mosaic-cols = 2 --mosaic- position = 1 --mosaic-order = 1,2,3,4。“mosaic.vlm.conf”

1 个答案:

答案 0 :(得分:1)

--vlm-conf之后,您应该指定输入vlm配置文件;你最后指定了它! 试试这个:

vlc --color --vlm-conf mosaic.conf --mosaic-width 360 --mosaic-height 288 - mosaic-rows 2 --mosaic-cols 2 --mosaic-order 1,2,3, 4