Is it possible to change default audio track after encoding

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
mdhankins
Posts: 7
Joined: Thu Jul 07, 2016 5:39 pm

Is it possible to change default audio track after encoding

Post by mdhankins » Thu Jul 07, 2016 5:57 pm

Please detail your question or problem in as much detail as possible:

Hey guys. I recently encoded a bunch of movies with Handbrake. I noticed that the audio level was rather low when playing one in MPC-HC and discovered that the default audio track is Surround rather than standard Stereo. Does anyone know of any tools kinda like MKVToolnix that works on mp4/m4v files? Just for kicks I tried MKVToolnix and got it to work, but the output file was of course MKV. I've standardized on m4v files in my collection, so I really don't want to have to go back and re-encode these files (or re-mux or whatever the right term is). I've been googing to look for a solution, but either there is none or my google-fu sucks.


Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.

My PC is Windows 10 64bit. I'm using Handbrake 0.10.5 64bit.


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

N/A

Please include the scan or encode log:

N/A

Code: Select all

 I don't think a log file is really necessary for my question, but I can try to provide one if someone really thinks it is necessary. 

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

Re: Is it possible to change default audio track after encoding

Post by rollin_eng » Thu Jul 07, 2016 6:02 pm

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

viewtopic.php?f=6&t=31236-

mdhankins
Posts: 7
Joined: Thu Jul 07, 2016 5:39 pm

Re: Is it possible to change default audio track after encoding

Post by mdhankins » Fri Jul 08, 2016 12:54 am

Here's a log from one of the movies.

HandBrake 0.10.5.0 - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0 - 64bit
CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
Ram: 16349 MB,
GPU Information:
NVIDIA GeForce GTX 770 - 10.18.13.6839
Screen: 1920x1200
Temp Dir: C:\Users\mhankins\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\mhankins\AppData\Roaming\HandBrake Team\HandBrake\0.10.5.0

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

CLI Query: -i "G:\Video\A_NEW_HOPE\title00.mkv" -t 1 --angle 1 -c 1-50 -o "D:\videos\A New Hope-1.m4v" -f mp4 --decomb -w 720 --crop 54:58:0:0 --loose-anamorphic --modulus 2 -e x264 -q 19 --vfr -a 2 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --markers="C:\Users\mhankins\AppData\Local\Temp\A New Hope-1-1-chapters.csv" --encoder-tune="film" --encoder-level="4.1" --encoder-profile=high --verbose=1

[12:43:52] hb_init: starting libhb thread
HandBrake 0.10.5 (2016021100) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening G:\Video\A_NEW_HOPE\title00.mkv...
[12:43:52] CPU: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
[12:43:52] - Intel microarchitecture Ivy Bridge
[12:43:52] - logical processor count: 4
[12:43:52] OpenCL device #1: NVIDIA Corporation GeForce GTX 770
[12:43:52] - OpenCL version: 1.2 CUDA
[12:43:52] - driver version: 368.39
[12:43:52] - device type: GPU
[12:43:52] - supported: no
[12:43:52] Intel Quick Sync Video support: no
[12:43:52] hb_scan: path=G:\Video\A_NEW_HOPE\title00.mkv, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\Video\A_NEW_HOPE\title00.mkv/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\Video\A_NEW_HOPE\title00.mkv/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(G:\Video\A_NEW_HOPE\title00.mkv) failed
[12:43:52] 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
[12:43:52] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'G:\Video\A_NEW_HOPE\title00.mkv':
Duration: 02:04:43.48, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 21.021000
Metadata:
title : Chapter 01
Chapter #0.1: start 21.021000, end 113.446667
Metadata:
title : Chapter 02
Chapter #0.2: start 113.446667, end 292.792500
Metadata:
title : Chapter 03
Chapter #0.3: start 292.792500, end 448.281167
Metadata:
title : Chapter 04
Chapter #0.4: start 448.281167, end 535.034500
Metadata:
title : Chapter 05
Chapter #0.5: start 535.034500, end 681.514167
Metadata:
title : Chapter 06
Chapter #0.6: start 681.514167, end 940.439500
Metadata:
title : Chapter 07
Chapter #0.7: start 940.439500, end 1180.679500
Metadata:
title : Chapter 08
Chapter #0.8: start 1180.679500, end 1413.245167
Metadata:
title : Chapter 09
Chapter #0.9: start 1413.245167, end 1532.697833
Metadata:
title : Chapter 10
Chapter #0.10: start 1532.697833, end 1665.497167
Metadata:
title : Chapter 11
Chapter #0.11: start 1665.497167, end 1752.751000
Metadata:
title : Chapter 12
Chapter #0.12: start 1752.751000, end 1954.118833
Metadata:
title : Chapter 13
Chapter #0.13: start 1954.118833, end 2093.091000
Metadata:
title : Chapter 14
Chapter #0.14: start 2093.091000, end 2214.212000
Metadata:
title : Chapter 15
Chapter #0.15: start 2214.212000, end 2345.676667
Metadata:
title : Chapter 16
Chapter #0.16: start 2345.676667, end 2502.333167
Metadata:
title : Chapter 17
Chapter #0.17: start 2502.333167, end 2551.549000
Metadata:
title : Chapter 18
Chapter #0.18: start 2551.549000, end 2691.722367
Metadata:
title : Chapter 19
Chapter #0.19: start 2691.722367, end 2872.703167
Metadata:
title : Chapter 20
Chapter #0.20: start 2872.703167, end 2997.995000
Metadata:
title : Chapter 21
Chapter #0.21: start 2997.995000, end 3073.737333
Metadata:
title : Chapter 22
Chapter #0.22: start 3073.737333, end 3160.824333
Metadata:
title : Chapter 23
Chapter #0.23: start 3160.824333, end 3252.249000
Metadata:
title : Chapter 24
Chapter #0.24: start 3252.249000, end 3419.916500
Metadata:
title : Chapter 25
Chapter #0.25: start 3419.916500, end 3552.882667
Metadata:
title : Chapter 26
Chapter #0.26: start 3552.882667, end 3790.820367
Metadata:
title : Chapter 27
Chapter #0.27: start 3790.820367, end 3976.472500
Metadata:
title : Chapter 28
Chapter #0.28: start 3976.472500, end 4101.964533
Metadata:
title : Chapter 29
Chapter #0.29: start 4101.964533, end 4352.381367
Metadata:
title : Chapter 30
Chapter #0.30: start 4352.381367, end 4452.648200
Metadata:
title : Chapter 31
Chapter #0.31: start 4452.648200, end 4633.795833
Metadata:
title : Chapter 32
Chapter #0.32: start 4633.795833, end 4749.411333
Metadata:
title : Chapter 33
Chapter #0.33: start 4749.411333, end 4889.384500
Metadata:
title : Chapter 34
Chapter #0.34: start 4889.384500, end 5100.261833
Metadata:
title : Chapter 35
Chapter #0.35: start 5100.261833, end 5222.083533
Metadata:
title : Chapter 36
Chapter #0.36: start 5222.083533, end 5396.224167
Metadata:
title : Chapter 37
Chapter #0.37: start 5396.224167, end 5628.289333
Metadata:
title : Chapter 38
Chapter #0.38: start 5628.289333, end 5799.960833
Metadata:
title : Chapter 39
Chapter #0.39: start 5799.960833, end 5886.747533
Metadata:
title : Chapter 40
Chapter #0.40: start 5886.747533, end 5977.638333
Metadata:
title : Chapter 41
Chapter #0.41: start 5977.638333, end 6085.079000
Metadata:
title : Chapter 42
Chapter #0.42: start 6085.079000, end 6157.484667
Metadata:
title : Chapter 43
Chapter #0.43: start 6157.484667, end 6302.629667
Metadata:
title : Chapter 44
Chapter #0.44: start 6302.629667, end 6582.776200
Metadata:
title : Chapter 45
Chapter #0.45: start 6582.776200, end 6918.912000
Metadata:
title : Chapter 46
Chapter #0.46: start 6918.912000, end 7067.560500
Metadata:
title : Chapter 47
Chapter #0.47: start 7067.560500, end 7108.434667
Metadata:
title : Chapter 48
Chapter #0.48: start 7108.434667, end 7214.540667
Metadata:
title : Chapter 49
Chapter #0.49: start 7214.540667, end 7483.488000
Metadata:
title : Chapter 50
Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157, 29.97 fps, 1k tbn, 59.94 tbc
Metadata:
BPS-eng : 6910606
DURATION-eng : 02:04:43.476000000
NUMBER_OF_FRAMES-eng: 179424
NUMBER_OF_BYTES-eng: 6464420200
SOURCE_ID-eng : 0100E0
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-07 15:49:23
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
Metadata:
title : Surround 5.1
BPS-eng : 448000
DURATION-eng : 02:04:43.520000000
NUMBER_OF_FRAMES-eng: 233860
NUMBER_OF_BYTES-eng: 419077120
SOURCE_ID-eng : 0180BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-07 15:49:23
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
Metadata:
title : Stereo
BPS-eng : 192000
DURATION-eng : 02:04:43.520000000
NUMBER_OF_FRAMES-eng: 233860
NUMBER_OF_BYTES-eng: 179604480
SOURCE_ID-eng : 0181BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-07 15:49:23
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.3(eng): Subtitle: dvdsub (default)
Metadata:
BPS-eng : 3152
DURATION-eng : 02:00:14.563422222
NUMBER_OF_FRAMES-eng: 1736
NUMBER_OF_BYTES-eng: 2842930
SOURCE_ID-eng : 0120BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-07 15:49:23
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream #0.4(eng): Subtitle: dvdsub
Metadata:
BPS-eng : 47
DURATION-eng : 02:00:14.563422222
NUMBER_OF_FRAMES-eng: 46
NUMBER_OF_BYTES-eng: 42526
SOURCE_ID-eng : 0124BD
_STATISTICS_WRITING_APP-eng: MakeMKV v1.9.10 win(x64-release)
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-07 15:49:23
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[12:43:52] scan: decoding previews for title 1
[12:43:52] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (Dolby Digital EX)
[12:43:52] scan: audio 0x2: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (Dolby Surround)
[12:43:53] scan: 10 previews, 720x480, 23.976 fps, autocrop = 54/58/0/0, aspect 16:9, PAR 32:27
[12:43:53] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: G:\Video\A_NEW_HOPE\title00.mkv
+ duration: 02:04:43
+ size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
+ autocrop: 54/58/0/0
+ support opencl: no
+ support hwd: yes
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:21
+ 2: cells 0->0, 0 blocks, duration 00:01:32
+ 3: cells 0->0, 0 blocks, duration 00:02:59
+ 4: cells 0->0, 0 blocks, duration 00:02:35
+ 5: cells 0->0, 0 blocks, duration 00:01:27
+ 6: cells 0->0, 0 blocks, duration 00:02:26
+ 7: cells 0->0, 0 blocks, duration 00:04:19
+ 8: cells 0->0, 0 blocks, duration 00:04:00
+ 9: cells 0->0, 0 blocks, duration 00:03:53
+ 10: cells 0->0, 0 blocks, duration 00:01:59
+ 11: cells 0->0, 0 blocks, duration 00:02:13
+ 12: cells 0->0, 0 blocks, duration 00:01:27
+ 13: cells 0->0, 0 blocks, duration 00:03:21
+ 14: cells 0->0, 0 blocks, duration 00:02:19
+ 15: cells 0->0, 0 blocks, duration 00:02:01
+ 16: cells 0->0, 0 blocks, duration 00:02:11
+ 17: cells 0->0, 0 blocks, duration 00:02:37
+ 18: cells 0->0, 0 blocks, duration 00:00:49
+ 19: cells 0->0, 0 blocks, duration 00:02:20
+ 20: cells 0->0, 0 blocks, duration 00:03:01
+ 21: cells 0->0, 0 blocks, duration 00:02:05
+ 22: cells 0->0, 0 blocks, duration 00:01:16
+ 23: cells 0->0, 0 blocks, duration 00:01:27
+ 24: cells 0->0, 0 blocks, duration 00:01:31
+ 25: cells 0->0, 0 blocks, duration 00:02:48
+ 26: cells 0->0, 0 blocks, duration 00:02:13
+ 27: cells 0->0, 0 blocks, duration 00:03:58
+ 28: cells 0->0, 0 blocks, duration 00:03:06
+ 29: cells 0->0, 0 blocks, duration 00:02:05
+ 30: cells 0->0, 0 blocks, duration 00:04:10
+ 31: cells 0->0, 0 blocks, duration 00:01:40
+ 32: cells 0->0, 0 blocks, duration 00:03:01
+ 33: cells 0->0, 0 blocks, duration 00:01:56
+ 34: cells 0->0, 0 blocks, duration 00:02:20
+ 35: cells 0->0, 0 blocks, duration 00:03:31
+ 36: cells 0->0, 0 blocks, duration 00:02:02
+ 37: cells 0->0, 0 blocks, duration 00:02:54
+ 38: cells 0->0, 0 blocks, duration 00:03:52
+ 39: cells 0->0, 0 blocks, duration 00:02:52
+ 40: cells 0->0, 0 blocks, duration 00:01:27
+ 41: cells 0->0, 0 blocks, duration 00:01:31
+ 42: cells 0->0, 0 blocks, duration 00:01:47
+ 43: cells 0->0, 0 blocks, duration 00:01:12
+ 44: cells 0->0, 0 blocks, duration 00:02:25
+ 45: cells 0->0, 0 blocks, duration 00:04:40
+ 46: cells 0->0, 0 blocks, duration 00:05:36
+ 47: cells 0->0, 0 blocks, duration 00:02:29
+ 48: cells 0->0, 0 blocks, duration 00:00:41
+ 49: cells 0->0, 0 blocks, duration 00:01:46
+ 50: cells 0->0, 0 blocks, duration 00:04:29
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (Dolby Digital EX) (iso639-2: eng), 48000Hz, 448000bps
+ 2, English (AC3) (2.0 ch) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
+ 2, English (iso639-2: eng) (Bitmap)(VOBSUB)
Reading chapter markers from file C:\Users\mhankins\AppData\Local\Temp\A New Hope-1-1-chapters.csv
[12:43:53] 1 job(s) to process
[12:43:53] starting job
[12:43:53] yadif thread started for segment 0
[12:43:53] yadif thread started for segment 2
[12:43:53] yadif thread started for segment 1
[12:43:53] yadif thread started for segment 3
[12:43:53] decomb filter thread started for segment 0
[12:43:53] decomb filter thread started for segment 1
[12:43:53] decomb filter thread started for segment 2
[12:43:53] decomb filter thread started for segment 3
[12:43:53] decomb check thread started for segment 0
[12:43:53] decomb check thread started for segment 1
[12:43:53] decomb check thread started for segment 2
[12:43:53] decomb check thread started for segment 3
[12:43:53] mask filter thread started for segment 0
[12:43:53] mask filter thread started for segment 1
[12:43:53] mask filter thread started for segment 2
[12:43:53] mask filter thread started for segment 3
[12:43:53] mask erode thread started for segment 0
[12:43:53] mask erode thread started for segment 1
[12:43:53] mask erode thread started for segment 2
[12:43:53] mask erode thread started for segment 3
[12:43:53] mask dilate thread started for segment 0
[12:43:53] mask dilate thread started for segment 1
[12:43:53] mask dilate thread started for segment 2
[12:43:53] mask dilate thread started for segment 3
[12:43:53] work: sanitizing track 1 mixdown Dolby Pro Logic II to Dolby Surround
[12:43:53] sync: expecting 179424 video frames
[12:43:53] job configuration:
[12:43:53] * source
[12:43:53] + G:\Video\A_NEW_HOPE\title00.mkv
[12:43:53] + title 1, chapter(s) 1 to 50
[12:43:53] + container: matroska,webm
[12:43:53] * destination
[12:43:53] + D:\videos\A New Hope-1.m4v
[12:43:53] + container: MPEG-4 (libavformat)
[12:43:53] + chapter markers
[12:43:53] * video track
[12:43:53] + decoder: mpeg2video
[12:43:53] + bitrate 9800 kbps
[12:43:53] + filters
[12:43:53] + Decomb (default settings)
[12:43:53] + Framerate Shaper (0:27000000:1126125)
[12:43:53] + frame rate: same as source (around 23.976 fps)
[12:43:53] + Crop and Scale (720:368:54:58:0:0)
[12:43:53] + source: 720 * 480, crop (54/58/0/0): 720 * 368, scale: 720 * 368
[12:43:53] + loose anamorphic
[12:43:53] + storage dimensions: 720 * 368, mod 2
[12:43:53] + pixel aspect ratio: 32 / 27
[12:43:53] + display dimensions: 853 * 368
[12:43:53] + encoder: H.264 (libx264)
[12:43:53] + tune: film
[12:43:53] + profile: high
[12:43:53] + level: 4.1
[12:43:53] + quality: 19.00 (RF)
[12:43:53] * audio track 1
[12:43:53] + decoder: English (AC3) (2.0 ch) (Dolby Surround) (track 2, id 0x2)
[12:43:53] + bitrate: 192 kbps, samplerate: 48000 Hz
[12:43:53] + mixdown: Dolby Surround
[12:43:53] + encoder: AAC (libavcodec)
[12:43:53] + bitrate: 160 kbps, samplerate: 48000 Hz
[12:43:53] reader: first SCR -2970 id 0x0 DTS -2970
[12:43:53] encx264: min-keyint: 24, keyint: 240
[12:43:53] encx264: encoding at constant RF 19.000000
[12:43:53] encx264: unparsed options: level=4.1:deblock=-1,-1:psy-rd=1.00,0.15:vbv-bufsize=78125:vbv-maxrate=62500
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1
[12:43:55] mpeg2video: "Chapter 2" (2) at frame 512 time 1894860
[12:44:11] mpeg2video: "Chapter 3" (3) at frame 2728 time 10213200
[12:44:50] mpeg2video: "Chapter 4" (4) at frame 7028 time 26354340
[12:45:23] mpeg2video: "Chapter 5" (5) at frame 10759 time 40358790
[12:45:41] mpeg2video: "Chapter 6" (6) at frame 12836 time 48156120
[12:46:15] mpeg2video: "Chapter 7" (7) at frame 16351 time 61349760
[12:47:08] mpeg2video: "Chapter 8" (8) at frame 22556 time 84642570
[12:48:02] mpeg2video: "Chapter 9" (9) at frame 28316 time 106264170
[12:48:52] mpeg2video: "Chapter 10" (10) at frame 33895 time 127205550
[12:49:17] mpeg2video: "Chapter 11" (11) at frame 36756 time 137945790
[12:49:46] mpeg2video: "Chapter 12" (12) at frame 39943 time 149908230
[12:50:06] mpeg2video: "Chapter 13" (13) at frame 42032 time 157750560
[12:50:47] mpeg2video: "Chapter 14" (14) at frame 46860 time 175873680
[12:51:17] mpeg2video: "Chapter 15" (15) at frame 50192 time 188381160
[12:51:41] mpeg2video: "Chapter 16" (16) at frame 53096 time 199282050
[12:52:06] mpeg2video: "Chapter 17" (17) at frame 56248 time 211113900
[12:52:39] mpeg2video: "Chapter 18" (18) at frame 60007 time 225223470
[12:52:50] mpeg2video: "Chapter 19" (19) at frame 61184 time 229642380
[12:53:22] mpeg2video: "Chapter 20" (20) at frame 64548 time 242270010
[12:54:03] mpeg2video: "Chapter 21" (21) at frame 68887 time 258556770
[12:54:26] mpeg2video: "Chapter 22" (22) at frame 71888 time 269822520
[12:54:41] mpeg2video: "Chapter 23" (23) at frame 73707 time 276649830
[12:54:59] mpeg2video: "Chapter 24" (24) at frame 75795 time 284487660
[12:55:18] mpeg2video: "Chapter 25" (25) at frame 77984 time 292705380
[12:55:54] mpeg2video: "Chapter 26" (26) at frame 82004 time 307795500
[12:56:24] mpeg2video: "Chapter 27" (27) at frame 85192 time 319762440
[12:57:20] mpeg2video: "Chapter 28" (28) at frame 90900 time 341188830
[12:57:55] mpeg2video: "Chapter 29" (29) at frame 95348 time 357885540
[12:58:18] mpeg2video: "Chapter 30" (30) at frame 98357 time 369179820
[12:59:07] mpeg2video: "Chapter 31" (31) at frame 104364 time 391729320
[12:59:27] mpeg2video: "Chapter 32" (32) at frame 106768 time 400753350
[13:00:05] mpeg2video: "Chapter 33" (33) at frame 111108 time 417044610
[13:00:31] mpeg2video: "Chapter 34" (34) at frame 113882 time 427457520
[13:01:01] mpeg2video: "Chapter 35" (35) at frame 117236 time 440047620
[13:01:48] mpeg2video: "Chapter 36" (36) at frame 122292 time 459026550
[13:02:15] mpeg2video: "Chapter 37" (37) at frame 125213 time 469990530
[13:02:56] mpeg2video: "Chapter 38" (38) at frame 129391 time 485673660
[13:03:49] mpeg2video: "Chapter 39" (39) at frame 134955 time 506559510
[13:04:28] mpeg2video: "Chapter 40" (40) at frame 139068 time 521999460
[13:04:46] mpeg2video: "Chapter 41" (41) at frame 141149 time 529810290
[13:05:07] mpeg2video: "Chapter 42" (42) at frame 143331 time 538000920
[13:05:28] mpeg2video: "Chapter 43" (43) at frame 145904 time 547660080
[13:05:46] mpeg2video: "Chapter 44" (44) at frame 147640 time 554176620
[13:06:18] mpeg2video: "Chapter 45" (45) at frame 151120 time 567239670
[13:07:23] mpeg2video: "Chapter 46" (46) at frame 157840 time 592464870
[13:08:35] mpeg2video: "Chapter 47" (47) at frame 165896 time 622705050
[13:09:06] mpeg2video: "Chapter 48" (48) at frame 169460 time 636083460
[13:09:15] mpeg2video: "Chapter 49" (49) at frame 170440 time 639762120
[13:09:34] mpeg2video: "Chapter 50" (50) at frame 172984 time 649311660
[13:10:25] reader: done. 1 scr changes
[13:10:26] work: average encoding speed for job is 112.615211 fps
[13:10:26] sync: got 179424 frames, 179424 expected
[13:10:26] decomb: deinterlaced 30 | blended 116 | unfiltered 179277 | total 179423
[13:10:26] render: lost time: 0 (0 frames)
[13:10:26] render: gained time: 0 (0 frames) (0 not accounted for)
[13:10:26] mpeg2video-decoder done: 179424 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:2643 Avg QP:16.86 size: 43091
x264 [info]: frame P:81196 Avg QP:19.81 size: 11100
x264 [info]: frame B:95584 Avg QP:22.27 size: 2142
x264 [info]: consecutive B-frames: 15.3% 34.1% 20.6% 29.9%
x264 [info]: mb I I16..4: 5.2% 73.2% 21.6%
x264 [info]: mb P I16..4: 0.7% 6.0% 1.4% P16..4: 41.1% 23.9% 16.8% 0.0% 0.0% skip:10.0%
x264 [info]: mb B I16..4: 0.0% 0.2% 0.1% B16..8: 44.4% 6.0% 1.4% direct: 2.2% skip:45.6% L0:37.8% L1:47.7% BI:14.5%
x264 [info]: 8x8 transform intra:73.5% inter:71.3%
x264 [info]: coded y,uvDC,uvAC intra: 86.1% 88.5% 65.3% inter: 26.9% 28.5% 5.3%
x264 [info]: i16 v,h,dc,p: 23% 29% 10% 39%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 19% 6% 7% 9% 7% 9% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 15% 13% 6% 9% 11% 7% 8% 5%
x264 [info]: i8c dc,h,v,p: 51% 17% 24% 9%
x264 [info]: Weighted P-Frames: Y:4.4% UV:2.4%
x264 [info]: ref P L0: 58.9% 14.5% 19.3% 7.1% 0.3%
x264 [info]: ref B L0: 81.2% 17.1% 1.7%
x264 [info]: ref B L1: 94.7% 5.3%
x264 [info]: kb/s:1304.10
[13:10:26] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:10:26] mux: track 0, 179423 frames, 1219799324 bytes, 1303.99 kbps, fifo 4096
[13:10:26] mux: track 1, 350789 frames, 149914168 bytes, 160.26 kbps, fifo 8192
[13:10:26] libhb: work result = 0
Encode done!
HandBrake has exited.

mdhankins
Posts: 7
Joined: Thu Jul 07, 2016 5:39 pm

Re: Is it possible to change default audio track after encoding

Post by mdhankins » Fri Jul 08, 2016 12:57 am

At this point it would also be very helpful to know how to choose the right audio track (standard stereo, not surround) when I'm doing the encoding. I tried doing that one one occasion and ended up with an audio track where (besides the normal audio) someone was describing what was going on, perhaps for vision impaired folks. Not exactly what I was trying to do.

kpflugshaupt
Posts: 63
Joined: Sat Feb 06, 2010 8:00 pm

Re: Is it possible to change default audio track after encoding

Post by kpflugshaupt » Fri Jul 08, 2016 6:58 am

mdhankins wrote:At this point it would also be very helpful to know how to choose the right audio track (standard stereo, not surround) when I'm doing the encoding. I tried doing that one one occasion and ended up with an audio track where (besides the normal audio) someone was describing what was going on, perhaps for vision impaired folks. Not exactly what I was trying to do.
Hello,

this can be tricky, as there is no "standard" way of tagging audio tracks. I've also been bitten by "director's commentary" tracks and the like, and I know of no fail-safe method of avoiding them
I try to select the correct audio tracks when ripping the disc in MakeMKV, as it shows them in the internal sequence of the disc with main tracks usually up front. But that's not guaranteed to work.

However, if you end up with the wrong audio, here's what you can do to avoid a full second conversion:
Do a second "dummy" conversion of the movie with all video settings at very low quality, very fast, very low resolution. Include all potentially useful audio tracks in good quality. This will finish quickly, as video encoding takes most time. You can then identify the useful audio tracks in the generated movie, and remux them with the video from the first conversion into a new container. This will again be quick, as no further conversion is involved.

For remuxing, you'll need a special tool besides HandBrake. On MacOS, Subler works well for MP4 containers, and MKVToolnix for MKVs. On Windows, I've heard good things about MP4Box and MKVToolnix, but no personal experience.

Coming back to your first question, these remuxing tools also allow you to flag a default audio track.

Cheers
Kaspar

Woodstock
Veteran User
Posts: 3216
Joined: Tue Aug 27, 2013 6:39 am

Re: Is it possible to change default audio track after encoding

Post by Woodstock » Fri Jul 08, 2016 2:16 pm

Personally, I have MakeMKV rip everything, then play the result in VLC to find out which tracks are "correct" for my usage. I use that information for setting up the handbrake encode.

My job is automating things; I've discovered that video doesn't automate very well. :roll:

mdhankins
Posts: 7
Joined: Thu Jul 07, 2016 5:39 pm

Re: Is it possible to change default audio track after encoding

Post by mdhankins » Sat Jul 09, 2016 9:51 pm

Thanks for all the suggestions. I've been getting into using MakeMKV to do my ripping lately. It for the most part has worked very well, except for ripping a Blu Ray of Revenge of the Sith. For whatever reason I'm getting lots of MEDIUM ERRORs when I rip. Kinda frustrating since it is a pristine disc that has only been played once or twice before. Not even one scratch. I've seen suggestions from some people that this is part of a copy protection scheme and that I just need to find the right track on the disc.

Anyway... thanks guys. Yeah... video definitely does not automate well.

mduell
Veteran User
Posts: 6671
Joined: Sat Apr 21, 2007 8:54 pm

Re: Is it possible to change default audio track after encoding

Post by mduell » Sat Jul 09, 2016 10:01 pm

Could be a bad Blu-ray drive.

mdhankins
Posts: 7
Joined: Thu Jul 07, 2016 5:39 pm

Re: Is it possible to change default audio track after encoding

Post by mdhankins » Sat Jul 09, 2016 10:54 pm

I considered that, but this is the only disc that I've had trouble with. Also, the blu ray drive is brand new and was the top rated model on Amazon. Maybe it needs a firmware update. I'll look into that next.

Post Reply