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...)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Source machine ==
 
== Source machine ==
  
  sudo vlc-wrapper -vvv dv/rawdv:///dev/raw1394 --dv-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 ==
  
  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 ==
 +
 
 +
vlc rtsp://marcos2.cs.uct.ac.za:8080/test
 +
 
 +
or
 +
 
 +
totem rtsp://marcos2.cs.uct.ac.za:8080/test

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