Git Product home page Git Product logo

Comments (8)

vonnieda avatar vonnieda commented on July 24, 2024

What version of OS X are you running?

from opencv.

fouadkada avatar fouadkada commented on July 24, 2024

I'm on el capitan 10.11.6

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

What type of file are you trying to open? If you can post an example file that displays the behavior somewhere online that will be helpful.

from opencv.

fouadkada avatar fouadkada commented on July 24, 2024

I am trying to open an rtsp url.
something more or less like the following:

VideoCapture capture = new VideoCapture();
capture.open("rtsp://192.168.2.208:1935/vod/sample-3.m4v");
if (capture.isOpened()) {
// some code here
}

the rtsp url comes from a wowza server running locally.
when i use the opencv 3.2.0 built manually everything works as expected.

Do you think this would cause issues on other architectures? because I am planning on running this code on an amazon ec2 instance running amazon linux

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

It will depend a lot on which codecs are compiled in to the build, and may depend on if the required codecs are installed on the target machine. I suggest you distribute your own build of opencv with your application to be sure. This package does not include very many codecs as it's primary purpose is machine vision, not video decoding. I suspect that the error you are getting is due to ffmpeg not being included in this build.

from opencv.

fouadkada avatar fouadkada commented on July 24, 2024

I am sure that what I need requires ffmpeg, how can I create a PR that has ffmpeg included since I am really interested in the convenience of maven

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

See https://github.com/openpnp/opencv/blob/develop/RELEASE.md for the instructions that I follow when building a release. If you can update that with information about how to build with ffmpeg (and other required dependencies) then I will do a new release based on that. You may also want to take a look at #13 since it is also a request for more included libraries.

One thing I am not sure about, and maybe you can look into, is whether we need to distribute the ffmpeg binaries with the library, or if they can be statically linked. I vaguely remember there being some kind of licensing issue with distributing ffmpeg, so we need to be aware of that as well.

from opencv.

vonnieda avatar vonnieda commented on July 24, 2024

I've decided not to include ffmpeg in this distribution. It's difficult enough to keep up with releases of OpenCV itself - adding other artifacts just isn't going to happen.

from opencv.

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.