Skip to content

Instantly share code, notes, and snippets.

@rawsh
Last active January 25, 2019 17:13
Show Gist options
  • Save rawsh/be5dac3a48945fe3783eab2ebe7f84fd to your computer and use it in GitHub Desktop.
Save rawsh/be5dac3a48945fe3783eab2ebe7f84fd to your computer and use it in GitHub Desktop.
ffmpeg -re -i .mkv -c:v libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -strict -2 -b:a 160k -ac 2 -ar 44100 -f flv rtmp://
ffmpeg -re -i .mkv -c copy -f flv rtmp://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment