Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Last active January 16, 2022 05:30
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save leandromoreira/bfb0f5b10d86bff86f9b79821c001161 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