Home / simple vlc share desktop screen

simple vlc share desktop screen


using rtsp
vlc  -vvv -I dummy "screen://" --sout "#transcode{venc=x264{keyint=60,profile=baseline,level=3.0,nocabac},vcodec=x264,vb1000,fps=15}:rtp{sdp=rtsp://:8554/11}"
vlc rtsp://127.0.0.1:8554/11

using hls

vlc -vvv -I dummy "screen://" --sout "#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8082/desktop}" 

vlc -vvv -I dummy "screen://" --sout '#transcode{vcodec=mp2v,acodec=a52,vb=1024,ab=64,width=640,height=480}:standard{access=http,mux=ts,dst=:8082/desktop}'

vlc -vvv -I dummy "screen://" --sout '#transcode{vcodec=x264,acodec=a52,vb=1024,ab=64,width=640,height=480}:standard{access=http,dst=:8082/desktop}'


part of screen:

vlc -vvv screen:// :screen-fps=25 :screen-top=545 :screen-left=232 :screen-width=250 :screen-height=120 "#transcode{vcodec=h264,acodec=none,fps=25}:rtp{dst=127.0.0.1,port=5004,mux=ts,ttl=1} "


<video id="localVideo2" controls src="http://127.0.0.1:8081/desktop" autoplay muted style="width:40%;"></video>
vvv:verbose 
-I dummy :no gui




     RSS of this page