Skip to content

Ability to set fade bias to BOTH -1 and 1? #150

Open
@Gnishimura

Description

@Gnishimura

Pyscenedetect has been working great for me until I ran into some video where commercial content was taken out, leaving just a black screen for minutes at a time. Under these situations PSD will still only make one cut (under default fade bias 0.0 it will cut at the middle, leaving a chunk of black screen on the end of scene 1 and the beginning of scene 2).

My question is: Is there any simple way to change this behavior so that BOTH the fade out to black AND the fade in to content are counted as cuts (resulting in 3 scenes, with the middle "scene" being the entire time that the screen is blank)?

I know I could process the video twice, once with fade bias at -1 and a second time with fade bias at +1 but since it's taking me ~15 minutes to process a 1 hr long video, I really don't want to have to do two runs.

Lastly, thank you so much for this incredible open source resource, it's amazing!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions