-
Notifications
You must be signed in to change notification settings - Fork 899
Build using FFMPEG #26
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
Comments
The current build setup in this repository uses special CentOS 5 Docker containers. Installing latest FFmpeg on them might be a bit complicated. I'm not familiar with Cloud Foundry, but I think that the easiest way for your use case is to build OpenCV manually and copy the OpenCV binary to your Trusty environment. |
@skvark I did try to build OpenCV manually, and the python bindings for it using anaconda. It failed everytime. I have a deb python-opencv which works perfectly on my local machine, but cloud foundry doesn't allow installation of deb files or anything using |
How the OpenCV was compiled? If I understand you correctly, it depends on FFmpeg, and it means that the FFmpeg binaries must be also in the Trusty machine. If they are not there/can't be installed there, you have to first copy all the precompiled binaries to the After that clean the |
There is no As far as my compilation of OpenCV is concerned, I do have FFmpeg binaries and all the dependencies installed. Just to re iterate the query I have right now, given that I have the |
Sorry, I wasn't clear enough. My previous post was a guide how to adapt the files in this repo to construct a a wheel package to be installed with pip. So, in short:
|
Gotcha. I'll try this and get back to you. |
@skvark This didn't work. My wheel contained an empty cv2 package, with an empty I solved this issue by moving to docker from cloud foundry and building everything from source. It seems to be working now. Thanks for the advice! |
Hi
I need to use cv2 for video files on my cloud foundry python app. Could you guide me on how to build this package with ffmpeg compatibility for ubuntu trusty?
Thanks
The text was updated successfully, but these errors were encountered: