Giter Site home page Giter Site logo

Comments (8)

sjuxax avatar sjuxax commented on May 5, 2024 2

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.

 avatar commented on May 5, 2024 2

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.

andreanobile avatar andreanobile commented on May 5, 2024 1

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.

kcircnc avatar kcircnc commented on May 5, 2024

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.

sjuxax avatar sjuxax commented on May 5, 2024

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.

sjuxax avatar sjuxax commented on May 5, 2024

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.

adamjgrant avatar adamjgrant commented on May 5, 2024

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.

dioptre avatar dioptre commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.