[FFmpeg-user] Tweaking a script to do high definition streaming on Youtube

Germano Massullo germano.massullo at gmail.com
Mon Mar 9 18:37:19 CET 2015


Hi,
guys from Fusolab cultural center gave me the following command that
they use to do live streams on Youtube

ffmpeg -f v4l2 -i /dev/video0 -f alsa -ac 1 -i hw:1 -flags
+global_header -ar 44100 -ab 16k -s 640x360 -vcodec h264 -pix_fmt
yuv420p -g 25 -vb 32k -profile:v baseline -r 30 -f flv
"rtmp://a.rtmp.youtube.com/live2/REMOVED"

I need to tweak it to be able to do an high definition streaming using a
3 Mbit/s upload internet line. I also would like to clean it from flags
I don't need.
The webcam is a Logitech HD Pro C920 and the CPU is an Intel i5-560M and
the operating system is Fedora 20.
Thank you for your time


More information about the ffmpeg-user mailing list