Handbrake kills MKV attachment and audio description

Archive of historical feature requests.
Please use the GitHub link above to report issues.
Forum rules
*******************************

Please be aware we are now using GitHub for issue tracking and feature requests.

- This forum is now closed to new topics.
- Existing topics will remain open for a short while as the transition over occurs.
*******************************
Post Reply
MiMoHo
Posts: 20
Joined: Sun Dec 25, 2016 10:38 pm

Handbrake kills MKV attachment and audio description

Post by MiMoHo » Sun Jan 08, 2017 4:18 pm

Please describe the problem in as much detail as possible:
When converting a MKV video with an attached cover art (in jpeg), the attachment has disappeared after completing the new file.
I also noticed that if the audio track is described with an audio comment title or "Surround 5.1" in DTS codec and you're converting to AC3, Handbrake changes the description to the channels used in the conversion profile which is "Mono", "Stereo" or "Surround".
The same might also affect other formats, just tested it on the ones above.

What are the steps to reproduce this problem:
Use MKVtoolnix to attach a cover art to a MKV file, rename the audio track and multiplex as a new file (you maybe want to disable extra compression in the general options). Use the new file for reencoding in Handbrake. After conversion, check the file and its cover art and audio description in MKVtoolnix again.

What version of HandBrake you are running:
1.0.1 (build 20170107202407)

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Mac OS X 10.11.6

If there was any exception or error displayed, please copy it and paste it here:

Please include the scan or encode log:

Code: Select all

[15:43:18] macgui: Handbrake Version: 20170112212133-1ff916a-master  (2017011301)
[15:43:18] hb_init: starting libhb thread
[15:43:18] hb_init: starting libhb thread
[15:43:23] macgui: trying to open a folder or file
[15:43:23] macgui: ScanCore scanning titles with a duration of 2 seconds or more
[15:43:23] CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
[15:43:23]  - Intel microarchitecture Haswell
[15:43:23]  - logical processor count: 8
[15:43:23] OpenCL device #1: Intel Iris Pro
[15:43:23]  - OpenCL version: 1.2 
[15:43:23]  - driver version: 1.2(Sep 25 2016 23:45:03)
[15:43:23]  - device type:    GPU
[15:43:23]  - supported:      YES
[15:43:23] OpenCL device #2: NVIDIA GeForce GT 750M
[15:43:23]  - OpenCL version: 1.2 
[15:43:23]  - driver version: 10.10.14 310.42.25f02
[15:43:23]  - device type:    GPU
[15:43:23]  - supported:      no
[15:43:23] hb_scan: path=/Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[15:43:23] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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:43:23] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv':
  Duration: 00:00:30.32, start: 0.000000, bitrate: 22981 kb/s
    Chapter #0:0: start 0.000000, end 30.229000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: vc1 (Advanced) [WVC1 / 0x31435657]
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS             : 15208473
      BPS-eng         : 15208473
      DURATION        : 00:00:30.239000000
      DURATION-eng    : 00:00:30.239000000
      NUMBER_OF_FRAMES: 725
      NUMBER_OF_FRAMES-eng: 725
      NUMBER_OF_BYTES : 57486128
      NUMBER_OF_BYTES-eng: 57486128
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS             : 1958902
      BPS-eng         : 1958902
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 7404652
      NUMBER_OF_BYTES-eng: 7404652
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(ger): Audio: dts (DTS)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1509000
      BPS-eng         : 1509000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 5704020
      NUMBER_OF_BYTES-eng: 5704020
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1947871
      BPS-eng         : 1947871
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 7362956
      NUMBER_OF_BYTES-eng: 7362956
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(eng): Audio: dts (DTS)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1509000
      BPS-eng         : 1509000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 5704020
      NUMBER_OF_BYTES-eng: 5704020
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Audio: dts (DTS)
      48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      title           : Audiokommentar von Kristen Stewart und Robert Pattinson
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 1451520
      NUMBER_OF_BYTES-eng: 1451520
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:6(eng): Audio: dts (DTS)
      48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      title           : Audiokommentar von Stephenie Meyer und Produzent Wyck Godfrey
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 1451520
      NUMBER_OF_BYTES-eng: 1451520
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:8(ger): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:9(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 584999
      BPS-eng         : 584999
      DURATION        : 00:00:05.339000000
      DURATION-eng    : 00:00:05.339000000
      NUMBER_OF_FRAMES: 18
      NUMBER_OF_FRAMES-eng: 18
      NUMBER_OF_BYTES : 390414
      NUMBER_OF_BYTES-eng: 390414
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:10(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 291614
      BPS-eng         : 291614
      DURATION        : 00:00:01.773000000
      DURATION-eng    : 00:00:01.773000000
      NUMBER_OF_FRAMES: 4
      NUMBER_OF_FRAMES-eng: 4
      NUMBER_OF_BYTES : 64629
      NUMBER_OF_BYTES-eng: 64629
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:11(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:12: Video: mjpeg
      yuvj444p, pc, bt470bg/unknown/unknown
      640x360 [PAR 100:100 DAR 16:9]
      90k tbn
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[15:43:23] scan: decoding previews for title 1
[15:43:23] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
[15:43:23] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[15:43:23] scan: audio 0x3: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[15:43:23] scan: audio 0x4: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[15:43:23] scan: audio 0x5: dca, rate=48000Hz, bitrate=384000 English (DTS) (2.0 ch)
[15:43:23] scan: audio 0x6: dca, rate=48000Hz, bitrate=384000 English (DTS) (2.0 ch)
[15:43:24] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[15:43:24] libhb: scan thread found 1 valid title(s)
[15:43:24] macgui: ScanCore scan done
[15:43:59] macgui: QueueCore scanning specifically for title: 1
[15:43:59] CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
[15:43:59]  - Intel microarchitecture Haswell
[15:43:59]  - logical processor count: 8
[15:43:59] OpenCL device #1: Intel Iris Pro
[15:43:59]  - OpenCL version: 1.2 
[15:43:59]  - driver version: 1.2(Sep 25 2016 23:45:03)
[15:43:59]  - device type:    GPU
[15:43:59]  - supported:      YES
[15:43:59] OpenCL device #2: NVIDIA GeForce GT 750M
[15:43:59]  - OpenCL version: 1.2 
[15:43:59]  - driver version: 10.10.14 310.42.25f02
[15:43:59]  - device type:    GPU
[15:43:59]  - supported:      no
[15:43:59] hb_scan: path=/Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[15:43:59] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
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:43:59] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv':
  Duration: 00:00:30.32, start: 0.000000, bitrate: 22981 kb/s
    Chapter #0:0: start 0.000000, end 30.229000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: vc1 (Advanced) [WVC1 / 0x31435657]
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS             : 15208473
      BPS-eng         : 15208473
      DURATION        : 00:00:30.239000000
      DURATION-eng    : 00:00:30.239000000
      NUMBER_OF_FRAMES: 725
      NUMBER_OF_FRAMES-eng: 725
      NUMBER_OF_BYTES : 57486128
      NUMBER_OF_BYTES-eng: 57486128
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(ger): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS             : 1958902
      BPS-eng         : 1958902
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 7404652
      NUMBER_OF_BYTES-eng: 7404652
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(ger): Audio: dts (DTS)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1509000
      BPS-eng         : 1509000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 5704020
      NUMBER_OF_BYTES-eng: 5704020
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1947871
      BPS-eng         : 1947871
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 7362956
      NUMBER_OF_BYTES-eng: 7362956
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(eng): Audio: dts (DTS)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS             : 1509000
      BPS-eng         : 1509000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 5704020
      NUMBER_OF_BYTES-eng: 5704020
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:5(eng): Audio: dts (DTS)
      48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      title           : Audiokommentar von Kristen Stewart und Robert Pattinson
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 1451520
      NUMBER_OF_BYTES-eng: 1451520
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:6(eng): Audio: dts (DTS)
      48000 Hz, stereo, fltp, 384 kb/s
    Metadata:
      title           : Audiokommentar von Stephenie Meyer und Produzent Wyck Godfrey
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:00:30.240000000
      DURATION-eng    : 00:00:30.240000000
      NUMBER_OF_FRAMES: 2835
      NUMBER_OF_FRAMES-eng: 2835
      NUMBER_OF_BYTES : 1451520
      NUMBER_OF_BYTES-eng: 1451520
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:8(ger): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:9(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 584999
      BPS-eng         : 584999
      DURATION        : 00:00:05.339000000
      DURATION-eng    : 00:00:05.339000000
      NUMBER_OF_FRAMES: 18
      NUMBER_OF_FRAMES-eng: 18
      NUMBER_OF_BYTES : 390414
      NUMBER_OF_BYTES-eng: 390414
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:10(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 291614
      BPS-eng         : 291614
      DURATION        : 00:00:01.773000000
      DURATION-eng    : 00:00:01.773000000
      NUMBER_OF_FRAMES: 4
      NUMBER_OF_FRAMES-eng: 4
      NUMBER_OF_BYTES : 64629
      NUMBER_OF_BYTES-eng: 64629
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:11(ger): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.7.1 ('Pandemonium') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-01-13 14:41:54
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-01-13 14:41:54
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:12: Video: mjpeg
      yuvj444p, pc, bt470bg/unknown/unknown
      640x360 [PAR 100:100 DAR 16:9]
      90k tbn
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[15:43:59] scan: decoding previews for title 1
[15:43:59] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS-HD MA) (5.1 ch)
[15:43:59] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 Deutsch (DTS) (5.1 ch)
[15:43:59] scan: audio 0x3: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[15:43:59] scan: audio 0x4: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[15:43:59] scan: audio 0x5: dca, rate=48000Hz, bitrate=384000 English (DTS) (2.0 ch)
[15:43:59] scan: audio 0x6: dca, rate=48000Hz, bitrate=384000 English (DTS) (2.0 ch)
[15:44:00] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[15:44:00] libhb: scan thread found 1 valid title(s)
[15:44:00] macgui: QueueCore scan done
[15:44:00] macgui: QueueCore started encoding test.mkv
[15:44:00] macgui: QueueCore with preset MKV H.265 CFps VBR 5000
[15:44:00] 1 job(s) to process
[15:44:00] starting job
[15:44:00] decomb filter thread started for segment 0
[15:44:00] decomb filter thread started for segment 1
[15:44:00] decomb filter thread started for segment 2
[15:44:00] decomb filter thread started for segment 3
[15:44:00] decomb filter thread started for segment 4
[15:44:00] decomb filter thread started for segment 5
[15:44:00] decomb filter thread started for segment 6
[15:44:00] decomb filter thread started for segment 7
[15:44:00] decomb check thread started for segment 0
[15:44:00] decomb check thread started for segment 1
[15:44:00] decomb check thread started for segment 2
[15:44:00] decomb check thread started for segment 3
[15:44:00] decomb check thread started for segment 4
[15:44:00] decomb check thread started for segment 5
[15:44:00] decomb check thread started for segment 6
[15:44:00] decomb check thread started for segment 7
[15:44:00] mask filter thread started for segment 0
[15:44:00] mask filter thread started for segment 1
[15:44:00] mask filter thread started for segment 2
[15:44:00] mask filter thread started for segment 3
[15:44:00] mask filter thread started for segment 4
[15:44:00] mask filter thread started for segment 5
[15:44:00] mask filter thread started for segment 6
[15:44:00] mask filter thread started for segment 7
[15:44:00] mask erode thread started for segment 0
[15:44:00] mask erode thread started for segment 1
[15:44:00] mask erode thread started for segment 2
[15:44:00] mask erode thread started for segment 3
[15:44:00] mask erode thread started for segment 4
[15:44:00] mask erode thread started for segment 5
[15:44:00] mask erode thread started for segment 6
[15:44:00] mask dilate thread started for segment 0
[15:44:00] mask erode thread started for segment 7
[15:44:00] mask dilate thread started for segment 1
[15:44:00] mask dilate thread started for segment 2
[15:44:00] mask dilate thread started for segment 3
[15:44:00] mask dilate thread started for segment 4
[15:44:00] mask dilate thread started for segment 5
[15:44:00] mask dilate thread started for segment 6
[15:44:00] mask dilate thread started for segment 7
[15:44:00] yadif thread started for segment 0
[15:44:00] yadif thread started for segment 1
[15:44:00] yadif thread started for segment 2
[15:44:00] yadif thread started for segment 3
[15:44:00] yadif thread started for segment 4
[15:44:00] yadif thread started for segment 5
[15:44:00] yadif thread started for segment 6
[15:44:00] yadif thread started for segment 7
[15:44:00] job configuration:
[15:44:00]  * source
[15:44:00]    + /Users/MilanHoppe/Movies/Blu-ray Rips/Die Twilight Saga - Eclipse/test.mkv
[15:44:00]    + title 1, chapter(s) 1 to 1
[15:44:00]    + container: matroska,webm
[15:44:00]    + data rate: 22981 kbps
[15:44:00]  * destination
[15:44:00]    + /Users/MilanHoppe/Movies/Blu-ray Rips (converted)/test.mkv
[15:44:00]    + container: Matroska (libavformat)
[15:44:00]  * video track
[15:44:00]    + decoder: vc1
[15:44:00]    + filters
[15:44:00]      + 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)
[15:44:00]      + Decomb (mode=39)
[15:44:00]      + Framerate Shaper (mode=1:rate=27000000/1126125)
[15:44:00]        + frame rate: 23.976 fps -> constant 23.976 fps
[15:44:00]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[15:44:00]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[15:44:00]    + Output geometry
[15:44:00]      + storage dimensions: 1920 x 800
[15:44:00]      + pixel aspect ratio: 1 : 1
[15:44:00]      + display dimensions: 1920 x 800
[15:44:00]    + encoder: H.265 (libx265)
[15:44:00]      + preset:  ultrafast
[15:44:00]      + bitrate: 5000 kbps, pass: 0
[15:44:00]  * subtitle track 1, German (track 0, id 0x7) Picture [PGS] -> Passthrough
[15:44:00]  * subtitle track 2, German (track 1, id 0x8) Picture [PGS] -> Passthrough
[15:44:00]  * subtitle track 3, German (track 2, id 0x9) Picture [PGS] -> Passthrough
[15:44:00]  * subtitle track 4, German (track 3, id 0xa) Picture [PGS] -> Passthrough
[15:44:00]  * subtitle track 5, German (track 4, id 0xb) Picture [PGS] -> Passthrough
[15:44:00]  * audio track 1
[15:44:00]    + decoder: Deutsch (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[15:44:00]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[15:44:00]    + mixdown: 5.1 Channels
[15:44:00]    + encoder: AC3 (libavcodec)
[15:44:00]      + bitrate: 640 kbps, samplerate: 48000 Hz
[15:44:00]  * audio track 2
[15:44:00]    + decoder: English (DTS-HD MA) (5.1 ch) (track 3, id 0x3)
[15:44:00]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[15:44:00]    + mixdown: 5.1 Channels
[15:44:00]    + encoder: AC3 (libavcodec)
[15:44:00]      + bitrate: 640 kbps, samplerate: 48000 Hz
[15:44:00]  * audio track 3
[15:44:00]    + decoder: English (DTS) (2.0 ch) (track 5, id 0x5)
[15:44:00]      + bitrate: 384 kbps, samplerate: 48000 Hz
[15:44:00]    + mixdown: Stereo
[15:44:00]    + encoder: AC3 (libavcodec)
[15:44:00]      + bitrate: 384 kbps, samplerate: 48000 Hz
[15:44:00]  * audio track 4
[15:44:00]    + decoder: English (DTS) (2.0 ch) (track 6, id 0x6)
[15:44:00]      + bitrate: 384 kbps, samplerate: 48000 Hz
[15:44:00]    + mixdown: Stereo
[15:44:00]    + encoder: AC3 (libavcodec)
[15:44:00]      + bitrate: 384 kbps, samplerate: 48000 Hz
[15:44:00] sync: expecting 727 video frames
x265 [info]: HEVC encoder version 2.1
x265 [info]: build info [Mac OS X][clang 8.0.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
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(25 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 0 / 2
x265 [info]: Keyframe min / max / scenecut       : 24 / 240 / 0
x265 [info]: Lookahead / bframes / badapt        : 5 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-5000 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=5 deblock
[15:44:00] sync: first pts video is 0
[15:44:00] sync: "Chapter 1" (1) at frame 1 time 0
[15:44:00] sync: first pts audio 0x1 is 0
[15:44:00] sync: first pts audio 0x3 is 0
[15:44:00] sync: first pts audio 0x5 is 0
[15:44:00] sync: first pts audio 0x6 is 0
[15:44:29] sync: first pts subtitle 0x9 is 2248470
[15:44:32] reader: done. 1 scr changes
[15:44:33] sync: first pts subtitle 0xa is 2548800
[15:44:34] work: average encoding speed for job is 21.207026 fps
[15:44:34] comb detect: heavy 6 | light 76 | uncombed 643 | total 725
[15:44:34] decomb: deinterlaced 6 | blended 76 | unfiltered 643 | total 725
[15:44:34] vfr: 725 frames output, 0 dropped and 0 duped for CFR/PFR
[15:44:34] vfr: lost time: 0 (0 frames)
[15:44:34] vfr: gained time: 0 (0 frames) (0 not accounted for)
[15:44:34] dca-decoder done: 2835 frames, 0 decoder errors
[15:44:34] dca-decoder done: 2835 frames, 0 decoder errors
[15:44:34] dca-decoder done: 2835 frames, 0 decoder errors
[15:44:34] dca-decoder done: 2835 frames, 0 decoder errors
[15:44:34] vc1-decoder done: 725 frames, 0 decoder errors
[15:44:34] sync: got 725 frames, 727 expected
[15:44:34] sync: framerate min 23.974 fps, max 23.981 fps, avg 23.976 fps
x265 [info]: frame I:      4, Avg QP:19.33  kb/s: 16351.94
x265 [info]: frame P:    181, Avg QP:17.30  kb/s: 11530.82
x265 [info]: frame B:    540, Avg QP:19.80  kb/s: 3808.30 
x265 [info]: consecutive B-frames: 1.1% 1.6% 1.6% 95.7% 

encoded 725 frames in 34.49s (21.02 fps), 5805.47 kb/s, Avg QP:19.18
[15:44:34] mux: track 0, 725 frames, 21946532 bytes, 5798.24 kbps, fifo 512
[15:44:34] mux: track 1, 944 frames, 2416640 bytes, 638.47 kbps, fifo 512
[15:44:34] mux: track 2, 944 frames, 2416640 bytes, 638.47 kbps, fifo 512
[15:44:34] mux: track 3, 944 frames, 1449984 bytes, 383.08 kbps, fifo 512
[15:44:34] mux: track 4, 944 frames, 1449984 bytes, 383.08 kbps, fifo 512
[15:44:34] mux: track 5, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:44:34] mux: track 6, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:44:34] mux: track 7, 18 frames, 390414 bytes, 103.15 kbps, fifo 32
[15:44:34] mux: track 8, 4 frames, 64629 bytes, 17.07 kbps, fifo 8
[15:44:34] mux: track 9, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:44:34] libhb: work result = 0
[15:44:35] macgui: QueueCore work done
[15:44:35] macgui: Queue Done, there are no more pending encodes
Last edited by MiMoHo on Fri Jan 13, 2017 2:46 pm, edited 1 time in total.

rollin_eng
Veteran User
Posts: 3044
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake kills MKV attachment and audio description

Post by rollin_eng » Sun Jan 08, 2017 4:51 pm

Could you please post your logs, instructions can be found here:

viewtopic.php?f=6&t=31236

MiMoHo
Posts: 20
Joined: Sun Dec 25, 2016 10:38 pm

Re: Handbrake kills MKV attachment and audio description

Post by MiMoHo » Fri Jan 13, 2017 2:47 pm

Edited the first post, please see above

MiMoHo
Posts: 20
Joined: Sun Dec 25, 2016 10:38 pm

Re: Handbrake kills MKV attachment and audio description

Post by MiMoHo » Wed Jan 18, 2017 5:39 pm

Is someone working on this?
Just want to add that it makes sense indead to change the audio stream to the channels used in the conversion profile unless there is no specific description which could be "audio comment by..." However, I would find it useful if there was not just the description "Surround" set by Handbrake but "Surround 5.1 or 7.1"
Nevertheless it doesn't make sense to me at all, that attachments like cover arts are deleted during conversion process.

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

Re: Handbrake kills MKV attachment and audio description

Post by s55 » Wed Jan 18, 2017 9:20 pm

Moving to feature requests. We don't support this right now but maybe something we can look at in the future.

Post Reply