Skip to content

Instantly share code, notes, and snippets.

@framp
Created September 15, 2023 11:38
Show Gist options
  • Save framp/f47c3dc20fc8cd822c8bb4bfe5bf5fff to your computer and use it in GitHub Desktop.
Save framp/f47c3dc20fc8cd822c8bb4bfe5bf5fff to your computer and use it in GitHub Desktop.
ffmpeg \
-re -i playlist.m3u8 -vcodec libx264 -preset ultrafast -maxrate 600k -b:v 2500k \
-bufsize 600k -pix_fmt yuv420p -g 60 -c:a aac -b:a 160k -ac 2 \
-ar 44100 -f flv -s 1280x720 "rtmp://$YOURSERVER/$AUTH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment