Stream multiple displays using one VLC instance
Trying to figure out a way to start an instance of VLC from the command
line to stream 3 displays on a Win7 box. We can start an instance of each
one individually, and connect to each (though not at the same time, hence
the need for 1 instance; we are assuming this will fix it).
Constraints & progress thus far:
HTTP stream/connect method with authentication = working individually
Same IP and Port (192.168.x.x & 8181 respectively) = working individually
Different paths (/screen1, /screen2, /screen3) = working individually
Running separate instances using multiple IP's and/or NIC's = works as alt
solution; not desirable as final solution
Sample cmd string for primary monitor with local display option (nothing
fancy):
vlc screen:// :screen-fps=20.000000 :live-caching=300
:sout=#transcode{vcodec=MJPG,vb=800,fps=20,scale=0.5,acodec=none,user=admin,pwd=admin}:duplicate{dst=http{mux=mpjpeg,dst=:8181/screen1},dst=display}
:sout-keep
Sample cmd string for second monitor with local display option:
vlc screen:// :screen-fps=20.000000 :screen-width=1600 :screen-height=900
:screen-top=-900 :screen-left=-1280 :live-caching=300
:sout=#transcode{vcodec=MJPG,vb=800,fps=20,scale=0.5,acodec=none,user=admin,pwd=admin}:duplicate{dst=http{mux=mpjpeg,dst=:8181/screen2},dst=display}
:sout-keep
Again, is there a way to combine them into same cmd string, resulting in
2+ streams (1 for each monitor/display), within said instance? Started
looking at VLM and MOSAIC, but seemed overkill? Stuck for the moment.
No comments:
Post a Comment