https://wiki.batc.org.uk/index.php?title=Streaming_to_batc.tv_with_ffmpeg&feed=atom&action=historyStreaming to batc.tv with ffmpeg - Revision history2024-03-28T23:06:08ZRevision history for this page on the wikiMediaWiki 1.35.6https://wiki.batc.org.uk/index.php?title=Streaming_to_batc.tv_with_ffmpeg&diff=39&oldid=prevG8GTZ: 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..."2016-03-24T15:31:10Z<p>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..."</p>
<p><b>New page</b></p><div>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. <br />
<br />
ffmpeg -f video4linux2 -i /dev/video0 -f alsa -i pulse \<br />
-acodec libmp3lame -ac 1 -ab 64k -ar 22050 \<br />
-vcodec libx264 -preset veryfast -b:v 256k -minrate 256k -maxrate 256k -bufsize 320k -s 640x480 \<br />
-f flv "rtmp://fms.batc.tv/live/<stream-id-here>/<stream-id-here> flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)"</div>G8GTZ