Difference between revisions of "Live Streaming"

From Department of Computer Science
(New page: == Source machine == sudo vlc-wrapper -vvv dv/rawdv:///dev/raw1394 --dv-caching 1000 \ --sout '#duplicate{dst=display,dst="transcode{vcodec=x264,acodec=mp4a,vb=800,ab=128,deinterlace...)
 
Line 1: Line 1:
 
== Source machine ==
 
== Source machine ==
  
  sudo vlc-wrapper -vvv dv/rawdv:///dev/raw1394 --dv-caching 1000 \
+
  sudo dv-grab - | vlc - --file-caching 1000 \
 
     --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}"'
 
     --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}"'
  
Line 7: Line 7:
  
 
  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}
 
  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

Revision as of 16:32, 24 February 2010

Source machine

sudo dv-grab - | vlc - --file-caching 1000 \
   --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

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