I am pretty new to using VideoLAN on the commandline.
I tried:
Code: Select all
vlc screen:// :sout='#transcode{vcodec=mp2v,vb=2048}:std{access=udp,mux=ts,dst=224.0.0.0:1234}'
But that just brings up a VLC player that does not apper to be broadcasting anything. If I click 'play' it will say 'screen' in the status bar for a split second, but then disapear and stop.
I tried this from the streaming docs:
Code: Select all
vlc -vvv screen:// --sout '#duplicate{dst=standard{access=udp,mux=ts,dst=239.255.1.2,sap,name="OriginalStream"},
dst="transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
standard{access=udp,mux=ts,dst=239.255.1.3,sap,name="TranscodedStream"}"}'
But I get the same result.
Surely I am close?
EDIT:
This command appears to be trying, but I am getting a black screen on the client VLC
Code: Select all
vlc screen:// --sout "#transcode{vcodec=mp2v,vb=2048}:
std{access=udp,mux=ts,dst=224.0.0.0:1234}"
EDIT AGAIN:
This command works, but is horrendously slow. Need to study bitrates.
Code: Select all
vlc screen:// --sout "#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:
std{access=udp,mux=ts,dst=224.0.0.0:1234}"