Replies: 3 comments 4 replies
-
There isn't a built-in way of doing this, but it's certainly feasible to add this to PySceneDetect. It might be easier to just add a new argument to
Feel free to submit a feature request for this in the issue tracker. |
Beta Was this translation helpful? Give feedback.
-
Just realized this is already covered by #235, I'll link to this thread there as there's some good ideas to follow up with here. |
Beta Was this translation helpful? Give feedback.
-
Have an early version of this feature implemented in #294. There are some current limitation of the api that prevent all of the discussed ideas in this thread from being implemented, but if you have any feedback on the usage of the |
Beta Was this translation helpful? Give feedback.
-
It seems like I use this pattern a lot:
scenedetect -i file.mp4 -s stats.csv detect-threshold list-scenes
scenedetect -i file.mp4 detect-threshold [-t nn] split-video
, using a different threshold than default if necessary.In the case when the scenes described by the first pass are good, it would be great to split the video from the scenes file instead of doing another full scan. Is there a built-in way to do that?
Thinking about this a little more, if the functionality isn't there yet, there could be another "detector" that reads scenes from a text file. Naturally, it should be able to read the CSV file generated by
list-scenes
.I'd also like to be able to quickly adjust the scenes manually. If line n-1 describes a scene from times A to B, line n from B to C, and line n+1 from C to D, and I delete line n, I would like the scene to go from A to C and C to D. But I can see another use case where deleting line n would split scenes from A to B and C to D (skipping over B to C completely).
I'll poke around in the source to see how this might work.
Beta Was this translation helpful? Give feedback.
All reactions