Difference between revisions of "Live Streaming"
From Department of Computer Science
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Source machine == | == Source machine == | ||
− | sudo | + | 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 == | == RTSP Server == | ||
− | vlc - | + | 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