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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Oct 2010
Posts: 2
|
8Bit Depth vs 10Bit Depth Explanation for Noobs
Ok, i'm new here, i made an account about 4 months ago, but never posted or visited because of that stupid 7 day wait before you can post. But now i'm stuck on this problem.
8Bit Depth vs 10Bit Depth? Advantages? Disadvantages? I Rip PAL DVDs, would i get any extra quality with a lower bitrate with 10bit depth? Any help would be much appreciated. |
|
|
|
|
|
#2 | Link |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
I assume you are referring to x264, right?
Yes, you can get better compression efficiency (i.e. better quality at same bitrate) with 10-Bit, even when your source is "only" 8-Bit and the final output is 8-Bit too, simply because the encoder's and decoder's internal precision is higher (-> less rounding errors). On the other hand support for 10-Bit or even 12-Bit H.264 doesn't exist in any (consumer) playback device at the moment. Even software decoders are still very rare currently. So this is something you probably don't want to use yet. Also high-bitdepth H.264 will be significant slower to encode/decode. It was said that 8-Bit basically is a trade-off for speed. See also: http://forum.doom9.org/showthread.php?t=155510
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 9th January 2011 at 18:26. |
|
|
|
|
|
#3 | Link |
|
Derek Prestegard IRL
![]() ![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 6,030
|
Hi Turtleface, welcome to doom9!
Yes. At this point, the main limiting factor in using 10 bit h.264 is the lack of a free software decoder. Mainconcept sells a payware decoder, but it's $230 last I checked. http://www.mainconcept.com/products/...broadcast.html x264 can certainly encode 10 bit video now, even as Lord_Mulder describes, even from an 8 bit source (and there are benefits in doing so). Even though much assembly optimization has been done for 10 bit encoding, I'd assume the code isn't quite as tight as the 8 bit path, so there will likely be a noticeable speed cost. Still, nothing wrong with doing some experimenting. Just don't expect 10 bit encodes to actually play anywhere ![]() Derek
__________________
These are all my personal statements, not those of my employer :) |
|
|
|
|
|
#8 | Link |
|
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
@ajrobb: really? i thought DC precision was a maximum of 10-bit for DVD (and MPEG-2 goes up to 11 IIRC).
but this has no bearing on the encoding precision with respect to the output which always decodes to 8-bit
__________________
sucking the life out of your videos since 2004 |
|
|
|
|
|
#9 | Link |
|
Moderator
![]() Join Date: Oct 2001
Posts: 3,530
|
DC coefficients can be 8, 9, 10, or 11 bits unsigned. AC coefficients are always 12 bits signed. I am not aware of any restriction for DVD. However, these are the encoded values, not the precision of the data they represent, which is 9 bits in MPEG-2 (not a typo, see 13818-2 Annex A).
|
|
|
|
|
|
#11 | Link | |
|
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,223
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
|
|
|
|
|
#13 | Link |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,549
|
It's arbitrary, but well defined in AVC and HEVC specs. They specify the precision of the DCT output as being equal to the sample bit depth, creating scaled integer transforms with rounding and intermediate precision specified at every step, so that there's only one possible output for every input.
It's certainly possible to have, say, 16-bit DCT coefficients for all input/ouput depths, but the specs don't go that route to conserve limited hardware resources. |
|
|
|
|
|
#14 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,039
|
Quote:
DCT use numeric particular precision for digital representation, video bit depth is quantization resolution (link is simple - more precise numeric DCT representation lead to lower rounding errors). Last edited by pandy; 12th June 2015 at 12:08. |
|
|
|
|
|
|
#15 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,498
|
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 16th July 2017 at 03:44. |
|
|
|
|
|
#17 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,498
|
Quote:
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
|
|
|
|
|
#18 | Link |
|
Registered User
Join Date: Jun 2006
Posts: 409
|
How does a change in DCT resolution affect the final pixels? For example, will a 10-bit YUV input encoded with 8-bit DCT precision yield roughly the same as if the input YUV was truncated to 8-bit, or is the relation non-linear?
Sample bit-depth, as in, the source RGB/YUV? |
|
|
|
|
|
#19 | Link | |
|
Registered User
Join Date: Mar 2006
Posts: 1,039
|
Quote:
Remember that DCT is different domain (frequency) and DCT describe different aspect of signal (imagine DCT as special case of FFT where whole spectrum is divided for equally spaced parts (bins) and you measuring level of frequency content in middle of the bin). |
|
|
|
|
![]() |
|
|