我正在尝试在 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"