Created
November 17, 2016 16:42
-
-
Save JamesTheHacker/56fb9caf36244de582540e7d5c2fd6a5 to your computer and use it in GitHub Desktop.
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 -y \ | |
-loop 1 \ | |
-f image2 \ | |
-i img_0.jpg \ | |
-i audio.mp3 \ | |
-acodec libfdk_aac \ | |
-ac 1 \ | |
-ar 44100 \ | |
-b:a 128k \ | |
-vcodec libx264 \ | |
-pix_fmt yuv420p \ | |
-vf scale=640:480 \ | |
-bufsize 512k \ | |
-r 30 \ | |
-g 60 \ | |
-f flv \ | |
"rtmp://rtmp-api.facebook.com:80/rtmp/XXXXXXXXX?ds=1&s_l=1&a=XXXXXXXX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment