Discussion in 'OT Technology' started by KJB, Mar 7, 2008.
The easiest way possible please.
Nobody seems to know the best way in all honesty, all the elitist pricks say "google" because they dont know.
to the top
Extract a jpeg/etc for each frame and go into any graphics program and create the gif from every 'x' frame. I say 'x' because you don't need every single frame.
I haven't done it in a while but I think virtualdub has a frame extract option.
I think ulead gif animator will do this.
I use ffmpeg by hand but it ended up creating a shitty quality one. I also tried extracting the part of the video to multiple JPEGs to get better quality but no dice that way either.
If I get around to researching it again I'll let you know
Same why I do it, but with VirtualDub and then I create the gif with Fireworks 4. I never use every frame or it is a massive file. I also have to change the gif settings since the default one for animated gifs is shit quality.
OK I did a bit of research.
Most of the tutorials and the good quality stuff seems to be, you convert the frames from the video to individual images, resize the images, then stitch them together into a GIF program like DeFREEZe.
I decided to see if I could do it all with VirtualDub, rather than this tedious multi-program converting bollocks. Anyway here's the tutorial:
1) Download VirtualDub
2) Load VirtualDub and open up your movie file (File > Open video file... , or you can drag a video onto the program)
3) Now you should delete parts of the movie you don't want to convert to animated GIF.
Move the slider on the timeline to a certain point, and you can then click on either of the last 2 buttons on the toolbar on the bottom to set the start/end of your selection. You selection will show up shaded in the timeline. Hit Delete to remove your selection of frames.
Alternatively you can hit Home to set the start of a Selection and End to set the end. Also these commands are available in the Edit menu. Play around until you get comfortable with selecting and deleting portions of a video.
4) Now the timeline should be just the portion of the original video you want to make a GIF out of
5) We don't want a gigantic GIF, so go Video > Filters... from the menu. Click Add.., choose Resize from the list, hit OK. The defaults are good. Just set your new size; either the specific dimensions or a percentage. The aspect ratio should auto-calculate the dimensions as you enter them to keep the GIF from ending up warped. Hit the Show Preview button to check your settings. The larger the dimensions, the bigger the GIF on the eyes and longer to download, and the more likely forum users are going to tell you to kill yourself. Click OK when you're happy with it.
6) Hit OK to exit the Filter dialog
7) Now, the framerate. VirtualDub seemed to convert my 29.97fps video to a 10fps GIF, while keeping the same amount of frames. This resulted in a smooth, slow motion video. To make the GIF play back at a realistic speed, I had to convert to 10FPS.
Do this by going Video > Framerate from the menu. Leave the "Source rate adjustment" panel alone and look at the "Frame rate conversion" panel. Here, I selected "Convert to fps:" and entered 10.
I'm not sure if this is consistent; but you can always change this and re-save the GIF.
8) Now to save our GIF! File > Export > Animated GIF..
9) Click the ellipsis button ("...") to choose where to save your file. Choose your loop options. Hit OK.
10) VirtualDub should export it very very fast. Find and look at your GIF. If you're not happy with it, things like framerate, tweak your settings, and save a new version, until you're happy. You could even play with some extra filters to see what youc an do.
11) Ohio State, son.
huh, I never knew I could just do it all in VirtualDub... I never really use the program for much but this is good to know. Thanks
Oh shit, what I have created
I'll have some great one's when I get the time to do it! HarrHarr!!!