How do I make GIFs from video clips?

Discussion in 'OT Technology' started by KJB, Mar 7, 2008.

  1. KJB

    KJB Guest

    The easiest way possible please. :wiggle:
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    google.com
     
  3. Exiled

    Exiled New Member

    Joined:
    Jul 27, 2007
    Messages:
    6,154
    Likes Received:
    0
    Nobody seems to know the best way in all honesty, all the elitist pricks say "google" because they dont know.
     
  4. KJB

    KJB Guest

    to the top
     
  5. dissonance

    dissonance reset OT Supporter

    Joined:
    May 23, 2006
    Messages:
    5,652
    Likes Received:
    1
    Location:
    KS
    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.
     
  6. negative zero

    negative zero New Member

    Joined:
    Oct 27, 2003
    Messages:
    6,328
    Likes Received:
    0
    Location:
    the Watchtower
    I think ulead gif animator will do this.
     
  7. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    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 :p
     
  8. dissonance

    dissonance reset OT Supporter

    Joined:
    May 23, 2006
    Messages:
    5,652
    Likes Received:
    1
    Location:
    KS
    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.
     
  9. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    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.
     
  10. dissonance

    dissonance reset OT Supporter

    Joined:
    May 23, 2006
    Messages:
    5,652
    Likes Received:
    1
    Location:
    KS
    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
     
  11. Exiled

    Exiled New Member

    Joined:
    Jul 27, 2007
    Messages:
    6,154
    Likes Received:
    0


    :bowdown:
     
  12. whup

    whup I wish you had children and.. so that I could step

    Joined:
    Feb 12, 2007
    Messages:
    1,603
    Likes Received:
    0
    Oh shit, what I have created :wtc:
     
  13. KJB

    KJB Guest

    :bowdown:

    Thanks bro.

    I'll have some great one's when I get the time to do it! HarrHarr!!! :hsd:
     

Share This Page