-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Error fps in generated gif file of write_gif_with_image_io
#2170
Comments
This was referenced May 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
The fps of the generated gif file of function
write_gif_with_image_io
is not correct.Minimal Case
The following code is similar to the function
write_gif_with_image_io
, but the generated gif's fps is not equal to the fps in the code.moviepy/moviepy/video/io/gif_writers.py
Line 422 in bc8d1a8
Potential Reason
As the following imageio code, the
duration
is inms
. But thewrite_gif_with_image_io
maybe think it issecond
.https://github.com/imageio/imageio/blob/ac863934d590ffc64155475a0fc365c1c82a8267/imageio/plugins/pillow.py#L408-L413
moviepy/moviepy/video/io/gif_writers.py
Lines 441 to 443 in bc8d1a8
The text was updated successfully, but these errors were encountered: