Created
November 18, 2022 16:17
-
-
Save recursivecodes/289160e06aa1cd4c9d976436f1bca4e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 avfoundation \ | |
-video_size 1920x1080 \ | |
-framerate 30 \ | |
-i "2:2" \ | |
-c:v libx264 \ | |
-b:v 6000K \ | |
-maxrate 6000K \ | |
-pix_fmt yuv420p \ | |
-r 30 \ | |
-s 1920x1080 \ | |
-profile:v main \ | |
-preset veryfast \ | |
-g 120 \ | |
-x264opts "nal-hrd=cbr:no-scenecut" \ | |
-acodec aac \ | |
-ab 160k \ | |
-ar 44100 \ | |
-f flv \ | |
$DEMO_STREAM_INGEST_ENDPOINT/$DEMO_STREAM_KEY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment