Difference between revisions of "Live Streaming"

From Department of Computer Science
 
Line 5: Line 5:
 
== RTSP Server ==
 
== RTSP Server ==
  
  vlc -vv rtp://137.158.63.253 --sout #rtp{dst=137.158.60.107,port=8080,sdp=rtsp://marcos2.cs.uct.ac.za:8080/test}
+
  sudo vlc-wrapper -v rtp://137.158.60.124 --sout '#duplicate{dst=rtp{dst=137.158.60.107,sdp=rtsp://marcos2.cs.uct.ac.za/test},dst=std{access=http,mux=ts,dst=marcos2.cs.uct.ac.za:8080/test}}' --rtp-caching 1000
  
 
== Clients ==
 
== Clients ==

Latest revision as of 17:08, 25 February 2010

Source machine

sudo ls; sudo dvgrab - | vlc - --sout '#transcode{vcodec=h264,acodec=mpga,vb=800,ab=128,deinterlace,hurry-up}:duplicate{dst=rtp{mux=ts,dst=137.158.60.107},dst=rtp{mux=ts,dst=239.255.12.42,sdp=sap,name=TestStream}}' --file-caching 1000 --intf none

RTSP Server

sudo vlc-wrapper -v rtp://137.158.60.124 --sout '#duplicate{dst=rtp{dst=137.158.60.107,sdp=rtsp://marcos2.cs.uct.ac.za/test},dst=std{access=http,mux=ts,dst=marcos2.cs.uct.ac.za:8080/test}}' --rtp-caching 1000

Clients

vlc rtsp://marcos2.cs.uct.ac.za:8080/test

or

totem rtsp://marcos2.cs.uct.ac.za:8080/test