-
Notifications
You must be signed in to change notification settings - Fork 413
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
The performance of detecting shot changes is poor #370
Comments
If you are using high-framerate material (60+ FPS), you may want to experiment with the frame skip option. You might also want to increase the downscale factor if performance is a concern. Are you exporting scenes to individual clips, or just using shot detection alone? Could you provide some additional detail about how you are using the project (e.g. are you using the command line program or the Python API)? |
Thanks your reply. |
You can remove use of Also note instead of from scenedetect import SceneManager, ContentDetector, open_video
video = open_video(test_video_file)
scene_manager = SceneManager()
scene_manager.add_detector(ContentDetector())
scene_manager.detect_scenes(video=video) Do you know how fast it is versus Adobe Premiere? |
Sorry, I didn't explain it clearly and you misunderstood it. |
Using audio to detect splices is definitely something I would be interested in adding at some point. Do you have any samples you could share that exhibit poor performance? |
I found your issue, I think. For some reason, I'm guessing your videos do not match the framerate detected by pyscenedetect, it is not a pyscenedetect issue but rather a mismatch in how you are processing your video. I had this same issue, where using ffmpeg I clipped a video and ffprobe stated the output was 48fps, however, when using pyscenedetect, the scene transitions where completely off, however, once I forced the framerate to what I suspected the true framerate to be (24) the scene transitions matched up completely. |
Problem/Use Case
I found that the performance of detecting shot changes using PySceneDetect is not as effective as Adobe Premiere Pro. Could you please provide a parameter adjustment solution to achieve results comparable to Premiere Pro?
The text was updated successfully, but these errors were encountered: