Not so much 4K video compatible.

HandBrake for Mac support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
philb1701
Posts: 5
Joined: Sat Jul 04, 2015 11:11 am

Not so much 4K video compatible.

Post by philb1701 »

Description of problem or question:
After a 4 and 1/2 day transcode session of an mkv file (using make MKV) of Marvel's The Avengers 4K, I VERY distorted video.
I have screen shots below of what it looks like during playback via a 4K Apple TV on a 4K Samsung 58" monitor.
/Users/pbarker/Desktop/IMG_1766.HEIC
/Users/pbarker/Desktop/IMG_1764.HEIC

Steps to reproduce the problem (If Applicable):
My video setting were using the built-in Apple 2160p60 4K HEVC configuration.
Encode set for H.265, FPS at 60, Quality-constant with an RF setting of 24.
All other settings were at default for selected function.



HandBrake version (e.g., 1.0.0):
v1.3.2



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
MacOS 10.14.6, 16 Gigs of RAM in a 13" MacBook Pro Mid 2012, with nothing else running.



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake Activity Log for Session: 2020-05-12T03:38:04Z
Handbrake Version: 1.3.2 (2020050300)
MARVEL'S THE AVENGERS_e2.m4v
Preset: Apple 2160p60 4K HEVC Surround
[22:38:04] macgui: QueueCore scanning specifically for title: 1
[22:38:04] CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
[22:38:04]  - Intel microarchitecture Ivy Bridge
[22:38:04]  - logical processor count: 4
[22:38:04] hb_scan: path=/Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv/) failed
[22:38:04] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[22:38:04] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv':
  Metadata:
    title           : MARVEL'S THE AVENGERS
    encoder         : libmakemkv v1.15.1 (1.3.5/1.4.7) darwin(x64-release)
    creation_time   : 2020-05-12T00:05:52.000000Z
  Duration: 02:22:55.71, start: 0.000000, bitrate: 52930 kb/s
    Chapter #0:0: start 0.000000, end 482.899083
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 482.899083, end 710.000958
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 710.000958, end 919.585333
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 919.585333, end 1234.316417
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1234.316417, end 1385.092042
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1385.092042, end 1780.278500
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1780.278500, end 2244.659083
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2244.659083, end 2568.816250
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2568.816250, end 3023.103417
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 3023.103417, end 3665.244917
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3665.244917, end 4445.941500
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 4445.941500, end 5282.068458
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5282.068458, end 5901.228667
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 5901.228667, end 6340.876208
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 6340.876208, end 6675.877542
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 6675.877542, end 7068.311250
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 7068.311250, end 7479.513708
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 7479.513708, end 7780.063958
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 7780.063958, end 7991.525208
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 7991.525208, end 8575.712000
    Metadata:
      title           : Chapter 20
    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         : 42960470
      DURATION-eng    : 02:22:55.692125000
      NUMBER_OF_FRAMES-eng: 205611
      NUMBER_OF_BYTES-eng: 46051970272
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4970630
      DURATION-eng    : 02:22:55.693333333
      NUMBER_OF_FRAMES-eng: 10290832
      NUMBER_OF_BYTES-eng: 5328324686
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 686056960
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 320000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 343028480
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(fra): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 686056960
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(spa): Audio: eac3, 48000 Hz, 8 channels, fltp
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 1024000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 1097691136
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:6(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 576 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 576000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 617451264
      SOURCE_ID-eng   : 001103
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:7(jpn): Audio: eac3, 48000 Hz, 8 channels, fltp
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 1024000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 1097691136
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:8(jpn): Audio: ac3, 48000 Hz, 5.1(side), fltp, 576 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 576000
      DURATION-eng    : 02:22:55.712000000
      NUMBER_OF_FRAMES-eng: 267991
      NUMBER_OF_BYTES-eng: 617451264
      SOURCE_ID-eng   : 001104
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:9(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 38542
      DURATION-eng    : 02:15:19.799187500
      NUMBER_OF_FRAMES-eng: 4086
      NUMBER_OF_BYTES-eng: 39120010
      SOURCE_ID-eng   : 0012A0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:10(fra): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 35627
      DURATION-eng    : 02:15:20.007729166
      NUMBER_OF_FRAMES-eng: 3524
      NUMBER_OF_BYTES-eng: 36161867
      SOURCE_ID-eng   : 0012A1
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:11(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 30035
      DURATION-eng    : 02:15:20.007729166
      NUMBER_OF_FRAMES-eng: 3268
      NUMBER_OF_BYTES-eng: 30485691
      SOURCE_ID-eng   : 0012A2
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:12(jpn): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 24869
      DURATION-eng    : 02:15:20.091145833
      NUMBER_OF_FRAMES-eng: 3136
      NUMBER_OF_BYTES-eng: 25243302
      SOURCE_ID-eng   : 0012A3
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:13(zho): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 20664
      DURATION-eng    : 02:15:20.257979166
      NUMBER_OF_FRAMES-eng: 3290
      NUMBER_OF_BYTES-eng: 20975154
      SOURCE_ID-eng   : 0012A4
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:14(kor): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 16124
      DURATION-eng    : 02:15:20.007729166
      NUMBER_OF_FRAMES-eng: 3264
      NUMBER_OF_BYTES-eng: 16366774
      SOURCE_ID-eng   : 0012A5
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:15(zho): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 23772
      DURATION-eng    : 02:15:19.924312500
      NUMBER_OF_FRAMES-eng: 3286
      NUMBER_OF_BYTES-eng: 24129327
      SOURCE_ID-eng   : 0012A6
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:16(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 16731
      DURATION-eng    : 00:03:46.080020833
      NUMBER_OF_FRAMES-eng: 62
      NUMBER_OF_BYTES-eng: 472843
      SOURCE_ID-eng   : 0012A7
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:17(fra): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 853
      DURATION-eng    : 01:54:15.536187500
      NUMBER_OF_FRAMES-eng: 80
      NUMBER_OF_BYTES-eng: 731513
      SOURCE_ID-eng   : 0012A8
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:18(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 705
      DURATION-eng    : 02:04:56.718395833
      NUMBER_OF_FRAMES-eng: 78
      NUMBER_OF_BYTES-eng: 660873
      SOURCE_ID-eng   : 0012A9
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:19(jpn): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 1309
      DURATION-eng    : 00:53:55.711645833
      NUMBER_OF_FRAMES-eng: 62
      NUMBER_OF_BYTES-eng: 529588
      SOURCE_ID-eng   : 0012AA
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[22:38:04] scan: decoding previews for title 1
[22:38:04] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[22:38:04] scan: audio 0x2: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[22:38:04] scan: audio 0x3: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch) (320 kbps)
[22:38:04] scan: audio 0x4: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch) (640 kbps)
[22:38:04] scan: audio 0x5: eac3, rate=48000Hz, bitrate=1024000 español (E-AC3) (7.1 ch) (1024 kbps)
[22:38:04] scan: audio 0x6: ac3, rate=48000Hz, bitrate=576000 español (AC3) (5.1 ch) (576 kbps)
[22:38:04] scan: audio 0x7: eac3, rate=48000Hz, bitrate=1024000 日本語 (E-AC3) (7.1 ch) (1024 kbps)
[22:38:04] scan: audio 0x8: ac3, rate=48000Hz, bitrate=576000 日本語 (AC3) (5.1 ch) (576 kbps)
[22:38:11] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1
[22:38:11] libhb: scan thread found 1 valid title(s)
[22:38:11] macgui: QueueCore scan done
[22:38:11] macgui: QueueCore started encoding MARVEL'S THE AVENGERS_e2.m4v
[22:38:11] macgui: QueueCore with preset Apple 2160p60 4K HEVC Surround
[22:38:11] Starting work at: Mon May 11 22:38:11 2020

[22:38:11] 1 job(s) to process
[22:38:11] Starting Task: Subtitle Scan
[22:38:11] job configuration:
[22:38:11]  * source
[22:38:11]    + /Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv
[22:38:11]    + title 1, chapter(s) 1 to 20
[22:38:11]    + container: matroska,webm
[22:38:11]    + data rate: 52930 kbps
[22:38:11]  * destination
[22:38:11]    + /Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.m4v
[22:38:11]    + container: MPEG-4 (libavformat)
[22:38:11]      + chapter markers
[22:38:11]  * video track
[22:38:11]    + decoder: hevc
[22:38:11]    + filters
[22:38:11]      + 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)
[22:38:11]      + Decomb (mode=39)
[22:38:11]      + Framerate Shaper (mode=2:rate=27000000/450000)
[22:38:11]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[22:38:11]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[22:38:11]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[22:38:11]    + Output geometry
[22:38:11]      + storage dimensions: 3840 x 2076
[22:38:11]      + pixel aspect ratio: 1 : 1
[22:38:11]      + display dimensions: 3840 x 2076
[22:38:11]  * Foreign Audio Search: Render/Burn-in, Forced Only
[22:38:11]    + subtitle, English [PGS] (track 0, id 0x9, Picture)
[22:38:11]    + subtitle, English [PGS] (track 7, id 0x10, Picture)
[22:38:11] sync: expecting 205611 video frames
[22:40:04] reader: done. 1 scr changes
[22:40:04] work: average encoding speed for job is 0.000000 fps
[22:40:04] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[22:40:04] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[22:40:04] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[22:40:04] vfr: lost time: 0 (0 frames)
[22:40:04] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:40:04] hevc-decoder done: 0 frames, 0 decoder errors
[22:40:04] sync: got 0 frames, 205611 expected
[22:40:04] Subtitle track 0 (id 0x9) 'English [PGS]': 2043 hits (0 forced)
[22:40:04] Subtitle track 7 (id 0x10) 'English [PGS]': 31 hits (0 forced)
[22:40:04] Found a subtitle candidate with id 0x10
[22:40:04] Starting Task: Encoding Pass
[22:40:04] job configuration:
[22:40:04]  * source
[22:40:04]    + /Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.mkv
[22:40:04]    + title 1, chapter(s) 1 to 20
[22:40:04]    + container: matroska,webm
[22:40:04]    + data rate: 52930 kbps
[22:40:04]  * destination
[22:40:04]    + /Users/pbarker/Desktop/MARVEL'S THE AVENGERS_e2.m4v
[22:40:04]    + container: MPEG-4 (libavformat)
[22:40:04]      + chapter markers
[22:40:04]  * video track
[22:40:04]    + decoder: hevc
[22:40:04]    + filters
[22:40:04]      + 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)
[22:40:04]      + Decomb (mode=39)
[22:40:04]      + Framerate Shaper (mode=2:rate=27000000/450000)
[22:40:04]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[22:40:04]      + Subtitle renderer ()
[22:40:04]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[22:40:04]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[22:40:04]    + Output geometry
[22:40:04]      + storage dimensions: 3840 x 2076
[22:40:04]      + pixel aspect ratio: 1 : 1
[22:40:04]      + display dimensions: 3840 x 2076
[22:40:04]    + encoder: H.265 (libx265)
[22:40:04]      + preset:  slow
[22:40:04]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[22:40:04]      + profile: main
[22:40:04]      + level:   auto
[22:40:04]      + quality: 24.00 (RF)
[22:40:04]      + color profile: 9-16-9
[22:40:04]  * subtitle track 1, English [PGS] (track 7, id 0x10, Picture) -> Render/Burn-in
[22:40:04]  * audio track 1
[22:40:04]    + name: Surround 7.1
[22:40:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[22:40:04]      + samplerate: 48000 Hz
[22:40:04]    + mixdown: Stereo
[22:40:04]    + dither: triangular
[22:40:04]    + encoder: AAC (Apple AudioToolbox)
[22:40:04]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:40:04]  * audio track 2
[22:40:04]    + name: Surround 7.1
[22:40:04]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[22:40:04]      + samplerate: 48000 Hz
[22:40:04]    + mixdown: 5.1 Channels
[22:40:04]    + dither: triangular
[22:40:04]    + encoder: AC3 (libavcodec)
[22:40:04]      + bitrate: 640 kbps, samplerate: 48000 Hz
[22:40:04] sync: expecting 205611 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 11.0.3][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(33 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[22:40:05] sync: first pts audio 0x1 is 0
[22:40:05] sync: first pts audio 0x1 is 0
[22:40:05] sync: first pts video is 0
[22:40:05] sync: "Chapter 1" (1) at frame 1 time 0
[03:55:59] sync: "Chapter 2" (2) at frame 11584 time 43479686
[06:51:29] sync: "Chapter 3" (3) at frame 17024 time 63900086
[07:02:20] sync: first pts subtitle 0x10 is 65979630
[08:43:27] sync: "Chapter 4" (4) at frame 22057 time 82792710
[11:17:07] sync: "Chapter 5" (5) at frame 29603 time 111118507
[12:43:54] sync: "Chapter 6" (6) at frame 33218 time 124688313
[16:36:36] sync: "Chapter 7" (7) at frame 42685 time 160225065
[21:12:23] sync: "Chapter 8" (8) at frame 53822 time 202030578
[00:40:23] sync: "Chapter 9" (9) at frame 61599 time 231223492
[05:35:11] sync: "Chapter 10" (10) at frame 72491 time 272109337
[10:36:07] sync: "Chapter 11" (11) at frame 87879 time 329872042
[17:43:34] sync: "Chapter 12" (12) at frame 106597 time 400134735
[04:58:48] sync: "Chapter 13" (13) at frame 126652 time 475416191
[09:51:55] sync: "Chapter 14" (14) at frame 141489 time 531110580
[15:37:15] sync: "Chapter 15" (15) at frame 152032 time 570686366
[20:52:21] sync: "Chapter 16" (16) at frame 160062 time 600828978
[03:19:00] sync: "Chapter 17" (17) at frame 169477 time 636170535
[09:05:40] sync: "Chapter 18" (18) at frame 179330 time 673156233
[12:35:08] sync: "Chapter 19" (19) at frame 186536 time 700205756
[14:32:00] sync: "Chapter 20" (20) at frame 191614 time 719267298
[17:44:51] reader: done. 1 scr changes
[17:46:30] work: average encoding speed for job is 0.626975 fps
[17:46:30] comb detect: heavy 22752 | light 15136 | uncombed 167723 | total 205611
[17:46:30] decomb: deinterlaced 22752 | blended 15136 | unfiltered 167723 | total 205611
[17:46:30] vfr: 205611 frames output, 0 dropped and 0 duped for CFR/PFR
[17:46:30] vfr: lost time: 0 (0 frames)
[17:46:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:46:30] truehd-decoder done: 10290832 frames, 0 decoder errors
[17:46:30] truehd-decoder done: 10290832 frames, 0 decoder errors
[17:46:30] hevc-decoder done: 205611 frames, 0 decoder errors
[17:46:30] sync: got 205611 frames, 205611 expected
[17:46:30] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:   2439, Avg QP:21.39  kb/s: 16388.95
x265 [info]: frame P:  56434, Avg QP:23.30  kb/s: 7724.85 
x265 [info]: frame B: 146738, Avg QP:28.25  kb/s: 2071.73 
x265 [info]: Weighted P-Frames: Y:1.0% UV:0.6%
x265 [info]: consecutive B-frames: 15.0% 7.4% 8.9% 50.5% 18.1% 

encoded 205611 frames in 327985.55s (0.63 fps), 3793.17 kb/s, Avg QP:26.81
[17:46:32] mux: track 0, 205611 frames, 4066958648 bytes, 3793.92 kbps, fifo 2048
[17:46:32] mux: track 1, 401988 frames, 175536262 bytes, 163.75 kbps, fifo 4096
[17:46:32] mux: track 2, 267990 frames, 686054400 bytes, 640.00 kbps, fifo 2048
[17:46:32] Finished work at: Fri May 15 17:46:32 2020

[17:46:32] libhb: work result = 0

kfreeb
Regular User
Posts: 67
Joined: Wed Sep 01, 2010 4:10 pm

Re: Not so much 4K video compatible.

Post by kfreeb »

I don't have the Avengers 4K blu-ray, but do have Infinity Wars and Endgame in 4K and they encoded beautifully using the Matroska H.265 MKV 2160p60 setting.

I have also played them back using VLC on my Macintosh running Sierra 10.12.6 an also play flawlessly in 4K.

These are played back, using a Plex server and streamed to an Apple TV 4K in "Direct Play" and look stunning. They also have been streamed to Roku 4K, Chrome 4K TV sets and various other media playback devices, all in "Direct Play", (original file data being streamed, no transcoding going on) and play perfectly in 4K.

I would suggest you download the Plex Server software and use it for streaming to your Apple TV, (it's FREE.)
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

I tried the Plex Server. It wouldn't handle TV shows properly. I will give the Matroska setting a whirl, rather then the Apple 2160.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

The Matroska setting won't solve my issues as it still keeps me with an mkv-format file. I need to convert to an mp4 or m4v.
Silent_Strider
Posts: 26
Joined: Tue Dec 17, 2019 9:31 pm

Re: Not so much 4K video compatible.

Post by Silent_Strider »

pbarker1701 wrote: Mon May 18, 2020 4:41 am The Matroska setting won't solve my issues as it still keeps me with an mkv-format file. I need to convert to an mp4 or m4v.
The audio and video streams won't change at all. Both, Matroska and MP4, are just containers. They will have the very same HEVC video stream inside.
User avatar
s55
HandBrake Team
Posts: 9831
Joined: Sun Dec 24, 2006 1:05 pm

Re: Not so much 4K video compatible.

Post by s55 »

Dropbox, Google Drive, OneDrive or any file sharing site would be suitable to upload the images to.
mduell
Veteran User
Posts: 7226
Joined: Sat Apr 21, 2007 8:54 pm

Re: Not so much 4K video compatible.

Post by mduell »

HB didn't do the distorting here.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

Can you explain how you arrived at that conclusion?
mduell
Veteran User
Posts: 7226
Joined: Sat Apr 21, 2007 8:54 pm

Re: Not so much 4K video compatible.

Post by mduell »

HB is just cropping:

Code: Select all

[22:40:04]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[22:40:04]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[22:40:04]    + Output geometry
[22:40:04]      + storage dimensions: 3840 x 2076
[22:40:04]      + pixel aspect ratio: 1 : 1
[22:40:04]      + display dimensions: 3840 x 2076
User avatar
s55
HandBrake Team
Posts: 9831
Joined: Sun Dec 24, 2006 1:05 pm

Re: Not so much 4K video compatible.

Post by s55 »

Looks like a colourspace conversion issue of some kind. Are you able to cut a short sample of the source that you could share so this could be traced in code?
User avatar
Rodeo
HandBrake Team
Posts: 12608
Joined: Tue Mar 03, 2009 8:55 pm

Re: Not so much 4K video compatible.

Post by Rodeo »

Wait, what if HandBrake didn't handle HDR input correctly? Or has this been fixed?
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

I'm attaching 2-20 second clips from The Avengers for comparison.
This one is done without Handbrake for transcoding: https://u.pcloud.link/publink/show?code ... 3YEfo2LiVk
This one was done with Handbrake: https://u.pcloud.link/publink/show?code ... mPkjipnnlX
It should be noted that both versions will play fine from a computer.
They will need to be observed via a streaming device such as AppleTV on an external display to see the differences (I hope).
User avatar
JohnAStebbins
HandBrake Team
Posts: 5583
Joined: Sat Feb 09, 2008 7:21 pm

Re: Not so much 4K video compatible.

Post by JohnAStebbins »

It should be noted that both versions will play fine from a computer.
They will need to be observed via a streaming device such as AppleTV on an external display to see the differences (I hope).
Do I understand you right? You are saying there is no distortion when playing back on your computer and you only see the problem when playing back on an AppleTV?

Could be a problem with the AppleTV. Need someone on the dev team that has one to verify what happens when it's given a properly encoded bt2020nc/bt2020/smpte2084 video.

Neither of the sample videos you provided above were generated by HandBrake. HandBrake does not create mov files. It looks like you re-encoded them with Apple ProRes? The file you named "4K w_HandBrake.mov" does not have the correct color primary, transfer or matrix. MP4Box -diso shows this from your mov file:

Code: Select all

<ColourInformationBox Size="18" Type="colr" Specification="iff" Container="video_sample_entry ipco encv resv" colour_type="nclc" colour_primaries="1" transfer_characteristics="1" matrix_coefficients="1">
This corresponds to bt709/bt709/bt709.
User avatar
Ritsuka
HandBrake Team
Posts: 1173
Joined: Fri Jan 12, 2007 11:29 am

Re: Not so much 4K video compatible.

Post by Ritsuka »

That looks like an issue between AppleTV and TV. I have an AppleTV but not a 4k TV so I can't test it 🤷‍♂️.
User avatar
Rodeo
HandBrake Team
Posts: 12608
Joined: Tue Mar 03, 2009 8:55 pm

Re: Not so much 4K video compatible.

Post by Rodeo »

Depending on what you use to stream the files to the AppleTV, it could be re-encoding the files too…
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

I'm going right from the new TV app (formerly iTunes) directly to Apple TV via wireless (1Gig service).
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

John:

Please check your mail.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

At some great expense to me (well OK, not GREAT but some) here are the time-trimmed files as requested.
This is the trimmed source material: https://u.pcloud.link/publink/show?code ... kepYmpqpMX
This is the non-Handbrake converted file: https://u.pcloud.link/publink/show?code ... iD9hP9M2jV
This is the Handbrake converted file: https://u.pcloud.link/publink/show?code ... sN2yulyWg7

Hopefully this will give whoever is looking at them, something to work with.
Just remember, I only get the distortion on AppleTV, not a computer with or without a 4K display.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

By the way, here is the HB log for the current Handbrake file.

Code: Select all

HandBrake Activity Log for Session: 2020-05-30T06:08:41Z
Handbrake Version: 1.3.2 (2020050300)
Avengers-Handbrake.m4v
Preset: Apple 2160p60 4K HEVC Surround
[01:08:41] macgui: QueueCore scanning specifically for title: 1
[01:08:41] CPU: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[01:08:41]  - Intel microarchitecture Kaby Lake
[01:08:41]  - logical processor count: 4
[01:08:41] hb_scan: path=/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv/) failed
[01:08:41] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[01:08:41] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv':
  Metadata:
    title           : MARVEL'S THE AVENGERS
    ENCODER         : Lavf58.29.100
  Duration: 00:01:09.36, start: 0.000000, bitrate: 51984 kb/s
    Chapter #0:0: start 0.000000, end 69.000000
    Metadata:
      title           : Chapter 01
    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         : 42960470
      DURATION-eng    : 02:22:55.692125000
      NUMBER_OF_FRAMES-eng: 205611
      NUMBER_OF_BYTES-eng: 46051970272
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:01:09.360000000
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4970630
      DURATION-eng    : 02:22:55.693333333
      NUMBER_OF_FRAMES-eng: 10290832
      NUMBER_OF_BYTES-eng: 5328324686
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:01:08.952000000
[01:08:41] scan: decoding previews for title 1
[01:08:41] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[01:08:45] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1
[01:08:45] libhb: scan thread found 1 valid title(s)
[01:08:45] macgui: QueueCore scan done
[01:08:45] macgui: QueueCore started encoding Avengers-Handbrake.m4v
[01:08:45] macgui: QueueCore with preset Apple 2160p60 4K HEVC Surround
[01:08:45] Starting work at: Sat May 30 01:08:45 2020

[01:08:45] 1 job(s) to process
[01:08:45] Starting Task: Encoding Pass
[01:08:45] work: only 1 chapter, disabling chapter markers
[01:08:45] job configuration:
[01:08:45]  * source
[01:08:45]    + /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv
[01:08:45]    + title 1, chapter(s) 1 to 1
[01:08:45]    + container: matroska,webm
[01:08:45]    + data rate: 51984 kbps
[01:08:45]  * destination
[01:08:45]    + /Users/pbarker/Desktop/Avengers-Handbrake.m4v
[01:08:45]    + container: MPEG-4 (libavformat)
[01:08:45]  * video track
[01:08:45]    + decoder: hevc
[01:08:45]    + filters
[01:08:45]      + 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)
[01:08:45]      + Decomb (mode=39)
[01:08:45]      + Framerate Shaper (mode=2:rate=27000000/450000)
[01:08:45]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[01:08:45]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[01:08:45]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[01:08:45]    + Output geometry
[01:08:45]      + storage dimensions: 3840 x 2076
[01:08:45]      + pixel aspect ratio: 1 : 1
[01:08:45]      + display dimensions: 3840 x 2076
[01:08:45]    + encoder: H.265 (libx265)
[01:08:45]      + preset:  slow
[01:08:45]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[01:08:45]      + profile: main
[01:08:45]      + level:   auto
[01:08:45]      + quality: 24.00 (RF)
[01:08:45]      + color profile: 9-16-9
[01:08:45]  * audio track 1
[01:08:45]    + name: Surround 7.1
[01:08:45]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[01:08:45]      + samplerate: 48000 Hz
[01:08:45]    + mixdown: Stereo
[01:08:45]    + dither: triangular
[01:08:45]    + encoder: AAC (Apple AudioToolbox)
[01:08:45]      + bitrate: 160 kbps, samplerate: 48000 Hz
[01:08:45]  * audio track 2
[01:08:45]    + name: Surround 7.1
[01:08:45]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[01:08:45]      + samplerate: 48000 Hz
[01:08:45]    + mixdown: 5.1 Channels
[01:08:45]    + dither: triangular
[01:08:45]    + encoder: AC3 (libavcodec)
[01:08:45]      + bitrate: 640 kbps, samplerate: 48000 Hz
[01:08:45] sync: expecting 1662 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 11.0.3][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(33 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-24.0 / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao
[01:08:46] sync: first pts audio 0x1 is 0
[01:08:46] sync: first pts audio 0x1 is 0
[01:08:46] sync: first pts video is 0
[01:08:46] sync: "Chapter 1" (1) at frame 1 time 0
[01:23:25] reader: done. 1 scr changes
[01:24:30] work: average encoding speed for job is 1.831184 fps
[01:24:30] comb detect: heavy 63 | light 83 | uncombed 1512 | total 1658
[01:24:30] decomb: deinterlaced 63 | blended 83 | unfiltered 1512 | total 1658
[01:24:30] vfr: 1658 frames output, 0 dropped and 0 duped for CFR/PFR
[01:24:30] vfr: lost time: 0 (0 frames)
[01:24:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[01:24:30] truehd-decoder done: 82862 frames, 0 decoder errors
[01:24:30] truehd-decoder done: 82862 frames, 0 decoder errors
[01:24:30] hevc-decoder done: 1658 frames, 0 decoder errors
[01:24:30] sync: got 1658 frames, 1662 expected
[01:24:30] sync: framerate min 5.988 fps, max 23.976 fps, avg 23.904 fps
x265 [info]: frame I:      9, Avg QP:22.18  kb/s: 8545.63 
x265 [info]: frame P:    515, Avg QP:24.10  kb/s: 9211.62 
x265 [info]: frame B:   1134, Avg QP:27.40  kb/s: 3152.93 
x265 [info]: Weighted P-Frames: Y:7.8% UV:6.2%
x265 [info]: consecutive B-frames: 25.4% 7.8% 6.3% 46.0% 14.5% 

encoded 1658 frames in 944.61s (1.76 fps), 5064.12 kb/s, Avg QP:26.35
[01:24:30] mux: track 0, 1658 frames, 43781160 bytes, 5049.66 kbps, fifo 1024
[01:24:30] mux: track 1, 3238 frames, 1423241 bytes, 164.15 kbps, fifo 2048
[01:24:30] mux: track 2, 2157 frames, 5521920 bytes, 636.89 kbps, fifo 1024
[01:24:30] Finished work at: Sat May 30 01:24:30 2020

[01:24:30] libhb: work result = 0
Last edited by Rodeo on Sun May 31, 2020 1:32 pm, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please
User avatar
Ritsuka
HandBrake Team
Posts: 1173
Joined: Fri Jan 12, 2007 11:29 am

Re: Not so much 4K video compatible.

Post by Ritsuka »

Try use x265 10bit, you are using the 8bit version in your converted file.
User avatar
Ritsuka
HandBrake Team
Posts: 1173
Joined: Fri Jan 12, 2007 11:29 am

Re: Not so much 4K video compatible.

Post by Ritsuka »

Try use x265 10bit, you are using the 8bit version in your converted file.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

Tried a 10K 256bit transcode. No change.
Here is the 10K file: https://u.pcloud.link/publink/show?code ... BDw0imRJF7

Here is the log:

Code: Select all

HandBrake Activity Log for Session: 2020-05-31T18:41:56Z
Handbrake Version: 1.3.2 (2020050300)
MARVEL_S THE AVENGERS_trimmed.m4v
Preset: Apple 2160p60 4K HEVC Surround (Modified)
[13:41:56] macgui: QueueCore scanning specifically for title: 1
[13:41:56] CPU: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz
[13:41:56]  - Intel microarchitecture Kaby Lake
[13:41:56]  - logical processor count: 4
[13:41:56] hb_scan: path=/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv/) failed
[13:41:56] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[13:41:56] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv':
  Metadata:
    title           : MARVEL'S THE AVENGERS
    ENCODER         : Lavf58.29.100
  Duration: 00:01:09.36, start: 0.000000, bitrate: 51984 kb/s
    Chapter #0:0: start 0.000000, end 69.000000
    Metadata:
      title           : Chapter 01
    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         : 42960470
      DURATION-eng    : 02:22:55.692125000
      NUMBER_OF_FRAMES-eng: 205611
      NUMBER_OF_BYTES-eng: 46051970272
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:01:09.360000000
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4970630
      DURATION-eng    : 02:22:55.693333333
      NUMBER_OF_FRAMES-eng: 10290832
      NUMBER_OF_BYTES-eng: 5328324686
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-05-12 00:05:52
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:01:08.952000000
[13:41:56] scan: decoding previews for title 1
[13:41:56] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[13:42:00] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1
[13:42:00] libhb: scan thread found 1 valid title(s)
[13:42:01] macgui: QueueCore scan done
[13:42:01] macgui: QueueCore started encoding MARVEL_S THE AVENGERS_trimmed.m4v
[13:42:01] macgui: QueueCore with preset Apple 2160p60 4K HEVC Surround (Modified)
[13:42:01] Starting work at: Sun May 31 13:42:01 2020

[13:42:01] 1 job(s) to process
[13:42:01] Starting Task: Analysis Pass
[13:42:01] work: only 1 chapter, disabling chapter markers
[13:42:01] job configuration:
[13:42:01]  * source
[13:42:01]    + /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv
[13:42:01]    + title 1, chapter(s) 1 to 1
[13:42:01]    + container: matroska,webm
[13:42:01]    + data rate: 51984 kbps
[13:42:01]  * destination
[13:42:01]    + /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.m4v
[13:42:01]    + container: MPEG-4 (libavformat)
[13:42:01]  * video track
[13:42:01]    + decoder: hevc
[13:42:01]    + filters
[13:42:01]      + 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)
[13:42:01]      + Decomb (mode=39)
[13:42:01]      + Framerate Shaper (mode=2:rate=27000000/450000)
[13:42:01]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[13:42:01]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[13:42:01]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[13:42:01]    + Output geometry
[13:42:01]      + storage dimensions: 3840 x 2076
[13:42:01]      + pixel aspect ratio: 1 : 1
[13:42:01]      + display dimensions: 3840 x 2076
[13:42:01]    + encoder: H.265 (libx265)
[13:42:01]      + preset:  slow
[13:42:01]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[13:42:01]      + profile: main
[13:42:01]      + level:   auto
[13:42:01]      + bitrate: 10000 kbps, pass: 1
[13:42:01]      + color profile: 9-16-9
[13:42:01]  * audio track 1
[13:42:01]    + name: Surround 7.1
[13:42:01]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[13:42:01]      + samplerate: 48000 Hz
[13:42:01]    + mixdown: Stereo
[13:42:01]    + dither: triangular
[13:42:01]    + encoder: AAC (Apple AudioToolbox)
[13:42:01]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:42:01]  * audio track 2
[13:42:01]    + name: Surround 7.1
[13:42:01]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[13:42:01]      + samplerate: 48000 Hz
[13:42:01]    + mixdown: 5.1 Channels
[13:42:01]    + dither: triangular
[13:42:01]    + encoder: AC3 (libavcodec)
[13:42:01]      + bitrate: 640 kbps, samplerate: 48000 Hz
[13:42:01] sync: expecting 1662 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 11.0.3][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(33 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-10000 kbps / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao stats-write
[13:42:01] sync: first pts audio 0x1 is 0
[13:42:01] sync: first pts audio 0x1 is 0
[13:42:01] sync: first pts video is 0
[13:42:01] sync: "Chapter 1" (1) at frame 1 time 0
[13:57:32] reader: done. 1 scr changes
[13:59:12] work: average encoding speed for job is 1.715074 fps
[13:59:13] comb detect: heavy 63 | light 83 | uncombed 1512 | total 1658
[13:59:13] decomb: deinterlaced 63 | blended 83 | unfiltered 1512 | total 1658
[13:59:13] vfr: 1658 frames output, 0 dropped and 0 duped for CFR/PFR
[13:59:13] vfr: lost time: 0 (0 frames)
[13:59:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:59:13] truehd-decoder done: 82862 frames, 0 decoder errors
[13:59:13] truehd-decoder done: 82862 frames, 0 decoder errors
[13:59:13] hevc-decoder done: 1658 frames, 0 decoder errors
[13:59:13] sync: got 1658 frames, 1662 expected
[13:59:13] sync: framerate min 5.988 fps, max 23.976 fps, avg 23.904 fps
x265 [info]: frame I:      9, Avg QP:16.55  kb/s: 19420.28
x265 [info]: frame P:    515, Avg QP:20.08  kb/s: 14719.90
x265 [info]: frame B:   1134, Avg QP:20.92  kb/s: 6323.36 
x265 [info]: Weighted P-Frames: Y:7.8% UV:6.2%
x265 [info]: consecutive B-frames: 25.4% 7.8% 6.3% 46.0% 14.5% 

encoded 1658 frames in 1031.72s (1.61 fps), 9002.55 kb/s, Avg QP:20.63
[13:59:13] Starting Task: Encoding Pass
[13:59:13] work: only 1 chapter, disabling chapter markers
[13:59:13] job configuration:
[13:59:13]  * source
[13:59:13]    + /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.mkv
[13:59:13]    + title 1, chapter(s) 1 to 1
[13:59:13]    + container: matroska,webm
[13:59:13]    + data rate: 51984 kbps
[13:59:13]  * destination
[13:59:13]    + /Users/pbarker/Desktop/MARVEL_S THE AVENGERS_trimmed.m4v
[13:59:13]    + container: MPEG-4 (libavformat)
[13:59:13]  * video track
[13:59:13]    + decoder: hevc
[13:59:13]    + filters
[13:59:13]      + 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)
[13:59:13]      + Decomb (mode=39)
[13:59:13]      + Framerate Shaper (mode=2:rate=27000000/450000)
[13:59:13]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[13:59:13]      + Crop and Scale (width=3840:height=2076:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[13:59:13]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 3840 * 2076
[13:59:13]    + Output geometry
[13:59:13]      + storage dimensions: 3840 x 2076
[13:59:13]      + pixel aspect ratio: 1 : 1
[13:59:13]      + display dimensions: 3840 x 2076
[13:59:13]    + encoder: H.265 (libx265)
[13:59:13]      + preset:  slow
[13:59:13]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[13:59:13]      + profile: main
[13:59:13]      + level:   auto
[13:59:13]      + bitrate: 10000 kbps, pass: 2
[13:59:13]      + color profile: 9-16-9
[13:59:13]  * audio track 1
[13:59:13]    + name: Surround 7.1
[13:59:13]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[13:59:13]      + samplerate: 48000 Hz
[13:59:13]    + mixdown: Stereo
[13:59:13]    + dither: triangular
[13:59:13]    + encoder: AAC (Apple AudioToolbox)
[13:59:13]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:59:13]  * audio track 2
[13:59:13]    + name: Surround 7.1
[13:59:13]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[13:59:13]      + samplerate: 48000 Hz
[13:59:13]    + mixdown: 5.1 Channels
[13:59:13]    + dither: triangular
[13:59:13]    + encoder: AC3 (libavcodec)
[13:59:13]      + bitrate: 640 kbps, samplerate: 48000 Hz
[13:59:13] sync: expecting 1658 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Mac OS X][clang 11.0.3][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(33 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-10000 kbps / 0.60
x265 [info]: tools: limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip
x265 [info]: tools: signhide tmvp lslices=4 deblock sao stats-read
[13:59:13] sync: first pts audio 0x1 is 0
[13:59:13] sync: first pts audio 0x1 is 0
[13:59:14] sync: first pts video is 0
[13:59:14] sync: "Chapter 1" (1) at frame 1 time 0
[14:14:53] reader: done. 1 scr changes
[14:16:18] work: average encoding speed for job is 1.709200 fps
[14:16:18] comb detect: heavy 63 | light 83 | uncombed 1512 | total 1658
[14:16:18] decomb: deinterlaced 63 | blended 83 | unfiltered 1512 | total 1658
[14:16:18] vfr: 1658 frames output, 0 dropped and 0 duped for CFR/PFR
[14:16:18] vfr: lost time: 0 (0 frames)
[14:16:18] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:16:18] truehd-decoder done: 82862 frames, 0 decoder errors
[14:16:18] truehd-decoder done: 82862 frames, 0 decoder errors
[14:16:18] hevc-decoder done: 1658 frames, 0 decoder errors
[14:16:18] sync: got 1658 frames, 1658 expected
[14:16:18] sync: framerate min 5.988 fps, max 23.976 fps, avg 23.904 fps
x265 [info]: frame I:      9, Avg QP:15.99  kb/s: 19670.23
x265 [info]: frame P:    515, Avg QP:19.48  kb/s: 17196.71
x265 [info]: frame B:   1134, Avg QP:22.16  kb/s: 6415.97 
x265 [info]: Weighted P-Frames: Y:8.2% UV:6.6%
x265 [info]: consecutive B-frames: 25.4% 7.8% 6.3% 46.0% 14.5% 

encoded 1658 frames in 1025.09s (1.62 fps), 9836.57 kb/s, Avg QP:21.30
[14:16:18] mux: track 0, 1658 frames, 85034490 bytes, 9807.76 kbps, fifo 512
[14:16:18] mux: track 1, 3238 frames, 1423241 bytes, 164.15 kbps, fifo 2048
[14:16:18] mux: track 2, 2157 frames, 5521920 bytes, 636.89 kbps, fifo 1024
[14:16:18] Finished work at: Sun May 31 14:16:18 2020

[14:16:18] libhb: work result = 0
Last edited by Rodeo on Sun May 31, 2020 9:15 pm, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

Updated information.
The distortion I'm seeing may be caused by a combination of possibly incompatible setting between my AV receiver and my AppleTV.
I can get it to work, but I'm seeing some pixelation which may be the result of loss of data, given how much Handbrake is removing from the source. Perhaps that's something can be looked at.
Considering that all of this is so I can get subtitles on a few movies, I'm going to wait for my other 4K converter program to get its act together.

Thanks for all your help in this matter.

Sorry for the wild goose chase.
pbarker1701
Posts: 25
Joined: Sun May 17, 2020 7:59 am

Re: Not so much 4K video compatible.

Post by pbarker1701 »

Here is some more concrete data to use.

I've narrowed down the problem to a setting on my 4K monitor and the Handbrake file itself.
Observe...

This is a screen grab of the HDMI UHD setting on my monitor turned on, with the Handbrake transcoded version of Marvel's The Avengers running in the background. https://u.pcloud.link/publink/show?code ... wFPFv3Nj6X
Notice the distortion in the background.

This is a screen grab of the HDMI UHD setting turned off, same file running in the background.
https://u.pcloud.link/publink/show?code ... gtsuO6V7E7
Notice the lack of distortion.

I could probably live with this, except for what I discovered next.
Here is a screen grab from the Handbrake Avengers file.
https://u.pcloud.link/publink/show?code ... 9YXzzUVdQV
Notice the pixelation, especially around the Paramount logo.

Here is a screen grab from a non-Handbrake transcoded file, same movie, same shot.
https://u.pcloud.link/publink/show?code ... tOS8wn21UV
Notice the lack of pixelation.

All of this, plus the fact that the Handbrake file is just under 5GB in size, while the non-Handbrake file is over 46GB.

That would suggest to me that Handbrake is stripping out most, if not all of the UHD information.

Hopefully this will help you figure out exactly what Handbrake is and isn't doing to 4K UHD files.
Post Reply