Skip to content

Instantly share code, notes, and snippets.

@Xarkam
Created December 1, 2020 11:08
Show Gist options
  • Save Xarkam/908559a9b3067c5ac4c5c33af174c065 to your computer and use it in GitHub Desktop.
Save Xarkam/908559a9b3067c5ac4c5c33af174c065 to your computer and use it in GitHub Desktop.
Downgrade 1080p to 720p and reduce video size. (103mb mkv to 1.4mb mp4)
ffmpeg -i INPUTFILENAME -c:v libx264 -r 25 -preset slow -crf 24 -c:a copy -vf scale=1280:720 OUTPUTFILENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment