Audio tracks aren't preserved after transcoding

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
ivano_d
Posts: 3
Joined: Sun Nov 15, 2009 11:00 pm

Audio tracks aren't preserved after transcoding

Post by ivano_d »

Description of problem or question:

Hi, I've got a series of clips which are recorded with 4 audio tracks each. I've looked up documentation/ tutorials which all seem to point to "Audio passthru" in the Selection Behaviour of the Audio tab, but even when the exported clip has 4 tracks it only shows 2 identical of the same one and another 2 of another one, not the original 4.


Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):




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

MacBook Pro, 2021 - Sonoma 14.3


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

Code: Select all

[17:00:33] macgui: Handbrake Version: 1.6.1 (2023012200)
[17:00:33] Compile-time hardening features are enabled
[17:00:33] hb_init: starting libhb thread
[17:00:49] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[17:00:49] CPU: 
[17:00:49]  - logical processor count: 10
[17:00:49] hb_scan: path=/Volumes/[REMOVED].MXF, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/[REMOVED].MXF
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[17:00:49] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[17:00:49] dvd: not a dvd - trying as a stream/file instead
Input #0, mxf, from '/Volumes/[REMOVED].MXF':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : 00c96b67-0306-4901-802e-c63912000024
    generation_uid  : 00c96b67-0306-4903-802e-c63912000024
    company_name    : CANON
    product_name    : EOS C500 Mark II
    product_version : 1.00
    product_uid     : 060e2b34-0401-010d-0e15-0056454f0600
    modification_date: 2024-02-27T14:19:23.000000Z
    material_package_umid: 0x060A2B340101010501010D43130000008A26C095670306800000853912000024
    timecode        : 13:55:38:03
  Duration: 00:04:21.28, start: 0.000000, bitrate: 146666 kb/s
  Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709/unknown/unknown, progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
[17:00:49] scan: decoding previews for title 1
[17:00:49] scan: audio 0x1: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:00:49] scan: audio 0x2: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:00:49] scan: audio 0x3: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:00:49] scan: audio 0x4: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:00:50] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:00:50] libhb: scan thread found 1 valid title(s)
[17:00:50] macgui: ScanCore scan done
[17:04:55] Compile-time hardening features are enabled
[17:04:55] hb_init: starting libhb thread
[17:04:55] macgui: fr.handbrake.HandBrakeXPCService scanning specifically for title: 1
[17:04:55] CPU: 
[17:04:55]  - logical processor count: 10
[17:04:55] hb_scan: path=/Volumes/[REMOVED].MXF, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:333: failed opening UDF image /Volumes/[REMOVED].MXF
disc.c:437: error opening file BDMV/index.bdmv
disc.c:437: error opening file BDMV/BACKUP/index.bdmv
[17:04:55] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[17:04:55] dvd: not a dvd - trying as a stream/file instead
Input #0, mxf, from '/Volumes/[REMOVED].MXF':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    uid             : 00c96b67-0306-4901-802e-c63912000024
    generation_uid  : 00c96b67-0306-4903-802e-c63912000024
    company_name    : CANON
    product_name    : EOS C500 Mark II
    product_version : 1.00
    product_uid     : 060e2b34-0401-010d-0e15-0056454f0600
    modification_date: 2024-02-27T14:19:23.000000Z
    material_package_umid: 0x060A2B340101010501010D43130000008A26C095670306800000853912000024
    timecode        : 13:55:38:03
  Duration: 00:04:21.28, start: 0.000000, bitrate: 146666 kb/s
  Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709/unknown/unknown, progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
  Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D43130000008A26C094670306800000853912000024
[17:04:55] scan: decoding previews for title 1
[17:04:56] scan: audio 0x1: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:04:56] scan: audio 0x2: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:04:56] scan: audio 0x3: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:04:56] scan: audio 0x4: pcm_s24le, rate=48000Hz, bitrate=1152000 Unknown (pcm_s24le) (1.0 ch) (1152 kbps)
[17:04:56] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[17:04:56] libhb: scan thread found 1 valid title(s)
[17:04:56] macgui: fr.handbrake.HandBrakeXPCService scan done
[17:04:56] macgui: fr.handbrake.HandBrakeXPCService started encoding [REMOVED].mp4
[17:04:56] macgui: fr.handbrake.HandBrakeXPCService with preset Super HQ 1080p30 Surround (Modified)
[17:04:56] Starting work at: Tue Mar  5 17:04:56 2024

[17:04:56] 1 job(s) to process
[17:04:56] Starting Task: Encoding Pass
[17:04:56] Skipping vfr filter
[17:04:56] Skipping crop/scale filter
[17:04:56] work: only 1 chapter, disabling chapter markers
[17:04:56] job configuration:
[17:04:56]  * source
[17:04:56]    + /Volumes/[REMOVED].MXF
[17:04:56]    + title 1, chapter(s) 1 to 1
[17:04:56]    + container: mxf
[17:04:56]    + data rate: 146666 kbps
[17:04:56]  * destination
[17:04:56]    + /Volumes/[REMOVED].mp4
[17:04:56]    + container: MPEG-4 (libavformat)
[17:04:56]      + align initial A/V stream timestamps
[17:04:56]  * video track
[17:04:56]    + decoder: h264 10-bit (yuv422p10le)
[17:04:56]    + filters
[17:04:56]      + 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)
[17:04:56]      + Decomb (mode=39)
[17:04:56]      + Format (format=yuv420p)
[17:04:56]    + Output geometry
[17:04:56]      + storage dimensions: 1920 x 1080
[17:04:56]      + pixel aspect ratio: 1 : 1
[17:04:56]      + display dimensions: 1920 x 1080
[17:04:56]    + encoder: H.264 (libx264)
[17:04:56]      + preset:  veryslow
[17:04:56]      + options: ref=5:bframes=5
[17:04:56]      + profile: high
[17:04:56]      + level:   4.0
[17:04:56]      + quality: 18.00 (RF)
[17:04:56]      + color profile: 1-1-1
[17:04:56]      + chroma location: left
[17:04:56]  * audio track 1
[17:04:56]    + decoder: Unknown (pcm_s24le) (1.0 ch) (1152 kbps) (track 1, id 0x1)
[17:04:56]      + bitrate: 1152 kbps, samplerate: 48000 Hz
[17:04:56]    + mixdown: Mono
[17:04:56]    + encoder: AAC (Apple AudioToolbox)
[17:04:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:04:56]  * audio track 2
[17:04:56]    + decoder: Unknown (pcm_s24le) (1.0 ch) (1152 kbps) (track 2, id 0x2)
[17:04:56]      + bitrate: 1152 kbps, samplerate: 48000 Hz
[17:04:56]    + mixdown: Mono
[17:04:56]    + encoder: AAC (Apple AudioToolbox)
[17:04:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:04:56]  * audio track 3
[17:04:56]    + decoder: Unknown (pcm_s24le) (1.0 ch) (1152 kbps) (track 3, id 0x3)
[17:04:56]      + bitrate: 1152 kbps, samplerate: 48000 Hz
[17:04:56]    + mixdown: Mono
[17:04:56]    + encoder: AAC (Apple AudioToolbox)
[17:04:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:04:56]  * audio track 4
[17:04:56]    + decoder: Unknown (pcm_s24le) (1.0 ch) (1152 kbps) (track 4, id 0x4)
[17:04:56]      + bitrate: 1152 kbps, samplerate: 48000 Hz
[17:04:56]    + mixdown: Mono
[17:04:56]    + encoder: AAC (Apple AudioToolbox)
[17:04:56]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:04:56] sync: expecting 6532 video frames
[17:04:57] encx264: encoding at constant RF 18.000000
[17:04:57] encx264: unparsed options: ref=4:bframes=5:level=4.0:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: ARMv8 NEON
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[17:04:57] sync: first pts video is 0
[17:04:57] sync: "Chapter 1" (1) at frame 1 time 0
[17:04:57] sync: first pts audio 0x1 is 0
[17:04:57] sync: first pts audio 0x2 is 0
[17:04:57] sync: first pts audio 0x3 is 0
[17:04:57] sync: first pts audio 0x4 is 0
[17:08:03] reader: done. 1 scr changes
[17:08:06] work: average encoding speed for job is 34.881775 fps
[17:08:06] comb detect: heavy 2 | light 16 | uncombed 6514 | total 6532
[17:08:06] decomb: deinterlaced 2 | blended 16 | unfiltered 6514 | total 6532
[17:08:06] pcm_s24le-decoder done: 6532 frames, 0 decoder errors
[17:08:06] pcm_s24le-decoder done: 6532 frames, 0 decoder errors
[17:08:06] pcm_s24le-decoder done: 6532 frames, 0 decoder errors
[17:08:06] pcm_s24le-decoder done: 6532 frames, 0 decoder errors
[17:08:06] h264-decoder done: 6532 frames, 0 decoder errors
[17:08:06] sync: got 6532 frames, 6532 expected
[17:08:06] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:27    Avg QP:12.56  size:124074
x264 [info]: frame P:1290  Avg QP:17.04  size: 31420
x264 [info]: frame B:5215  Avg QP:19.72  size:  5991
x264 [info]: consecutive B-frames:  0.6%  1.2%  4.4% 11.6% 26.3% 55.8%
x264 [info]: mb I  I16..4: 28.2% 63.0%  8.9%
x264 [info]: mb P  I16..4:  0.8%  3.5%  0.3%  P16..4: 40.2%  9.5% 12.3%  0.2%  0.1%    skip:33.1%
x264 [info]: mb B  I16..4:  0.0%  0.1%  0.0%  B16..8: 34.1%  2.6%  0.4%  direct: 0.8%  skip:61.9%  L0:47.4% L1:47.5% BI: 5.1%
x264 [info]: 8x8 transform intra:70.8% inter:65.9%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 70.1% 40.9% 20.4% inter: 4.7% 0.8% 0.0%
x264 [info]: i16 v,h,dc,p: 37% 14%  7% 42%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14%  7% 13%  8% 11% 11% 12% 11% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12%  6%  7%  8% 16% 15% 15% 11% 11%
x264 [info]: i8c dc,h,v,p: 22% 44% 22% 13%
x264 [info]: Weighted P-Frames: Y:1.3% UV:0.1%
x264 [info]: ref P L0: 51.2%  8.4% 22.2% 17.9%  0.3%
x264 [info]: ref B L0: 73.2% 21.0%  5.8%
x264 [info]: ref B L1: 87.1% 12.9%
x264 [info]: kb/s:2300.18
[17:08:06] mux: track 0, 6532 frames, 75122644 bytes, 2299.79 kbps, fifo 1024
[17:08:06] mux: track 1, 12250 frames, 5993284 bytes, 183.48 kbps, fifo 2048
[17:08:06] mux: track 2, 12250 frames, 5882810 bytes, 180.10 kbps, fifo 2048
[17:08:06] mux: track 3, 12250 frames, 5991305 bytes, 183.42 kbps, fifo 2048
[17:08:06] mux: track 4, 12250 frames, 5938902 bytes, 181.81 kbps, fifo 2048
[17:08:06] Finished work at: Tue Mar  5 17:08:06 2024

[17:08:06] libhb: work result = 0
[17:08:06] macgui: Send file to: app not found
[17:08:06] macgui: Queue Done, there are no more pending encodes
[17:08:06] macgui: fr.handbrake.HandBrakeXPCService work done

Last edited by s55 on Thu Mar 07, 2024 11:05 am, edited 1 time in total.
Reason: Removed Potential Personal Information.
OookLout
New User
Posts: 1
Joined: Thu Mar 07, 2024 8:13 am

Re: Audio tracks aren't preserved after transcoding

Post by OookLout »

Hi Ivano
You might want to check your log as it maybe contains personal identification details (maybe in the filename?)
User avatar
s55
HandBrake Team
Posts: 10360
Joined: Sun Dec 24, 2006 1:05 pm

Re: Audio tracks aren't preserved after transcoding

Post by s55 »

Moderator Note: Names removed from log file.
Post Reply