enzo1982 / freac

The fre:ac audio converter project
https://www.freac.org/
GNU General Public License v2.0
1.42k stars 74 forks source link

Core Audio AAC/ALAC Encoder not showing up under Linux (Ubuntu) #642

Open mven opened 1 week ago

mven commented 1 week ago

Describe the bug Core Audio AAC/ALAC Encoder option does not show up in the Selected encoder list.

To Reproduce

Expected behavior Core Audio AAC/ALAC Encoder option should show up in the Selected encoder list.

Screenshots

Ubuntu 24.04

2024-10-22-162108_hyprshot

Ubuntu 20.04

2024-10-22-161951_hyprshot

System (please complete the following information)

Additional context

Initially, I was trying to get freac AppImage to show the QAAC encoder (which has its own issue by not showing up, which I've resolved on my end*). Then, I discovered that it's possible to use Core Audio directly. Following the directions in the aforementioned post, I'm still unable to see Core Audio AAC/ALAC Encoder option under Ubuntu using the AppImage. I've also spun up an Ubuntu 20.04 VM and using the same process and same result.

* Note about QAAC encoder:

I successfully got QAAC working on a freac AppImage under Ubuntu 24.04, but it required an extra step, which was to copy boca_encoder_qaac.1.0.xml into the boca folder of the squashfs-root. Copied over the codecs as well, then repacked into an AppImage and QAAC shows up. Not sure why QAAC boca file wasn't present in the AppImage, but my best guess is that it lives in win32 folder in the boca repo so maybe it's intended only to be shipped in the windows install. I think it should be available in the AppImage as well to eliminate that extra step, but that can be logged later.

mven commented 1 week ago

It's also worth mentioning that I've installed freac Windows version (wine freac-1.1.7-windows-x64.exe) on the same Ubuntu VM and when running wine freac.exe in its respective folder in the wine prefix, I see the Core Audio AAC/ALAC Encoder option in the Selected encoder list:

Ubuntu 24.04 (wine freac.exe in ~/.wine/drive_c/Program Files/freac)

2024-10-22-164818_hyprshot