Closed jeffehobbs closed 1 year ago
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.
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.
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:
https://github.com/Zulko/moviepy/issues/622
Ideally the videogrep script would skip over clips and defend against this error.