

#Ffmpeg crf vs bitrate windows#
do part and the %%A thing are for Windows bash: I look for all files in the current folder named (something).mkv, I process them and I put the output file into an “out” subfolder, keeping the filename intact. Without further ado, here is the command I now use (detailed explanations follow):įor %%A in (*.mkv) do ffmpeg -i "%%A" -vf scale=400:300 -ac 2 -metadata:s:s:0 language=eng -disposition:s:0 default -codec:a libopus -b:a 48k -vbr on -compression_level 10 -frame_duration 60 -application audio -codec:v libx265 -preset veryfast -x265-params crf=23 -codec:s copy "out/%%A" That steep learning curve is what prevented me from using it until now, but I eventually went ahead and took the time to figure out all I needed to. Its only but big weakness is that it doesn’t have a GUI and I find the documentation a bit lacking.

So I looked for another solution, and eventually settled for FFmpeg.įFmpeg is a well-known media encoding software, with support for more than 100 codecs, which are very regularly updated to their current version.
#Ffmpeg crf vs bitrate upgrade#
However, they lack Opus support and tend to be slow to upgrade the included x265 library, even in their nightly builds.

So far, I’ve mainly used handbrake to encode into x265 (that’s more or less the same thing as HEVC, more specifically HEVC or H.265 is the current kickass video standard, and x265 is one of the main – and best – HEVC encoders), because I don’t encode much and their GUI is comfortable.
