Created
June 2, 2023 06:33
-
-
Save rogerhu/daa09dd1bd1778b80c78ff4f9ccfd6c6 to your computer and use it in GitHub Desktop.
ffmpeg streaming from m3u8 to rtmps://
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 \ | |
-i $1 \ | |
-preset veryfast \ | |
-vcodec libx264 \ | |
-ar 44100 \ | |
-f flv \ | |
"$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment