DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

HandBrake for Windows 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.
Post Reply
Kyioto
Posts: 9
Joined: Mon Sep 14, 2020 5:24 pm

DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by Kyioto »

Description of problem or question:

Hi, I am encoding a MKV source that has DTS-HD MA 5.1 as as a source and choose the codec DTS-HD pass through
however, I am constantly an output file of 2 Channel Stereo instead of 6 channels I was wondering how I can get
5.1 DTS-HD Passthrough to work properly without resourcing to AC3 or AAC 5.1 1536 audio codec settings?


Steps to reproduce the problem (If Applicable):

Select MKV source file
Summary Settings:
  • Format: MP4
    Align A/V Start Checked
Dimensions:
  • Width 1920
    Height: 1036
    Anamorphic: Automatic
    Modulus: 2
    Output: Display Size 1920 X 1036 Par 1X1
    Cropping: Automatic
Filters:
  • Detelecine: off
    Interlace Detection: off
    Denoise: Off
    Sharpen: Off
    Deblock: Off
    Greyscale: Unchecked
    Rotate: 0
    Flip: Unchecked
Video:
  • Video Codec H.264 X264
    Framrate (FPS) Same as Source
    Constant Framrate
    Quality: Constant Quality 22 RF
    2 Pass Encoding checked
    Turbo First Pass Checked
    Encoder Preset: Fast
    Encoder Tune: Film
    Encoder Profile: High
    Encoder Leve: 4.1
    advanced options: ref=5:bframes=5

Audio Tracks: 1 English DTS-HD MA 5.1
Codec: DTS-HD Passthrough

Subtitles: None

Encode
Results = 2 channel stereo audio output

HandBrake version (e.g., 1.0.0):

1.3.3 (2020061300)

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


Windows 10 64-Bit Pro

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

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: AMD Phenom(tm) II X6 1090T Processor
Ram: 8190 MB, 
GPU Information:
  NVIDIA GeForce GTX 570 - 23.21.13.9135
  Citrix Indirect Display Adapter - 12.40.44.247
Screen: 1920x1080
Temp Dir: C:\Users\T\AppData\Local\Temp\
Install Dir: G:\Program Files\HandBrake
Data Dir: C:\Users\T\AppData\Roaming\HandBrake

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


# Starting Encode ...

[03:09:28] base preset: SamsungTVPassThrough
[15:09:28] hb_init: starting libhb thread
[15:09:28] Starting work at: Sat Oct 03 15:09:28 2020
[15:09:28] 1 job(s) to process
[15:09:28] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy:dtshd",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "I:\\Videos for Samsung TV\\Movies\\Hotel Transylvania 2 T01.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "22",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "22",
          "height": "1036",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "E:\\Raw MKV Files\\Hotel Transylvania 2_t01.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "ref=5:bframes=5",
    "Preset": "fast",
    "Profile": "high",
    "Quality": 22.0,
    "Tune": "film",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[15:09:28] CPU: AMD Phenom(tm) II X6 1090T Processor
[15:09:28]  - logical processor count: 6
[15:09:28] Intel Quick Sync Video support: no
[15:09:28] hb_scan: path=E:\Raw MKV Files\Hotel Transylvania 2_t01.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\Raw MKV Files\Hotel Transylvania 2_t01.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(E:\Raw MKV Files\Hotel Transylvania 2_t01.mkv\) failed
[15:09:28] 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
[15:09:28] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\Raw MKV Files\Hotel Transylvania 2_t01.mkv':
  Metadata:
    title           : Hotel Transylvania 2
    encoder         : libmakemkv v1.15.2 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2020-10-03T21:38:44.000000Z
  Duration: 01:29:18.37, start: 0.000000, bitrate: 29239 kb/s
    Chapter #0:0: start 0.000000, end 346.262583
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 346.262583, end 557.640417
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 557.640417, end 789.371917
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 789.371917, end 1168.917750
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1168.917750, end 1362.486125
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1362.486125, end 1804.969833
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1804.969833, end 2172.378542
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2172.378542, end 2400.773375
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2400.773375, end 2754.293208
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2754.293208, end 3082.412667
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 3082.412667, end 3414.619542
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3414.619542, end 3841.754583
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3841.754583, end 4112.691917
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 4112.691917, end 4409.405000
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 4409.405000, end 4715.877833
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4715.877833, end 5358.368000
    Metadata:
      title           : Chapter 16
    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         : 24888267
      DURATION-eng    : 01:29:18.353000000
      NUMBER_OF_FRAMES-eng: 128472
      NUMBER_OF_BYTES-eng: 16670015598
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-03 21:38:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 2197524
      DURATION-eng    : 01:29:18.357333333
      NUMBER_OF_FRAMES-eng: 502346
      NUMBER_OF_BYTES-eng: 1471890412
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-03 21:38:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 01:29:18.357333333
      NUMBER_OF_FRAMES-eng: 502346
      NUMBER_OF_BYTES-eng: 1010720152
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-03 21:38:44
      _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, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 01:29:18.368000000
      NUMBER_OF_FRAMES-eng: 167449
      NUMBER_OF_BYTES-eng: 428669440
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-10-03 21:38:44
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 640x360 [SAR 96:96 DAR 16:9], 90k tbr, 90k tbn, 90k tbc (attached pic)
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[15:09:29] scan: decoding previews for title 1
[15:09:29] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[15:09:29] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[15:09:29] scan: audio 0x3: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch) (640 kbps)
[15:09:30] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 22/22/0/0, aspect 16:9, PAR 1:1
[15:09:30] scan: supported video decoders: avcodec qsv
[15:09:30] libhb: scan thread found 1 valid title(s)
[15:09:30] Starting Task: Encoding Pass
[15:09:30] job configuration:
[15:09:30]  * source
[15:09:30]    + E:\Raw MKV Files\Hotel Transylvania 2_t01.mkv
[15:09:30]    + title 1, chapter(s) 1 to 16
[15:09:30]    + container: matroska,webm
[15:09:30]    + data rate: 29239 kbps
[15:09:30]  * destination
[15:09:30]    + I:\Videos for Samsung TV\Movies\Hotel Transylvania 2 T01.mp4
[15:09:30]    + container: MPEG-4 (libavformat)
[15:09:30]      + align initial A/V stream timestamps
[15:09:30]      + chapter markers
[15:09:30]  * video track
[15:09:30]    + decoder: h264
[15:09:30]    + filters
[15:09:30]      + Framerate Shaper (mode=1)
[15:09:30]        + frame rate: 23.976 fps -> constant 23.976 fps
[15:09:30]      + Crop and Scale (width=1920:height=1036:crop-top=22:crop-bottom=22:crop-left=0:crop-right=0)
[15:09:30]        + source: 1920 * 1080, crop (22/22/0/0): 1920 * 1036, scale: 1920 * 1036
[15:09:30]    + Output geometry
[15:09:30]      + storage dimensions: 1920 x 1036
[15:09:30]      + pixel aspect ratio: 1 : 1
[15:09:30]      + display dimensions: 1920 x 1036
[15:09:30]    + encoder: H.264 (libx264)
[15:09:30]      + preset:  fast
[15:09:30]      + tune:    film
[15:09:30]      + options: ref=5:bframes=5
[15:09:30]      + profile: high
[15:09:30]      + level:   4.1
[15:09:30]      + quality: 22.00 (RF)
[15:09:30]      + color profile: 1-1-1
[15:09:30]  * audio track 1
[15:09:30]    + name: Surround 5.1
[15:09:30]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[15:09:30]      + samplerate: 48000 Hz
[15:09:30]    + DTS-HD Passthru
[15:09:30] sync: expecting 128472 video frames
[15:09:30] encx264: min-keyint: 24, keyint: 240
[15:09:30] encx264: encoding at constant RF 22.000000
[15:09:30] encx264: unparsed options: ref=4:bframes=5:level=4.1:deblock=-1,-1:weightp=1:subme=6:psy-rd=1,0.15:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT
x264 [info]: profile High, level 4.1, 4:2:0, 8-bit
[15:09:30] sync: first pts video is 0
[15:09:30] sync: "Chapter 1" (1) at frame 1 time 0
[15:09:30] sync: first pts audio 0x1 is 0
[15:16:51] sync: "Chapter 2" (2) at frame 8303 time 31163632
[15:21:03] sync: "Chapter 3" (3) at frame 13372 time 50191391
[15:25:04] sync: "Chapter 4" (4) at frame 18927 time 71043472
[15:30:59] sync: "Chapter 5" (5) at frame 28027 time 105202597
[15:34:21] sync: "Chapter 6" (6) at frame 32669 time 122627505
[15:41:23] sync: "Chapter 7" (7) at frame 43277 time 162447285
[15:48:13] sync: "Chapter 8" (8) at frame 52086 time 195514068
[15:52:36] sync: "Chapter 9" (9) at frame 57564 time 216077111
[16:02:20] sync: "Chapter 10" (10) at frame 66039 time 247890142
[16:09:32] sync: "Chapter 11" (11) at frame 73905 time 277417140
[16:16:34] sync: "Chapter 12" (12) at frame 81870 time 307315758
[16:24:30] sync: "Chapter 13" (13) at frame 92111 time 345757912
[16:28:52] sync: "Chapter 14" (14) at frame 98607 time 370142272
[16:34:32] sync: "Chapter 15" (15) at frame 105721 time 396846450
[16:41:42] sync: "Chapter 16" (16) at frame 113069 time 424429005
[16:49:57] reader: done. 1 scr changes
[16:50:00] work: average encoding speed for job is 21.308697 fps
[16:50:00] vfr: 128472 frames output, 0 dropped and 0 duped for CFR/PFR
[16:50:00] vfr: lost time: 0 (0 frames)
[16:50:00] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:50:00] dca-decoder done: 502346 frames, 0 decoder errors
[16:50:00] h264-decoder done: 128472 frames, 0 decoder errors
[16:50:00] sync: got 128472 frames, 128472 expected
[16:50:00] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1617  Avg QP:17.30  size:118772
x264 [info]: frame P:33618 Avg QP:20.51  size: 24374
x264 [info]: frame B:93237 Avg QP:22.37  size:  8979
x264 [info]: consecutive B-frames:  6.0% 12.4%  3.7%  9.0%  8.4% 60.5%
x264 [info]: mb I  I16..4: 19.4% 65.3% 15.3%
x264 [info]: mb P  I16..4:  4.6% 11.0%  1.0%  P16..4: 26.9%  5.8%  5.5%  0.0%  0.0%    skip:45.1%
x264 [info]: mb B  I16..4:  2.7%  4.2%  0.3%  B16..8: 12.7%  2.7%  0.2%  direct:10.1%  skip:67.1%  L0:45.5% L1:47.1% BI: 7.5%
x264 [info]: 8x8 transform intra:62.4% inter:75.0%
x264 [info]: coded y,uvDC,uvAC intra: 42.2% 67.9% 27.4% inter: 6.9% 15.6% 0.7%
x264 [info]: i16 v,h,dc,p: 37% 22% 13% 28%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 17% 29%  4%  6%  6%  6%  6%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 19% 17%  5% 10%  8%  7%  6%  5%
x264 [info]: i8c dc,h,v,p: 51% 19% 22%  8%
x264 [info]: Weighted P-Frames: Y:1.9% UV:1.3%
x264 [info]: ref P L0: 69.3% 18.1% 11.9%  0.8%
x264 [info]: ref B L0: 84.6% 12.6%  2.8%
x264 [info]: ref B L1: 94.5%  5.5%
x264 [info]: kb/s:2760.05
[16:50:00] mux: track 0, 128472 frames, 1848608955 bytes, 2759.94 kbps, fifo 1024
[16:50:00] mux: track 1, 502346 frames, 1471890412 bytes, 2197.51 kbps, fifo 4096
[16:50:00] Finished work at: Sat Oct 03 16:50:00 2020
[16:50:00] libhb: work result = 0

# Encode Completed ...


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

Re: DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by mduell »

What leads you to believe your output is 2ch?
Kyioto
Posts: 9
Joined: Mon Sep 14, 2020 5:24 pm

Re: DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by Kyioto »

when I view the properties of the file and go to detail a 5.1 surround output would show up with 6 channels under the audio portion, however it is only coming up as 2 channgels (stereo)
Kyioto
Posts: 9
Joined: Mon Sep 14, 2020 5:24 pm

Re: DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by Kyioto »

I know the conversion is failing because when I also set the selection behavior to have no backup option the output file produces no audio with DTS HD pass through
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by rollin_eng »

I think DTS in MP4 is not officially supported.

Try changing your audio or container.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: DTS-HD Passthrough failing - coming out as 48 hz 2 Channel Stereo

Post by Woodstock »

Post Reply