Forked from leandromoreira/docker-ffmpeg-broadcast.sh
Created
September 6, 2020 17:33
-
-
Save joe-oli/88335b48573e332f8d8a298c09167fc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -f lavfi -i 'testsrc2=size=1280x720:rate=60,format=yuv420p' \ | |
-f lavfi -i 'sine=frequency=440:sample_rate=48000:beep_factor=4' \ | |
-c:v libx264 -preset ultrafast -tune zerolatency -profile:v high \ | |
-b:v 1400k -bufsize 2800k -x264opts keyint=120:min-keyint=120:scenecut=-1 \ | |
-c:a aac -b:a 32k -f flv rtmp://transcoder/encoder/colorbar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment