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 > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th September 2012, 14:38   #1  |  Link
meshaun
Registered User
 
Join Date: Jul 2010
Posts: 167
10bit x264 CRF vs 8bit x264 CRF

I came to know that 10bit x264 saves more quality in a smaller file. And, if so, is there a slight comparison between the CRF values, if anyone knows it?
Like :

- 18 10bit kinda equal to which in 8bit CRF?
- 22 10bit is equal to which in 8bit CRF?

Plus, when encoding a 720p using a Full BD, which is the better CRF value to use in 10bit x264?
I mean, I also want to preserve some good quality and also have a decent small filesize. I tried 22 CRF in the new Katy Perry-Part of Me but resulted a 2.1 GB in 10bit even.

So, is there any recommendation and also help?
meshaun is offline   Reply With Quote
Old 18th September 2012, 15:13   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
if I remember correctly:
8bit quantizer range is from 0 to 69
10bit quantizer range is from 0 to 51

Assuming the crf range is the same as the quantizer range:
Quote:
- 18 10bit kinda equal to which in 8bit CRF?
18 *51/69 ~ 14
Quote:
22 10bit is equal to which in 8bit CRF?
22 *51/69 ~ 16

guess Dark Shikari and others that are more knowledgeable regarding the inner workings&co of crf can probably say more,..
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th September 2012, 15:31   #3  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
The CRF scale is the same for both 8-bit and 10-bit (it goes lower for 10-bit, but the scale is the same). It is not the same as the quantizer range.
Dark Shikari is offline   Reply With Quote
Old 18th September 2012, 16:23   #4  |  Link
meshaun
Registered User
 
Join Date: Jul 2010
Posts: 167
So, I mean, 10bit holds more quality right?
If so, I can use a greater CRF like 24 in 10bit x264 and achieve quality in about 22 CRF in 8 bit? It was just an assumption, but is it like that?
meshaun is offline   Reply With Quote
Old 20th September 2012, 16:51   #5  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by meshaun View Post
So, I mean, 10bit holds more quality right?
If so, I can use a greater CRF like 24 in 10bit x264 and achieve quality in about 22 CRF in 8 bit? It was just an assumption, but is it like that?
It also depends on source. For example, if source is 2D anime with a lot of gradients and little or no grains, then CRF 24 in 10-bit may have similar quality with CRF 22 in 8-bit, but on live-action materials then it's likely not.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 18th September 2012, 22:28   #6  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
Most likely not, 10-bit encoding isn't that powerful.
mandarinka is offline   Reply With Quote
Old 21st September 2012, 08:41   #7  |  Link
jpsdr
Registered User
 
Join Date: Oct 2002
Location: France
Posts: 2,316
For watching a lot of anime fansub releases, i confirm the_weirdo. For the special case of 2D anime without noise, on same file size, 10bit produce better result than 8bit. After, only dev (like DS) may confirm the fact that it's probably only a special case.
jpsdr is offline   Reply With Quote
Old 21st September 2012, 19:53   #8  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
less banding may be a special case but this is pretty much main case why 10bit is interesting. depending on the source and the viewer this may have very different level of importance. (I hardly see any benefits of 10bit in live actions, unless the sky is shown there pretty often.) From my experience by reducing crf by 2 points (edit: or actually increasing, since more=less quality), 10bit may still save you from banding, but quality of the more visible parts of the image (that is seen by anyone without much effort) will drop just as much as in 8bit.
I don't think it is very good idea to compare 8bit to 10bit at all. I think of them as different ways of encoding stuff, like different formats (well, in fact they are different formats). For different types of sources I have different options for both 8 and 10bit encoding, but none of them based on each other, they developed from the ground by testing and looking if result turned out good enough. And for me it turned out that crf values are not that differ, but other ratecontrol options and the way I process source does.

Last edited by Keiyakusha; 27th September 2012 at 07:46.
Keiyakusha is offline   Reply With Quote
Old 22nd September 2012, 10:06   #9  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by Keiyakusha View Post
[...] And for me it turned out that crf values are not that differ, but other ratecontrol options and the way I process source does.
I mostly argee with you, while 10-bit does help a lot in reducing banding, quality of other parts is still degraded when using higher CRF value than with 8-bit. (I wish most fansubbers in my country also understood that). Maybe because I used to encode anime (720p) at crf 16 with 8-bit x264, that why I don't see much difference when compare with 10-bit at crf 18. Also, like you said, depending on sources, we should use appropriate options for 8-bit and 10-bit encoding instead of basing on each other.

However, when you're comparing two encodes with different input sources (the uncompressed raws that feed directly to x264 encoding engine, not the unprocessed sources) and different settings then that comparison may not be valid to judge the effect of different crf values.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo 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 01:43.


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