Created
February 15, 2021 23:27
-
-
Save crashGoBoom/62a253642fc7f801ab450ae13b1fd125 to your computer and use it in GitHub Desktop.
Send colorbars and tone to RTMP endpoint using FFMPEG
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 -re -f lavfi -i 'testsrc[out0];sine[out1]' \ | |
-c:v libx264 -pix_fmt yuv420p -profile:v main \ | |
-preset veryfast -x264opts "nal-hrd=cbr:no-scenecut" \ | |
-minrate 3000 -maxrate 3000 -g 60 -c:a aac -b:a 160k \ | |
-ac 2 -ar 44100 -f flv \ | |
rtmps://$INGEST_ENDPOINT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment