Difference between revisions of "Live Stream"

Skmp (Talk | contribs)
(Created page with "avconv -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -f alsa -ac 2 -i hw:0,0 -re -vcodec libx264 -vprofile baseline -g 60 -vb 350000 -strict experimental -acodec aac -ab 6400...")
 
Skmp (Talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
avconv  -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -f alsa -ac 2 -i hw:0,0 -re -vcodec libx264  -vprofile baseline -g 60 -vb 350000 -strict experimental -acodec aac -ab 64000 -ar 32000 -ac 1  -f mpegts tcp://83.212.96.136:9999?pkt_size=1316
+
/dev/video0: v4l2 device
 +
-vb 150000: video bitrate
 +
-ab 64000: audio bitrate
 +
 
 +
 
 +
avconv  -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -f alsa -ac 2 -i hw:0,0 -re -vcodec libx264  -vprofile baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 64000 -ar 32000 -ac 1  -f mpegts tcp://wut:port?pkt_size=1316
 +
 
 +
 
 +
avconv -f alsa -ac 1 -ar 22050 -i plughw:0,0 -itsoffset -10 -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -map 1:0 -map 0:0  -vcodec libx264  -vprofile baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 64000 -ar 22050 -ac 1 -r 10 -f mpegts - | tee log.mpegts | avconv -re -i - -r 10 -vcodec copy -acodec copy -f mpegts cp://wut:port?pkt_size=1316

Latest revision as of 18:01, 25 April 2012

/dev/video0: v4l2 device -vb 150000: video bitrate -ab 64000: audio bitrate



avconv -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -f alsa -ac 2 -i hw:0,0 -re -vcodec libx264 -vprofile baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 64000 -ar 32000 -ac 1 -f mpegts tcp://wut:port?pkt_size=1316



avconv -f alsa -ac 1 -ar 22050 -i plughw:0,0 -itsoffset -10 -f video4linux2 -s 640x480 -r 10 -i /dev/video0 -map 1:0 -map 0:0 -vcodec libx264 -vprofile baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 64000 -ar 22050 -ac 1 -r 10 -f mpegts - | tee log.mpegts | avconv -re -i - -r 10 -vcodec copy -acodec copy -f mpegts cp://wut:port?pkt_size=1316