7.1 DTS MKV to AAC 1536 7.1 MP4 Audio Conversion comes out choppy when using Windows 10 Pro Cast To

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

7.1 DTS MKV to AAC 1536 7.1 MP4 Audio Conversion comes out choppy when using Windows 10 Pro Cast To

Post by Kyioto »

Description of problem or question:

I have tried a couple times to transform a couple MKV files from blu ray discs that I own to stream to my Samsung without needing to take the disc out using windows Cast To feature. The feature works great when I transform the file using 1920 X 1080 using the 5.1 DTS 1536 bitrate mixed down to AAC 1536 5.1 channels. However when I try to use the included 7.1 DTS option on the file or any files that contain 7.1 and do a DTS pass through
or decode to 1536 7.1 channels on AAC the sound covers over as choppy especially after you skip to another part of the mp4 file.


Steps to reproduce the problem (If Applicable):

1. Choose MKV Source File with 7.1 DTS encoded
2. Summary > Format :MP4
3. Set dimensions to 1920 X 1080
4. Anamorphic – None; Modulus = 2 Cropping: Automatic
5. Filters: All Off – 0 Rotate
6. Video Codec: H.264 (X264); Framerate: Same as Source; Constant Quality: 22;
Constant Frame Framerate; 2 pass encoding & Turbo First pass checked
Encoder Turne: Film; Fast Decode unchecked; Encoder Profile: High; Encoder Level: 4.1
Advanced options: ref=5:bframes=5
7. Audio: English (DTS-HD MA) (7.1 ch) Codec Mixed down to AAC Bitrate 1536 7.1 channels sample rate auto DRC & Gain both 0
8. Subtitles: None
9. Chapters: Default
10. Start Encode
11. Encode Finishes
12. Right click on MP4 choose Cast To
13. Select Samsung Device (which connects to Yamaha RX-A870BL receiver) This receiver is DTS 5.1and 7.1 compatible and works just fine with 5.1 decoded mp4 files at 1536


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 Pro 64-Bit Version 2004 OS Buld 19041.508


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

Code: Select all


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 ...

[01:27:14] base preset: SamsungTVPassThrough (Modified)
[13:27:14] hb_init: starting libhb thread
[13:27:14] Starting work at: Mon Sep 14 13:27:14 2020
[13:27:14] 1 job(s) to process
[13:27:14] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 1536,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 9,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 7.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"
      },
      {
        "Name": "Chapter 17"
      },
      {
        "Name": "Chapter 18"
      },
      {
        "Name": "Chapter 19"
      },
      {
        "Name": "Chapter 20"
      },
      {
        "Name": "Chapter 21"
      },
      {
        "Name": "Chapter 22"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "I:\\Videos for Samsung TV\\Movies\\Lady And The Tramp.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "166",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "164",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 22
    },
    "Title": 1,
    "Path": "I:\\Raw MKV Files\\Lady and the Tramp\\Lady and the Tramp- Signature Collection_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
    }
  }
}
[13:27:14] CPU: AMD Phenom(tm) II X6 1090T Processor
[13:27:14]  - logical processor count: 6
[13:27:14] Intel Quick Sync Video support: no
[13:27:14] hb_scan: path=I:\Raw MKV Files\Lady and the Tramp\Lady and the Tramp- Signature Collection_t01.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image I:\Raw MKV Files\Lady and the Tramp\Lady and the Tramp- Signature Collection_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(I:\Raw MKV Files\Lady and the Tramp\Lady and the Tramp- Signature Collection_t01.mkv\) failed
[13:27:14] 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:27:14] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'I:\Raw MKV Files\Lady and the Tramp\Lady and the Tramp- Signature Collection_t01.mkv':
  Metadata:
    title           : Lady and the Tramp: Signature Collection
    encoder         : libmakemkv v1.15.2 (1.3.10/1.5.2) win(x64-release)
    creation_time   : 2020-09-07T18:24:41.000000Z
  Duration: 01:15:52.38, start: 0.000000, bitrate: 32621 kb/s
    Chapter #0:0: start 0.000000, end 217.133583
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 217.133583, end 597.221625
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 597.221625, end 883.966417
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 883.966417, end 1125.833042
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1125.833042, end 1384.633250
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1384.633250, end 1653.818833
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1653.818833, end 1749.497750
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1749.497750, end 1965.880583
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1965.880583, end 2153.568083
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2153.568083, end 2421.377292
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2421.377292, end 2609.148208
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2609.148208, end 2809.807000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2809.807000, end 2983.772458
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 2983.772458, end 3221.718500
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3221.718500, end 3333.913917
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3333.913917, end 3504.834667
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3504.834667, end 3653.733417
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 3653.733417, end 3884.463917
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 3884.463917, end 3941.479208
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 3941.479208, end 4197.401542
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 4197.401542, end 4361.815792
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 4361.815792, end 4552.381167
    Metadata:
      title           : Chapter 22
    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         : 25781415
      DURATION-eng    : 01:15:52.381166666
      NUMBER_OF_FRAMES-eng: 109148
      NUMBER_OF_BYTES-eng: 14670853028
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-07 18:24:41
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 5326767
      DURATION-eng    : 01:15:52.394666666
      NUMBER_OF_FRAMES-eng: 426787
      NUMBER_OF_BYTES-eng: 3031192852
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-07 18:24:41
      _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:15:52.394666666
      NUMBER_OF_FRAMES-eng: 426787
      NUMBER_OF_BYTES-eng: 858695444
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.2 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-09-07 18:24:41
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[13:27:14] scan: decoding previews for title 1
[13:27:14] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[13:27:14] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[13:27:16] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 164/166/0/0, aspect 16:9, PAR 1:1
[13:27:16] scan: supported video decoders: avcodec qsv
[13:27:16] libhb: scan thread found 1 valid title(s)
[13:27:16] Starting Task: Encoding Pass
[13:27:16] job configuration:
[13:27:16]  * source
[13:27:16]    + I:\Raw MKV Files\Lady and the Tramp\Lady and the Tramp- Signature Collection_t01.mkv
[13:27:16]    + title 1, chapter(s) 1 to 22
[13:27:16]    + container: matroska,webm
[13:27:16]    + data rate: 32621 kbps
[13:27:16]  * destination
[13:27:16]    + I:\Videos for Samsung TV\Movies\Lady And The Tramp.mp4
[13:27:16]    + container: MPEG-4 (libavformat)
[13:27:16]      + align initial A/V stream timestamps
[13:27:16]      + chapter markers
[13:27:16]  * video track
[13:27:16]    + decoder: h264
[13:27:16]    + filters
[13:27:16]      + Framerate Shaper (mode=1)
[13:27:16]        + frame rate: 23.976 fps -> constant 23.976 fps
[13:27:16]      + Crop and Scale (width=1920:height=1080:crop-top=164:crop-bottom=166:crop-left=0:crop-right=0)
[13:27:16]        + source: 1920 * 1080, crop (164/166/0/0): 1920 * 750, scale: 1920 * 1080
[13:27:16]    + Output geometry
[13:27:16]      + storage dimensions: 1920 x 1080
[13:27:16]      + pixel aspect ratio: 1 : 1
[13:27:16]      + display dimensions: 1920 x 1080
[13:27:16]    + encoder: H.264 (libx264)
[13:27:16]      + preset:  fast
[13:27:16]      + tune:    film
[13:27:16]      + options: ref=5:bframes=5
[13:27:16]      + profile: high
[13:27:16]      + level:   4.1
[13:27:16]      + quality: 22.00 (RF)
[13:27:16]      + color profile: 1-1-1
[13:27:16]  * audio track 1
[13:27:16]    + name: Surround 7.1
[13:27:16]    + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1)
[13:27:16]      + samplerate: 48000 Hz
[13:27:16]    + mixdown: 7.1 Channels
[13:27:16]    + dither: none
[13:27:16]    + encoder: AAC (libavcodec)
[13:27:16]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[13:27:16] sync: expecting 109147 video frames
[13:27:16] encx264: min-keyint: 24, keyint: 240
[13:27:16] encx264: encoding at constant RF 22.000000
[13:27:16] 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
[13:27:16] sync: first pts video is 0
[13:27:16] sync: "Chapter 1" (1) at frame 1 time 0
[13:27:16] sync: first pts audio 0x1 is 0
[13:31:31] sync: "Chapter 2" (2) at frame 5207 time 19542022
[13:37:59] sync: "Chapter 3" (3) at frame 14320 time 53749946
[13:43:32] sync: "Chapter 4" (4) at frame 21197 time 79564485
[13:48:19] sync: "Chapter 5" (5) at frame 26996 time 101332481
[13:53:05] sync: "Chapter 6" (6) at frame 33202 time 124628253
[13:58:08] sync: "Chapter 7" (7) at frame 39653 time 148843695
[13:59:48] sync: "Chapter 8" (8) at frame 41947 time 157454797
[14:03:05] sync: "Chapter 9" (9) at frame 47135 time 176929252
[14:06:25] sync: "Chapter 10" (10) at frame 51638 time 193832388
[14:11:07] sync: "Chapter 11" (11) at frame 58058 time 217931463
[14:14:14] sync: "Chapter 12" (12) at frame 62560 time 234830846
[14:17:25] sync: "Chapter 13" (13) at frame 67369 time 252882630
[14:20:46] sync: "Chapter 14" (14) at frame 71542 time 268547028
[14:24:42] sync: "Chapter 15" (15) at frame 77245 time 289954665
[14:26:34] sync: "Chapter 16" (16) at frame 79935 time 300052252
[14:29:21] sync: "Chapter 17" (17) at frame 84033 time 315435120
[14:31:43] sync: "Chapter 18" (18) at frame 87605 time 328843515
[14:35:07] sync: "Chapter 19" (19) at frame 93135 time 349601752
[14:36:43] sync: "Chapter 20" (20) at frame 94504 time 354740636
[14:41:38] sync: "Chapter 21" (21) at frame 100638 time 377766138
[14:45:07] sync: "Chapter 22" (22) at frame 104580 time 392563421
[14:48:45] reader: done. 1 scr changes
[14:48:48] work: average encoding speed for job is 22.314232 fps
[14:48:48] vfr: 109148 frames output, 0 dropped and 0 duped for CFR/PFR
[14:48:48] vfr: lost time: 0 (0 frames)
[14:48:48] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:48:48] dca-decoder done: 426787 frames, 0 decoder errors
[14:48:48] h264-decoder done: 109148 frames, 0 decoder errors
[14:48:48] sync: got 109148 frames, 109147 expected
[14:48:48] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:1161  Avg QP:16.69  size:189493
x264 [info]: frame P:25537 Avg QP:20.52  size: 28611
x264 [info]: frame B:82450 Avg QP:23.06  size:  8351
x264 [info]: consecutive B-frames:  3.5%  3.5%  3.8% 31.3% 13.7% 44.2%
x264 [info]: mb I  I16..4:  9.8% 74.5% 15.7%
x264 [info]: mb P  I16..4:  1.6%  6.6%  1.3%  P16..4: 31.3%  8.5%  7.6%  0.0%  0.0%    skip:43.0%
x264 [info]: mb B  I16..4:  1.4%  2.7%  0.5%  B16..8: 11.8%  2.9%  0.2%  direct: 9.5%  skip:70.9%  L0:41.9% L1:53.8% BI: 4.3%
x264 [info]: 8x8 transform intra:64.6% inter:70.1%
x264 [info]: coded y,uvDC,uvAC intra: 54.0% 68.2% 36.4% inter: 7.7% 15.6% 0.7%
x264 [info]: i16 v,h,dc,p: 58% 17% 17%  8%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 12% 37%  4%  5%  5%  5%  6%  5%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 15% 20%  5%  9%  8%  7%  6%  5%
x264 [info]: i8c dc,h,v,p: 55% 17% 24%  3%
x264 [info]: Weighted P-Frames: Y:8.6% UV:3.7%
x264 [info]: ref P L0: 71.6% 18.6%  9.3%  0.5%
x264 [info]: ref B L0: 82.2% 14.6%  3.1%
x264 [info]: ref B L1: 94.0%  6.0%
x264 [info]: kb/s:2880.52
[14:48:48] mux: track 0, 109148 frames, 1639106977 bytes, 2880.41 kbps, fifo 1024
[14:48:48] mux: track 1, 213394 frames, 672234921 bytes, 1181.32 kbps, fifo 4096
[14:48:49] Finished work at: Mon Sep 14 14:48:49 2020
[14:48:49] libhb: work result = 0

# Encode Completed ...




Deleted User 13735

Re: 7.1 DTS MKV to AAC 1536 7.1 MP4 Audio Conversion comes out choppy when using Windows 10 Pro Cast To

Post by Deleted User 13735 »

Are you sure your Cast To will even pass 7.1 AAC?
If not, it needs to downsample in real time, which accounts for your playback issue.
Kyioto
Posts: 9
Joined: Mon Sep 14, 2020 5:24 pm

Re: 7.1 DTS MKV to AAC 1536 7.1 MP4 Audio Conversion comes out choppy when using Windows 10 Pro Cast To

Post by Kyioto »

Not sure. I know have tried using DTS HD MA and DTS pass through 7.1 but 7.1 doesn't get recognized and Handbrake defaults the encode to 2 channel stereo
Post Reply