Significant color change when encoding 4K material

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
OstinatoFreak
Posts: 34
Joined: Tue Dec 13, 2016 2:38 pm

Significant color change when encoding 4K material

Post by OstinatoFreak »

When I encode a 4K movie using h.265 and NLMeans (Handbrake 1.3.1, Windows 10), it absolutely <i>destroys</i> the color of the movie. The color is not even close. Is this me, or is it Handbrake?

Top pic is before encoding, bottom is after encoding. BOTH are screenshots taken from VLC, so it doesn't seem that the player would be at fault. Below are 4K screenshots.

https://imgur.com/a/LIpMa3b

BTW I tried enclosing this in the img tags but it appears this Handbrake forum's software can't handle the image's dimensions. "It was not possible to determine the dimensions of the image. Please verify that the URL you entered is correct." This seems like something that really ought to be updated by now considering 4K resolution has been around for a long time... many people have 4K computer monitors.

As a side note, I'm also curious why the resulting encode loses so much detail. The resulting file is like 11GB, and yet most of my Blu-Ray encodes that are 2-4GB (some of which also use NLMeans) look better. I used "strong" NLMeans to get rid of pointless dancing pixels.

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.17763.0
CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Ram: 16320 MB, 
GPU Information:
  NVIDIA GeForce RTX 2070 - 26.21.14.4166
Screen: 3840x2160
Temp Dir: C:\Users\user\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\user\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[21:46:27] hb_init: starting libhb thread
[21:46:27] 1 job(s) to process
[21:46:27] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "A:\\Movies\\Waterworld (1995) (4.5.2) [4K h265].mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 9,
        "Settings": {
          "cb-frame-count": 2,
          "cb-origin-tune": 0.6,
          "cb-patch-size": 7,
          "cb-prefilter": 0,
          "cb-range": 3,
          "cb-strength": 10.0,
          "y-frame-count": 2,
          "y-origin-tune": 0.6,
          "y-patch-size": 7,
          "y-prefilter": 0,
          "y-range": 3,
          "y-strength": 8.0
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "42",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "42",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 180,
    "Den": 173
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "A:\\Movies\\Waterworld (1995) (4.5.2) [4K].mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 24.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[21:46:27] CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
[21:46:27]  - Intel microarchitecture Skylake
[21:46:27]  - logical processor count: 4
[21:46:27] Intel Quick Sync Video support: no
[21:46:27] hb_scan: path=A:\Movies\Not Seen Yet\Waterworld (1995) (4.5.2) [4K].mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image A:\Movies\Waterworld (1995) (4.5.2) [4K].mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[21:46:27] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[21:46:27] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'A:\Movies\Waterworld (1995) (4.5.2) [4K].mkv':
  Metadata:
    title           : Waterworld
    encoder         : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-01-19T00:58:52.000000Z
  Duration: 02:15:09.56, start: 0.000000, bitrate: 54772 kb/s
    Chapter #0:0: start 0.000000, end 388.846792
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 388.846792, end 595.886958
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 595.886958, end 1533.698833
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1533.698833, end 3200.572375
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 3200.572375, end 3576.447875
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 3576.447875, end 4504.124625
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 4504.124625, end 4882.460917
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 4882.460917, end 5118.071292
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 5118.071292, end 5970.089125
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 5970.089125, end 6228.430542
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 6228.430542, end 6547.874667
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 6547.874667, end 6918.369792
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 6918.369792, end 7025.852167
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 7025.852167, end 7179.964458
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7179.964458, end 7591.000083
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7591.000083, end 8109.559792
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc
    Metadata:
      BPS-eng         : 44955696
      DURATION-eng    : 02:15:09.559791666
      NUMBER_OF_FRAMES-eng: 194435
      NUMBER_OF_BYTES-eng: 45571358846
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-19 00:58:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 8280790
      DURATION-eng    : 02:15:09.578666666
      NUMBER_OF_FRAMES-eng: 760273
      NUMBER_OF_BYTES-eng: 8394214404
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-19 00:58:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:15:09.578666666
      NUMBER_OF_FRAMES-eng: 760273
      NUMBER_OF_BYTES-eng: 1529669276
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-19 00:58:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 24685
      DURATION-eng    : 02:03:52.612687500
      NUMBER_OF_FRAMES-eng: 2322
      NUMBER_OF_BYTES-eng: 22935046
      SOURCE_ID-eng   : 0012A0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-19 00:58:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[21:46:27] scan: decoding previews for title 1
[21:46:27] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[21:46:27] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[21:46:33] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1
[21:46:33] scan: supported video decoders: avcodec qsv
[21:46:33] libhb: scan thread found 1 valid title(s)
[21:46:33] starting job
[21:46:33] decomb filter thread started for segment 0
[21:46:33] decomb check thread started for segment 1
[21:46:33] decomb filter thread started for segment 2
[21:46:33] decomb filter thread started for segment 1
[21:46:33] decomb filter thread started for segment 3
[21:46:33] decomb check thread started for segment 0
[21:46:33] NLMeans using SSE2 optimizations
[21:46:33] decomb check thread started for segment 2
[21:46:33] NLMeans using 4 threads
[21:46:33] mask filter thread started for segment 0
[21:46:33] decomb check thread started for segment 3
[21:46:33] mask filter thread started for segment 2
[21:46:33] mask filter thread started for segment 1
[21:46:33] mask filter thread started for segment 3
[21:46:33] mask erode thread started for segment 0
[21:46:33] job configuration:
[21:46:33] mask erode thread started for segment 1
[21:46:33]  * source
[21:46:33]    + A:\Movies\Waterworld (1995) (4.5.2) [4K].mkv
[21:46:33]    + title 1, chapter(s) 1 to 16
[21:46:33]    + container: matroska,webm
[21:46:33] mask erode thread started for segment 3
[21:46:33]    + data rate: 54772 kbps
[21:46:33]  * destination
[21:46:33]    + A:\Movies\Waterworld (1995) (4.5.2) [4K h265].mp4
[21:46:33]    + container: MPEG-4 (libavformat)
[21:46:33]      + align initial A/V stream timestamps
[21:46:33]      + chapter markers
[21:46:33] mask erode thread started for segment 2
[21:46:33]  * video track
[21:46:33]    + decoder: hevc
[21:46:33]    + filters
[21:46:33]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:46:33] mask dilate thread started for segment 0
[21:46:33]      + Decomb (mode=39)
[21:46:33]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:46:33]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[21:46:33] mask dilate thread started for segment 1
[21:46:33]      + Denoise (nlmeans) (y-strength=8:y-origin-tune=0.6:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=10:cb-origin-tune=0.6:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[21:46:33] mask dilate thread started for segment 2
[21:46:33]      + Crop and Scale (width=1920:height=1080:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[21:46:33] mask dilate thread started for segment 3
[21:46:33]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 1920 * 1080
[21:46:33]    + Output geometry
[21:46:33]      + storage dimensions: 1920 x 1080
[21:46:33]      + pixel aspect ratio: 180 : 173
[21:46:33]      + display dimensions: 1997 x 1080
[21:46:33]  * Foreign Audio Search: Render/Burn-in, Forced Only
[21:46:33]    + subtitle, English [PGS] (track 0, id 0x3, Picture)
[21:46:33] yadif thread started for segment 0
[21:46:33] yadif thread started for segment 1
[21:46:33] yadif thread started for segment 2
[21:46:33] yadif thread started for segment 3
[21:46:33] NLMeans thread started for segment 0
[21:46:33] NLMeans thread started for segment 1
[21:46:33] NLMeans thread started for segment 2
[21:46:33] NLMeans thread started for segment 3
[21:46:33] sync: expecting 194434 video frames
[21:56:02] reader: done. 1 scr changes
[21:56:02] work: average encoding speed for job is 0.000000 fps
[21:56:02] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[21:56:02] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[21:56:02] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[21:56:02] vfr: lost time: 0 (0 frames)
[21:56:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[21:56:03] hevc-decoder done: 0 frames, 0 decoder errors
[21:56:03] sync: got 0 frames, 194434 expected
[21:56:03] Subtitle track 0 (id 0x3) 'English [PGS]': 1161 hits (0 forced)
[21:56:03] No candidate detected during subtitle scan
[21:56:03] starting job
[21:56:03] decomb filter thread started for segment 0
[21:56:03] decomb check thread started for segment 2
[21:56:03] decomb filter thread started for segment 2
[21:56:03] decomb filter thread started for segment 3
[21:56:03] decomb check thread started for segment 0
[21:56:03] decomb check thread started for segment 1
[21:56:03] decomb filter thread started for segment 1
[21:56:03] decomb check thread started for segment 3
[21:56:03] mask filter thread started for segment 0
[21:56:03] mask filter thread started for segment 1
[21:56:03] mask filter thread started for segment 2
[21:56:03] mask filter thread started for segment 3
[21:56:03] mask erode thread started for segment 0
[21:56:03] mask erode thread started for segment 1
[21:56:03] mask erode thread started for segment 2
[21:56:03] mask erode thread started for segment 3
[21:56:03] mask dilate thread started for segment 1
[21:56:03] yadif thread started for segment 3
[21:56:03] NLMeans using SSE2 optimizations
[21:56:03] NLMeans using 4 threads
[21:56:03] mask dilate thread started for segment 3
[21:56:03] mask dilate thread started for segment 2
[21:56:03] yadif thread started for segment 1
[21:56:03] yadif thread started for segment 0
[21:56:03] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[21:56:03] Auto Passthru: fallback is AC3
[21:56:03] Auto Passthru: using DTS-HD Passthru for track 1
[21:56:03] yadif thread started for segment 2
[21:56:03] mask dilate thread started for segment 0
[21:56:03] job configuration:
[21:56:03]  * source
[21:56:03] NLMeans thread started for segment 0
[21:56:03]    + A:\Movies\Not Seen Yet\Waterworld (1995) (4.5.2) [4K].mkv
[21:56:03]    + title 1, chapter(s) 1 to 16
[21:56:03]    + container: matroska,webm
[21:56:03]    + data rate: 54772 kbps
[21:56:03]  * destination
[21:56:03]    + A:\Movies\Not Seen Yet\Waterworld (1995) (4.5.2) [4K h265].mp4
[21:56:03]    + container: MPEG-4 (libavformat)
[21:56:03]      + align initial A/V stream timestamps
[21:56:03]      + chapter markers
[21:56:03]  * video track
[21:56:03]    + decoder: hevc
[21:56:03]    + filters
[21:56:03] NLMeans thread started for segment 1
[21:56:03]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:56:03]      + Decomb (mode=39)
[21:56:03]      + Framerate Shaper (mode=2:rate=27000000/900000)
[21:56:03]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[21:56:03] NLMeans thread started for segment 2
[21:56:03]      + Denoise (nlmeans) (y-strength=8:y-origin-tune=0.6:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=10:cb-origin-tune=0.6:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[21:56:03] NLMeans thread started for segment 3
[21:56:03]      + Crop and Scale (width=1920:height=1080:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[21:56:03]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 1920 * 1080
[21:56:03]    + Output geometry
[21:56:03]      + storage dimensions: 1920 x 1080
[21:56:03]      + pixel aspect ratio: 180 : 173
[21:56:03]      + display dimensions: 1997 x 1080
[21:56:03]    + encoder: H.264 (libx264)
[21:56:03]      + preset:  fast
[21:56:03]      + profile: main
[21:56:03]      + level:   4.0
[21:56:03]      + quality: 24.00 (RF)
[21:56:03]      + color profile: 9-16-9
[21:56:03]  * audio track 1
[21:56:03]    + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[21:56:03]      + samplerate: 48000 Hz
[21:56:03]    + DTS-HD Passthru
[21:56:03]  * audio track 2
[21:56:03]    + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[21:56:03]      + samplerate: 48000 Hz
[21:56:03]    + mixdown: Stereo
[21:56:03]    + dither: none
[21:56:03]    + encoder: AAC (libavcodec)
[21:56:03]      + bitrate: 160 kbps, samplerate: 48000 Hz
[21:56:03] sync: expecting 194434 video frames
[21:56:03] encx264: min-keyint: 24, keyint: 240
[21:56:03] encx264: encoding at constant RF 24.000000
[21:56:03] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=180/173
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[21:56:04] sync: first pts video is 0
[21:56:04] sync: "Chapter 1" (1) at frame 1 time 0
[21:56:04] sync: first pts audio 0x1 is 0
[21:56:04] sync: first pts audio 0x1 is 0
[23:37:45] sync: "Chapter 2" (2) at frame 9324 time 34996211
[00:29:50] sync: "Chapter 3" (3) at frame 14288 time 53629826
[04:09:44] sync: "Chapter 4" (4) at frame 36773 time 138032895
[10:40:22] sync: "Chapter 5" (5) at frame 76743 time 288070282
[12:06:57] sync: "Chapter 6" (6) at frame 85750 time 321880308
[15:40:57] sync: "Chapter 7" (7) at frame 107992 time 405371216
[17:20:48] sync: "Chapter 8" (8) at frame 117063 time 439421482
[18:31:09] sync: "Chapter 9" (9) at frame 122716 time 460641431
[22:48:54] sync: "Chapter 10" (10) at frame 143145 time 537326790
[23:49:22] sync: "Chapter 11" (11) at frame 149334 time 560558748
[01:04:42] sync: "Chapter 12" (12) at frame 156993 time 589308720
[02:30:23] sync: "Chapter 13" (13) at frame 165876 time 622653281
[02:55:06] sync: "Chapter 14" (14) at frame 168458 time 632345463
[03:30:36] sync: "Chapter 15" (15) at frame 172153 time 646215570
[05:04:53] sync: "Chapter 16" (16) at frame 182008 time 683208776
[06:58:38] reader: done. 1 scr changes
[06:59:33] work: average encoding speed for job is 1.634043 fps
[06:59:33] comb detect: heavy 1845 | light 4624 | uncombed 187966 | total 194435
[06:59:33] decomb: deinterlaced 1845 | blended 4624 | unfiltered 187966 | total 194435
[06:59:33] vfr: 194435 frames output, 0 dropped and 0 duped for CFR/PFR
[06:59:33] vfr: lost time: 0 (0 frames)
[06:59:33] vfr: gained time: 0 (0 frames) (0 not accounted for)
[06:59:33] dca-decoder done: 760273 frames, 0 decoder errors
[06:59:33] dca-decoder done: 760273 frames, 0 decoder errors
[06:59:33] hevc-decoder done: 194435 frames, 0 decoder errors
[06:59:33] sync: got 194435 frames, 194434 expected
[06:59:33] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:2958  Avg QP:21.04  size: 69576
x264 [info]: frame P:72557 Avg QP:24.14  size: 24556
x264 [info]: frame B:118920 Avg QP:24.77  size: 11666
x264 [info]: consecutive B-frames: 17.9%  1.0%  1.6% 79.5%
x264 [info]: mb I  I16..4: 37.3%  0.0% 62.7%
x264 [info]: mb P  I16..4:  7.9%  0.0%  6.4%  P16..4: 38.3%  9.7%  5.0%  0.0%  0.0%    skip:32.7%
x264 [info]: mb B  I16..4:  6.1%  0.0%  0.9%  B16..8: 23.4%  5.5%  0.3%  direct:11.8%  skip:51.9%  L0:44.1% L1:50.7% BI: 5.2%
x264 [info]: coded y,uvDC,uvAC intra: 32.5% 28.6% 1.7% inter: 10.9% 12.0% 0.0%
x264 [info]: i16 v,h,dc,p: 33% 25% 17% 25%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 23%  6%  8%  6%  7%  5%  4%
x264 [info]: i8c dc,h,v,p: 72% 13% 14%  1%
x264 [info]: Weighted P-Frames: Y:2.6% UV:0.6%
x264 [info]: ref P L0: 71.9% 28.1%
x264 [info]: ref B L0: 87.2% 12.8%
x264 [info]: ref B L1: 97.1%  2.9%
x264 [info]: kb/s:3329.23
[06:59:34] mux: track 0, 194435 frames, 3374712157 bytes, 3329.09 kbps, fifo 512
[06:59:34] mux: track 1, 760273 frames, 8394214404 bytes, 8280.72 kbps, fifo 2048
[06:59:34] mux: track 2, 380137 frames, 162816212 bytes, 160.61 kbps, fifo 1024
[06:59:34] libhb: work result = 0

# Encode Completed ...

Woodstock
Veteran User
Posts: 3367
Joined: Tue Aug 27, 2013 6:39 am

Re: Significant color change when encoding 4K material

Post by Woodstock »

Handbrake does not handle HDR or DolbyVision content.

mduell
Veteran User
Posts: 6885
Joined: Sat Apr 21, 2007 8:54 pm

Re: Significant color change when encoding 4K material

Post by mduell »

OstinatoFreak wrote:
Mon Jan 20, 2020 7:27 pm
(Handbrake 1.3.1, Windows 10)

Code: Select all

HandBrake 1.2.2 (2019022300)
And that, kids, is why logs are required.

OstinatoFreak
Posts: 34
Joined: Tue Dec 13, 2016 2:38 pm

Re: Significant color change when encoding 4K material

Post by OstinatoFreak »

Oops, I actually meant to say 1.2.2 above. Mduell - does 1.3.1 handle HDR/DolbyVision content?

OstinatoFreak
Posts: 34
Joined: Tue Dec 13, 2016 2:38 pm

Re: Significant color change when encoding 4K material

Post by OstinatoFreak »

Also, if Handbrake can't handle this video, is there any alternative out there that does? Or is my only option to simply keep the 55GB original? (Would prefer not to do that... I don't feel like hard drives are so cheap yet that it's worth devoting 50-80GB to preserve any single 4K movie in its original form.)

mduell
Veteran User
Posts: 6885
Joined: Sat Apr 21, 2007 8:54 pm

Re: Significant color change when encoding 4K material

Post by mduell »

The answer is mostly no, but there are different degrees of support. Try the current release with nlmeans off and see if it does any better. Basic troubleshooting steps.

OstinatoFreak
Posts: 34
Joined: Tue Dec 13, 2016 2:38 pm

Re: Significant color change when encoding 4K material

Post by OstinatoFreak »

Unfortunately nlmeans being on or off doesn't help the color.

This is hugely disappointing. I've never been one to save original rips of discs because of how much space it takes up, but unless someone tells me there is a reasonable alternative out there that preserves colors of movies, I'm going to take the plunge and just stop using Handbrake altogether, teach myself how to do RAID... Failing to render color correction into the final output is a debilitating limitation that in my opinion makes Handbrake worthless for 4K encoding. The last three 4K discs in a row that I've ripped have drastic color correction going in the original, but after it's encoded, it looks like you're watching the movie through sunglasses... not anywhere near tolerable. I'd rather watch 480p.

mduell
Veteran User
Posts: 6885
Joined: Sat Apr 21, 2007 8:54 pm

Re: Significant color change when encoding 4K material

Post by mduell »

HB supports 4K just fine, but lacks full support for HDR/Dolby Vision. You can donate your skills to add support, or pursue something else.

rollin_eng
Veteran User
Posts: 3258
Joined: Wed May 04, 2011 11:06 pm

Re: Significant color change when encoding 4K material

Post by rollin_eng »

Are there any free encoders that support true HDR/Dolby Vision encoding?

Post Reply