-
Notifications
You must be signed in to change notification settings - Fork 387
-
Notifications
You must be signed in to change notification settings - Fork 387
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
Exception in _init_video_manager() when video fails to load on non-Windows platforms #192
Comments
Hi @paulagd; Sorry for the delay in getting back to you. The command is correct, for some reason though it is failing to load the .mp4 using the underlying OpenCV library. This, however, results in another exception getting thrown due to a bug in check_opencv_ffmpeg_dll() (it works on Windows, but this will happen on any other platform). I'll mark this as a bug, but note that the issue is likely caused by OpenCV/ffmpeg being unable to open your test video for some reason. You can test this yourself by trying to open the file manually via OpenCV, and checking if you are able to do it (I can provide some sample code for you to run if you aren't as familiar with OpenCV). Thanks! |
platforms causing unhandled exception (resolves #192).
Resolved in v0.5.5 branch, will be included in next release of PySceneDetect, should give you the proper error messaging now. As for why the video fails to load, that will still require some more investigation. Feel free to respond to this issue, or create a new one for that. |
How did you generate your sample video? Are you sure it's a valid file? How did you install opencv-python? Could you possibly include your test video file on this issue to help with the analysis? Thanks! |
Hi @paulagd; I'm closing this issue due to resolving the improper error messaging. As mentioned, if you could attach the test video you are using, that would be a great help to narrow down why it's failing on your end. Feel free to respond to this issue, or create a new one, if you are still running into this issue after the next release (v0.5.5). Thank you again for the report. |
Bug/Issue Description:
I am trying to run the detection in my sample video but it fails like:
scenedetect -i sample_seconds.mp4 detect-content list-scenes -n save-images
Computing Environment:
Additional Information:
I have also installed:
Can someone tell me what am I doing wrong please?
Thank you in advance!
The text was updated successfully, but these errors were encountered: