Difference between revisions of "Live Streaming"

From Department of Computer Science
Line 1: Line 1:
 
== Source machine ==
 
== Source machine ==
  
  sudo dv-grab - | vlc - --file-caching 1000 \
+
  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
    --sout '#duplicate{dst=display,dst="transcode{vcodec=x264,acodec=mp4a,vb=800,ab=128,deinterlace}:duplicate{dst=rtp{mux=ts,dst=239.255.12.42,sdp=sap,name='TestStream'},dst=rtp{mux=ts,dst=marcos2.cs.uct.ac.za}"'
 
  
 
== RTSP Server ==
 
== RTSP Server ==

Revision as of 17:06, 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

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}

Clients

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

or

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