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
Gifs loop adding 1 frame per loop until the full video is played, then playing halts #940
Comments
I'm quite surprised GIF is played with Sixel at all. I never thought of trying it, but I think I know what seems to be going on.
I think ueberzugpp works on Wayland and you can try this plugin (see how to install and comments in |
Gifs definitely work with sixel. Chafa in the terminal works perfectly, just not in vifm. Before I jump back into the Ueberzug rabbit hole, there is no way we can pause drawing to vifm until the buffer is complete? I'm expecting a blank preview or still thumbnail while it builds. |
In a shell Chafa works synchronously and communicates with the terminal directly. In Vifm it's run detached from the terminal and asynchronously. Different environments, different expectations of the result.
|
|
There is no flag that disables drawing of partial result. |
Kind of a mouthful. There is two problems, the first being the gif doesn't play in full, it goes through multiple loops adding a new frame each loop. This is only an issue the first time the gif is played so long as a new gif does not get selected (switching to a jpg and back to the gif plays the full gif once). Second, after it has finally finished playing a full gif, it stops.
So how do we cache the full gif, then loop the gif?
Here is an example of the issue, sorry its made pretty long by the first issue:
2023-09-19_072943.mov
This is my config. It is an issue with either chafa or the show-sixel script from #419. I am using Wayland and foot terminal.
The text was updated successfully, but these errors were encountered: