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

Play gifs #308

Closed
vktec opened this issue Jul 31, 2017 · 4 comments
Closed

Play gifs #308

vktec opened this issue Jul 31, 2017 · 4 comments
Labels

Comments

@vktec
Copy link

@vktec vktec commented Jul 31, 2017

It'd be nice if feh could play gifs. It should probably only do so in slideshow and multiwindow mode, as it might get distracting in montage or index.

When the slideshow is paused, the gif could loop with an option to pause. When playing, either the gif could play once and then move on to the next image, loop until the delay is over and then move on immediately, or loop until the delay is over, finish that loop and then move on.

Perhaps there could also be a "one-shot" mode where animations just loop once and then either stay at the last frame or go back to the first one (whichever's easiest).

@Nopey

This comment has been minimized.

Copy link

@Nopey Nopey commented Aug 3, 2017

im2lib may or may not support animated GIFs, I havn't checked.
im2lib supports GIF through GIFLIB, which definitely supports animated GIFs.
Is there a mailing list for im2lib, or some other place for im2lib discussion?
the "one-shot" feature you are speaking about is already a feature available to the creator of the GIF, but thats a moot point.

@vktec

This comment has been minimized.

Copy link
Author

@vktec vktec commented Aug 3, 2017

From a quick search of imlib2's API docs, I can't see anything referencing animation, but that's certainly not conclusive evidence.

If imlib2 doesn't support animation, perhaps giflib could be used directly?

@derf

This comment has been minimized.

Copy link
Owner

@derf derf commented Sep 6, 2017

Sorry to reject this, but feh is an image viewer and not a movie / gif player. mplayer/mpv already do a pretty good job at that, and apart from that I'm also not willing to invest the (considerable) amount of work required for animation support in feh.

Depending on how urgently you need it / how important it is to play gifs in feh instead of another software, you may be able to use a workaround: Use ImageMagick to convert gifs to one picture for each frame, then use feh --slideshow-delay some small value to play the animation.

@vktec

This comment has been minimized.

Copy link
Author

@vktec vktec commented Sep 6, 2017

Okay, that's fair enough. Thanks for keeping feh minimal :)

@vktec vktec closed this Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.