The copy of faac under Ubuntu Trusty Tahr 14.04 has 2 limitations:
- It does not have mp4/m4a support
- It cannot use high bitrates
How can I rebuild faac, using correct Debian packaging techniques, to overcome these problems?
References:
The copy of faac under Ubuntu Trusty Tahr 14.04 has 2 limitations:
How can I rebuild faac, using correct Debian packaging techniques, to overcome these problems?
References:
It is possible to rebuild the Trusty faac package and solve both of these issues as follows:
Use the following steps:
First install the required build dependencies, some build tools and the new dependency of libmp4v2:
sudo apt-get build-dep faac
sudo apt-get install build-essential fakeroot devscripts libmp4v2-dev
Then make a build directory, get a patch to allow higher bitrates with faac and apply that patch:
mkdir $HOME/Desktop/faac_build && cd $HOME/Desktop/faac_build
apt-get source faac
wget http://www.andrews-corner.org/patches/A00-bitrates.patch
cd faac-1.28
patch -p1 < ../A00-bitrates.patch
Appropriately change the packaging information:
debchange -i
My own editing of this file is as follows:
faac (1.28-7) unstable; urgency=low
* Patch to allow higher bitrates
* Compile against external libmp4v2-dev
-- andrew <andrew@corinth> Sat, 27 Feb 2016 20:21:02 +1100
It is important to make the version number incrementally greater than the repository version or your next update might overwrite your new package!
Make proper documentation of the patch:
dpkg-source --commit
Add a brief description of the purpose of the patch in the dialogue box that opens with this command.
And finally rebuild and install the package:
debuild -us -uc -i -I
sudo debi
And now you have access to higher bitrates with faac and you can output to an appropriately tagged m4a/mp4 container!
References: