Difference between revisions of "Streaming to batc.tv with ffmpeg"
Jump to navigation
Jump to search
(Created page with "Example: Using webcam at /dev/video0, and pulse audio input, this encodes H.264 video and MP3 audio, at bitrates of 256kbps and 64kbps respectively. ffmpeg -f video4linux2...") |
(No difference)
|
Latest revision as of 15:31, 24 March 2016
Example: Using webcam at /dev/video0, and pulse audio input, this encodes H.264 video and MP3 audio, at bitrates of 256kbps and 64kbps respectively.
ffmpeg -f video4linux2 -i /dev/video0 -f alsa -i pulse \ -acodec libmp3lame -ac 1 -ab 64k -ar 22050 \ -vcodec libx264 -preset veryfast -b:v 256k -minrate 256k -maxrate 256k -bufsize 320k -s 640x480 \ -f flv "rtmp://fms.batc.tv/live/<stream-id-here>/<stream-id-here> flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"