Is there a good avi to gif software out there ? Or maybe there is a another animated images format other than gif that i'm not aware of ?? (gif is so 90's...)
Let me know please ! (virtualdub is not good for this)
+ Reply to Thread
Results 1 to 19 of 19
Thread: avi to Gif (High quality)
apng (animated png) is lossless, full 8bit / channel color palette (not crappy 256 colors), but only supported by a few browsers like firefox , opera (IE doesn't) . Obviously large filesizes compared to gif
For gif, photoshop is probably the one of the better ones . You have many options to adjust filesize vs. quality, dithering algorithms, compression . Unfortunately not free
Gimp can do it, with floyd steinberg dithering, but filesize is larger than photoshop produced gifs at similar quality
VirtualDub's GIF export uses a fixed color palette without dithering. That results in severe banding of smooth gradients. There's a trick you can use that will help though. First save the sequence you want as an uncompressed video file. Then use VirtualDub's Tools -> Create Palettized AVI to make another AVI of that sequence. That AVI will have an optimized palette and dithering. Then open that palettized AVI and export as GIF from VirtualDub. The dithering will be preserved.
Direct export as GIF:
Last edited by jagabo; 7th Jul 2014 at 17:23.
But vdub "create palletized AVI" creates a non selective, noisy dither . But at least it's not as bad as some, where the static backgroud has a alternating/flickering pattern as well,.
A single shade of "grey" - like the "grey" RGB 64,64,64 background shouldn't require dithering. Only when there are transitions or "shades" of grey or colors should be dithered. That non selectivity means excessively large filesizes
162KB vdub gif
322KB vdub palettized gif
259KB ps seletive pattern dither gif
Last edited by poisondeathray; 7th Jul 2014 at 19:59.
PS CS2 was actually free a while back, legit from Adobe server. You just needed to register an account
Here is APNG . But you can't see it animate in some browsers
(220KB only - usually filesize is larger compared to gif, but it depends on type of content)
I was always partial to MS Gif Animator. It's free, can work with transparency and has custom palette support.
Scott"When will the rhetorical questions end?!" - George Carlin
Photoshop. Outputs compressed and non-compressed AVI, layered Photoshop PSD, GIF, BMP, PNG (image, filmstrip or animated), JPEG, ICO (Windows icon files), ANI (Windows animated icons), and CUR (Windows cursor files).
Speaking of animated gifs, here's a little something I made in gimp using IWarp. Yes I know I'm a sick pup.....
Last edited by racer-x; 11th Jul 2014 at 13:10. Reason: Smoother versionThe memories of a man in his old age, are the deeds of the man in his prime.......
haha racer-x GIF boob animations used to be so popular! But now with youtube, video embedding, broadband. GIF's are like the dodo bird ... The art of GIF making is lost
What makes or breaks a gif in terms of quality/filesize ratio is the processing options, pallete, dithering algorithms, optimizations used. What works well for some types of content might not be appropriate for others - so it's important to have options.
A free gif optimization program is gifsicle (commandline only). It can reduce the filesize of most gifs, but for already optimized ones like those produced in photoshop, the filesize actually gets larger
Here are some tests with an animation I did a few years ago (don't take the content too seriously, it was just for fun ) . It's primarily greyscale on a static gradient background, so predisposed to banding as you can see with vdub's default export. But because of those same factors it will also benefit from using a limited palette, adaptive dithering . Some programs like ffmpeg barely have any options , so they suffer immensely. Terrible GIF quality
gimp 128color, floyd-steinberg 990KB, gifsicle optimized =>961KB
photoshop 128color, adaptive 50% diffusion, lossy5 214KB
vdub default 241KB
The memories of a man in his old age, are the deeds of the man in his prime.......
ahhhh so ffmpeg does have control over dither according to that 1st link by pandy with sws_dither
‘sws_dither’ Set the dithering algorithm. Accepts one of the following values. Default value is ‘auto’. ‘auto’ automatic choice ‘none’ no dithering ‘bayer’ bayer dither ‘ed’ error diffusion dither ‘a_dither’ arithmetic dither, based using addition ‘x_dither’ arithmetic dither, based using xor (more random/less apparent patterning that a_dither).
For reference, the other free gif utility , gifsicle link
Same animation with ffmpeg sws_dither options
Looks like "auto" used error diffusion , the default one posted above (the seizure inducing flickering POS )
These are still terrible for this type of animation IMO. At least the filesize is reduced substantially. But I'll check again if I did something wrong
@ffmpeg -i %1 -vf "pp=hb/vb/dr/al|f/tmpnoise|4|4|4,decimate=cycle=2,decimate=cycle=2,scale=w=640:h=-1:sws_dither=a_dither:sws_flags=bicubic+accurate_rnd+full_chroma_inp+full_chroma_int,format=pix_fmts=rgb8,setsar=sar=1/1" -y %1_a_dither.gif
Another great use for ffmpegCode:
-vf scale=1920:-1:sws_dither=a_ditherThe memories of a man in his old age, are the deeds of the man in his prime.......