Comments (5)
Could you provide debug logs to assist? You can add -v debug -l BUG_REPORT.txt
to create one. Thanks.
from pyscenedetect.
Could you provide debug logs to assist? You can add
-v debug -l BUG_REPORT.txt
to create one. Thanks.
I started with debug, but it's still not clear for me to understand what happend:
But i figured out that my test video has ~50fps. Can the problem depends on huge fps?
from pyscenedetect.
Is that the same video? If the framerate is 50 FPS, then 131833 frames represents 43 minutes [1] that PySceneDetect processed. The progress bar bases the total # of frames on whatever the video container reports, which may not be accurate. To confirm this, you can try re-encoding the video with ffmpeg and then process it again with PySceneDetect.
Are you seeing this problem on different videos or just a single input? Have you tried another backend (e.g. --backend pyav
)?
[1] 131833 frames / (50 frames/sec * 60 secs/min) = 43 minutes
Edit: To answer your question, the problem shouldn't depend on framerate as long as it is fixed.
from pyscenedetect.
Is that the same video? If the framerate is 50 FPS, then 131833 frames represents 43 minutes [1] that PySceneDetect processed. The progress bar bases the total # of frames on whatever the video container reports, which may not be accurate. To confirm this, you can try re-encoding the video with ffmpeg and then process it again with PySceneDetect.
Are you seeing this problem on different videos or just a single input? Have you tried another backend (e.g.
--backend pyav
)?[1] 131833 frames / (50 frames/sec * 60 secs/min) = 43 minutes
Edit: To answer your question, the problem shouldn't depend on framerate as long as it is fixed.
I've tried 2 diffrent video(both 50 fps, ~1.5 hours). But it's always processes half of the frames.
I agree with your calculation. But when i save one image per scene and looking at last image, i see ~the middle frame of my vildeo.
I also used another backend(moviepy) and it works well(with all frames), but too slow compared to opencv(4-5 times slower).
from pyscenedetect.
Are you able to share a sample video with me that shows the issue? That would be useful to help debug what the issue may be. Thanks!
from pyscenedetect.
Related Issues (20)
- Fix Github license detection
- How run it with asyncio and fastapi
- The performance of detecting shot changes is poor HOT 5
- Change `list-scenes` defaults: don't output file, skip cuts
- [Bug] memory leak HOT 9
- Ignore time intervals HOT 5
- Remove this issue please
- How to detect entire scenes and not only shot changes? HOT 1
- Add StreamJoiner to concatenate multiple videos
- Inconsistent error handling when start time exceeds video length
- 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 4
- Can't get save_images to work HOT 1
- 'Error splitting video (ffmpeg returned 1) ' occurs while using 'split_video_ffmpeg' HOT 6
- Define minimum and maximum number of splits in split-video HOT 1
- Extend image_name_template to allow timestamp 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.