Last active
July 2, 2024 08:33
-
-
Save n0mimono/0170967956a7ca41ba64c21403e50f3e 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 -loop 1 -f image2 -i path/to/your/image.jpg -r 10 -f lavfi -i anullsrc -c:v libx264 -preset ultrafast -tune stillimage -pix_fmt yuv420p -b:v 100k -maxrate 100k -bufsize 200k -g 40 -c:a aac -ar 44100 -b:a 64k -f flv rtmp://a.rtmp.youtube.com/live2/your_stream_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment