Description of 2nd audio track copied to first audio track

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
WhiteBeard
Posts: 4
Joined: Fri Jun 24, 2022 8:48 pm

Description of 2nd audio track copied to first audio track

Post by WhiteBeard »

Description of problem or question:
I have a video with 2 audio tracks, the 1st has no description (called Name in MKVToolNix, Title in MediaInfo), the 2nd has "Commentary". After running through Handbrake, both audio tracks are labelled "Commentary". I then trimmed the video to the first 27 seconds and ran it through Handbrake. This time the main audio track is named "Surround".



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.71



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



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

Code: Select all

HandBrake 1.7.1 (2023112200)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Ram: 32710 MB, 
GPU Information:
  ATI Radeon HD 5470 - 15.301.1901.0
Screen: 1600x900
Temp Dir: C:\Users\John\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\John\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[17:05:20] base preset: JJM H265 HD 22  all audios, subs, CCs, NO CROP
[17:05:20] hb_init: starting libhb thread
[17:05:20] Starting work at: Tue Dec 12 17:05:20 2023
[17:05:20] 1 job(s) to process
[17:05:20] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0,
        "Encoder": "copy:aac",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0,
        "Encoder": "copy:aac",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Commentary",
        "Track": 1,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:mp3",
      "copy:truehd",
      "copy:flac",
      "copy:eac3",
      "copy:mp2"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [],
    "ChapterMarkers": false,
    "AlignAVStart": false,
    "File": "W:\\_TEMP\\H265\\TEST 1-1  x265.mkv",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 19,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 10,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "W:\\_TEMP\\Supernatural S1\\TEST 1.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 22,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[17:05:20] CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[17:05:20]  - Intel microarchitecture Haswell
[17:05:20]  - logical processor count: 8
[17:05:20] Intel Quick Sync Video support: no
[17:05:20] hb_scan: path=W:\_TEMP\Supernatural S1\TEST 1.mkv, title_index=1
Input #0, matroska,webm, from 'W:\_TEMP\Supernatural S1\TEST 1.mkv':
  Metadata:
    creation_time   : 2023-12-12T20:21:10.000000Z
    ENCODER         : Lavf58.76.100
  Duration: 00:00:27.22, start: 0.084000, bitrate: 1271 kb/s
  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 763474
      DURATION        : 00:00:27.069000000
      NUMBER_OF_FRAMES: 649
      NUMBER_OF_BYTES : 2583313
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-12 20:21:10
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default)
    Metadata:
      BPS             : 427666
      DURATION        : 00:00:27.179000000
      NUMBER_OF_FRAMES: 1274
      NUMBER_OF_BYTES : 1452942
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-12 20:21:10
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(eng): Audio: aac (HE-AAC), 48000 Hz, stereo, fltp
    Metadata:
      title           : Commentary
      BPS             : 79998
      DURATION        : 00:00:27.179000000
      NUMBER_OF_FRAMES: 637
      NUMBER_OF_BYTES : 271785
      _STATISTICS_WRITING_APP: mkvmerge v81.0 ('Milliontown') 64-bit
      _STATISTICS_WRITING_DATE_UTC: 2023-12-12 20:21:10
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[17:05:20] scan: decoding previews for title 1
[17:05:20] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC LC, 5.1 ch)
[17:05:20] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (HE-AAC, 2.0 ch)
[17:05:21] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:05:21] libhb: scan thread found 1 valid title(s)
[17:05:21] Starting Task: Encoding Pass
[17:05:21] work: skipping crop/scale filter
[17:05:21] job configuration:
[17:05:21]  * source
[17:05:21]    + W:\_TEMP\Supernatural S1\TEST 1.mkv
[17:05:21]    + title 1, chapter(s) 1 to 1
[17:05:21]    + container: matroska,webm
[17:05:21]    + data rate: 1271 kbps
[17:05:21]  * destination
[17:05:21]    + W:\_TEMP\H265\TEST 1-1  x265.mkv
[17:05:21]    + container: Matroska (libavformat)
[17:05:21]  * video track
[17:05:21]    + decoder: hevc 10-bit (yuv420p10le)
[17:05:21]    + filters
[17:05:21]      + Framerate Shaper (mode=0)
[17:05:21]        + frame rate: same as source (around 23.976 fps)
[17:05:21]      + Format (format=yuv420p)
[17:05:21]    + Output geometry
[17:05:21]      + storage dimensions: 1920 x 1080
[17:05:21]      + pixel aspect ratio: 1 : 1
[17:05:21]      + display dimensions: 1920 x 1080
[17:05:21]    + encoder: H.265 (libx265)
[17:05:21]      + preset:  fast
[17:05:21]      + profile: auto
[17:05:21]      + level:   auto
[17:05:21]      + quality: 22.00 (RF)
[17:05:21]      + color profile: 1-1-1
[17:05:21]      + chroma location: left
[17:05:21]  * audio track 1
[17:05:21]    + decoder: English (AAC LC, 5.1 ch) (track 1, id 0x1)
[17:05:21]      + samplerate: 48000 Hz
[17:05:21]    + AAC Passthru
[17:05:21]  * audio track 2
[17:05:21]    + name: Commentary
[17:05:21]    + decoder: English (HE-AAC, 2.0 ch) (track 2, id 0x2)
[17:05:21]      + samplerate: 48000 Hz
[17:05:21]    + AAC Passthru
[17:05:21] sync: expecting 652 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
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(17 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         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[17:05:21] sync: first pts video is 0
[17:05:21] sync: Chapter 1 at frame 1 time 0
[17:05:21] sync: first pts audio 0x1 is 1800
[17:05:21] sync: first pts audio 0x2 is 3600
[17:05:38] reader: done. 1 scr changes
[17:05:41] work: average encoding speed for job is 35.358170 fps
[17:05:41] vfr: 649 frames output, 0 dropped
[17:05:41] vfr: lost time: 0 (0 frames)
[17:05:41] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:05:41] aac-decoder done: 1274 frames, 0 decoder errors
[17:05:41] aac-decoder done: 637 frames, 0 decoder errors
[17:05:41] hevc-decoder done: 649 frames, 0 decoder errors
[17:05:41] sync: got 649 frames, 652 expected
[17:05:41] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:      5, Avg QP:22.41  kb/s: 3831.37
x265 [info]: frame P:    130, Avg QP:23.22  kb/s: 1592.31
x265 [info]: frame B:    514, Avg QP:27.71  kb/s: 228.87
x265 [info]: Weighted P-Frames: Y:11.5% UV:3.8%
encoded 649 frames in 20.04s (32.39 fps), 529.73 kb/s, Avg QP:26.77
[17:05:41] mux: track 0, 649 frames, 1794987 bytes, 527.25 kbps, fifo 1024
[17:05:41] mux: track 1, 1274 frames, 1452942 bytes, 426.78 kbps, fifo 2048
[17:05:41] mux: track 2, 637 frames, 271785 bytes, 79.83 kbps, fifo 1024
[17:05:41] Finished work at: Tue Dec 12 17:05:41 2023
[17:05:41] libhb: work result = 0

 # Job Completed!

# Playing Sound: D:\Sound Files\Old Friend - Hannibal Lecter.wav


Post Reply