Difference between revisions of "Live Stream"
From Hackerspace.gr
(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...") |
|||
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 | + | /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 |
Revision as of 19:59, 24 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