Created
November 17, 2016 19:50
-
-
Save JamesTheHacker/78bf5c1d1b4e57e945de6bf072b7ca92 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
php fblive.php | ffmpeg \ | |
-re -y \ | |
-loop 1 \ | |
-f image2pipe \ | |
-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 \ | |
-vsync 1 \ | |
-r 30 \ | |
-g 60 \ | |
-f flv \ | |
"rtmp://rtmp-api.facebook.com:80/rtmp/XXXXXXX?ds=1&s_l=1&a=XXXXXXX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment