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

Windows - Unable to export simple sequence to gif #16

Closed
MaximRouiller opened this issue Feb 19, 2014 · 7 comments
Closed

Windows - Unable to export simple sequence to gif #16

MaximRouiller opened this issue Feb 19, 2014 · 7 comments

Comments

@MaximRouiller
Copy link

So I installed Numpy, ImageMagick, ffmpeg (all in 64 bits since I run Python 2.7 64 bits).

When I run the following code:

from moviepy.editor import *

VideoFileClip('D:/vids/myvideo.mp4').\
    subclip((10, 0.00), (10, 10.00)).\
    to_gif('D:/vids/test.gif')

I get the following error message:

MoviePy: Generating GIF frames
MoviePy: running convert -delay 4 -dispose 1 -loop 0 `seq -f D:/vids/test_TEMP%04g.png 1 1 250` -coalesce -fuzz 01% -layers OptimizeTransparency D:/vids/test.gif
convert.exe: unable to open image ``seq': No such file or directory @ error/blob.c/OpenBlob/2643.
convert.exe: no decode delegate for this image format ``seq' @ error/constitute.c/ReadImage/555.
convert.exe: unrecognized option `-f' @ error/convert.c/ConvertImageCommand/1614.
MoviePy: GIF generated !

So since seq is not usable in Windows, I also installed Gow (Gnu on Windows) and it's still not running.

Help?

@Zulko
Copy link
Owner

Zulko commented Feb 19, 2014

I believe I have fixed it but I will need more tests before putting it on github (fixed many things in one commit...). In the meantime, could you try to_gif('filename.gif', program='ffmpeg') and tell me if it works

@MaximRouiller
Copy link
Author

The ffmpeg works but the gif quality is horrendous.

Maxime Rouiller
Sent from my Nexus 5
On Feb 19, 2014 2:58 AM, "Zulko" notifications@github.com wrote:

I believe I have fixed it but I will need more tests (fixed many things in
one commit...). In the meantime, could you try to_gif('filename.gif',
program='ffmpeg') and tell me if it works

Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-35474409
.

@Zulko
Copy link
Owner

Zulko commented Feb 20, 2014

Now you should be able to make gifs using ImageMagick (this means with your original command to_gif('filename.gif') ) with the version on Github or on PyPI.

@MaximRouiller
Copy link
Author

Thanks! I'll update my package and keep you posted.

Sent from my Nexus 5
On Feb 20, 2014 5:12 PM, "Zulko" notifications@github.com wrote:

Now you should be able to make gifs using ImageMagick (this means with
your original command to_gif('filename.gif') ) with the version on Github
or on PyPI.

Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-35675630
.

@Zulko
Copy link
Owner

Zulko commented Apr 9, 2014

In case you are still interested, that was a Windows issue that is now "solved", but you need to provide the path to ImageMagick. See:

http://zulko.github.io/moviepy/install.html#linking-to-imagemagick-windows-only

When you find some time, could you tell me if the current version works on your installation, so that I can close the issue ?

Thanks in advance !

@MaximRouiller
Copy link
Author

I won't be working on that issue for a while.

You can close the issue for now.

Sent from my Nexus 5
On Apr 9, 2014 3:12 PM, "Zulko" notifications@github.com wrote:

In case you are still interested, that was a Windows issue that is now
"solved", but you need to provide the path to ImageMagick. See:

http://zulko.github.io/moviepy/install.html#linking-to-imagemagick-windows-only

When you find some time, could you tell me if the current version works on
your installation, so that I can close the issue ?

Thanks in advance !

Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-40004516
.

@Zulko
Copy link
Owner

Zulko commented Apr 9, 2014

Ok, thanks.

Le 09/04/2014 21:14, Maxime Rouiller a écrit :

I won't be working on that issue for a while.

You can close the issue for now.

Maxime Rouiller
Sent from my Nexus 5
On Apr 9, 2014 3:12 PM, "Zulko" notifications@github.com wrote:

In case you are still interested, that was a Windows issue that is now
"solved", but you need to provide the path to ImageMagick. See:

http://zulko.github.io/moviepy/install.html#linking-to-imagemagick-windows-only

When you find some time, could you tell me if the current version
works on
your installation, so that I can close the issue ?

Thanks in advance !

Reply to this email directly or view it on
GitHubhttps://github.com//issues/16#issuecomment-40004516
.


Reply to this email directly or view it on GitHub
#16 (comment).

@Zulko Zulko closed this as completed Apr 9, 2014
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

No branches or pull requests

2 participants