4K MKV compressed with AppleTV 4K preset gives 720p output file

Discuss encoding for devices and presets.
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.
Post Reply
cpragman
Posts: 9
Joined: Thu Dec 13, 2007 9:29 am

4K MKV compressed with AppleTV 4K preset gives 720p output file

Post by cpragman »

Description of problem or question:
I have some MKVs that are 4K (1920 x 1080). I ran them thru the AppleTV 2160 4K preset in Handbrake, and the resulting video is now 720p (1614 x 804).

If I encode using Don Melton's "other-transcode" scripts, I get the full 4k version.




Steps to reproduce the problem (If Applicable):

Run Handbrake. Select the AppleTV 4K preset. Encode video. Even though the source was 4K, the resulting encoded file is not.


HandBrake version (e.g., 1.0.0):

1.5.1


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Mac Monterey


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

Code: Select all


Note: I cancelled the encode after the video parameters were all established (as I didn't need to encode this file again)

[17:50:31] macgui: Handbrake Version: 1.5.1 (2022011000)
[17:50:31] Compile-time hardening features are enabled
[17:50:31] hb_init: starting libhb thread
[17:51:04] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[17:51:04] CPU: 
[17:51:04]  - logical processor count: 8
[17:51:04] hb_scan: path=/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv/) failed
[17:51:04] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
[17:51:04] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv':
  Metadata:
    title           : The Batman
    encoder         : libmakemkv v1.16.7 (1.3.10/1.5.2) darwin(x64-release)
    creation_time   : 2022-06-03T21:23:45.000000Z
  Duration: 02:56:11.62, start: 0.000000, bitrate: 24360 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 721.220500
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 721.220500, end 1401.650250
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1401.650250, end 1914.078833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1914.078833, end 2504.502000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2504.502000, end 3096.676917
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 3096.676917, end 3612.900958
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3612.900958, end 4232.394833
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 4232.394833, end 4715.085375
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 4715.085375, end 5354.474125
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 5354.474125, end 6153.063583
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 6153.063583, end 6736.896833
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 6736.896833, end 7100.927167
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 7100.927167, end 7779.605167
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 7779.605167, end 8474.382583
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 8474.382583, end 8851.342500
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 8851.342500, end 9516.089917
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 9516.089917, end 10018.675333
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 10018.675333, end 10571.616000
      Metadata:
        title           : Chapter 18
  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 19938993
      DURATION-eng    : 02:56:11.561000000
      NUMBER_OF_FRAMES-eng: 253464
      NUMBER_OF_BYTES-eng: 26348285882
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _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         : 3028143
      DURATION-eng    : 02:56:11.561666666
      NUMBER_OF_FRAMES-eng: 12685874
      NUMBER_OF_BYTES-eng: 4001526034
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _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, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.584000000
      NUMBER_OF_FRAMES-eng: 330362
      NUMBER_OF_BYTES-eng: 592008704
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.616000000
      NUMBER_OF_FRAMES-eng: 330363
      NUMBER_OF_BYTES-eng: 592010496
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.616000000
      NUMBER_OF_FRAMES-eng: 330363
      NUMBER_OF_BYTES-eng: 592010496
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 34270
      DURATION-eng    : 02:55:47.015645833
      NUMBER_OF_FRAMES-eng: 4834
      NUMBER_OF_BYTES-eng: 45182028
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[17:51:04] scan: decoding previews for title 1
[17:51:04] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[17:51:04] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (Dolby Digital EX) (448 kbps)
[17:51:04] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[17:51:04] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[17:51:04] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/140/166, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:51:04] libhb: scan thread found 1 valid title(s)
[17:51:04] macgui: ScanCore scan done
[17:52:43] Compile-time hardening features are enabled
[17:52:43] hb_init: starting libhb thread
[17:52:43] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[17:52:43] CPU: 
[17:52:43]  - logical processor count: 8
[17:52:43] hb_scan: path=/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2646: nav_get_title_list(/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv/) failed
[17:52:43] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
[17:52:43] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv':
  Metadata:
    title           : The Batman
    encoder         : libmakemkv v1.16.7 (1.3.10/1.5.2) darwin(x64-release)
    creation_time   : 2022-06-03T21:23:45.000000Z
  Duration: 02:56:11.62, start: 0.000000, bitrate: 24360 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 721.220500
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 721.220500, end 1401.650250
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1401.650250, end 1914.078833
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 1914.078833, end 2504.502000
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2504.502000, end 3096.676917
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 3096.676917, end 3612.900958
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3612.900958, end 4232.394833
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 4232.394833, end 4715.085375
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 4715.085375, end 5354.474125
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 5354.474125, end 6153.063583
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 6153.063583, end 6736.896833
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 6736.896833, end 7100.927167
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 7100.927167, end 7779.605167
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 7779.605167, end 8474.382583
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 8474.382583, end 8851.342500
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 8851.342500, end 9516.089917
      Metadata:
        title           : Chapter 16
    Chapter #0:16: start 9516.089917, end 10018.675333
      Metadata:
        title           : Chapter 17
    Chapter #0:17: start 10018.675333, end 10571.616000
      Metadata:
        title           : Chapter 18
  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 19938993
      DURATION-eng    : 02:56:11.561000000
      NUMBER_OF_FRAMES-eng: 253464
      NUMBER_OF_BYTES-eng: 26348285882
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _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         : 3028143
      DURATION-eng    : 02:56:11.561666666
      NUMBER_OF_FRAMES-eng: 12685874
      NUMBER_OF_BYTES-eng: 4001526034
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _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, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.584000000
      NUMBER_OF_FRAMES-eng: 330362
      NUMBER_OF_BYTES-eng: 592008704
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.616000000
      NUMBER_OF_FRAMES-eng: 330363
      NUMBER_OF_BYTES-eng: 592010496
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:4(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 02:56:11.616000000
      NUMBER_OF_FRAMES-eng: 330363
      NUMBER_OF_BYTES-eng: 592010496
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 34270
      DURATION-eng    : 02:55:47.015645833
      NUMBER_OF_FRAMES-eng: 4834
      NUMBER_OF_BYTES-eng: 45182028
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.16.7 darwin(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2022-06-03 21:23:45
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[17:52:43] scan: decoding previews for title 1
[17:52:43] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[17:52:43] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (Dolby Digital EX) (448 kbps)
[17:52:43] scan: audio 0x3: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[17:52:43] scan: audio 0x4: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[17:52:44] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/140/166, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:52:44] libhb: scan thread found 1 valid title(s)
[17:52:44] macgui: fr.handbrake.HandBrakeXPCService scan done
[17:52:44] macgui: fr.handbrake.HandBrakeXPCService started encoding The Batman (2022) PG-13 - test.mp4
[17:52:44] macgui: fr.handbrake.HandBrakeXPCService with preset Apple 2160p60 4K HEVC Surround
[17:52:44] Starting work at: Sat Jun  4 17:52:44 2022

[17:52:44] 1 job(s) to process
[17:52:44] Starting Task: Subtitle Scan
[17:52:44] job configuration:
[17:52:44]  * source
[17:52:44]    + /Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv
[17:52:44]    + title 1, chapter(s) 1 to 18
[17:52:44]    + container: matroska,webm
[17:52:44]    + data rate: 24360 kbps
[17:52:44]  * destination
[17:52:44]    + /Users/cpragman/Downloads/temp/The Batman (2022) PG-13 - test.mp4
[17:52:44]    + container: MPEG-4 (libavformat)
[17:52:44]      + chapter markers
[17:52:44]  * video track
[17:52:44]    + decoder: h264 8-bit (yuv420p)
[17:52:44]    + filters
[17:52:44]      + 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)
[17:52:44]      + Decomb (mode=39)
[17:52:44]      + Framerate Shaper (mode=2:rate=27000000/450000)
[17:52:44]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[17:52:44]      + Crop and Scale (width=1614:height=804:crop-top=138:crop-bottom=138:crop-left=140:crop-right=166)
[17:52:44]        + source: 1920 * 1080, crop (138/138/140/166): 1614 * 804, scale: 1614 * 804
[17:52:44]    + Output geometry
[17:52:44]      + storage dimensions: 1614 x 804
[17:52:44]      + pixel aspect ratio: 1 : 1
[17:52:44]      + display dimensions: 1614 x 804
[17:52:44]  * Foreign Audio Search: Render/Burn-in, Forced Only
[17:52:44]    + subtitle, English [PGS] (track 0, id 0x5, Picture)
[17:52:44] sync: expecting 253465 video frames
[17:53:09] reader: done. 1 scr changes
[17:53:09] work: average encoding speed for job is 0.000000 fps
[17:53:09] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[17:53:09] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[17:53:09] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[17:53:09] vfr: lost time: 0 (0 frames)
[17:53:09] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:53:09] h264-decoder done: 0 frames, 0 decoder errors
[17:53:09] sync: got 0 frames, 253465 expected
[17:53:09] Subtitle track 0 (id 0x5) 'English [PGS]': 2417 hits (0 forced)
[17:53:09] No candidate detected during subtitle scan
[17:53:09] Starting Task: Encoding Pass
[17:53:09] job configuration:
[17:53:09]  * source
[17:53:09]    + /Users/cpragman/Downloads/temp/The Batman (2022) PG-13.mkv
[17:53:09]    + title 1, chapter(s) 1 to 18
[17:53:09]    + container: matroska,webm
[17:53:09]    + data rate: 24360 kbps
[17:53:09]  * destination
[17:53:09]    + /Users/cpragman/Downloads/temp/The Batman (2022) PG-13 - test.mp4
[17:53:09]    + container: MPEG-4 (libavformat)
[17:53:09]      + chapter markers
[17:53:09]  * video track
[17:53:09]    + decoder: h264 8-bit (yuv420p)
[17:53:09]    + filters
[17:53:09]      + 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)
[17:53:09]      + Decomb (mode=39)
[17:53:09]      + Framerate Shaper (mode=2:rate=27000000/450000)
[17:53:09]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[17:53:09]      + Crop and Scale (width=1614:height=804:crop-top=138:crop-bottom=138:crop-left=140:crop-right=166)
[17:53:09]        + source: 1920 * 1080, crop (138/138/140/166): 1614 * 804, scale: 1614 * 804
[17:53:09]    + Output geometry
[17:53:09]      + storage dimensions: 1614 x 804
[17:53:09]      + pixel aspect ratio: 1 : 1
[17:53:09]      + display dimensions: 1614 x 804
[17:53:09]    + encoder: H.265 (libx265)
[17:53:09]      + preset:  slow
[17:53:09]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[17:53:09]      + profile: main
[17:53:09]      + level:   auto
[17:53:09]      + quality: 24.00 (RF)
[17:53:09]      + color profile: 1-1-1
[17:53:09]      + chroma location: left
[17:53:09]  * audio track 1
[17:53:09]    + name: Surround 7.1
[17:53:09]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[17:53:09]      + samplerate: 48000 Hz
[17:53:09]    + mixdown: Stereo
[17:53:09]    + encoder: AAC (Apple AudioToolbox)
[17:53:09]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:53:09]  * audio track 2
[17:53:09]    + name: Surround 7.1
[17:53:09]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[17:53:09]      + samplerate: 48000 Hz
[17:53:09]    + mixdown: 5.1 Channels
[17:53:09]    + encoder: AC3 (libavcodec)
[17:53:09]      + bitrate: 640 kbps, samplerate: 48000 Hz
[17:53:09] sync: expecting 253465 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Mac OS X][clang 13.0.0][32 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: NEON
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(13 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
x265 [info]: tools: rskip mode=1 signhide tmvp lslices=4 deblock sao
[17:53:09] sync: first pts audio 0x1 is 0
[17:53:09] sync: first pts audio 0x1 is 0
[17:53:09] sync: first pts video is 0
[17:53:09] sync: "Chapter 1" (1) at frame 1 time 0
[17:54:21] macgui: fr.handbrake.HandBrakeXPCService encode canceled
[17:54:21] work: average encoding speed for job is 20.575609 fps
[17:54:21] comb detect: heavy 0 | light 0 | uncombed 1457 | total 1457
[17:54:21] decomb: deinterlaced 0 | blended 0 | unfiltered 1452 | total 1452
[17:54:21] vfr: 1443 frames output, 0 dropped and 0 duped for CFR/PFR
[17:54:21] vfr: lost time: 0 (0 frames)
[17:54:21] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:54:21] truehd-decoder done: 76546 frames, 0 decoder errors
[17:54:21] truehd-decoder done: 76546 frames, 0 decoder errors
[17:54:21] h264-decoder done: 1508 frames, 0 decoder errors
[17:54:21] sync: got 1474 frames, 253465 expected
[17:54:21] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:     13, Avg QP:25.00  kb/s: 1140.33 
x265 [info]: frame P:    331, Avg QP:25.31  kb/s: 1276.68 
x265 [info]: frame B:   1055, Avg QP:29.06  kb/s: 240.54  
x265 [info]: Weighted P-Frames: Y:12.1% UV:3.0%
x265 [info]: consecutive B-frames: 3.5% 2.6% 9.0% 52.9% 32.1% 

encoded 1399 frames in 71.95s (19.44 fps), 494.05 kb/s, Avg QP:28.13
[17:54:21] mux: track 0, 1398 frames, 3608153 bytes, 453.52 kbps, fifo 2048
[17:54:21] mux: track 1, 2982 frames, 1322364 bytes, 166.21 kbps, fifo 4096
[17:54:21] mux: track 2, 1988 frames, 5089280 bytes, 639.69 kbps, fifo 2048
[17:54:21] Finished work at: Sat Jun  4 17:54:21 2022

[17:54:21] libhb: work result = 1
[17:54:22] macgui: Queue manually stopped
[17:54:22] macgui: fr.handbrake.HandBrakeXPCService work canceled

User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: 4K MKV compressed with AppleTV 4K preset gives 720p output file

Post by s55 »

[17:52:44] + source: 1920 * 1080, crop (138/138/140/166): 1614 * 804, scale: 1614 * 804
The source is not 4K. It's 1080p.

HandBrake also cropped the black bars from it which is why the resolution is slightly lower.

The output file won't be upscaled to 4k as there is no point in doing so. It's just a waste of space when playing back on an AppleTV. Your display panel will upscale it anyway.
cpragman
Posts: 9
Joined: Thu Dec 13, 2007 9:29 am

Re: 4K MKV compressed with AppleTV 4K preset gives 720p output file

Post by cpragman »

Thanks!
iRandy
New User
Posts: 1
Joined: Tue Feb 14, 2023 12:42 am

Re: 4K MKV compressed with AppleTV 4K preset gives 720p output file

Post by iRandy »

I found that when using the Apple 2160p60 4K HEVC Surround" preset, in the DIMENSIONS tab, I turn ON the Allow Upscaling to take a 1920x1080 source up to 3840x2160 for higher resolution with the Apple TV 4K on a 4K TV
Deleted User 11865

Re: 4K MKV compressed with AppleTV 4K preset gives 720p output file

Post by Deleted User 11865 »

Most likely, the AppleTV and/or the TV would do as good a job as HandBrake upscaling from 1080p to 2160p. But when you do it with HandBrake, you make the output files larger, and also waste electricity and time since encoding 2160p is longer than encoding 1080p…
Post Reply