Using CoreAudio AAC encoder w/o installing iTunes?

Ingvar1892

New Member
I am trying to use Apple's CoreAudio AAC encoder to achieve better sound quality. Previously I can just extract AppleApplicationSupport.msi from the iTunes installer and install that to get the codec installed. Right now, the codec is part of itunes.msi

As I don't own any Apple product, I don't want to install the entire iTunes app just to use its AAC encoder.

The developer of qaac has made a script to extract all the essential files to use the encoder. See makeportable2.zip on https://sites.google.com/site/qaacpage/cabinet

Is it possible to make OBS studio register these files and bypass the iTunes installation?
 

Ingvar1892

New Member
k well I solved my own problem by checking out OBS studio's source code.

Basically from https://github.com/obsproject/obs-s...gins/coreaudio-encoder/windows-imports.h#L389
we know that OBS studio looks for CoreAudioToolbox.dll in %ProgramFiles%\iTunes

All we need to do is
download itunes installer from https://www.apple.com/itunes/download/win64 and download makeportable2.zip from https://sites.google.com/site/qaacpage/cabinet

extract makeportable2.cmd from makeportable2.zip

put iTunes64Setup.exe and makeportable2.cmd in the same folder and run makeportable2.cmd

rename the QTfiles64 folder to iTunes and move it to %ProgramFiles%

obs should be able to load the encoder library now. open obs current log and look for
[CoreAudio encoder]: Adding CoreAudio AAC encoder
 

Jobima

New Member
1st the link of makeportable2 not working, here is the working one https://sites.google.com/site/qaacpage/

and instead of do "rename the QTfiles64 folder to iTunes and move it to %ProgramFiles%" you can take those (if you sort QTfiles64 folder by date modified there are 8 files with a new date that are different from the others)
* ASL.dll * CoreAudioToolbox.dll * CoreFoundation.dll * icudt62.dll * libdispatch.dll * libicuin.dll * libicuuc.dll * objc.dll

files to C:\Program Files\obs-studio\bin\64bit (where obs64.exe), this will be useful with obs portable

source: https://vip-jikkyo.net/obs-bad-sound-quality ("iTunesを入れたくない場合は?" part, Specifically "参考【OBS】Open Broadcaster Software Part.9(外部サイト)" link) and https://clio9330.livedoor.blog/archives/52190024.html (both japanese and I did use google translate with them)
 
Last edited:
Top