i made this to use as a pfp but i couldnāt find a way to export it as an animated image smaller than a MB ; ;
@pebble i think that would be down to how infrequent the ear wiggles are, compared to the other motions in it
-F
@Hearth itās 100% that bc the rest of the animation repeats 4 times for 1 ear flick, but i need the ear flicks :(
@pebble pebble you're exceptionally cute
and that's a very pettable snout
-F
@pebble I was going to suggest .APNG, but then I remembered Fedi doesn't handle it. Which is a shame, because you have a bunch of really good solid color fields to work with that would allow PNG compression to do its thing nicely, I think.
@pebble Oh I definitely understand! You could maybe make them more frequent?
GIF is not a format designed for different things repeating at different rates, unfortunately
-F
@twinkle kjhd omg !! this is so helpful thank u !!
would it be difficult to make an optimized gif like this from a sequence of PNGs? bc this was originally rendered with a transparent background which mp4 doesnāt support
@twinkle idk what you did differently but with the exact same parameters (except framerate being 25 instead of 30) the webp ends up being 1.7MB while the gif ends up being 2.3MB :/ maybe itās the transparency?
@twinkle https://f.pebb.in/frames-11kmyDkn.zip here u go ! no pressure though donāt feel like u have to
@pebble ah, well, as iām beginning to find out, it is very hard to optimize gifs with transparency because gif optimisation heavily relies on not discarding the previous frame (because gif has very basic tools for āonly discard pixels in this rectangle pleaseā). ive done everything i can to squeeze it while not losing too much quality. hereās 160x160@25fps for around 1MB
and the commands:
ffmpeg -framerate 25 -i ./frames/%04d.png -c:v libvpx-vp9 -filter_complex "[0]lutrgb=a=val+val*maxval" -crf 15 -b:v 0 -pix_fmt gbrap -strict experimental ./a.webm -y
ffmpeg -c:v libvpx-vp9 -i a.webm ./new-frames/%04d.png -y
gifski ./new-frames/*.png -o a.gif -W 160 -H 160 --fps 25 --repeat 0 -Q 50 --extra
@pebble literally the 2 ffmpeg commands just do the following 2 things:
@twinkle that makes sense.. thanks a lot for helping out with this !! i really appreciate it
@pebble try using https://ezgif.com/optimize and messing around with settings to get basically the same quality, with way less space! :3
@pebble this is an .mp4, or I would've done it and sent it to you eheh :3
@yellow ezgif is super useful!! itās what i normally use to make gifs, but unfortunately itās limited to 25fps, and even then it couldnāt do enough with this, i think thereās just too much to compress