Skip to content

Conversation

@Alchemist-Production
Copy link

There was a reported issue that was caused by this line. This small change fixes everything up.

google-labs-jules bot and others added 5 commits February 1, 2026 22:36
The `subclipped` method in `moviepy` raises a `ValueError` if `end_time` exceeds the clip's duration. This could happen if the concatenated video clips were slightly shorter than the calculated audio duration (due to floating point issues or insufficient video content).

This commit modifies the `subclipped` call to use `min(final_video.duration, audio_duration)`, ensuring the `end_time` is always within the valid range.

Co-authored-by: Alchemist-Production <[email protected]>
…crash-9950145003960705662

Fix ValueError when subclipped end_time exceeds video duration
- Rename 'Cut Intensity' to 'Cut Interval (Beats)' for clarity.
- Add progress bars to `process_video`.
- Use `gr.Error` and `gr.Info` for better feedback.
- Add .gitignore to exclude artifacts.

Co-authored-by: Alchemist-Production <[email protected]>
…ts-5509309237249100045

feat(ux): improve cut intensity label and feedback
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.

1 participant