-
Notifications
You must be signed in to change notification settings - Fork 886
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
cv.VideoCapture can't load video properly #1046
Comments
Looks like our FFmpeg build does not support the codec and the codec is not installed on your system. Please attach some test video for check. Also you can run the test with the following environment variables to get more details an publish here:
|
hii @asmorkalov I am wondaring can I add an error log which actually throw if the package is not installed or FFmpeg side error which will make it more adaptable. |
Dear @asmorkalov, I've encountered the same issue with The size of the package for version 4.11 is significantly smaller at 20.7 MB, which is a notable decrease from the 42.8 MB size of version 4.10. This suggests that the codec was not installed as you previously mentioned. I even installed
Could you please suggest what I should do? Thank you. |
So, I just stumbled across this, and I have found that 4.6.0.66 works with rtsp (both windows and wsl) but the exact same program does not work on 4.11.0.86. I am very new to reporting issues, and if need be can set a a way to (ie python program) to show the issue. update 4.10.0.84 also works |
@bradley-e-smith please check this issue, it could help you. |
Expected behaviour
When I load a video like, cap = cv.VideoCapture('xx.avi')
cap.isOpened() should return a True value
Actual behaviour
However cap.isOpened() always return a False value
Steps to reproduce
It's said that this problem is something about .dll file, however I cannot find those files in my disk. Can anyone help to check the build information and see what happend?
I pip install opencv-python on VScode(windows10) and the build information is:
Issue submission checklist
opencv-python
The text was updated successfully, but these errors were encountered: