-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can't import gifs into moviepy #452
Comments
just checking: did you print 'raw_clips' to make sure it's not empty ? |
"Nothing happens"? Does |
Thanks for the very fast responses. Printing raw_clips as is isn't possible, the script is just getting stuck on the first line. Gloin1313: |
@DanielHHowell You could try expanding your loop, e.g.:
And then print certain variables at different points to try and troubleshoot better. |
So the loop is being iterated through - it prints each instance of 'path' here, however nothing else will happen past that. I'm very confused how the append clip is passed over with seemingly no error raised |
What about this?
Or, try this:
Just a side note; don't name a variable containing a string a |
Everything is working properly now - even the code I originally introduced. Deleting some .gif path's from the directory revealed that the ffmpeg process was keeping them open, even though no processes were running on the PyCharm IDE. Very strange |
Well done! |
My guess is that this was related to ffmpeg - go ahead and close the issue. Thanks for the rapid responses - will keep in mind that debugging process! |
The below code is working marvelously as-is for other file types such as .webm (when changed in the glob.glob call) but when I try to use it for .gifs nothing happens at all - no errors or exceptions raised. Any ideas? Thanks you in advance for any help!
The text was updated successfully, but these errors were encountered: