Open llafcode opened 5 years ago
Hi @llafcode;
Although it's not documented, multiple detectors are allowed at once (e.g. you can actually specify both detect-content
and detect-threshold
together). Have you tried this? Sounds like this might be a good use case for testing it out.
Thanks for the feedback, let me know if it works out for you.
Hi @Breakthrough,
Thank you for your advice! Sounds interesting! Will try it later.
If I understand correctly, I can include both detect-threshold and detect-content within one command line, am I right? If so, how should I specify different threshold for the two detectors? By using two -t options? Sounds weird...
@llafcode correct, that is possible. The output scene list will be the combination of scenes detected by both detectors.
@Breakthrough Hi, I tried your suggestion. Although it didn't work exactly as I want, I still got better results. I also checked the states files, and see both rgb and hsv states at the timestamp I wanted to be cut. The result is I don't think the current two algorithm can cut in the way I want. But since no splitting program is perfect, your tool is still one of the best I found. Thank you again!
Hi @llafcode;
I just re-analyzed the video, and sorry, I misinterpreted your original question. Indeed PySceneDetect currently doesn't deal well with slow fades like you mentioned.
If anyone does happen to have suggestions on how to approach the problem, I would be most welcome to investigate the possibility of adding support for it to PySceneDetect.
Thank you!
yes, the choosing of threshhold is quite complex but you should also consider audio features of a video to compute more accurate scene change,this will bring a huge change in algorithm
Seems like this issue is about cross-dissolve, but the video referenced by OP is now 404 and I can't confirm.
I noticed after examining stats output that cross-dissolve in my reference video causes a u-shaped decrease in the saturation delta. The other columns look to be not affected.
-t
?
Hi @Breakthrough ,
Thank you very much for your awesome software! I'm using it to detect scenes from some cartoon videos, see the original video here.
Now I'm having some problems of getting what I want. Specifically: I want to detect the real scene changes (not shot changes) in the video. There are usually two ways of representing real scene changes:
The content-detector method works well for shot changes while the threshold-detector works well for real scene changes (option 1). But I'm missing many scenes with scene changes in the second way. For example, check scene changes happened at 03:22 to 03:23 and 05:52 to 05:53 in the original video I just posted.
I struggled with adjusting the parameters but I failed to achieve what I want. Any ideas of how I can make it?
Many thanks!