Handbrake can't find the primary 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
mtmaloney
Posts: 11
Joined: Sat Apr 02, 2011 9:09 pm

Handbrake can't find the primary audio track

Post by mtmaloney »

Description of problem or question:

So, I copied my Blu-Ray of Moana to my computer using DVDFab's HD Decrypter. This is nothing new, I've done this for all of my movies. However, when I open the resulting folder in Handbrake, for whatever reason, it only has one audio track available, and it's the audio track for the visually impaired, not the standard English track. It's not that it's selecting the wrong track, it just doesn't have anything else listed.

I thought maybe it was a problem with the transfer from disc to PC, but I went into the stream folder and opened up the m2ts file for the movie and all the audio tracks are in there. And it looks like if I open that video file directly in Handbrake, it then allows me to access all the audio track. I'm converting it again at the moment using the correct audio track, but so far it looks like that should work fine. It just seems to be when I select the movie's folder as the source, it doesn't recognize all the audio tracks.

Of all the movies I've imported before, I can't say I've come across this one before. And it seems like I'm able to work around the issue in this instance, but I was curious if anyone's ever heard of this problem before.


HandBrake version (e.g., 1.0.0):
v1.1.2 (2018090500) - 64bit

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

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

Code: Select all

HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Ram: 16317 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 23.21.13.8813
Screen: 1280x1024
Temp Dir: C:\Users\tcufr\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\tcufr\AppData\Roaming\HandBrake

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


# Starting Encode ...

[16:19:32] hb_init: starting libhb thread
[16:19:32] 1 job(s) to process
[16:19:32] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "M:\\Moana\\Moana.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "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": 11,
        "Settings": {
          "crop-bottom": "138",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "138",
          "height": "804",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 21
    },
    "Title": 17,
    "Path": "O:\\Videos\\FullDisc\\MOANA"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:19:32] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[16:19:32]  - Intel microarchitecture Kaby Lake
[16:19:32]  - logical processor count: 12
[16:19:32] Intel Quick Sync Video support: no
[16:19:32] hb_scan: path=O:\Videos\FullDisc\MOANA, title_index=17
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
[16:19:32] scan: BD has 330 title(s)
[16:19:32] bd: scanning title 17
[16:19:32] bd: playlist 00099.MPLS
[16:19:32] bd: duration is 01:47:12 (6432801 ms)
[16:19:32] bd: video id=0x1011, stream type=H.264, format 1080p
[16:19:32] bd: aspect = 16:9
[16:19:32] bd: audio id=0x1101, lang=English (AC3), 3cc=eng
[16:19:32] bd: chap 1 packet=768, 435685 ms
[16:19:32] bd: chap 2 packet=1891300224, 284117 ms
[16:19:32] bd: chap 3 packet=3106593408, 253962 ms
[16:19:32] bd: chap 4 packet=4049451264, 315815 ms
[16:19:32] bd: chap 5 packet=5428205184, 393226 ms
[16:19:32] bd: chap 6 packet=7004226048, 248539 ms
[16:19:32] bd: chap 7 packet=7998864192, 184934 ms
[16:19:32] bd: chap 8 packet=8802568896, 380588 ms
[16:19:32] bd: chap 9 packet=10427749056, 207999 ms
[16:19:32] bd: chap 10 packet=11252402496, 245453 ms
[16:19:32] bd: chap 11 packet=12337559232, 250708 ms
[16:19:32] bd: chap 12 packet=13292453760, 252293 ms
[16:19:32] bd: chap 13 packet=14319951360, 491699 ms
[16:19:32] bd: chap 14 packet=16422212352, 301050 ms
[16:19:32] bd: chap 15 packet=17570475264, 126042 ms
[16:19:32] bd: chap 16 packet=18180938304, 169836 ms
[16:19:32] bd: chap 17 packet=18880686912, 455121 ms
[16:19:32] bd: chap 18 packet=20730539136, 393851 ms
[16:19:32] bd: chap 19 packet=22381339200, 382799 ms
[16:19:32] bd: chap 20 packet=23987545152, 658824 ms
[16:19:32] bd: chap 21 packet=26679738432, 250 ms
[16:19:32] bd: title 17 has 21 chapters
[16:19:32] scan: decoding previews for title 17
[16:19:32] scan: title angle(s) 1
[16:19:32] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch)
[16:19:33] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[16:19:33] scan: supported video decoders: avcodec qsv
[16:19:33] stream: 10 good frames, 0 errors (0%)
[16:19:33] libhb: scan thread found 1 valid title(s)
[16:19:33] Skipping subtitle scan.  No suitable subtitle tracks.
[16:19:33] starting job
[16:19:33] decomb filter thread started for segment 0
[16:19:33] decomb filter thread started for segment 4
[16:19:33] decomb filter thread started for segment 6
[16:19:33] decomb filter thread started for segment 11
[16:19:33] decomb filter thread started for segment 7
[16:19:33] decomb check thread started for segment 6
[16:19:33] decomb check thread started for segment 11
[16:19:33] mask filter thread started for segment 1
[16:19:33] mask filter thread started for segment 2
[16:19:33] decomb filter thread started for segment 2
[16:19:33] mask filter thread started for segment 9
[16:19:33] decomb check thread started for segment 4
[16:19:33] decomb filter thread started for segment 1
[16:19:33] decomb check thread started for segment 9
[16:19:33] mask erode thread started for segment 3
[16:19:33] mask dilate thread started for segment 5
[16:19:33] mask erode thread started for segment 4
[16:19:33] mask erode thread started for segment 8
[16:19:33] mask dilate thread started for segment 9
[16:19:33] mask dilate thread started for segment 3
[16:19:33] mask dilate thread started for segment 10
[16:19:33] mask erode thread started for segment 9
[16:19:33] decomb filter thread started for segment 5
[16:19:33] decomb check thread started for segment 10
[16:19:33] work: track 1, dithering not supported by codec
[16:19:33] mask filter thread started for segment 0
[16:19:33] decomb filter thread started for segment 9
[16:19:33] job configuration:
[16:19:33]  * source
[16:19:33]    + O:\Videos\FullDisc\MOANA
[16:19:33] mask filter thread started for segment 3
[16:19:33]    + title 17, chapter(s) 1 to 21
[16:19:33]  * destination
[16:19:33]    + M:\Moana\Moana.m4v
[16:19:33]    + container: MPEG-4 (libavformat)
[16:19:33]      + align initial A/V stream timestamps
[16:19:33]      + chapter markers
[16:19:33]  * video track
[16:19:33]    + decoder: h264
[16:19:33]      + bitrate 200 kbps
[16:19:33]    + filters
[16:19:33] mask filter thread started for segment 5
[16:19:33]      + 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)
[16:19:33]      + Decomb (mode=39)
[16:19:33]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:19:33]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[16:19:33] mask filter thread started for segment 4
[16:19:33]      + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[16:19:33]        + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[16:19:33]    + Output geometry
[16:19:33]      + storage dimensions: 1920 x 804
[16:19:33]      + pixel aspect ratio: 1 : 1
[16:19:33]      + display dimensions: 1920 x 804
[16:19:33]    + encoder: H.264 (libx264)
[16:19:33]      + preset:  fast
[16:19:33]      + profile: main
[16:19:33]      + level:   4.0
[16:19:33]      + quality: 22.00 (RF)
[16:19:33]  * audio track 1
[16:19:33]    + decoder: English (AC3) (2.0 ch) (track 1, id 0x1101)
[16:19:33] mask filter thread started for segment 6
[16:19:33]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:19:33]    + mixdown: Stereo
[16:19:33]    + encoder: AAC (libavcodec)
[16:19:33]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:19:33] decomb filter thread started for segment 10
[16:19:33] mask filter thread started for segment 7
[16:19:33] mask filter thread started for segment 8
[16:19:33] mask filter thread started for segment 11
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
[16:19:33] mask filter thread started for segment 10
[16:19:33] mask erode thread started for segment 1
[16:19:33] mask erode thread started for segment 0
[16:19:33] decomb filter thread started for segment 8
[16:19:33] mask erode thread started for segment 5
[16:19:33] mask erode thread started for segment 2
[16:19:33] decomb check thread started for segment 1
[16:19:33] decomb filter thread started for segment 3
[16:19:33] decomb check thread started for segment 0
[16:19:33] mask erode thread started for segment 6
[16:19:33] mask erode thread started for segment 7
[16:19:33] mask erode thread started for segment 10
[16:19:33] mask erode thread started for segment 11
[16:19:33] decomb check thread started for segment 2
[16:19:33] mask dilate thread started for segment 2
[16:19:33] mask dilate thread started for segment 0
[16:19:33] mask dilate thread started for segment 1
[16:19:33] mask dilate thread started for segment 6
[16:19:33] decomb check thread started for segment 3
[16:19:33] mask dilate thread started for segment 4
[16:19:33] mask dilate thread started for segment 7
[16:19:33] mask dilate thread started for segment 8
[16:19:33] decomb check thread started for segment 5
[16:19:33] decomb check thread started for segment 7
[16:19:33] yadif thread started for segment 0
[16:19:33] mask dilate thread started for segment 11
[16:19:33] decomb check thread started for segment 8
[16:19:33] yadif thread started for segment 2
[16:19:33] yadif thread started for segment 3
[16:19:33] yadif thread started for segment 1
[16:19:33] yadif thread started for segment 4
[16:19:33] yadif thread started for segment 6
[16:19:33] yadif thread started for segment 5
[16:19:33] yadif thread started for segment 8
[16:19:33] yadif thread started for segment 9
[16:19:33] yadif thread started for segment 7
[16:19:33] yadif thread started for segment 10
[16:19:33] yadif thread started for segment 11
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
[16:19:33] sync: expecting 154232 video frames
[16:19:33] encx264: min-keyint: 24, keyint: 240
[16:19:33] encx264: encoding at constant RF 22.000000
[16:19:33] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0
[16:19:34] sync: first pts video is 0
[16:19:34] sync: "Chapter 1" (1) at frame 1 time 0
[16:19:34] sync: first pts audio 0x1101 is 0
[16:22:34] sync: "Chapter 2" (2) at frame 10447 time 39211672
[16:24:23] sync: "Chapter 3" (3) at frame 17259 time 64782217
[16:25:46] sync: "Chapter 4" (4) at frame 23348 time 87638801
[16:27:58] sync: "Chapter 5" (5) at frame 30920 time 116062196
[16:30:17] sync: "Chapter 6" (6) at frame 40348 time 151452551
[16:31:40] sync: "Chapter 7" (7) at frame 46302 time 173802378
[16:32:54] sync: "Chapter 8" (8) at frame 50741 time 190465275
[16:35:14] sync: "Chapter 9" (9) at frame 59866 time 224718243
[16:36:33] sync: "Chapter 10" (10) at frame 64853 time 243438195
[16:38:16] sync: "Chapter 11" (11) at frame 70738 time 265529013
[16:39:48] sync: "Chapter 12" (12) at frame 76749 time 288092805
[16:41:13] sync: "Chapter 13" (13) at frame 82798 time 310799238
[16:44:16] sync: "Chapter 14" (14) at frame 94587 time 355052197
[16:45:42] sync: "Chapter 15" (15) at frame 101805 time 382146765
[16:46:32] sync: "Chapter 16" (16) at frame 104823 time 393475582
[16:47:33] sync: "Chapter 17" (17) at frame 108879 time 408700792
[16:49:48] sync: "Chapter 18" (18) at frame 119795 time 449676727
[16:52:24] sync: "Chapter 19" (19) at frame 129254 time 485183448
[16:54:59] sync: "Chapter 20" (20) at frame 138432 time 519635366
[16:57:53] bd: End of title
[16:57:53] reader: done. 1 scr changes
[16:57:54] work: average encoding speed for job is 67.052673 fps
[16:57:54] comb detect: heavy 2487 | light 17483 | uncombed 134262 | total 154232
[16:57:54] decomb: deinterlaced 2487 | blended 17483 | unfiltered 134262 | total 154232
[16:57:54] vfr: 154232 frames output, 0 dropped and 0 duped for CFR/PFR
[16:57:54] vfr: lost time: 0 (0 frames)
[16:57:54] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:57:54] stream: 154233 good frames, 0 errors (0%)
[16:57:54] ac3-decoder done: 201026 frames, 0 decoder errors
[16:57:54] h264-decoder done: 154232 frames, 0 decoder errors
[16:57:54] sync: got 154232 frames, 154232 expected
[16:57:54] sync: framerate min 11.987 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:2334  Avg QP:18.86  size:135972
x264 [info]: frame P:51576 Avg QP:22.02  size: 37969
x264 [info]: frame B:100322 Avg QP:23.98  size: 14324
x264 [info]: consecutive B-frames: 11.0%  4.1%  8.2% 76.7%
x264 [info]: mb I  I16..4: 27.4%  0.0% 72.6%
x264 [info]: mb P  I16..4:  6.9%  0.0% 11.6%  P16..4: 34.6% 13.1%  7.5%  0.0%  0.0%    skip:26.2%
x264 [info]: mb B  I16..4:  3.9%  0.0%  3.0%  B16..8: 21.2%  6.5%  0.6%  direct:12.2%  skip:52.6%  L0:41.9% L1:46.5% BI:11.5%
x264 [info]: coded y,uvDC,uvAC intra: 53.5% 76.9% 41.5% inter: 13.2% 26.7% 2.8%
x264 [info]: i16 v,h,dc,p: 27% 30% 17% 26%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 18%  6%  8%  6%  8%  5%  6%
x264 [info]: i8c dc,h,v,p: 49% 26% 16%  9%
x264 [info]: Weighted P-Frames: Y:3.7% UV:2.7%
x264 [info]: ref P L0: 75.5% 24.5%
x264 [info]: ref B L0: 87.3% 12.7%
x264 [info]: ref B L1: 96.5%  3.5%
x264 [info]: kb/s:4617.14
[16:57:55] mux: track 0, 154232 frames, 3712585429 bytes, 4617.01 kbps, fifo 2048
[16:57:55] mux: track 1, 301540 frames, 128794629 bytes, 160.17 kbps, fifo 4096
[16:57:55] libhb: work result = 0

# Encode Completed ...


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

Re: Handbrake can't find the primary audio track

Post by rollin_eng »

Try the latest version or a nightly build.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake can't find the primary audio track

Post by Woodstock »

Are you sure the source, as saved by DVDFab, had more than one audio track?
Goozling
Posts: 4
Joined: Thu Jan 10, 2019 12:22 pm

Re: Handbrake can't find the primary audio track

Post by Goozling »

mtmaloney wrote: Tue Jan 08, 2019 5:52 am Description of problem or question:

So, I copied my Blu-Ray of Moana to my computer using DVDFab's HD Decrypter. This is nothing new, I've done this for all of my movies. However, when I open the resulting folder in Handbrake, for whatever reason, it only has one audio track available, and it's the audio track for the visually impaired, not the standard English track. It's not that it's selecting the wrong track, it just doesn't have anything else listed.

I thought maybe it was a problem with the transfer from disc to PC, but I went into the stream folder and opened up the m2ts file for the movie and all the audio tracks are in there. And it looks like if I open that video file directly in Handbrake, it then allows me to access all the audio track. I'm converting it again at the moment using the correct audio track, but so far it looks like that should work fine. It just seems to be when I select the movie's folder as the source, it doesn't recognize all the audio tracks.

Of all the movies I've imported before, I can't say I've come across this one before. And it seems like I'm able to work around the issue in this instance, but I was curious if anyone's ever heard of this problem before.


HandBrake version (e.g., 1.0.0):
v1.1.2 (2018090500) - 64bit

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

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

Code: Select all

HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Ram: 16317 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 23.21.13.8813
Screen: 1280x1024
Temp Dir: C:\Users\tcufr\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\tcufr\AppData\Roaming\HandBrake

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


# Starting Encode ...

[16:19:32] hb_init: starting libhb thread
[16:19:32] 1 job(s) to process
[16:19:32] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "M:\\Moana\\Moana.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "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": 11,
        "Settings": {
          "crop-bottom": "138",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "138",
          "height": "804",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 21
    },
    "Title": 17,
    "Path": "O:\\Videos\\FullDisc\\MOANA"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:19:32] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[16:19:32]  - Intel microarchitecture Kaby Lake
[16:19:32]  - logical processor count: 12
[16:19:32] Intel Quick Sync Video support: no
[16:19:32] hb_scan: path=O:\Videos\FullDisc\MOANA, title_index=17
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
[16:19:32] scan: BD has 330 title(s)
[16:19:32] bd: scanning title 17
[16:19:32] bd: playlist 00099.MPLS
[16:19:32] bd: duration is 01:47:12 (6432801 ms)
[16:19:32] bd: video id=0x1011, stream type=H.264, format 1080p
[16:19:32] bd: aspect = 16:9
[16:19:32] bd: audio id=0x1101, lang=English (AC3), 3cc=eng
[16:19:32] bd: chap 1 packet=768, 435685 ms
[16:19:32] bd: chap 2 packet=1891300224, 284117 ms
[16:19:32] bd: chap 3 packet=3106593408, 253962 ms
[16:19:32] bd: chap 4 packet=4049451264, 315815 ms
[16:19:32] bd: chap 5 packet=5428205184, 393226 ms
[16:19:32] bd: chap 6 packet=7004226048, 248539 ms
[16:19:32] bd: chap 7 packet=7998864192, 184934 ms
[16:19:32] bd: chap 8 packet=8802568896, 380588 ms
[16:19:32] bd: chap 9 packet=10427749056, 207999 ms
[16:19:32] bd: chap 10 packet=11252402496, 245453 ms
[16:19:32] bd: chap 11 packet=12337559232, 250708 ms
[16:19:32] bd: chap 12 packet=13292453760, 252293 ms
[16:19:32] bd: chap 13 packet=14319951360, 491699 ms
[16:19:32] bd: chap 14 packet=16422212352, 301050 ms
[16:19:32] bd: chap 15 packet=17570475264, 126042 ms
[16:19:32] bd: chap 16 packet=18180938304, 169836 ms
[16:19:32] bd: chap 17 packet=18880686912, 455121 ms
[16:19:32] bd: chap 18 packet=20730539136, 393851 ms
[16:19:32] bd: chap 19 packet=22381339200, 382799 ms
[16:19:32] bd: chap 20 packet=23987545152, 658824 ms
[16:19:32] bd: chap 21 packet=26679738432, 250 ms
[16:19:32] bd: title 17 has 21 chapters
[16:19:32] scan: decoding previews for title 17
[16:19:32] scan: title angle(s) 1
[16:19:32] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch)
[16:19:33] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[16:19:33] scan: supported video decoders: avcodec qsv
[16:19:33] stream: 10 good frames, 0 errors (0%)
[16:19:33] libhb: scan thread found 1 valid title(s)
[16:19:33] Skipping subtitle scan.  No suitable subtitle tracks.
[16:19:33] starting job
[16:19:33] decomb filter thread started for segment 0
[16:19:33] decomb filter thread started for segment 4
[16:19:33] decomb filter thread started for segment 6
[16:19:33] decomb filter thread started for segment 11
[16:19:33] decomb filter thread started for segment 7
[16:19:33] decomb check thread started for segment 6
[16:19:33] decomb check thread started for segment 11
[16:19:33] mask filter thread started for segment 1
[16:19:33] mask filter thread started for segment 2
[16:19:33] decomb filter thread started for segment 2
[16:19:33] mask filter thread started for segment 9
[16:19:33] decomb check thread started for segment 4
[16:19:33] decomb filter thread started for segment 1
[16:19:33] decomb check thread started for segment 9
[16:19:33] mask erode thread started for segment 3
[16:19:33] mask dilate thread started for segment 5
[16:19:33] mask erode thread started for segment 4
[16:19:33] mask erode thread started for segment 8
[16:19:33] mask dilate thread started for segment 9
[16:19:33] mask dilate thread started for segment 3
[16:19:33] mask dilate thread started for segment 10
[16:19:33] mask erode thread started for segment 9
[16:19:33] decomb filter thread started for segment 5
[16:19:33] decomb check thread started for segment 10
[16:19:33] work: track 1, dithering not supported by codec
[16:19:33] mask filter thread started for segment 0
[16:19:33] decomb filter thread started for segment 9
[16:19:33] job configuration:
[16:19:33]  * source
[16:19:33]    + O:\Videos\FullDisc\MOANA
[16:19:33] mask filter thread started for segment 3
[16:19:33]    + title 17, chapter(s) 1 to 21
[16:19:33]  * destination
[16:19:33]    + M:\Moana\Moana.m4v
[16:19:33]    + container: MPEG-4 (libavformat)
[16:19:33]      + align initial A/V stream timestamps
[16:19:33]      + chapter markers
[16:19:33]  * video track
[16:19:33]    + decoder: h264
[16:19:33]      + bitrate 200 kbps
[16:19:33]    + filters
[16:19:33] mask filter thread started for segment 5
[16:19:33]      + 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)
[16:19:33]      + Decomb (mode=39)
[16:19:33]      + Framerate Shaper (mode=2:rate=27000000/900000)
[16:19:33]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[16:19:33] mask filter thread started for segment 4
[16:19:33]      + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[16:19:33]        + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[16:19:33]    + Output geometry
[16:19:33]      + storage dimensions: 1920 x 804
[16:19:33]      + pixel aspect ratio: 1 : 1
[16:19:33]      + display dimensions: 1920 x 804
[16:19:33]    + encoder: H.264 (libx264)
[16:19:33]      + preset:  fast
[16:19:33]      + profile: main
[16:19:33]      + level:   4.0
[16:19:33]      + quality: 22.00 (RF)
[16:19:33]  * audio track 1
[16:19:33]    + decoder: English (AC3) (2.0 ch) (track 1, id 0x1101)
[16:19:33] mask filter thread started for segment 6
[16:19:33]      + bitrate: 320 kbps, samplerate: 48000 Hz
[16:19:33]    + mixdown: Stereo
[16:19:33]    + encoder: AAC (libavcodec)
[16:19:33]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:19:33] decomb filter thread started for segment 10
[16:19:33] mask filter thread started for segment 7
[16:19:33] mask filter thread started for segment 8
[16:19:33] mask filter thread started for segment 11
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
[16:19:33] mask filter thread started for segment 10
[16:19:33] mask erode thread started for segment 1
[16:19:33] mask erode thread started for segment 0
[16:19:33] decomb filter thread started for segment 8
[16:19:33] mask erode thread started for segment 5
[16:19:33] mask erode thread started for segment 2
[16:19:33] decomb check thread started for segment 1
[16:19:33] decomb filter thread started for segment 3
[16:19:33] decomb check thread started for segment 0
[16:19:33] mask erode thread started for segment 6
[16:19:33] mask erode thread started for segment 7
[16:19:33] mask erode thread started for segment 10
[16:19:33] mask erode thread started for segment 11
[16:19:33] decomb check thread started for segment 2
[16:19:33] mask dilate thread started for segment 2
[16:19:33] mask dilate thread started for segment 0
[16:19:33] mask dilate thread started for segment 1
[16:19:33] mask dilate thread started for segment 6
[16:19:33] decomb check thread started for segment 3
[16:19:33] mask dilate thread started for segment 4
[16:19:33] mask dilate thread started for segment 7
[16:19:33] mask dilate thread started for segment 8
[16:19:33] decomb check thread started for segment 5
[16:19:33] decomb check thread started for segment 7
[16:19:33] yadif thread started for segment 0
[16:19:33] mask dilate thread started for segment 11
[16:19:33] decomb check thread started for segment 8
[16:19:33] yadif thread started for segment 2
[16:19:33] yadif thread started for segment 3
[16:19:33] yadif thread started for segment 1
[16:19:33] yadif thread started for segment 4
[16:19:33] yadif thread started for segment 6
[16:19:33] yadif thread started for segment 5
[16:19:33] yadif thread started for segment 8
[16:19:33] yadif thread started for segment 9
[16:19:33] yadif thread started for segment 7
[16:19:33] yadif thread started for segment 10
[16:19:33] yadif thread started for segment 11
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
[16:19:33] sync: expecting 154232 video frames
[16:19:33] encx264: min-keyint: 24, keyint: 240
[16:19:33] encx264: encoding at constant RF 22.000000
[16:19:33] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0
[16:19:34] sync: first pts video is 0
[16:19:34] sync: "Chapter 1" (1) at frame 1 time 0
[16:19:34] sync: first pts audio 0x1101 is 0
[16:22:34] sync: "Chapter 2" (2) at frame 10447 time 39211672
[16:24:23] sync: "Chapter 3" (3) at frame 17259 time 64782217
[16:25:46] sync: "Chapter 4" (4) at frame 23348 time 87638801
[16:27:58] sync: "Chapter 5" (5) at frame 30920 time 116062196
[16:30:17] sync: "Chapter 6" (6) at frame 40348 time 151452551
[16:31:40] sync: "Chapter 7" (7) at frame 46302 time 173802378
[16:32:54] sync: "Chapter 8" (8) at frame 50741 time 190465275
[16:35:14] sync: "Chapter 9" (9) at frame 59866 time 224718243
[16:36:33] sync: "Chapter 10" (10) at frame 64853 time 243438195
[16:38:16] sync: "Chapter 11" (11) at frame 70738 time 265529013
[16:39:48] sync: "Chapter 12" (12) at frame 76749 time 288092805
[16:41:13] sync: "Chapter 13" (13) at frame 82798 time 310799238
[16:44:16] sync: "Chapter 14" (14) at frame 94587 time 355052197
[16:45:42] sync: "Chapter 15" (15) at frame 101805 time 382146765
[16:46:32] sync: "Chapter 16" (16) at frame 104823 time 393475582
[16:47:33] sync: "Chapter 17" (17) at frame 108879 time 408700792
[16:49:48] sync: "Chapter 18" (18) at frame 119795 time 449676727
[16:52:24] sync: "Chapter 19" (19) at frame 129254 time 485183448
[16:54:59] sync: "Chapter 20" (20) at frame 138432 time 519635366
[16:57:53] bd: End of title
[16:57:53] reader: done. 1 scr changes
[16:57:54] work: average encoding speed for job is 67.052673 fps
[16:57:54] comb detect: heavy 2487 | light 17483 | uncombed 134262 | total 154232
[16:57:54] decomb: deinterlaced 2487 | blended 17483 | unfiltered 134262 | total 154232
[16:57:54] vfr: 154232 frames output, 0 dropped and 0 duped for CFR/PFR
[16:57:54] vfr: lost time: 0 (0 frames)
[16:57:54] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:57:54] stream: 154233 good frames, 0 errors (0%)
[16:57:54] ac3-decoder done: 201026 frames, 0 decoder errors
[16:57:54] h264-decoder done: 154232 frames, 0 decoder errors
[16:57:54] sync: got 154232 frames, 154232 expected
[16:57:54] sync: framerate min 11.987 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:2334  Avg QP:18.86  size:135972
x264 [info]: frame P:51576 Avg QP:22.02  size: 37969
x264 [info]: frame B:100322 Avg QP:23.98  size: 14324
x264 [info]: consecutive B-frames: 11.0%  4.1%  8.2% 76.7%
x264 [info]: mb I  I16..4: 27.4%  0.0% 72.6%
x264 [info]: mb P  I16..4:  6.9%  0.0% 11.6%  P16..4: 34.6% 13.1%  7.5%  0.0%  0.0%    skip:26.2%
x264 [info]: mb B  I16..4:  3.9%  0.0%  3.0%  B16..8: 21.2%  6.5%  0.6%  direct:12.2%  skip:52.6%  L0:41.9% L1:46.5% BI:11.5%
x264 [info]: coded y,uvDC,uvAC intra: 53.5% 76.9% 41.5% inter: 13.2% 26.7% 2.8%
x264 [info]: i16 v,h,dc,p: 27% 30% 17% 26%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 18%  6%  8%  6%  8%  5%  6%
x264 [info]: i8c dc,h,v,p: 49% 26% 16%  9%
x264 [info]: Weighted P-Frames: Y:3.7% UV:2.7%
x264 [info]: ref P L0: 75.5% 24.5%
x264 [info]: ref B L0: 87.3% 12.7%
x264 [info]: ref B L1: 96.5%  3.5%
x264 [info]: kb/s:4617.14
[16:57:55] mux: track 0, 154232 frames, 3712585429 bytes, 4617.01 kbps, fifo 2048
[16:57:55] mux: track 1, 301540 frames, 128794629 bytes, 160.17 kbps, fifo 4096
[16:57:55] libhb: work result = 0

# Encode Completed ...


I'd been running Handbrake 0.95 (and earlier versions) on OS X Snow Leopard (and earlier versions) for some time and it's been working great. However, recently my Mac gave up the ghost and I replaced it with a new one. After updating to OS X Lion, I downloaded Handbrake 0.95 but for reasons unknown to me it's not able to see audio tracks on DVDs anymore.

I've noticed that it takes a very long time to scan the DVD titles, and while that's not a big deal I suppose it may be a related symptom. But on the tab for audio there are no tracks found on the DVD.

I don't really know much about codecs and whatnot, but does anybody have any ideas why this might be the case? Is there additional software I should install on my Mac that would be used to support Handbrake?
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Handbrake can't find the primary audio track

Post by Woodstock »

No need to quote an unrelated topic.

Version 0.9 is many, many years out of date, and not supported. And ripping directly from DVDs has been unsupported for over a decade.

Most likely, the 3rd-party library you were using before to decode DVDs is not installed on your new machine, so it can't read DVDs.

The recommended method is to use a ripping tool (MakeMKV is one, but not the only one) to decrypt the DVD or Bluray, then use handbrake on the files created from that.
Goozling
Posts: 4
Joined: Thu Jan 10, 2019 12:22 pm

Re: Handbrake can't find the primary audio track

Post by Goozling »

Woodstock wrote: Thu Jan 10, 2019 8:35 pm No need to quote an unrelated topic.

Version 0.9 is many, many years out of date, and not supported. And ripping directly from DVDs has been unsupported for over a decade.

Most likely, the 3rd-party library you were using before to decode DVDs is not installed on your new machine, so it can't read DVDs.

The recommended method is to use a ripping tool (MakeMKV is one, but not the only one) to decrypt the DVD or Bluray, then use handbrake on the files created from that.
i am not quoting you. LOL :D
Post Reply