Comments (4)
Hello.
The problem is that Arch Linux has upgraded the opencv package to 3.x, while butterflow still depends on version 2.
What you will need to do is to remove opencv and replace it with opencv2 before building butterflow. There's a package in the AUR that you can use to install opencv2 here. Make sure to remove all packages that depend on opencv, like opencv-samples, before installing opencv2. This will save you the trouble of re-compiling the package, which takes a long time, if the install fails.
By the way, the version of butterlow in the AUR is broken. I recommend building the master
version from source because it's the only version that I can confirm that works on Arch at this time:
from sminterpolate.
Hi, sorry for the late reply, I didn't know you answered so quickly. I've done what you mentioned, and I got the program built and compiled outside the virtual environment.
One thing though, I'm trying to re-encode this short (30 second) video at 2x the playback rate, but so far it's still been encoding. I get the message, "[butterflow.WARNING]: not using opencl, ctrl+c to quit
". Doing "butterflow -d" does list my device, and I haven't forced it to use software rendering. I assume that's why there's little to no progress even though it's maxing out two cores. Is there any way I can force it to use opencl? I do have python(2)-pyopencl and opencl-mesa (I'm using an AMD card).
Thanks again.
from sminterpolate.
Yeah, it's not using OpenCL. Maybe it auto-picked your CPU instead of your GPU? Try running export OPENCV_OPENCL_DEVICE=:GPU; butterlow -r2x <your video>
.
If that doesn't work, take a look at the Arch Wiki page on GPGPUs for tips on how to get a functional OpenCL environment working on your machine. It says that opencl-mesa is under development so that may be your problem. There's amdapp-sdk that you can try installing, it's better supported but it's proprietary/closed source if that concerns you.
from sminterpolate.
Unfortunately, the same error persists. I've tried the amdapp-sdk package from the AUR, but it requires opencv3 to compile, which I think you mentioned doesn't work for this program.
Anyway, the initial issue was fixed, so I guess I'll close this and maybe ask if I can try again. If there's anymore information you need, I can provide it. Thanks very much for your time!
from sminterpolate.
Related Issues (20)
- "Download Failed
- awesome job with the software, but is there a way of making the app use more than 4%-5% of the available GPU memory?. HOT 1
- Build errors on Manjaro Linux HOT 4
- Unable to build the program on Windows 10 x64 HOT 3
- I'm new to all of this kind of stuff (python and such) and I have no clue how to set this up HOT 1
- High Framerate Playback HOT 1
- Interpolate a video with variable frame drops? HOT 6
- No Updates in the Console HOT 1
- OpenCV Error: Gpu API call HOT 3
- ffmpeg using only one core for processing
- opencv vs opencv2 HOT 1
- Appimage Release?
- Error run ButterFlow
- 404 for https://archive.org/download/brewsci/bottles-science/butterflow-0.2.3_1.sierra.bottle.tar.gz homebrew fails
- support android?
- Error: homebrew/science was deprecated HOT 1
- Error when running python setup.py develop
- opencv@2 has been disabled because it is not supported upstream!
- No longer builds on new versions of ffmpeg: 'AVStream' has no member 'codec'
- New output formats?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sminterpolate.