How to mass select alternate audio track

HandBrake for Mac 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
macevanscb
Posts: 19
Joined: Sun Nov 29, 2009 5:50 am

How to mass select alternate audio track

Post by macevanscb »

Please detail your question or problem in as much detail as possible:
I have a TV series I want to encode where every episode has Audio Track 0 which includes a Russian translation and Audio Track 1 is normal, How do I make Audio Track 1 the default for all encodes without having to set each encode individually.


Tell us about your environment. What version of HandBrake? What version of OSX are you running. etc.
Using a Mac Mini running OS X 10.11.6 El Capitan and using Handbrake v1.0.7.


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



Included is one episode encode complete from Activity Log - there are no problems with the encode.

Code: Select all

 Paste a log of the scan or encode between these code brackets, or use a pastebin website and provide us with the URL it gives you. 
 Logs are required for all support requests.
 ]: i8c dc,h,v,p: 49% 20% 25%  7%
x264 [info]: Weighted P-Frames: Y:2.4% UV:1.5%
x264 [info]: ref P L0: 81.2% 18.8%
x264 [info]: ref B L0: 90.0% 10.0%
x264 [info]: ref B L1: 99.6%  0.4%
x264 [info]: kb/s:517.31
[09:42:23] mux: track 0, 77156 frames, 166443704 bytes, 517.21 kbps, fifo 8192
[09:42:23] mux: track 1, 120677 frames, 45658512 bytes, 141.88 kbps, fifo 16384
[09:42:23] libhb: work result = 0
[09:42:23] macgui: QueueCore work done
[09:42:23] macgui: QueueCore scanning specifically for title: 22
[09:42:23] CPU: Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
[09:42:23]  - Intel microarchitecture Sandy Bridge
[09:42:23]  - logical processor count: 4
[09:42:23] hb_scan: path=/Volumes/Movies/TV Temp/Andromeda 1-5 Seasons/Season 2/44 Tunnel At The End Of The Light.avi, title_index=22
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:274: failed opening UDF image /Volumes/Movies/TV Temp/Andromeda 1-5 Seasons/Season 2/44 Tunnel At The End Of The Light.avi
disc.c:352: error opening file BDMV/index.bdmv
disc.c:352: error opening file BDMV/BACKUP/index.bdmv
[09:42:23] 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
[09:42:23] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from '/Volumes/Movies/TV Temp/Andromeda 1-5 Seasons/Season 2/44 Tunnel At The End Of The Light.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.1 (build 2366/release)
  Duration: 00:42:54.44, start: 0.000000, bitrate: 1750 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) [XVID / 0x44495658]
      yuv420p, 720x400 [PAR 1:1 DAR 9:5]
      29.97 fps, 29.97 tbn
    Stream #0:1: Audio: mp3 [U[0][0][0] / 0x0055]
      48000 Hz, 2 channels, s16p, 128 kb/s
    Stream #0:2: Audio: mp3 [U[0][0][0] / 0x0055]
      48000 Hz, 2 channels, s16p, 128 kb/s
[09:42:23] scan: decoding previews for title 22
[09:42:24] scan: audio 0x1: mp3, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:42:24] scan: audio 0x2: mp3, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:42:24] scan: 10 previews, 720x400, 29.970 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:42:24] libhb: scan thread found 1 valid title(s)
[09:42:24] macgui: QueueCore scan done
[09:42:24] macgui: QueueCore started encoding 44 Tunnel At The End Of The Light.mp4
[09:42:24] macgui: QueueCore with preset Fast 1080p30
[09:42:24] 1 job(s) to process
[09:42:24] starting job
[09:42:24] decomb filter thread started for segment 0
[09:42:24] decomb filter thread started for segment 1
[09:42:24] decomb filter thread started for segment 2
[09:42:24] decomb filter thread started for segment 3
[09:42:24] decomb check thread started for segment 0
[09:42:24] decomb check thread started for segment 1
[09:42:24] decomb check thread started for segment 2
[09:42:24] decomb check thread started for segment 3
[09:42:24] mask filter thread started for segment 0
[09:42:24] mask filter thread started for segment 1
[09:42:24] mask filter thread started for segment 2
[09:42:24] mask filter thread started for segment 3
[09:42:24] mask erode thread started for segment 0
[09:42:24] mask erode thread started for segment 1
[09:42:24] mask erode thread started for segment 2
[09:42:24] mask erode thread started for segment 3
[09:42:24] mask dilate thread started for segment 0
[09:42:24] mask dilate thread started for segment 1
[09:42:24] mask dilate thread started for segment 2
[09:42:24] mask dilate thread started for segment 3
[09:42:24] yadif thread started for segment 0
[09:42:24] yadif thread started for segment 1
[09:42:24] yadif thread started for segment 2
[09:42:24] yadif thread started for segment 3
[09:42:24] work: only 1 chapter, disabling chapter markers
[09:42:24] job configuration:
[09:42:24]  * source
[09:42:24]    + /Volumes/Movies/TV Temp/Andromeda 1-5 Seasons/Season 2/44 Tunnel At The End Of The Light.avi
[09:42:24]    + title 22, chapter(s) 1 to 1
[09:42:24]    + container: avi
[09:42:24]    + data rate: 1750 kbps
[09:42:24]  * destination
[09:42:24]    + /Volumes/TV Shows/7 Science Fiction/Andromeda.2000/Season 2/44 Tunnel At The End Of The Light.mp4
[09:42:24]    + container: MPEG-4 (libavformat)
[09:42:24]  * video track
[09:42:24]    + decoder: mpeg4
[09:42:24]    + filters
[09:42:24]      + 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)
[09:42:24]      + Decomb (mode=39)
[09:42:24]      + Framerate Shaper (mode=2:rate=27000000/900000)
[09:42:24]        + frame rate: 29.970 fps -> peak rate limited to 30.000 fps
[09:42:24]      + Crop and Scale (width=720:height=400:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:42:24]        + source: 720 * 400, crop (0/0/0/0): 720 * 400, scale: 720 * 400
[09:42:24]    + Output geometry
[09:42:24]      + storage dimensions: 720 x 400
[09:42:24]      + pixel aspect ratio: 1 : 1
[09:42:24]      + display dimensions: 720 x 400
[09:42:24]    + encoder: H.264 (libx264)
[09:42:24]      + preset:  fast
[09:42:24]      + profile: main
[09:42:24]      + level:   4.0
[09:42:24]      + quality: 22.00 (RF)
[09:42:24]  * audio track 1
[09:42:24]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[09:42:24]      + bitrate: 128 kbps, samplerate: 48000 Hz
[09:42:24]    + mixdown: Stereo
[09:42:24]    + encoder: AAC (Apple AudioToolbox)
[09:42:24]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:42:24] sync: expecting 77156 video frames
[09:42:24] encx264: min-keyint: 30, keyint: 300
[09:42:24] encx264: encoding at constant RF 22.000000
[09:42:24] encx264: unparsed options: rc-lookahead=30:subme=6:level=4.0:8x8dct=0:ref=2:weightp=1:vbv-bufsize=25000:vbv-maxrate=20000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile Main, level 4.0
[09:42:24] sync: first pts video is 0
[09:42:24] sync: "Chapter 1" (1) at frame 1 time 0
[09:42:24] sync: first pts audio 0x1 is 0
[09:59:50] reader: done. 1 scr changes
[09:59:50] work: average encoding speed for job is 73.684486 fps
[09:59:51] comb detect: heavy 15 | light 215 | uncombed 76926 | total 77156
[09:59:51] decomb: deinterlaced 15 | blended 215 | unfiltered 76926 | total 77156
[09:59:51] vfr: 77156 frames output, 0 dropped and 0 duped for CFR/PFR
[09:59:51] vfr: lost time: 0 (0 frames)
[09:59:51] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:59:51] mp3-decoder done: 107268 frames, 0 decoder errors
[09:59:51] mpeg4-decoder done: 77156 frames, 0 decoder errors
[09:59:51] sync: got 77156 frames, 77156 expected
[09:59:51] sync: framerate min 29.970 fps, max 29.970 fps, avg 29.970 fps
x264 [info]: frame I:1169  Avg QP:18.03  size: 17685
x264 [info]: frame P:35933 Avg QP:21.46  size:  4568
x264 [info]: frame B:40054 Avg QP:23.69  size:  1223
x264 [info]: consecutive B-frames:  3.6% 81.0%  1.5% 13.9%
x264 [info]: mb I  I16..4: 41.0%  0.0% 59.0%
x264 [info]: mb P  I16..4:  9.6%  0.0%  5.2%  P16..4: 42.3% 13.2%  5.9%  0.0%  0.0%    skip:23.8%
x264 [info]: mb B  I16..4:  2.4%  0.0%  0.8%  B16..8: 24.8%  3.4%  0.2%  direct: 4.8%  skip:63.6%  L0:34.3% L1:55.7% BI:10.0%
x264 [info]: coded y,uvDC,uvAC intra: 35.1% 64.1% 16.2% inter: 8.9% 19.3% 0.6%
x264 [info]: i16 v,h,dc,p: 45% 24% 16% 15%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 20% 20%  5%  6%  6%  5%  5%  4%
x264 [info]: i8c dc,h,v,p: 46% 22% 25%  7%
x264 [info]: Weighted P-Frames: Y:4.1% UV:2.7%
x264 [info]: ref P L0: 84.5% 15.5%
x264 [info]: ref B L0: 90.0% 10.0%
x264 [info]: ref B L1: 99.6%  0.4%
x264 [info]: kb/s:726.48
[09:59:51] mux: track 0, 77156 frames, 233745893 bytes, 726.35 kbps, fifo 4096
[09:59:51] mux: track 1, 120677 frames, 44084379 bytes, 136.99 kbps, fifo 8192
[09:59:51] libhb: work result = 0
[09:59:51] macgui: QueueCore work done
[09:59:51] macgui: QueueCore scanning specifically for title: 1
[09:59:51] CPU: Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
[09:59:51]  - Intel microarchitecture Sandy Bridge
[09:59:51]  - logical processor count: 4
 
mduell
Veteran User
Posts: 8197
Joined: Sat Apr 21, 2007 8:54 pm

Re: How to mass select alternate audio track

Post by mduell »

Change the audio defaults and save it in a preset. Then use that preset.
macevanscb
Posts: 19
Joined: Sun Nov 29, 2009 5:50 am

Re: How to mass select alternate audio track

Post by macevanscb »

I am unable o select a specific audio track in the preset setup, only the codec to be used.
English is selected as the default language bur whoever created this simply overlaid the Russian translation over the original soundtrack ans made ir track Audio 1 and put the original soundtrack on Audio 2
Post Reply