-
Notifications
You must be signed in to change notification settings - Fork 197
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
can not open a mp4 video #8
Comments
Even I am not the maintainer but maybe it is this issue? https://stackoverflow.com/questions/13834399/cannot-open-mp4-video-files-using-opencv-2-4-3-python-2-7-in-windows-7-machi |
Or https://stackoverflow.com/questions/31040746/cant-open-video-using-opencv Telling from everything google would have told you it propably is a missing ffmpeg or openCV build against the wrong ffmpeg |
@MTRNord thank for your reply. rebuild ffmpeg and opencv did not work. But a workaround
works for me.
can you give some advises? |
Yes exactly! The project was running without error when I uploaded it. |
@DrewNF OK, thank you. |
@DrewNF how to fix the problem I described above? |
The problem comes from the cv2.blablabla parameter, is the one that, also in the project, can raise problem, because dependently on the library and how you install it, you have to cast it like cv2.cv.blablabla. |
@DrewNF as the error:
I change the |
You cast as I suggested, but is better that u search your previous error and try to find solutionsfor it 😁 because dependently on you install libraries you have to cast the parameter! |
@IvyGongoogle Did you work around the problem you were facing regarding |
The error is given because he cannot match the casting of the CV library installed, that why. |
hello, firstly, I find that your code have
import error
. The reason should be that the names are not uniform betweenUtils_Video.py
andutils_video.py
or Utils_Image.py andutils_image.py
. Please check it.Importantly, I run
python VID_yolo.py --path_video xxx.mp4
, but it shows error:why can not open a mp4 file? can you give some advises?
The text was updated successfully, but these errors were encountered: