Skip to content

Instantly share code, notes, and snippets.

@alcir
Created February 3, 2014 11:36
Show Gist options
  • Save alcir/8782438 to your computer and use it in GitHub Desktop.
Save alcir/8782438 to your computer and use it in GitHub Desktop.
vlc
new channel1 broadcast enabled
setup channel1 input "rtsp://192.168.29.100:554/axis-media/media.amp"
#setup channel1 output #http{mux=ts,dst=:8090/live1}
#setup channel1 output #rtp{mux=ts,dst=,port=5004,sdp=sap://,name="Channel 2"}
#setup channel1 output #rtp{access=udp,mux=ts,dst=224.255.1.1,port=1234,sdp=sap,sap,group="Video",name="2007 Movie"}
#setup channel1 output #rtp{sdp=rtsp://0.0.0.0:8080/test100.sdp}
setup channel1 output #rtp{sdp=rtsp://0.0.0.0:8080/test100.sdp,mux=ts{crypt-video,crypt-audio,csa-ck=1234}}
new channel2 broadcast enabled
setup channel2 input "rtsp://192.168.29.101:554/axis-media/media.amp"
setup channel2 output #rtp{sdp=rtsp://0.0.0.0:8080/test101.sdp}
new channel3 broadcast enabled
setup channel2 input "rtsp://0.0.0.0:554/cane.amp"
setup channel2 output #rtp{sdp=rtsp://0.0.0.0:8080/cane.sdp}
control channel1 play
control channel2 play
control channel3 play
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment