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

"Creating clips" run fails with error #99

Closed
jeffehobbs opened this issue May 27, 2022 · 2 comments
Closed

"Creating clips" run fails with error #99

jeffehobbs opened this issue May 27, 2022 · 2 comments
Labels

Comments

@jeffehobbs
Copy link

Occasionally a "[+] Creating clips." run will fail with this error:

ValueError: max() arg is an empty sequence

This appears to be a known issue with moviepy, when a clip has a 0 size. Maybe? I'm guessing. Here's a discussion:

Zulko/moviepy#622

Ideally the videogrep script would skip over clips and defend against this error.

@antiboredom
Copy link
Owner

antiboredom commented May 27, 2022

I believe this is happening when you pass an empty list to concatenate_videoclips, but I thought I had handled that already. What version of videogrep are you running, and can you also paste in the full error message you're seeing?

edit: oops! accidentally closed the issue...reopening it now.

@jeffehobbs
Copy link
Author

jeffehobbs commented May 27, 2022

Running 2.0.1. Next time it happens I will add the full error message; it's variable/intermittent, based on the autogenerated text tracks of YT videos I toss at the videogrep script.

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

No branches or pull requests

2 participants