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
VideoCapture cannot open video file in Java #4974
Comments
any solution? |
I was able to open several .mp4 files using opencv 3.0 java bindings to VideoCapture, and successfully step through their frames and get metadata about each frame. |
i can see your code? |
Using OpenCV 3.0 on windows:
|
i don't know if the problem is my *.mp4 *.avi or *.mpg file but capture.isOpened() return false , any sugestion? |
Try opening a few other video files, verify you're using the right path in the VideoCapture constructor. What OS/Platform/JDK versions are you using? |
ok, i'm with windows/ java 1.7 but don't worry, i load my files now with javacv , using FFmpegFrameGraber |
You are missing the loading ffmpeg dll. If use 64 add opencv_ffmpeg300_64.dll. If you use 32 add opencv_ffmpeg300.dll. Add this the your code.
|
|
I have same issue on Ubuntu. |
Add to path and restart terminal C:\opencv\opencv\build\x64\vc12\bin |
I have issue on Ubuntu 17.04. When I amtrying to run my program it shows message
What should I do now? |
There is missing backends for Video I/O in your OpenCV build. |
I have found that my video is not opening by VideoCapture. An the question asked here remain not appropriately answered |
This tracker is for issues and bugs that needs fix in OpenCV. We don't process help requests here or investigate issues on users side.
|
I have configuration like this
But still getting message @alalek
|
@aritra1994 I met similar questions like you when I try to open an mp4 video in an android app. But I failed in the step below: -- Video I/O: could you help me to get the result like you? I mean like below: |
Hi all, I'm also facing the same issue, on my mac code is working but once I put it to ec2 it is not working. if (cap.isOpened()) {} always false, appreciate your help |
Transferred from http://code.opencv.org/issues/4298
VideoCapture cannot open video file in Java
History
Bahramuidn Adil on 2015-04-28 05:20
Maksim Shabunin on 2015-04-28 12:35
The text was updated successfully, but these errors were encountered: