# Not correctly identifying non ac3 audio in profile parameters

**URL:** https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92
**Category:** Bugs
**Created:** [June 12, 2017, 11:30pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92 "2017-06-12T23:30:31Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 12, 2017, 11:30pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/1 "2017-06-12T23:30:31Z")

</div>

Try as I may, I simply am not finding any instance where the parameters specified in “handbrake-audio=” are being referenced during the encoding process. For example, I am attempting to encode a large number of .MKV files to a MP4 container and would like to copy the single AAC 2-channel audio tracks without re-encoding. In every instance, regardless of my “handbrake-audio=” parameters, the conversion jobs reference the audioac3 parameters in any and all of the profiles I have created and utilized. Here are a couple example syntaxes I have used to no avail:

handbrake-audio=-E copy -R auto -B 0 -D 0 --audio-copy-mask aac,mp3 --audio-fallback faac (or fdk\_aac)  
handbrake-audio=-a 1 -E copy -R auto -B 0 -D 0  
handbrake-audio=-E copy -R auto -B 0 -D 0 -a 1  
handbrake-audio=-a 1 -E copy:aac -R auto -B 0 -D 0  
handbrake-audio=-E copy:aac -R auto -B 0 -D 0 -a 1

I’m at a loss at this point and would really like to avoid having to re-encode the aac audio stream. Any help would be GREATLY appreciated.

---

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 13, 2017, 12:07am UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/2 "2017-06-13T00:07:16Z")

</div>

Let me add that if I comment out the “handbrake-audioac3=” line, the conversion utilizes the “handbrake-audio=” parameters flawlessly. Not working solution however as that profile is processing both single audio 2-channel videos as well as multiple audio channel videos with varying audio codecs (I love handbrake’s audio copy masks and fallback feature). As a point of reference here is a copy of one of my profiles:

…  
order=handbrake  
handbrake-general=–decomb=“fast” --loose-anamorphic --modulus 2 --markers -f mp4 -O --vfr --verbose=1  
handbrake-video=-e x264 -q 14 -x me=umh:level=4.0:mixed-refs=0:vbv-bufsize=5000:vbv-maxrate=2500:rc-lookahead=10:ref=1:bframes=2:subme=2:8x8dct=0:cabac=0:trellis=0:deblock=-1,-1:threads=auto  
handbrake-audio=-E copy -R auto -B 0 -D 0 -a 1  
handbrake-audioac3=-a 1,1 -E fdk\_aac,copy -6 stereo,none -R Auto,Auto -B 128,0 --aname=“Stereo”,“Surround” --audio-copy-mask aac,ac3,mp3 --audio-fallback ffac3  
handbrake-ext=.mp4  
handbrake-audiodelay=skip  
PreConversionCommercialRemover=true

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [June 13, 2017, 12:35pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/3 "2017-06-13T12:35:02Z")

</div>

> [@RePetE815](#):
>
> Let me add that if I comment out the “handbrake-audioac3=” line, the conversion utilizes the “handbrake-audio=” parameters flawlessly

`<encoder>-audio` is used when the source file has non AC3 audio and `<encoder-audioac3>` is used when the source file has ac3 audio.

I’m assuming in your case your source has ac3 audio. Usually unless you want different handling for them you set them to both to the same parameters.

See [profile basics](https://discussion.mcebuddy2x.com/t/27) for details:

> [@MCEBuddy - Understanding Profiles Basics](https://discussion.mcebuddy2x.com/t/mcebuddy-understanding-profiles-basics/27):
>
> MCEBuddy [Profiles Basics](https://discussion.mcebuddy2x.com/t/27) Stock MCEBuddy profiles are in the profiles.conf file located in the config directory where MCEBuddy is installed. One can create new profiles or customize existing ones. It’s highly recommended to create your own custom profiles.conf file in a directory outside of MCEBuddy’s installation folder (e.g. C:\MCECustomProfile) and configure MCEBuddy to use that custom profiles.conf from Settings → Expert Settings → Profiles.conf → Click on … → select your custom profiles.…

---

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 13, 2017, 5:29pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/4 "2017-06-13T17:29:21Z")

</div>

The source audio is AAC 2 channel. Here is the mediainfo output on a video that is consistant with the others that are not referencing handbrake-audio= perameters. All of these videos have a single AAC 2.0 audio stream:

Video  
ID : 1  
Format : AVC  
Format/Info : Advanced Video Codec  
Format profile : Main@L4  
Format settings, CABAC : Yes  
Format settings, ReFrames : 1 frame  
Format settings, GOP : M=1, N=48  
Codec ID : V\_MPEG4/ISO/AVC  
Duration : 43 min 19 s  
Bit rate : 4 096 kb/s  
Width : 1 920 pixels  
Height : 1 080 pixels  
Display aspect ratio : 16:9  
Frame rate mode : Variable  
Frame rate : 23.976 FPS  
Color space : YUV  
Chroma subsampling : 4:2:0  
Bit depth : 8 bits  
Scan type : Progressive  
Bits/(Pixel\*Frame) : 0.082  
Stream size : 1.24 GiB (98%)  
Writing library : x264 core 120  
Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=6 / psy=1 / psy\_rd=1.00:0.00 / mixed\_ref=0 / me\_range=16 / chroma\_me=0 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast\_pskip=1 / chroma\_qp\_offset=-2 / threads=8 / sliced\_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray\_compat=0 / constrained\_intra=0 / bframes=0 / weightp=2 / keyint=48 / keyint\_min=25 / scenecut=0 / intra\_refresh=0 / rc=abr / mbtree=0 / bitrate=4096 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / ip\_ratio=1.40 / aq=1:1.00  
Default : Yes  
Forced : No

Audio  
ID : 2  
Format : AAC  
Format/Info : Advanced Audio Codec  
Format profile : LC  
Codec ID : A\_AAC  
Duration : 43 min 19 s  
Bit rate : 96.0 kb/s  
Channel(s) : 2 channels  
Channel positions : Front: L R  
Sampling rate : 44.1 kHz  
Frame rate : 43.066 FPS (1024 spf)  
Compression mode : Lossy  
Stream size : 29.7 MiB (2%)  
Default : Yes  
Forced : No

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [June 13, 2017, 5:30pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/5 "2017-06-13T17:30:19Z")

</div>

Please attach or PM (private message, click on my name and click on message) me your conversion log.

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [June 14, 2017, 2:21pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/6 "2017-06-14T14:21:36Z")

</div>

So here’s the issue, you’re using a custom profile but it isn’t being registered with MCEBuddy

> → Profile being used : TV MP4 Video - High Quality (VBR 3K).  
> Profile entries →

Profiles.conf is returning blank when MCEBuddy tries to read it. There could 2 reasons for this:

1. Profile doesn’t exist (check the name, it has to be an exact match
2. Simplify the name, remove special characters, dots etc from the profile name, save `profiles.conf`, REOPEN the conversion task settings, select the “new” corrected name profile again and click Ok and Ok again.

---

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 15, 2017, 12:35pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/7 "2017-06-15T12:35:20Z")

</div>

To simply things and hopefully expedite a solution I opted to do a fresh install of MCEBuddy thereby starting from scratch with a fresh mcebuddy.conf and profiles.conf.

I utilized the default profile “MP4 Normal” without any changes to its perameters. Once again, the task is referencing “handbrake-audioac3=”. I have attached the log file and profiles.conf for your reference. [profiles.conf](https://mcebuddy-discussion-forum.s3.amazonaws.com/original/1X/ec676e7d88755ca22127b800cfc0b366392f6458.conf) (96.7 KB)  
[Dark Matter - S03E02 - It Doesn’t Have to Be Like This.mkv-TV MP4 VBR 3K-2017-06-15T05-22-23.0811059-07-00.log](https://mcebuddy-discussion-forum.s3.amazonaws.com/original/1X/d16a2770629f4c44db92bfd84c5b8980b6abc6fb.log) (1.4 MB)

---

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 15, 2017, 1:20pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/8 "2017-06-15T13:20:30Z")

</div>

Attached log of another test conversion with[Wahlburgers - S03E03 - Should I Stay Orr Should I Go.mkv-TV MP4 VBR 3K-2017-06-15T06-10-21.6962883-07-00.log](https://mcebuddy-discussion-forum.s3.amazonaws.com/original/1X/26774b4db7ff6dfd2fc329e439ab6cc41744d41c.log) (1.1 MB)  
different .mkv source with single AAC 2.0 audio stream. Same results as it continues to reference audioac3 profile parameters 😞

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [June 15, 2017, 3:45pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/9 "2017-06-15T15:45:05Z")

</div>

> [@RePetE815](#):
>
> Once again, the task is referencing “handbrake-audioac3=”

You’re correct, I’m going to move this to the Bug thread and we’ll investigate / fix it.

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [June 15, 2017, 4:06pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/10 "2017-06-15T16:06:52Z")

</div>

Fixed in today’s 2.4.7 BETA build. Try it out and let us know if there are any problems.

Great catch, seeing a real bug after a long time.

---

<div class="post-metadata">

### Author: ![RePetE815](https://discussion.mcebuddy2x.com/user_avatar/discussion.mcebuddy2x.com/repete815/32/1005_2.png) [@RePetE815](https://discussion.mcebuddy2x.com/u/RePetE815)
#### Post date: [June 16, 2017, 10:59pm UTC](https://discussion.mcebuddy2x.com/t/not-correctly-identifying-non-ac3-audio-in-profile-parameters/92/11 "2017-06-16T22:59:23Z")

</div>

Working like a champ now. Thank you very much.
