official Handbrake 1.07: How to auto-select audio in an MKV file?

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
mrjayviper
Posts: 26
Joined: Sun Jul 29, 2012 9:26 am

official Handbrake 1.07: How to auto-select audio in an MKV file?

Post by mrjayviper »

Hi everyone.

I have the MKV file with the following audio streams:

stream1: English 5.1 AAC
stream2: English 2.0 AAC
stream3: Japanese mono AC3

I'm trying to auto-select/add only the Japanese audio.

When I add my video, both the English 5.1 and the Japanese one were automatically included.

things I've tried:
  • If I removed all the auto-selected tracks and use "Add all remaining selected tracks", it will pick the Japanese audio stream only.
  • On Track Selection Behavior, I've tried "First matching" and "All matching"
  • I've changed the chosen language from Japanese to English. I then reopened the file and only the English 5.1 was added. The English stereo and Japanese audio were both ignored.
  • On the "For additional tracks" setting (it's below Track selection behavior), I've tried all 3 and it doesn't make a difference.
Not sure what i'm doing wrong. Can you please help?

Thanks a lot!

Edit :
  • I'm using a custom preset
  • in all my testing, I never closed and then reopened handbrake.
screenshots: (tried inserting image using but it's not working. linking instead)

https://i.imgur.com/ln6ZVTdg.png (setting audio defaults)
https://i.imgur.com/ufDiPCh.png (selected streams)

activity log:

Code: Select all

 # Starting Scan ...

[00:16:07] CPU: Intel(R) Xeon(R) CPU E5-2650L 0 @ 1.80GHz
[00:16:07]  - Intel microarchitecture Sandy Bridge
[00:16:07]  - logical processor count: 32
[00:16:07] Intel Quick Sync Video support: no
[00:16:07] hb_scan: path=D:\temp\videos\abc.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\temp\videos\abc.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[00:16:07] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[00:16:07] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\temp\videos\abc.mkv':
  Duration: 00:24:13.52, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High)
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn (default)
    Stream #0:1(eng): Audio: aac (LC)
      48000 Hz, 5.1, fltp (default)
    Metadata:
      title           : ENG+JAP MUSIC
    Stream #0:2(eng): Audio: aac (LC)
      48000 Hz, stereo, fltp
    Metadata:
      title           : ENG+ENG MUSIC
    Stream #0:3(jpn): Audio: ac3
      48000 Hz, mono, fltp, 96 kb/s
    Metadata:
      title           : JAP
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
[00:16:07] scan: decoding previews for title 1
[00:16:07] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 English (AAC) (5.1 ch)
[00:16:07] scan: audio 0x2: aac, rate=48000Hz, bitrate=1 English (AAC) (2.0 ch)
[00:16:07] scan: audio 0x3: ac3, rate=48000Hz, bitrate=96000 ??? (AC3) (1.0 ch)
[00:16:08] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[00:16:08] scan: supported video decoders: avcodec qsv
[00:16:08] libhb: scan thread found 1 valid title(s)

 # Scan Finished ...
 
Last edited by mrjayviper on Sun Dec 31, 2017 10:51 pm, edited 8 times in total.
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: How to auto-select audio (3 audio streams in the video)

Post by rollin_eng »

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

https://handbrake.fr/docs/en/latest/hel ... y-log.html
mrjayviper
Posts: 26
Joined: Sun Jul 29, 2012 9:26 am

Re: How to auto-select audio (3 audio streams in the video)

Post by mrjayviper »

activity log added to original post. Thanks!
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: official Handbrake 1.07: How to auto-select audio in an MKV file?

Post by BradleyS »

The language selection isn’t persistent between launches; you will need to save a custom preset.
mrjayviper
Posts: 26
Joined: Sun Jul 29, 2012 9:26 am

Re: official Handbrake 1.07: How to auto-select audio in an MKV file?

Post by mrjayviper »

I am using a custom preset. But in any case, I never close handbrake in my testing so the settings should stick?
mrjayviper
Posts: 26
Joined: Sun Jul 29, 2012 9:26 am

Re: official Handbrake 1.07: How to auto-select audio in an MKV file?

Post by mrjayviper »

anyone else? Thanks!
Post Reply