Skip to content

Instantly share code, notes, and snippets.

@ilude
Last active January 25, 2020 15:12
Show Gist options
  • Save ilude/73117c9ae376ea8b073b60319fd9d428 to your computer and use it in GitHub Desktop.
Save ilude/73117c9ae376ea8b073b60319fd9d428 to your computer and use it in GitHub Desktop.
ffmpeg optimize
input=<>.mkv
output=<>.mp4
ffmpeg -i ${input} -vcodec libx265 -crf 20 ${output}
# https://stackoverflow.com/questions/23775693/best-video-format-using-ffmpeg-converter?rq=1
"-b:v 200k -vcodec libx264 -acodec aac -b:a 96k -strict -2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment