VLC notes: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
Notes about the state of video streaming.
==Notes on the state of video streaming.==


On the relay machine (has bandwidth in a datacenter somewhere, IP address is $relay):
vlc rtp://@:11000 --sout '#standard{access=http,mux=ts,dst=$relay:8080'


Stream from a system running linux with a firewire camera attached:
On the machine with a digital video camera connected:
  dvgrab -format dv1 - | ffmpeg -f dv -i -  -target ntsc-dvd - | cvlc -vvv - --sout '#standard{access=http,mux=ts,dst=172.30.1.17:8080'
  dvgrab -format dv1 - | ffmpeg -f dv -i -  -target ntsc-dvd - | \
cvlc -vvv - --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=348,ab=128,vfilter=canvas{width=320,height=240}}:rtp{mux=ts,dst=$relay,port=11000}'
 
On the client:
vlc http://$relay:8080

Latest revision as of 18:22, 19 August 2010

Notes on the state of video streaming.[edit]

On the relay machine (has bandwidth in a datacenter somewhere, IP address is $relay):

vlc rtp://@:11000 --sout '#standard{access=http,mux=ts,dst=$relay:8080'

On the machine with a digital video camera connected:

dvgrab -format dv1 - | ffmpeg -f dv -i -  -target ntsc-dvd - | \
cvlc -vvv - --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=348,ab=128,vfilter=canvas{width=320,height=240}}:rtp{mux=ts,dst=$relay,port=11000}'

On the client:

vlc http://$relay:8080