Last active
June 12, 2018 02:32
-
-
Save saconni/a1349bc0ce9883ea62e2505ec979df48 to your computer and use it in GitHub Desktop.
Stream SMPTE color bars and no audio to youtube
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=size=768x432:rate=30 -deinterlace ^ | |
-f lavfi -i anullsrc ^ | |
-vcodec libx264 -pix_fmt yuv420p -preset veryfast -r 30 -g 60 -b:v "1000k" ^ | |
-acodec libmp3lame -ar 44100 -b:a 128k ^ | |
-f flv "rtmp://a.rtmp.youtube.com/live2/%YOUTUBE_KEY%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment