-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include ffmpeg #74
Comments
Please see other issues in this repo with regards to ffmpeg. In brief: I don't know of a way to statically link it into the binary, and it is a lot of work to try to include it. I'm open to PRs to the Github Actions scripts that fix this. |
Thanks. I just saw the other issue. Would be nice if you at least documented this and explained exactly how to set things up and where to get the correct version of ffmpeg. And are these other cavets as well, where the maven version is not complete? I'm still having a problem and can't get it to work, even if I tried to point to ffmpeg using -Djava.library.path or -Djna.library.path. According to the issue I opened on opencv, these won't work, because Java does not load the file. I need to put the file on the class path, but can't get that working either. |
Figured out my problem. I thought the dll needed to be on the classpath, but it needs to be on the path (or in the same directory as the application) |
Can you give a specific example of this please? |
@vonnieda Just did some testing with interesting results: |
I got webcam and RTSP working this morning. Step 1 Step 2 Step 3 |
I'm consolidating other requests to include opencv-ffmpeg here, and will point others here in the future. If this is something you'd like to see implemented, please consider submitting or sponsoring a PR to implement it. |
Yes you can just point others here and they can use this solution for Windows if they need to. |
I agree. I have avoided it for years because of this. Maintaining this project is already a huge task: Building binaries for so many platforms is a ton of work. Adding more work just isn't something I'm super interested in, but PRs are always welcome! |
According to https://forum.opencv.org/t/error-in-java-cant-find-starting-number-in-the-name-of-file/3014/2, I need opencv_videoio_ffmpeg452_64.dll. Is there any reason it's not part of the packaging?
The text was updated successfully, but these errors were encountered: