FFmpeg preset is the value in which speed the media encode will traverse at.
In this part 2 of FFmpeg encoding comparisons I look at x265 presets, their speed and output file size.
x265 or HEVC is a more modern codex than x264 (h.264), it is harder on the CPU and takes longer. Not all devices can play (decode) x265 either, although in recent years this has become less of a problem.
You can read more about x265 here.
The unspecified source video file used for this comparison was: 24,000,564KB in size, 1920×1080 @ 19,194Kb/s .MKV format.
The server i used to run these FFmpeg encoding comparisons was: 2x E5-2650 v2 @2.60GHz (16 cores, 32 threads), 64GB ram, SSD.
Before undertaking the testing I was well aware that x265 will take longer to encode and the files sizes will be smaller than the same preset with x264.
Lets see:
Graph showing the encode speeds for all FFmpeg x265 presets, time is in seconds
Graph showing the encoded output file size for all FFmpeg x265 presets (KB)
Graph showing the Kbit rate encoded for all FFmpeg x265 presets
x265 is a better encoder than x264, that’s technology progression. You will find that veryslow is bigger than ultrafast because the ultrafast file will be poorer quality. x265 is about quality rather than speed/size. The ‘slower’ presets actually take the time to better analyze and encode the media than a fast preset which is all about compacting the file quickly.
Fast and faster is the sweet spot for speed to file size. As you push down to medium and slow the time grows massively.
Part 3 compares x264 to x265
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Using FTP and PHP to get an array of file details such as size and…
Creating and using Laravel form requests to create cleaner code, separation and reusability for your…
Improving the default Laravel login and register views in such a simple manner but making…
Laravel validation for checking if a field value exists in the database. The validation rule…