Encode libx265 at higher quality:



Command: ffmpeg -i A.mkv -vf yadif=1 -acodec flac -compression_level 8 -ac 2 -vcodec libx265 -crf 22 B.mkv

I find that crf 22 is equivalent to BD quality libx264. Lower number for crf is higher quality.
H265 does not need as low of a number to match the quality of 264 (crf 28 for 265 is about 23 for 264).
17/18 crf is max quality for 264 that is still disenable by most humans and screens.
You be wasting bandwidth / processing power by using much more then 17/18 for h264 (I am amusing that is around 22 for h265).


Sources: Date: November 14th 2023

Encode H265 Video at lossless conversion:

ffmpeg -i A.mkv -vf yadif=1 -acodec flac -compression_level 8 -ac 2 -vcodec libx265 -x265-params lossless=1 B.mkv
*Note this is truly lossless and will highly likely lead to a file size significantly bigger then the source file.

Sources: Date: January 9th 2024




Back

© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.