Skip to content
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

vpxEncoder fails to initialize when using libvpx installed from packages #8

Open
mantiuk opened this issue Aug 15, 2019 · 3 comments
Open

Comments

@mantiuk
Copy link
Collaborator

mantiuk commented Aug 15, 2019

When vpx is installed from packages on Ubuntu 18.04:

sudo apt-get install libvpx-dev

and lumanenc is started, the following message is displayed:

lumaenc encoding error: Failed to initialize vpxEncoder

Everything works fine if compiled with the static version of vpx.

@gabrieleilertsen
Copy link
Owner

Hi. What version of vpx is provided by the Ubuntu repo?

I'm using Fedora 25 and vpx v1.6.1 which is no problems.

Is the problem related to the known issue detailed in the readme: "The library does not work with libvpx3 provided in Ubuntu 16.04. Uninstall libvpx-dev and compile with the static version of libvpx (provided in lib, and automatically used if libvpx cannot be found in the system)."

@mantiuk
Copy link
Collaborator Author

mantiuk commented Aug 20, 2019

Yes, I should have checked the README file.

Is it possible to add a CMake check whether there is a right version of VPX?

@gabrieleilertsen
Copy link
Owner

I can try to see if it's possible. But it could potentially also be not only about version, but how vpx is compiled, e.g. if it is compiled without support for high bit-depth.

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

2 participants