-
Notifications
You must be signed in to change notification settings - Fork 25
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
Libopus does not build #8
Comments
Hey arnaudleyder, Thanks |
Hi Ajith, I was never able to build libopus into ffmpeg with emscripten. After __malloc_hook errors I had other errors to fix. Libopus was not a requirement for my project so I just moved along ... To fix __malloc_hook I just followed the errors at compilation time and fixed them in the source code (I commented some code or replaced unsupported functions for my linux dist). Maybe later I will look at it again. If I found something I will fork. |
Hi Arnaud, check_pkg_config opus opus_multistream.h opus_multistream_decoder_create I checked and found all the opus related files were correctly getting generated but ffmpeg was not able to find them.There was this line in 'configure' of ffmpeg which said: enabled libopus && require_pkg_config opus opus_multistream.h opus_multistream_decoder_create Since anyway all the files are correctly getting generated, so commented that check and ran the ./configure --enable-libopus. This went fine. But I think my ffmpeg.js file which got generated did not contain anything related to libopus. I am still trying hard to find a way. Sorry for the detailed explanation. I just wanted you to know what I did and point out if there are any errors. Thanks |
Hi,
Your work on building external libs onto ffmpeg with emscripten is great.
I am wondering if you tried and had success with libopus (1.1 for my case)? I am on Ubuntu 14.04 64bits (I also tried on a debian 7 machine but I have the same below error).
I can build libopus with emscripten fine (I had to fix some __malloc_hook errors first).
But when I try to build ffmpeg linking to libopus with your build script (or others for that matter) it fails.
ffmpeg config.log says:
libopus.a: error adding symbols: Archive has no index; run ranlib to add one
collect2: error: ld returned 1 exit status
ERROR: opus not found
Now I am not sure what it means exactly (running ranlib on libopus.a does not change a thing).
Have you tried building libopus with your script? Can you suggest any direction for what could be causing the above issue?
Thanks
Arnaud
The text was updated successfully, but these errors were encountered: