-
Notifications
You must be signed in to change notification settings - Fork 751
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
Can't manage to add libfdk_aac to ffmpeg presets #211
Comments
Quick update: we finally managed to make it work (at least on MacosX) with the above config - still having some troubles recompiling the whole project for linux. Will post the full solution and walkthrough once it works on linux. |
Please use Docker for Linux builds: |
Thanks in advance for the contribution! |
No worries :) However in the FFmpegFrameGrabber class in Javacv, we were missing a method to "force" an audio codec when decoding the media. We can close this issue, but that could be interesting to commit this method (and the related amends) to the javacv project. |
Yes of course it would be good to add the modifications. Please send pull requests when you're done with them! Thanks |
Hello,
We're trying to recompile ffmpeg project with the
--enable-libfdk-aac
, the build works, but we can't use libfdk_aac to decode an audio_stream.We are calling :
avcodec_find_decoder_by_name("libfdk_aac")
and getting the following result:Exception: avcodec_find_decoder() error: Unsupported audio format or codec not found: 86018.
We've modified the ccpbuild.sh in the ffmpeg directory in the following way:
1- Added the instruction
--enable-libfdk-aac
in the ENABLE variable2- Getting the dependency :
download https://github.com/mstorsjo/fdk-aac/tarball/master fdk-aac.tar.gz
3- Unpacking it:
tar -xzvf ../fdk-aac.tar.gz
4- Installing it:
The process seems to be ok, and I can compile the project properly with maven, but then it does not work when I'm calling the codec "libfdk_aac".
I was wondering if I'm doing something wrong, or is there any other place where I need to register this codec ? (especially since this is an external library)
Many Thanks
The text was updated successfully, but these errors were encountered: