Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 14, 2018
Aug 16, 2018
src
Nov 15, 2019
Aug 16, 2018
Jan 22, 2019

AudioToolboxWrapper

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.

File description

  • bin/atw_ldwrapper
    replaces linker parameters so we don't need to modify FFmpeg source
  • include
    header files from nu774/qaac, with some minor changes. Not guranteed to work with other programs.

Files in bin and src are licensed under WTFPL.

Example

# in MSYS2 MinGW shell
cd path/to/this/repo
mkdir build
cd build
prefix="$PWD/install-prefix"
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$prefix" ..
make install

# test if we can use the wrapper library, it should not crash
./testapp

mkdir ffmpeg
cd ffmpeg
export CFLAGS="-I${prefix}/include" LDFLAGS="-L${prefix}/lib"
path/to/ffmpeg/source/tree/configure  --enable-audiotoolbox
make LD="${prefix}/bin/atw_ldwrapper"

# test if ffmpeg can use it
./ffmpeg -f lavfi -i sine=1000 -c aac_at -f mp4 -y NUL

About

enables FFmpeg to use AudioToolbox codecs on Windows

Resources

Releases

No releases published

Packages

No packages published