Skip to content

Instantly share code, notes, and snippets.

@tansautn
Last active April 8, 2025 04:46
Show Gist options
  • Save tansautn/a68b58e07e72fbc75b879f517aa018d8 to your computer and use it in GitHub Desktop.
Save tansautn/a68b58e07e72fbc75b879f517aa018d8 to your computer and use it in GitHub Desktop.
AV1 fast encoding in FFMPEG.

AV1 Codec in FFMPEG

AV1 is good codec while it's provide higher video quality at smaller size (compared to most porpular x264 codec).

But the first time i tried simple encoding though ffmpeg. That speed is too low, a bit more then it's can slowly like i did 2 pass x264 Mini-HD encoding before.

Today wasn't exactly a great day. I was browsing the internet and stumbled upon this "youngster" - libstav1. He seems to run incredibly fast—so fast, in fact, that he gave my CPU quite a surprise. Want to try racing against him?

ffmpeg -i input.mkv -c:v libsvtav1 -preset 10 -crf 35 -c:a copy  out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment