Page 1 of 1

Gif Help

Posted: Fri Dec 13, 2013 4:21 am
by MrSetharoo
So I've been going on a gif making spree for the past month making Doom gifs and I wanted to start making gifs of things like scenes from anime or a typical video. Well for some reason my gifs are not turning out how they look in GIMP and I've had this problem for a while but never really thought twice on it.

This is what one of stills looks like in the preview.
Image

And this is that same still when the Gif is exported.
Image

When I did gifs using videos recorded from Fraps it didn't do this. So I used Fraps to record the video out of VLC and this same thing happened. Maybe someone can help me?

RE: Gif Help

Posted: Fri Dec 13, 2013 6:31 am
by Mr.Man
Seems like the program decreased detail to save size for the whole gif. What are you using to make these? There might be a option for that, right?

I never amde gifs, so excuse me if im far from wrong :/

RE: Gif Help

Posted: Fri Dec 13, 2013 6:34 am
by MrSetharoo
Mr.Man wrote: Seems like the program decreased detail to save size for the whole gif. What are you using to make these? There might be a option for that, right?

I never amde gifs, so excuse me if im far from wrong :/
Worth a shot

Also I'm using Gimp and to convert my videos I use Freemake if I want subtitles.

RE: Gif Help

Posted: Fri Dec 13, 2013 6:59 am
by Medicris
Images like GIFs limited to 256 colours are not suitable for rendering smooth gradients or photographs, but are suitable for simpler images with solid areas of colour. Otherwise, something called "colour banding" results. Your avatar works since it's mostly flat colour, what you're trying to do is, well, not. The only way to really ease banding is through dithering, like in the above link. The program you're using doesn't dither when translating the frames into 256-colour. Find one that does.

Personally, all I do is use Sony Vegas, change the size/framerate to what I want, export it as PNG frames, then use the animated gif plugin for Paint.NET to make them into a gif. It sounds like a long process but each step takes about 2 seconds. There's methods which involve specialized programs that can allow you to choose how much dithering to use per frame to trade filesize/banding.
Spoiler: An example of a long, large, complex-colour, high-framerate result (3.67MB) (Open)
Image
Spoiler: An example of a smaller, complex-colour, slightly slower framerate result (0.99MB) (Open)
Image
Spoiler: An example of a large, smooth, very simple colour result (632kb) (Open)
Image
Remember that GIFs are timed in centiseconds (1/10th of a second). If you're dealing with constant-framerate video material, remember to adjust the delay speed accordingly to the framerate. For example, the inverse of video running at 15 frames per second would be 1/15 = 0.06666 seconds per frame. Multiply that number by 100 to convert the result to centiseconds. This, rounded up, would mean you'd have a delay of 7cs between frames.

Remember that size goes up exponentially with colour detail (flat colours or lots of dithering) and framerate. I could make these a lot smaller by removing/reducing the amount of dithering if I could be assed to.

RE: Gif Help

Posted: Fri Dec 13, 2013 7:11 am
by MrSetharoo
Medicris wrote: Images like GIFs limited to 256 colours are not suitable for rendering smooth gradients or photographs, but are suitable for simpler images with solid areas of colour. Your avatar works since it's mostly flat colour, what you're trying to do is, well, not. The only way to really try getting around this would be [url=http://i.imgur.com/kkb6X3Z.png]dithering[url]. The program you're using doesn't dither when translating the frames into 256-colour. Find one that does.

Personally, all I do is use Sony Vegas, change the size/framerate to what I want, export it as PNG frames, then use the animated gif plugin for Paint.NET to make them into a gif. It sounds like a long process but each step takes about 2 seconds. There's programs more specialized for this, but it works for me.
Spoiler: an example of a long, large, high-framerate result (Open)
Image
Spoiler: an example of a shorter, smaller, slightly slower framerate result (Open)
Image
Remember that GIFs are timed in centiseconds (1/10th of a second). If you're dealing with constant-framerate video material, remember to adjust the delay speed accordingly to the framerate. For example, the inverse of video running at 15 frames per second would be 1/15 = 0.06666 seconds per frame. Multiply that number by 100 to convert the result to centiseconds. This, rounded up, would mean you'd have a delay of 7cs between frames.

Remember that size goes up exponentially with colour detail (flat colours or lots of dithering) and framerate.
Well as soon as I got the Email of you posting this I realized that Gimp was optimizing the palette to Indexed with no dithering and I use 15 FPS because 15 seems to run fine on GIMP without me having to change the delay in export. They usually stay under 4Mb with me optimizing the gif to save of space. Though there have been some cases of me having to resize and change the palette.

Also my avatar was made using a video editor that had a Gif export option.

Like a dumbass I forgot Gif has less colors. Thats what made me realize what Gimp was doing :P