Created
August 11, 2022 14:48
-
-
Save luanlmd/e1346ae3dd372a174b1c433f155b7aeb 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 -listen 1 -timeout 10000 -i rtmp://127.0.0.1:5000 \ | |
-preset slower \ | |
-c:a aac \ | |
-c:v h264 \ | |
-maxrate 3500k \ | |
-bufsize 350k \ | |
-force_key_frames "expr:gte(t,n_forced*3)" \ | |
-hls_time 3 \ | |
-hls_segment_filename "/tmp/720p_%03d.ts" /tmp/720p_playlist.m3u8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment