Skip to content
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

Implement alternate input for scene detection V2 #814

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BlueSwordM
Copy link
Contributor

@BlueSwordM BlueSwordM commented Feb 25, 2024

Context: #631

This is the refactored version of the patch.
I've build it and it seems to be fine.

Just need to do some test encodes.

Unit tests don't work properly, but that'll be fixed eventually.

@@ -121,6 +121,10 @@ pub struct CliOpts {
#[clap(short, required = true)]
pub input: Vec<PathBuf>,

/// Alternate input for scene detection (must have the same frame count)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when the two inputs don't have the same frame count?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens when the two inputs don't have the same frame count?

This needs a check, With at least a warning to prevent future hair pulling.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed something that should be added to prevent... annoying reports in the future.
I still haven't tested what happens if the inputs don't have the same frame counts.

I'll do that over the weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants