Audio Dropouts Apple TV 4K / 4th Gen

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
centinul
Posts: 7
Joined: Tue Dec 31, 2013 12:41 am

Audio Dropouts Apple TV 4K / 4th Gen

Post by centinul »

Description of problem or question:

I'm having significant issues trying to encode Skyfall with Handbrake for my Apple TVs (both 4th gen and 4K). Specifically audio will drop out and only recover if I pause and continue playback. I've seen this on other films such as Blade Runner 2049 and Interstellar but it's a significant problem with Skyfall.

I've tried the Apple TV presets (both H264 and HEVC) to no avail. Has anyone experienced this and landed on a preset that avoids this problem?

Steps to reproduce the problem (If Applicable):

N/A

HandBrake version (e.g., 1.0.0):

HandBrake Nightly 20200630202524-c3e2d6b5d-master (2020063001)

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

Windows 10 -- Latest version

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

Code: Select all

HandBrake Nightly 20200630202524-c3e2d6b5d-master (2020063001)
OS: Microsoft Windows NT 6.2.9200.0
CPU: Intel(R) Core(TM) i3-3225 CPU @ 3.30GHz
Ram: 7878 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.4358
  Microsoft Remote Display Adapter - 10.0.18362.693
Screen: 1920x1200
Temp Dir: C:\Users\mediaserver\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\mediaserver\AppData\Roaming\HandBrake\Nightly

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


# Starting Encode ...
[10:15:00] base preset: Apple 2160p60 4K HEVC Surround (Modified)
Remote Process started with Process ID: 10172 and port: 8037
Worker: Starting HandBrake Engine ...
Worker: Starting Web Server on port 8037 ...
Worker: Server Started
[10:15:00] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[10:15:01] hb_init: starting libhb thread
[10:15:01] Starting work at: Sat Jul 18 10:15:01 2020
[10:15:01] 1 job(s) to process
[10:15:01] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 640,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": "copy:dts",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": "copy:dtshd",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 1,
        "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"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      },
      {
        "Name": "Chapter 21"
      },
      {
        "Name": "Chapter 22"
      },
      {
        "Name": "Chapter 23"
      },
      {
        "Name": "Chapter 24"
      },
      {
        "Name": "Chapter 25"
      },
      {
        "Name": "Chapter 26"
      },
      {
        "Name": "Chapter 27"
      },
      {
        "Name": "Chapter 28"
      },
      {
        "Name": "Chapter 29"
      },
      {
        "Name": "Chapter 30"
      },
      {
        "Name": "Chapter 31"
      },
      {
        "Name": "Chapter 32"
      },
      {
        "Name": "Chapter 33"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "\\\\DS716NAS\\media\\temp\\Skyfall-92-no-dts.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": 12,
        "Settings": {
          "crop-bottom": "140",
          "crop-left": "2",
          "crop-right": "2",
          "crop-top": "140",
          "height": "800",
          "width": "1916"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/450000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 33
    },
    "Title": 92,
    "Path": "\\\\DS716NAS\\media\\temp\\Skyfall"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "strong-intra-smoothing=0:rect=0:aq-mode=1",
    "Preset": "slow",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:15:01] CPU: Intel(R) Core(TM) i3-3225 CPU @ 3.30GHz
[10:15:01]  - Intel microarchitecture Ivy Bridge
[10:15:01]  - logical processor count: 4
[10:15:01] Intel Quick Sync Video support: yes
[10:15:01]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[10:15:01]  - H.264 encoder: yes
[10:15:01]     - preferred implementation: hardware (any) via D3D11
[10:15:01]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[10:15:01]  - H.265 encoder: no
[10:15:01] hb_scan: path=\\DS716NAS\media\temp\Skyfall, title_index=92
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
[10:15:03] scan: BD has 95 title(s)
[10:15:03] bd: scanning title 92
[10:15:03] bd: playlist 00500.MPLS
[10:15:03] bd: duration is 02:23:09 (8589956 ms)
[10:15:03] bd: video id=0x1011, stream type=H.264, format 1080p
[10:15:03] bd: aspect = 16:9
[10:15:03] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[10:15:03] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[10:15:03] bd: audio id=0x1101, lang=English (AC3), 3cc=eng
[10:15:03] bd: audio id=0x1102, lang=espaol (AC3), 3cc=spa
[10:15:03] bd: audio id=0x1103, lang=Francais (AC3), 3cc=fra
[10:15:03] bd: audio id=0x1104, lang=italiano (DTS), 3cc=ita
[10:15:03] bd: audio id=0x1105, lang=??????? (DTS), 3cc=rus
[10:15:03] bd: audio id=0x1106, lang=?????????? (AC3), 3cc=ukr
[10:15:03] bd: audio id=0x1107, lang=English (AC3), 3cc=eng
[10:15:03] bd: audio id=0x1108, lang=English (AC3), 3cc=eng
[10:15:03] bd: subtitle id=0x1200, lang=English [PGS], 3cc=eng
[10:15:03] bd: subtitle id=0x1201, lang=espaol [PGS], 3cc=spa
[10:15:03] bd: subtitle id=0x1202, lang=Francais [PGS], 3cc=fra
[10:15:03] bd: subtitle id=0x1203, lang=dansk [PGS], 3cc=dan
[10:15:03] bd: subtitle id=0x1204, lang=suomi [PGS], 3cc=fin
[10:15:03] bd: subtitle id=0x1205, lang=italiano [PGS], 3cc=ita
[10:15:03] bd: subtitle id=0x1206, lang=norsk [PGS], 3cc=nor
[10:15:03] bd: subtitle id=0x1207, lang=??????? [PGS], 3cc=rus
[10:15:03] bd: subtitle id=0x1208, lang=svenska [PGS], 3cc=swe
[10:15:03] bd: subtitle id=0x1209, lang=eesti [PGS], 3cc=est
[10:15:03] bd: subtitle id=0x120a, lang=­slenska [PGS], 3cc=isl
[10:15:03] bd: subtitle id=0x120b, lang=latviesu [PGS], 3cc=lav
[10:15:03] bd: subtitle id=0x120c, lang=lietuviu [PGS], 3cc=lit
[10:15:03] bd: subtitle id=0x120d, lang=?? [PGS], 3cc=zho
[10:15:03] bd: subtitle id=0x120e, lang=?????????? [PGS], 3cc=ukr
[10:15:03] bd: subtitle id=0x120f, lang=English [PGS], 3cc=eng
[10:15:03] bd: subtitle id=0x1210, lang=dansk [PGS], 3cc=dan
[10:15:03] bd: subtitle id=0x1211, lang=suomi [PGS], 3cc=fin
[10:15:03] bd: subtitle id=0x1212, lang=italiano [PGS], 3cc=ita
[10:15:03] bd: subtitle id=0x1213, lang=norsk [PGS], 3cc=nor
[10:15:03] bd: subtitle id=0x1214, lang=??????? [PGS], 3cc=rus
[10:15:03] bd: subtitle id=0x1215, lang=svenska [PGS], 3cc=swe
[10:15:03] bd: subtitle id=0x1216, lang=?? [PGS], 3cc=zho
[10:15:03] bd: subtitle id=0x1217, lang=English [PGS], 3cc=eng
[10:15:03] bd: subtitle id=0x1218, lang=dansk [PGS], 3cc=dan
[10:15:03] bd: subtitle id=0x1219, lang=suomi [PGS], 3cc=fin
[10:15:03] bd: subtitle id=0x121a, lang=italiano [PGS], 3cc=ita
[10:15:03] bd: subtitle id=0x121b, lang=norsk [PGS], 3cc=nor
[10:15:03] bd: subtitle id=0x121c, lang=??????? [PGS], 3cc=rus
[10:15:03] bd: subtitle id=0x121d, lang=svenska [PGS], 3cc=swe
[10:15:03] bd: subtitle id=0x121e, lang=?? [PGS], 3cc=zho
[10:15:03] bd: chap 1, 268476 ms
[10:15:03] bd: chap 2, 183975 ms
[10:15:03] bd: chap 3, 314939 ms
[10:15:03] bd: chap 4, 240073 ms
[10:15:03] bd: chap 5, 289872 ms
[10:15:03] bd: chap 6, 202952 ms
[10:15:03] bd: chap 7, 264931 ms
[10:15:03] bd: chap 8, 340923 ms
[10:15:03] bd: chap 9, 201618 ms
[10:15:03] bd: chap 10, 176676 ms
[10:15:03] bd: chap 11, 298464 ms
[10:15:03] bd: chap 12, 265723 ms
[10:15:03] bd: chap 13, 244661 ms
[10:15:03] bd: chap 14, 285451 ms
[10:15:03] bd: chap 15, 335501 ms
[10:15:03] bd: chap 16, 302427 ms
[10:15:03] bd: chap 17, 413079 ms
[10:15:03] bd: chap 18, 225308 ms
[10:15:03] bd: chap 19, 315315 ms
[10:15:03] bd: chap 20, 339380 ms
[10:15:03] bd: chap 21, 314772 ms
[10:15:03] bd: chap 22, 224557 ms
[10:15:03] bd: chap 23, 176885 ms
[10:15:03] bd: chap 24, 128753 ms
[10:15:03] bd: chap 25, 375875 ms
[10:15:03] bd: chap 26, 155196 ms
[10:15:03] bd: chap 27, 207248 ms
[10:15:03] bd: chap 28, 276067 ms
[10:15:03] bd: chap 29, 409534 ms
[10:15:03] bd: chap 30, 310977 ms
[10:15:03] bd: chap 31, 176801 ms
[10:15:03] bd: chap 32, 323281 ms
[10:15:03] bd: chap 33, 250 ms
[10:15:03] bd: title 92 has 33 chapters
[10:15:03] scan: decoding previews for title 92
[10:15:03] scan: title angle(s) 1
[dca @ 000001e8ff164b40] Residual encoded channels are present without core
[10:15:03] scan: audio 0x1104: dca, rate=48000Hz, bitrate=768000 italiano (DTS) (5.1 ch) (768 kbps)
[10:15:03] scan: audio 0x1105: dca, rate=48000Hz, bitrate=768000 ??????? (DTS) (5.1 ch) (768 kbps)
[dca @ 000001e8ff164b40] Residual encoded channels are present without core
[10:15:03] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[dca @ 000001e8ff164b40] Residual encoded channels are present without core
[10:15:03] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[10:15:03] scan: audio 0x1107: ac3, rate=48000Hz, bitrate=224000 English (AC3) (2.0 ch) (224 kbps)
[10:15:03] scan: audio 0x1108: ac3, rate=48000Hz, bitrate=224000 English (AC3) (2.0 ch) (224 kbps)
[10:15:03] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[10:15:03] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=448000 espaol (AC3) (5.1 ch) (448 kbps)
[10:15:03] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=448000 Francais (AC3) (5.1 ch) (448 kbps)
[10:15:03] scan: audio 0x1106: ac3, rate=48000Hz, bitrate=448000 ?????????? (AC3) (5.1 ch) (448 kbps)
[10:15:06] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/2/2, aspect 16:9, PAR 1:1
[10:15:06] scan: supported video decoders: avcodec qsv
[10:15:06] stream: 10 good frames, 0 errors (0%)
[10:15:06] libhb: scan thread found 1 valid title(s)
[10:15:06] Starting Task: Subtitle Scan
[10:15:06] job configuration:
[10:15:06]  * source
[10:15:06]    + \\DS716NAS\media\temp\Skyfall
[10:15:06]    + title 92, chapter(s) 1 to 33
[10:15:06]  * destination
[10:15:06]    + \\DS716NAS\media\temp\Skyfall-92-no-dts.m4v
[10:15:06]    + container: MPEG-4 (libavformat)
[10:15:06]      + chapter markers
[10:15:06]  * video track
[10:15:06]    + decoder: h264
[10:15:06]      + bitrate 200 kbps
[10:15:06]    + filters
[10:15:06]      + 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)
[10:15:06]      + Decomb (mode=39)
[10:15:06]      + Framerate Shaper (mode=2:rate=27000000/450000)
[10:15:06]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[10:15:06]      + Crop and Scale (width=1916:height=800:crop-top=140:crop-bottom=140:crop-left=2:crop-right=2)
[10:15:06]        + source: 1920 * 1080, crop (140/140/2/2): 1916 * 800, scale: 1916 * 800
[10:15:06]    + Output geometry
[10:15:06]      + storage dimensions: 1916 x 800
[10:15:06]      + pixel aspect ratio: 1 : 1
[10:15:06]      + display dimensions: 1916 x 800
[10:15:06]  * Foreign Audio Search: Render/Burn-in, Forced Only
[10:15:06]    + subtitle, English [PGS] (track 0, id 0x1200, Picture)
[10:15:06]    + subtitle, English [PGS] (track 15, id 0x120f, Picture)
[10:15:06]    + subtitle, English [PGS] (track 23, id 0x1217, Picture)
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
[10:15:09] sync: expecting 205952 video frames
[11:15:16] bd: End of title
[11:15:16] reader: done. 1 scr changes
[11:15:16] work: average encoding speed for job is 0.000000 fps
[11:15:16] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[11:15:16] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[11:15:16] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[11:15:16] vfr: lost time: 0 (0 frames)
[11:15:16] vfr: gained time: 0 (0 frames) (0 not accounted for)
[11:15:16] stream: 205953 good frames, 0 errors (0%)
[11:15:16] h264-decoder done: 0 frames, 1 decoder errors
[11:15:16] sync: got 0 frames, 205952 expected
[11:15:16] Subtitle track 0 (id 0x1200) 'English [PGS]': 1348 hits (0 forced)
[11:15:16] Subtitle track 15 (id 0x120f) 'English [PGS]': 2184 hits (0 forced)
[11:15:16] Subtitle track 23 (id 0x1217) 'English [PGS]': 2225 hits (0 forced)
[11:15:16] No candidate detected during subtitle scan
[11:15:16] Starting Task: Encoding Pass
[11:15:16] job configuration:
[11:15:16]  * source
[11:15:16]    + \\DS716NAS\media\temp\Skyfall
[11:15:16]    + title 92, chapter(s) 1 to 33
[11:15:16]  * destination
[11:15:16]    + \\DS716NAS\media\temp\Skyfall-92-no-dts.m4v
[11:15:16]    + container: MPEG-4 (libavformat)
[11:15:16]      + chapter markers
[11:15:16]  * video track
[11:15:16]    + decoder: h264
[11:15:16]      + bitrate 200 kbps
[11:15:16]    + filters
[11:15:16]      + 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)
[11:15:16]      + Decomb (mode=39)
[11:15:16]      + Framerate Shaper (mode=2:rate=27000000/450000)
[11:15:16]        + frame rate: 23.976 fps -> peak rate limited to 60.000 fps
[11:15:16]      + Crop and Scale (width=1916:height=800:crop-top=140:crop-bottom=140:crop-left=2:crop-right=2)
[11:15:16]        + source: 1920 * 1080, crop (140/140/2/2): 1916 * 800, scale: 1916 * 800
[11:15:16]    + Output geometry
[11:15:16]      + storage dimensions: 1916 x 800
[11:15:16]      + pixel aspect ratio: 1 : 1
[11:15:16]      + display dimensions: 1916 x 800
[11:15:16]    + encoder: H.265 (libx265)
[11:15:16]      + preset:  slow
[11:15:16]      + options: strong-intra-smoothing=0:rect=0:aq-mode=1
[11:15:16]      + profile: main
[11:15:16]      + level:   auto
[11:15:16]      + quality: 22.00 (RF)
[11:15:16]      + color profile: 1-1-1
[11:15:16]  * audio track 1
[11:15:16]    + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[11:15:16]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:15:16]    + mixdown: 5.1 Channels
[11:15:16]    + dither: none
[11:15:16]    + encoder: AC3 (libavcodec)
[11:15:16]      + bitrate: 640 kbps, samplerate: 48000 Hz
[11:15:16]  * audio track 2
[11:15:16]    + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[11:15:16]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:15:16]    + mixdown: Stereo
[11:15:16]    + dither: none
[11:15:16]    + encoder: AAC (libavcodec)
[11:15:16]      + bitrate: 160 kbps, samplerate: 48000 Hz
[11:15:16]  * audio track 3
[11:15:16]    + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x711100)
[11:15:16]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[11:15:16]    + DTS Passthru
[11:15:16]  * audio track 4
[11:15:16]    + decoder: English (DTS-HD MA) (5.1 ch) (track 2, id 0x1100)
[11:15:16]      + samplerate: 48000 Hz
[11:15:16]    + DTS-HD Passthru
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:133: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:746: BD-J check: Failed to load JVM library
[11:15:19] sync: expecting 205952 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / 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-22.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
[11:15:19] sync: first pts video is 0
[11:15:19] sync: "Chapter 1" (1) at frame 1 time 0
[11:15:19] sync: first pts audio 0x711100 is 0
[11:15:19] sync: first pts audio 0x711100 is 0
[11:15:19] sync: first pts audio 0x711100 is 0
[11:15:19] sync: first pts audio 0x1100 is 0
[11:53:46] sync: "Chapter 2" (2) at frame 6438 time 24162888
[12:27:40] sync: "Chapter 3" (3) at frame 10849 time 40720680
[13:23:56] sync: "Chapter 4" (4) at frame 18400 time 69065246
[14:02:25] sync: "Chapter 5" (5) at frame 24156 time 90671831
[14:31:48] sync: "Chapter 6" (6) at frame 31106 time 116760393
[14:50:00] sync: "Chapter 7" (7) at frame 35972 time 135026141
[15:17:09] sync: "Chapter 8" (8) at frame 42324 time 158869961
[15:48:13] sync: "Chapter 9" (9) at frame 50498 time 189553113
[16:04:29] sync: "Chapter 10" (10) at frame 55332 time 207698741
[16:19:04] sync: "Chapter 11" (11) at frame 59568 time 223599626
[16:51:38] sync: "Chapter 12" (12) at frame 66724 time 250461461
[17:21:42] sync: "Chapter 13" (13) at frame 73095 time 274376602
[17:43:05] sync: "Chapter 14" (14) at frame 78961 time 296396100
[18:12:02] sync: "Chapter 15" (15) at frame 85805 time 322086765
[18:41:44] sync: "Chapter 16" (16) at frame 93849 time 352281930
[19:12:04] sync: "Chapter 17" (17) at frame 101100 time 379500371
[19:43:56] sync: "Chapter 18" (18) at frame 111004 time 416677511
[20:08:21] sync: "Chapter 19" (19) at frame 116406 time 436955268
[20:31:47] sync: "Chapter 20" (20) at frame 123966 time 465333618
[21:09:37] sync: "Chapter 21" (21) at frame 132103 time 495877882
[21:54:20] sync: "Chapter 22" (22) at frame 139650 time 524207433
[22:19:20] sync: "Chapter 23" (23) at frame 145034 time 544417623
[22:45:13] sync: "Chapter 24" (24) at frame 149275 time 560337277
[22:57:53] sync: "Chapter 25" (25) at frame 152362 time 571925103
[23:29:34] sync: "Chapter 26" (26) at frame 161374 time 605753898
[23:42:47] sync: "Chapter 27" (27) at frame 165095 time 619721602
[00:04:33] sync: "Chapter 28" (28) at frame 170064 time 638373986
[00:39:22] sync: "Chapter 29" (29) at frame 176683 time 663220057
[01:36:36] sync: "Chapter 30" (30) at frame 186502 time 700078128
[02:04:18] sync: "Chapter 31" (31) at frame 193958 time 728066088
[02:18:54] sync: "Chapter 32" (32) at frame 198197 time 743978235
[02:33:31] bd: End of title
[02:33:31] reader: done. 1 scr changes
[02:33:32] sync: "Chapter 33" (33) at frame 205933 time 773017245
[02:33:40] work: average encoding speed for job is 3.737447 fps
[02:33:40] comb detect: heavy 3821 | light 15315 | uncombed 186817 | total 205953
[02:33:40] decomb: deinterlaced 3821 | blended 15315 | unfiltered 186817 | total 205953
[02:33:40] vfr: 205953 frames output, 0 dropped and 0 duped for CFR/PFR
[02:33:40] vfr: lost time: 0 (0 frames)
[02:33:40] vfr: gained time: 0 (0 frames) (0 not accounted for)
[02:33:40] stream: 205953 good frames, 0 errors (0%)
[02:33:40] dca-decoder done: 805309 frames, 0 decoder errors
[02:33:40] dca-decoder done: 805309 frames, 0 decoder errors
[02:33:40] dca-decoder done: 805309 frames, 0 decoder errors
[02:33:40] dca-decoder done: 805309 frames, 0 decoder errors
[02:33:40] h264-decoder done: 205953 frames, 0 decoder errors
[02:33:40] sync: got 205953 frames, 205952 expected
[02:33:40] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:   2478, Avg QP:21.02  kb/s: 11468.98
x265 [info]: frame P:  48498, Avg QP:22.40  kb/s: 4480.00
x265 [info]: frame B: 154977, Avg QP:27.40  kb/s: 858.62
x265 [info]: Weighted P-Frames: Y:4.8% UV:3.9%
x265 [info]: consecutive B-frames: 8.5% 6.4% 8.6% 25.5% 51.0%
encoded 205953 frames in 55101.62s (3.74 fps), 1839.05 kb/s, Avg QP:26.15
[02:33:41] mux: track 0, 205953 frames, 1975489966 bytes, 1839.80 kbps, fifo 512
[02:33:41] mux: track 1, 268436 frames, 687196160 bytes, 640.00 kbps, fifo 1024
[02:33:41] mux: track 2, 402655 frames, 171914752 bytes, 160.11 kbps, fifo 1024
[02:33:41] mux: track 3, 805309 frames, 1620281708 bytes, 1508.99 kbps, fifo 2048
[02:33:41] mux: track 4, 805309 frames, 4112623104 bytes, 3830.15 kbps, fifo 2048
[02:33:41] Finished work at: Sun Jul 19 02:33:41 2020
[02:33:41] libhb: work result = 0

# Job Completed!
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by rollin_eng »

Your source is throwing up some warnings but not sure if they are the cause.

Could you re-rip to an mkv with makemkv to see if that helps.

Also try dropping the DTS and DTS-HD tracks as they are not really supported in mp4.
Deleted User 13735

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by Deleted User 13735 »

AC3 (DTS) Audio and Apple TV are not necessarily friends under the sheets.
Try the AAC Surround encoder in Handbrake, and see if there is a change in behavior.
Deleted User 11865

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by Deleted User 11865 »

I'm not sure what warnings rollin is talking about, as I don't see anything after "job configuration" (any warnings during the initial scan may be the result of imperfect seeking and are usually irrelevant during the main encode).

Your audio configuration is highly suboptimal for an AppleTV target however. You have:

1: DTS source, encoded to AC3
2: DTS source, encoded to AAC
3: DTS source, passed through
4: DTS-HD MA source, passed through

Output audio tracks 3 and 4 are not supported by Apple devices; while in theory they will just be skipped, they could be confusing the AppleTV to the point of causing issues during playback.

I recommend the following configuration instead:

1: DTS-HD MA source, encoded to AAC
2: DTS-HD MA source, encoded to AC3
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by rollin_eng »

Rodeo wrote: Mon Jul 20, 2020 2:26 pm I'm not sure what warnings rollin is talking about, as I don't see anything after "job configuration" (any warnings during the initial scan may be the result of imperfect seeking and are usually irrelevant during the main encode).
It was the initial scan warning I was referring to, but as you said I doubt it is that causing any issues.
musicvid wrote: Sun Jul 19, 2020 10:16 pm AC3 (DTS) Audio and Apple TV are not necessarily friends under the sheets.
Not sure what you mean here, AC3 and DTS are different audio technologys. AC3 works perfectly fine on the Apple TV.
centinul
Posts: 7
Joined: Tue Dec 31, 2013 12:41 am

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by centinul »

Rodeo wrote: Mon Jul 20, 2020 2:26 pm Output audio tracks 3 and 4 are not supported by Apple devices; while in theory they will just be skipped, they could be confusing the AppleTV to the point of causing issues during playback.
Yes I understand that those sources (3/4) are not supported by Apple devices. I've always just made it a practice to include the original source in the event I wanted it in the future. 99% of the time I see no issues in playback on my Apple TVs. In this case it was particularly a problem and it seems in at least one test removing the DTS tracks fixed the problem. I'll have to run that same media on device a couple more times to confirm the issue is fixed.

Rodeo wrote: Mon Jul 20, 2020 2:26 pm Your audio configuration is highly suboptimal for an AppleTV target however. You have:

1: DTS source, encoded to AC3
2: DTS source, encoded to AAC
3: DTS source, passed through
4: DTS-HD MA source, passed through

I recommend the following configuration instead:

1: DTS-HD MA source, encoded to AAC
2: DTS-HD MA source, encoded to AC3
The default preset uses DTS instead of the DTS-HD MA source. I can certainly look at changing it but it would be nice if the preset chose the correct source. Do you have a reason for the stereo track being first? I typically put the surround track first because Handbrake seems to set that as the default track and I don't want to have to switch default tracks every time I play content.

Thanks again for your insights I really appreciate it!
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by rollin_eng »

I believe the Apple TV used to require AAC first, it might not now but try it to see if it helps with your issue.
Deleted User 11865

Re: Audio Dropouts Apple TV 4K / 4th Gen

Post by Deleted User 11865 »

HandBrake picks the DTS instead of the DTS-HD MA because it comes first in the audio list (which was originally done for compatibility reasons). I guess we should look into fixing it, but in the meantime it will require manual intervention if you want to use the lossless source. Probably won't make much difference on anything but a very high-end audio setup though.
Post Reply