Comments (4)
I am also getting this error:
gpp8p@woozel:/media/gpp8p/ExtraDrive1/scene/PySceneDetect-0.4$ scenedetect -i testvideo.mp4 -d content -t 30 -o output_scene.mkv
[PySceneDetect] Detecting scenes (content mode)...
[PySceneDetect] FATAL ERROR - could not open video testvideo.mp4.
Traceback (most recent call last):
File "/usr/local/bin/scenedetect", line 11, in
load_entry_point('PySceneDetect==0.3.6', 'console_scripts', 'scenedetect')()
File "build/bdist.linux-x86_64/egg/scenedetect/init.py", line 302, in main
ValueError: need more than 2 values to unpack
from pyscenedetect.
I didn't tried to replicate the error but according the setup.py pyscenedetect is should be only compatible with python versions below 3.3. Although is listed with higher versions.
from pyscenedetect.
Hello all;
The real issue here is the video is not able to be opened by the OpenCV library:
[PySceneDetect] Detecting scenes (content mode)...
[PySceneDetect] FATAL ERROR - could not open video /dev/input.mp4.
All information after this is generated due to the above error, and can be safely ignored. Double-check that you've installed the Python OpenCV libraries correctly, and failing that, try building and installing from source (thus ensuring all dependencies are compiled).
Note that although this issue has the same cause as #16 (see the issue for some workarounds). It will not be marked as a duplicate, however, as better error handling by PySceneDetect will be implemented in these cases, thus generating more useful (or, rather, less useless) text upon error. I will leave this issue open until it has been fixed, and am open to any comments regarding what user feedback should be given in this case.
from pyscenedetect.
Hello all;
This should be fixed in the latest release of v0.5-beta, which has significantly improved error reporting facilities and support for Python 3.6+. Please upgrade to the beta whenever you can, and the release of v0.5 is scheduled to be later this month. If you notice any issues with the new version, please feel free to bring them to my attention.
Lastly, thank you for your submission/report, and for helping to make PySceneDetect even better - I really appreciate it! 👍
from pyscenedetect.
Related Issues (20)
- url input ,1080p video much slower HOT 8
- Use csv as input for scene splitting HOT 1
- No output to list-scenes HOT 3
- horizontal wipe cuts
- ffmpeg segment_times options HOT 4
- QP file output HOT 6
- Can't get save_images to work HOT 1
- 'Error splitting video (ffmpeg returned 1) ' occurs while using 'split_video_ffmpeg' HOT 11
- Define minimum and maximum number of splits in split-video HOT 1
- Extend image_name_template to allow timestamp HOT 1
- Add Project Gallery to Website
- CITATION.cff file for citing repository HOT 1
- Return SyntaxWarning errors HOT 2
- Remove downscaling for perceptual hash
- Support histograms/hashes with AdaptiveDetector
- Group similar scenes together HOT 3
- The speed at which different backends run. HOT 2
- Two-Phase Command Architecture
- `min_scene_len` parameter isn't respected with AdaptiveDetector HOT 5
- Find start and end of black frame sequences HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyscenedetect.