Comments (8)
I started getting this too on ArchLinux. It's caused by OpenCV 3.4.1. This release apparently started using C++ namespaces, which cause ffmpeg's configure script to fail the build. ffmpeg is happy again after downgrading to OpenCV 3.4.0.
Described in more depth at opencv/opencv#10963 . This is going to affect a lot of projects that depend on ffmpeg and opencv.
from transform360.
I got it to compile locally installing opencv 2:
git clone --branch 2.4 https://github.com/opencv/opencv.git
mkdir opencv/build && cd opencv/build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make
sudo make install
Then you have to clean/rebuild Transform360 in order to pick up this opencv version before building ffmpeg.
from transform360.
it works with opencv 3.4.2, install locally then set PKG_CONFIG_PATH to your local opencv installation.
for example in my case: export PKG_CONFIG_PATH=/home/andrea/opencv3.4.2/lib/pkgconfig:$PKG_CONFIG_PATH
from transform360.
Sounds like you have problem with opencv installation, not transform360.
Can you confirm that opencv works in your environment? If not you can probably find help here: https://opencv.org/
from transform360.
Incomplete attempt to get the OpenCV filter building as a C++ module here: https://github.com/sjuxax/FFmpeg/tree/cpp_opencv . Note that in the issue referenced above, OpenCV contributors indicate that even if one can successfully build against OpenCV as C (as one can in versions 3.4.0 or earlier), there will probably be substantial issues with such builds.
from transform360.
I raised this issue on the ffmpeg-devel mailing list this morning (see http://ffmpeg.org/pipermail/ffmpeg-devel/2018-March/226872.html ). Though it's not settled yet, the consensus seems to be leaning toward dropping support for the OpenCV filter altogether.
I haven't looked into the code to see how heavily Transform360 leans on ffmpeg's OpenCV filter, but it seems like that may be a dependency that will need to be dropped soon, if possible.
from transform360.
I ended up solving this dependency by running this shell script: https://milq.github.io/install-opencv-ubuntu-debian/
Then following the rest of the instructions on the transform360 readme worked like a charm.
from transform360.
I got sick of how many bad options for building there were so built a fail-safe fork (hopefully) here https://github.com/dioptre/transform360
from transform360.
Related Issues (20)
- FFmpeg crashes with transform360 filter on Nvidia GPU HOT 1
- Speed optimisation for transform360 filter. HOT 4
- "Cross" shaped cubemap layout. Is it possible? HOT 5
- FYI: branch with Transform360 patch pre-applied. HOT 2
- Unknown filter 'transform360'. HOT 4
- Minor change in ffmpeg - need to modify step 6 for building transform360
- performance problem HOT 10
- About Input to Output Projection Format
- Can't convert from EAC_32 to EQUIRECT HOT 2
- how to compile this in macbookpro
- how to play cubmap vr video in HMD
- Error on compile ffmpeg
- Segment fault (core dumped) HOT 1
- Windows build HOT 13
- License conflict
- Updating README.md
- gcc question HOT 2
- No such filter: 'transform_v1' Error reinitializing filters!
- ‘AVFilter’ has no member named ‘init_dict’ HOT 2
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 transform360.