I have been struggling for the last 5 hours trying to get each steps working, and I have a lot of trouble.
My goal: I have one computer streaming a video to me(using VLC as well), one device to capture a video. I want to put both videos side-by-side, take audio from one of them(or from a third source), and stream that to clients(optimal would be to a webpage, could also be to multiple clients, and if necessary to one single client, but that would be worst case).
I have tried a lot of combinations of the vlm.conf as seen on examples, but it just doesn't seem to want to work.
Here is a copy of what I believe should work(as I said, I made various tries):
Code: Select all
new channel1 broadcast enabled
setup channel1 input kite.mpg
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=384,width=512},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input kite.mpg
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=384,width=512},select=video,dst=bridge-out{id=2},select=audio}
new background broadcast enabled
setup background input mire1.png
setup background output #transcode{sfilter=mosaic,vcodec=mp4v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=udp,mux=ts,url=239.255.12.42,sap,name="mosaic"}
control background play
control channel1 play
control channel2 play
,the command I use to start it:
Code: Select all
vlc --color --vlm-conf vlm.conf --mosaic-width=1024 --mosaic-height=768 --mosaic-keep-picture --mosaic-rows=1 --mosaic-cols=2 --mosaic-position=1 --mosaic-order=1,2
Code: Select all
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x103079c80] main interface error: no suitable interface module
[0x10020a1e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Fontconfig error: Cannot load default config file
Fontconfig error: Cannot load default config file
[mpeg4 @ 0x1028d6420] removing common factors from framerate
[0x100601240] main mux error: cannot add this stream
[0x100601240] main mux error: cannot add this stream
I think I'm missing something basic, but I really can't see what exactly... Read several tutorials and links about possible configurations, again, nothing solved this.
More specifically, I'm having a hard time understanding what exactly what dst=bridge-out means? I think that might be the key?
I'm running on Mac OS X, VLC 2.0.1
Thanks a lot for your help!