-
Notifications
You must be signed in to change notification settings - Fork 62
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
swww-daemon using 1GiB of memory #232
Comments
No, it shouldn't be. Could you please post the |
It's an animation (GIF) 33M swww 0.8.2 |
Mmm... |
https://moewalls.com/anime/totoro-satsuki-live-wallpaper/ this is the exact animation |
right now i started swww and it seems way faster than yesterday, but for my surprise its using the same amount of memory |
Ah, this is most certainly the problem. Mp4 to GIF conversions will sometimes add many artifacts throughout the frames. This fucks up our compression scheme because it means most of the frame will be different from the next, just in a way that humans find it hard to perceive. From a different issue, a user reported some success using the ffmpeg -i input.gif -filter_complex "mpdecimate,setpts=N/FRAME_RATE/TB,fps=30,scale=1920:1080,split[a][b]; [a]palettegen=stats_mode=full [palette]; [b][palette]paletteuse=dither=sierra2_4a" -an output.gif I've tried with the gif you've linked. It is generating a gif that moves far too fast, so you may have to play around with some arguments a bit (lowering fps does not seem to make it slower, for some reason). Also, unfortunately, it seems that memory usage only went down to 700MB. Overall, this is pretty strange. I might have to investigate this particular |
So, i'll try other animations and maybe use this ffmpeg script |
I am a big fan of pixel art, and one of my favorite artists for wallpaper material is Waneella. She has both animated and static artwork, both of which are great. |
Is this normal?
Which info should i include here so that you guys can tell if i'm doing something wrong
I'm using Fedora (sway spin) and Hyprland btw
The text was updated successfully, but these errors were encountered: