Skip to content

Fix: Correct video length#1221

Merged
JasonLovesDoggo merged 1 commit intoelebumm:developfrom
rivenintech:develop
Aug 31, 2022
Merged

Fix: Correct video length#1221
JasonLovesDoggo merged 1 commit intoelebumm:developfrom
rivenintech:develop

Conversation

@rivenintech
Copy link
Copy Markdown
Contributor

Description

Every time I run the script, it leaves extra few seconds after it's done with the last comment (there is only a background video). I found out that it didn't remove the last clip when it exceeded the length limit (self.last_clip_length is always 0). I fixed it by adding one line that correctly changes self.last_clip_length.

Issue Fixes

  • Now videos shouldn't exceed the length limit.
  • Videos are cut right after the last comment is finished reading.

Fixes #1115 (not sure)

Examples

Before:

Before.mp4

After:

After.mp4

@JasonLovesDoggo
Copy link
Copy Markdown
Collaborator

Lgtm

@JasonLovesDoggo JasonLovesDoggo merged commit d4fe91d into elebumm:develop Aug 31, 2022
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.

2 participants