Comments (8)
What version of OS X are you running?
from opencv.
I'm on el capitan 10.11.6
from opencv.
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.
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.
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.
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.
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.
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)
- Should the License be Changed to Apache v2 for OpenCV version 4.7?
- videoCapture.isOpened() always is false! HOT 4
- Opencv 4.8.1 and BarcodeDetection
- libwebp cve-2023-4863 HOT 1
- Memory Leak with some functions HOT 2
- Java 11 requirement HOT 1
- OpenCV.loadLocally() init error HOT 2
- Caused by: java.lang.UnsatisfiedLinkError: /tmp/opencv_openpnp5364447482759473585/nu/pattern/opencv/linux/x86_64/libopencv_java460.so: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /tmp/opencv_openpnp5364447482759473585/nu/pattern/opencv/linux/x86_64/libopencv_java460.so) HOT 2
- platform specific binaries/artifacts HOT 1
- Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java490 in java.library.path HOT 3
- Long delay when opening camera 0
- Open CV distributed with openpnp can't load image from a IP camera HOT 1
- Impossible to load library on Mac OS X HOT 1
- 4.7.0 Version HOT 1
- BarcodeDetector HOT 4
- Extra modules HOT 1
- Class CaptureDelegate is implemented in both HOT 2
- version 4.8.0
- Project runs on M2 Mac but fails on x86 Linux HOT 1
- Setting VideoCapture to certain square resolutions results in garbled output
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 opencv.