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. |
25th July 2020, 14:59 | #1 | Link |
Registered User
Join Date: Jul 2020
Posts: 5
|
8bit to 10bit color green on skin?
Hi guys.
Can anyone give me a hint why the colors seem to change a bit in my encodings? https://i.ibb.co/T2jKbD5/8bit-to-10bit-hevc.jpg https://i.ibb.co/9s7HR4v/8bit-to-10bit-2.jpg source: left encoding: right I am using Handbrake for encoding Source Media Info Format/Info : Advanced Video Codec Format profile : High@L4 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1 h 41 min Bit rate : 5 500 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 24.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.111 Stream size : 3.88 GiB (97%) Writing library : x264 core 155 r2917 0a84d98 Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=48 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=48 / rc=2pass / mbtree=1 / bitrate=5500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=7699 / vbv_bufsize=11000 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=3:1.00 Default : Yes Forced : No Color range : Limited Matrix coefficients : BT.709 my encoding setting crf=22 main 10 encoder level 4.0 preset slow qpmax=51:keyint=240:min-keyint=24:bframes=6sy-rd=1.2sy-rdoq=4.00:aq-strength=1.3:aq-motion:b-intra:no-deblock:no-sao:colorprim=1:transfer=1:colormatrix=1:input-depth=10:no-info Last edited by DzeSezMee; 25th July 2020 at 18:04. |
25th July 2020, 21:34 | #2 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
You seen to have input-depth=10 set but your input is 8 bit?
__________________
madVR options explained |
25th July 2020, 22:44 | #3 | Link |
Registered User
Join Date: Apr 2018
Posts: 61
|
Do you see any marked differences between the images in this set at https://slow.pics/c/9VvamLy8? I don't, but want to make sure we're on the same page. (Frames from a test video, encoded with standalone x265.)
If you don't-- the problem is presumably somewhere in Handbrake. There's been talk (here, I think?) of ffmpeg (used by Handbrake and many other apps for decoding/encoding) decoding 10-bit content incorrectly in the past; maybe Handbrake's still on an older version? To parrot Asmodian, don't set input-depth to 10 if you aren't encoding FROM 10-bit. Every version of x264/5 I've used has just silently ignored that option or even crashed when I've set it incorrectly, but if the version Handbrake is using doesn't I could see it being really troublesome. Last edited by Greenhorn; 25th July 2020 at 22:59. |
26th July 2020, 14:27 | #4 | Link |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
IIRC, the ex x264-developer, DarkShikari, wrote that encoding a 8-bit video source to 10-bit, makes the encodes look better compared to encoding that 8-bit video source to 8-bit.
EDIT: And I mean at the same bitrate! Last edited by Forteen88; 26th July 2020 at 17:12. |
1st August 2020, 10:02 | #6 | Link | |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Quote:
But that has nothing to do with misidentifying the input as a completely different format than the one you're feeding. |
|
1st August 2020, 16:27 | #8 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
At least if you process things in high bit depth, 10-bit encoding will help compared to 8-bit.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
1st August 2020, 16:27 | #9 | Link | |
Registered User
Join Date: May 2009
Posts: 331
|
Quote:
|
|
7th August 2020, 06:19 | #10 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
Yes, any 10+ bit source will be improved, particularly anime. Scene releasers were some of the first to embrace much higher fidelity, even from an 8-bit source. If you process and export entirely in HBD, then it's no longer just 8-bit.
|
7th August 2020, 16:44 | #12 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
eg. Turing 8bit vs. 10bit HEVC . Lighthouses of the Pacific (8bit source) https://forum.videohelp.com/threads/...ts#post2562122 For the people seeing "green tint" , how are you viewing it? (how is it being converted to RGB for display) . The most common reason is when 10bit YUV => 8bit RGB is not being done properly Last edited by poisondeathray; 7th August 2020 at 16:47. |
|
7th August 2020, 23:43 | #14 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
|
|
8th August 2020, 11:10 | #15 | Link | |
Registered User
Join Date: Aug 2009
Posts: 90
|
Quote:
EVERY 8bit source I encode to 10bit has this. I use staxrip to encode (have tried MANY different versions, always the same result). Different versions of x265 (sorry, too much to remember every version I used). I'm using the vapoutsynth workflow so maybe I should try using avisynth to see if it gives different results. Even though I'm not processing the source with any filters... I'm currently using ffms as source so I could try to use a different source type. I could also try to see of encoding in handbrake or ripbot etc... But I'm currently too busy... I'll try to post an update later. |
|
11th August 2020, 01:08 | #17 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Try encoding to 10-bit and then reencoding back to 8-bit. If it winds up looking right, that suggests a playback issue instead of an encode/decode issue.
Also, try to get some known-good 10-bit encodes and play them on your machine as well. |
|
|