Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joe-oli/88335b48573e332f8d8a298c09167fc9 to your computer and use it in GitHub Desktop.
Save joe-oli/88335b48573e332f8d8a298c09167fc9 to your computer and use it in GitHub Desktop.
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