Skip to content

Add --enable-audiotoolbox for non OS x builds #760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tjayz opened this issue Feb 25, 2025 · 0 comments
Closed

Add --enable-audiotoolbox for non OS x builds #760

tjayz opened this issue Feb 25, 2025 · 0 comments

Comments

@tjayz
Copy link

tjayz commented Feb 25, 2025

build-AudioToolboxWrapper() {
  do_git_checkout https://github.com/cynagenautes/AudioToolboxWrapper.git AudioToolboxWrapper_git
  mkdir AudioToolboxWrapper_git/build
  cd AudioToolboxWrapper_git/build
	do_cmake_from_build_dir "-DCMAKE_INSTALL_PREFIX=$mingw_w64_x86_64_prefix" ..
	do_make_and_make_install
	# This wrapper library enables FFmpeg to use AudioToolbox codecs on Windows, with DLLs shipped with iTunes.
	# i.e. You need to install iTunes, or be able to LoadLibrary("CoreAudioToolbox.dll"), for this to work.
	# test ffmpeg build can use it [./ffmpeg -f lavfi -i sine=1000 -c aac_at -f mp4 -y NUL]
  cd ../..
}
  if [[ "$non_free" = "y" ]]; then
      config_options+=" --enable-nonfree --enable-libfdk-aac" 
	  config_options+=" --enable-audiotoolbox --disable-outdev=audiotoolbox --extra-libs=-lAudioToolboxWrapper" && apply_patch file://$patch_dir/AudioToolBox.patch -p1

AudioToolBox.patch works for release/7.1 untested elsewhere easy to change though.

        build_fdk-aac # Uses dlfcn.
	build-AudioToolboxWrapper # This wrapper library enables FFmpeg to use AudioToolbox codecs on Windows, with DLLs shipped with iTunes.
tjayz added a commit to tjayz/ffmpeg-windows-build-helpers that referenced this issue Feb 27, 2025
Updated to latest Zeranoe script
Updated to latest gcc/binutils/mingw versions rdp#752
Updated most libs
Added vvenc/vvdec rdp#751 for release/7.1
Added libvpl and removed libmfx rdp#743 rdp#729
Added AudiotoolboxWrapper to enable-audiotoolbox for non OS x rdp#760 
Added Openmpt and Flac
Added work around for Tensorflow gpu/cpu lib for windows (requires .dll)
Added Vulkan commit 02ca346
Added commits to simplify if statements a92e458 9b067d5 and svtav1 patch f131dc0
Added essential patches
Added optional build.sh to bypass user selection prompts
tjayz added a commit to tjayz/ffmpeg-windows-build-helpers that referenced this issue Mar 11, 2025
Updated to latest Zeranoe script https://github.com/Zeranoe/mingw-w64-build
Updated to latest gcc/binutils/mingw versions rdp#752
Updated most libs
Added vvenc/vvdec rdp#751 for release/7.1+
Added libvpl  rdp#743 rdp#729
Added AudiotoolboxWrapper to enable-audiotoolbox for non OS x rdp#760 
Added Openmpt Flac brotli zstd lz4 giflib archive psl nghttp2 curl
Added work around for Tensorflow gpu/cpu lib for windows (requires tensorflow.dll)
Added essential patches (credit to mabs for many)
Added optional build.sh to bypass user selection prompts
@tjayz tjayz closed this as completed Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant