Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th January 2021, 19:45   #1  |  Link
tijgert
Registered User
 
Join Date: Mar 2005
Location: Amsterdam
Posts: 46
Same crf18 for x264 and x265, means same quality?

I'm trying to get a real good file size reduction with the absolute best quality possible, using either x264 or x265 and I don't care how long it takes.

So my question is, all other settings being optimal, does the crf value practically guarantee the same image quality for both x264 and x265? (very slow encode).

Someone got a 28GB movie down to 7.4GB on x264 and 6.2GB on x265, both using crf18, but I can't compare the quality myself.
It seems to me that at crf18 both images should be the best possible for that setting, but would it be near identical?

The reason I ask is ecause I also read that x265 mainly shines in low bitrates, but when there's loads of bits to distribute like with crf18 that x264 still has the superior image quality.

Would crf18 x265 make sense over crf18 x264? Or even crf16.
tijgert is offline   Reply With Quote
Old 26th January 2021, 20:24   #2  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,843
The crf values of x264 and x265 do not map 1:1. A crf of 18 in x264 would roughly correspond to a crf of 20 or 21 in x265. Keep in mind that x265 has many more tools to compress the image boosting its quality and lowering file sizes
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 28th January 2021, 20:06   #3  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 328
They don't map 1:1 and it also depends on the content you are encoding. If it is grainy, x264 is still the champ. Same if it's interlaced. It's cheaper to buy new hard drive space than to take the power and time to convert, in the long run.
RanmaCanada is offline   Reply With Quote
Old 28th January 2021, 21:15   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by RanmaCanada View Post
They don't map 1:1 and it also depends on the content you are encoding. If it is grainy, x264 is still the champ. Same if it's interlaced. It's cheaper to buy new hard drive space than to take the power and time to convert, in the long run.
Yeah. x265's --tune grain does pretty well in retaining grain, but it increases the bitrate a lot and thus doesn't save much bitrate versus an equivalent x264 encode.

If you don't care about matching the original grain pattern exactly, some --nr-inter can help in reducing bitrate and false-motion artifacts in grain while still retaining grain texture. It applies an adaptive deadzone like process only on predicted blocks, so the noise in references I-frames or intra-blocks generally gets retained, just without moving as much.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.