why no AAC passthrough ?

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
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

why no AAC passthrough ?

Post by ihandbrake »

Description of problem or question:
Hi, have been shooting videos with variety of apps on my iPhone (Filmic Pro, Movie Pro) and am able to record the audio uncompressed (mono AIFF for Filmic, stereo PCM for Movie Pro).
Now, in order to retain the original uncompressed audio while converting the H264 video recording to H265 in handbrake, I put the settings to AAC Passthru. This is no problem with a Filmic recording, but when using Movie pro, this option doesn't even show up. As options, I only get :
- AAC (coreaudio)
- HE-AAC (coreaudio)
- AC3
- E-AC3
- mp3
How come that I don't have the passthru option with PCM ? It's a stereo lpcm CBR 16bits 48 kHz recording ...

HandBrake version (e.g., 1.0.0):
1.3.2

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

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

Code: Select all

[10:10:56] macgui: ScanCore scanning titles with a duration of 10 seconds or more
[10:10:56] CPU: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
[10:10:56]  - Intel microarchitecture Haswell
[10:10:56]  - logical processor count: 8
[10:10:56] hb_scan: path=/Users/***/***/***/***.mov, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /Users/***/***/***/***.mov, title_index=0.mov
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/Users/***/***/***/***.mov, title_index=0) failed
[10:10:56] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.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
[10:10:56] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/***/***/***/***.mov, title_index=0':
  Metadata:
    major_brand     : qt  
    minor_version   : 0
    compatible_brands: qt  
    creation_time   : 2020-06-15T08:04:05.000000Z
    com.apple.quicktime.creationdate: 2020-06-15 08:32:04 CEST
  Duration: 00:38:26.90, start: 0.000000, bitrate: 32153 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 30615 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
      creation_time   : 2020-06-15T08:04:05.000000Z
      handler_name    : Core Media Video
      encoder         : H.264
    Stream #0:1(und): Audio: pcm_s16le (lpcm / 0x6D63706C), 48000 Hz, 2 channels, s16, 1536 kb/s (default)
    Metadata:
      creation_time   : 2020-06-15T08:04:05.000000Z
      handler_name    : Core Media Audio
[10:10:56] scan: decoding previews for title 1
[10:10:56] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch) (1536 kbps)
[10:10:58] scan: 10 previews, 1920x1080, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[10:10:58] libhb: scan thread found 1 valid title(s)
[10:10:58] macgui: ScanCore scan done
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: why no AAC passthrough ?

Post by Ritsuka »

There is no AAC passhtru because your source audio track is not AAC, and HandBrake doesn't support PCM passhtru.
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

Re: why no AAC passthrough ?

Post by ihandbrake »

But in that case, why does it accept passthru with AIFF, which isn't AAC neither ?
User avatar
Ritsuka
HandBrake Team
Posts: 1650
Joined: Fri Jan 12, 2007 11:29 am

Re: why no AAC passthrough ?

Post by Ritsuka »

It does what? Post the scan log of that file.
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

Re: why no AAC passthrough ?

Post by ihandbrake »

ok, will have to dig for that one, cause it was a while ago. Alternatively, will simply shoot something tomorrow and post log here.
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

Re: why no AAC passthrough ?

Post by ihandbrake »

ok so did another recording with filmic with AIFF audio settings.
My bad, indeed, handbrake doesn't allow for audio passthrough with ALAC neither...
So indeed no uncompressed audio format is handled by handbrake.
Thus I stand corrected...

This being said, why is this the case ? What's the hurdle for not being able to passtrhu uncompressed audio?
Seems like a great feature to have really...
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: why no AAC passthrough ?

Post by mduell »

Your proposed patch and ongoing support are eagerly awaited.
Deleted User 11865

Re: why no AAC passthrough ?

Post by Deleted User 11865 »

We do have a FLAC encoder.
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

Re: why no AAC passthrough ?

Post by ihandbrake »

Yea, when choosing MKV.
Ok, that helps.
Would be nice though to have lossless passthru...
ihandbrake
Posts: 20
Joined: Fri Jan 17, 2014 3:19 pm

Re: why no AAC passthrough ?

Post by ihandbrake »

One funny thing though is that I'm unable to include FLAC audio export in my video encoder settings (mkv ; H265 ; FLAC), so I have to manually set the audio export option for each individual video recording. Why is this so ?
Post Reply