Help - Search - Members - Calendar
Full Version: gif making?
Wannabe Fansubs Forum > General > Technical Help
scizo
how to make gif from a avi? a specific part of the movie u capture and capture the frames of it into a gif. could someone give me a good program for it?

ty
Nono
Well theres AVD video processor (very light to download but its a trial) theres ImageReady(but you need the collected screens though)....then theres Ulead
School House
VirtualDub [FREE]

http://prdownloads.sourceforge.net/virtual...16.zip?download

Microsoft GIF Animator (this is very very very very very very very basic) [FREE]

http://www.jhepple.com/gif_animator.htm



1) Open video with VirtualDub

2) Go to the spots where you want the gif to start. THEN PRESS STOP.

3) Set the start and end markers.

IPB Image

4) Video > Compression > Choose a codec. Divx, Xvid, or Microsoft MPEG-4 Video Codec V3 are what I usually use. *

5) Audio > No Audio

6) File > Save segmented AVI

6) Open that .avi from step file with Microsoft GIF Animator.

8) Just select the options you want. And save it (the picture with 2 floppies)

* If the .gif plays back slow and then go back to Microsoft GIF Animator and hold ctrl and select all the even (or odd) number frames. Then press delete and save it again.

Sadly Microsoft GIF Animator doesn't let you crop a certain spot so that sucks. If you know of a better free gif editor feel free to add to this. Well unless you are a pirate you probably have photoshop and imageready. ph34r.gif
terrukallan
My method is a bit bizarre and can be a bit tedius for long animations, but it works on Linux while School House's method will not (the programs are not available).

Basic Animated GIF Tutorial
Two programs are needed: Mplayer and Gimp (both are free and open source). It is possible to have Mplayer make a gif directly, but in my experience this produces poor results. Instead I make a series of png files and import them into the Gimp to make the animation.

1) Enter the following command at the shell prompt:
QUOTE
mplayer -vo png -ao null -ss hh:mm:ss -frames ff /path/to/filename.avi

1a) Replace hh:mm:ss with the point at which to start capturing images. (For example entering 00:10:00 will start capture ten minutes into the video.

1b) Replace ff with the number of frames to capture. To figure out how many frames you need look at the frame rate (fps) of the video. (For example if the frame rate is 30fps and you want three seconds you would enter 90.)

1c) Replace /path/to/filename.avi with the name and path of the video file you wish to use.

1d) Mplayer will save the images in your current working directory with names of the form 000000XXX.png where "XXX" is an automatically incremented number counting up from the first frame.


2) Open the first frame of your animation in Gimp. (You ma need to start with the file 0000002.png as Mplayer sometimes makes the first image the first image of the video rather than the first image at your starting time.)

3) Open the subsequent frames in order as layers. (File->Open as layer... or [ctrl] + [alt] + o )

4) Save the image as a gif file.

5) The "Export File" dialogue should pop up.
IPB Image
Make sure to select "Save as animation" then click "Export".

6) The "Save as GIF" dialogue should then pop up.
IPB Image
The "Delay between frames where unspecified" is the important setting here. Generally, about 40ms of delay will make the animation flow at the same speed as the original video. To calculate the proper delay for a given video divide 1000 by the frame rate of the video. I believe that the delay can only be a multiple of 10. If you enter something else it will be rounded.


If there is any interest, I might post a tutorial about more advanced techniques later.
chanus_aloba
Hm. . . Why don't u use imageready??? U just need pics right??? I use vlc media player to make screenshots from avi based vidoes. . . happy.gif

How bout my gif that I use here. . . Its made out of imageready . . . anyway I'm asking if my gi images are good though???
kisame_san
Wow! school house happy.gif

We have the same style in making animated gifs... happy.gif

I would recommend school house's method since it's easier and faster... happy.gif

You can also use Macromedia Fireworks happy.gif (actually this is best for making animated sigs) cool.gif
Nono
If I could only find a full version of AVD Video Processor it would be easier (I did my nono GiFs with that...even does crops...resize...anti alias...color...transition...framerate...even sorting out images) its very lightweight...currently I'm using Ulead though

Note:btw did every Nono.gifs in 5 mins at most 10mins ...with the resize(with or without anti-aliasing)...frame reducing....timing....even did the screen capping in the same program (usually takes less or exactly a second to cap a second's worth of caps...you could even select the format you want your screencap to be) happy.gif
School House
QUOTE(chanus_aloba @ Aug 27 2006, 02:48 AM) *

Hm. . . Why don't u use imageready??? U just need pics right??? I use vlc media player to make screenshots from avi based vidoes. . . happy.gif

How bout my gif that I use here. . . Its made out of imageready . . . anyway I'm asking if my gi images are good though???



Yes but unless you wanna keep rewinding to snapshot. Unless you can actually select in vlc. And yeah your gifs fine. Only problem I see is that the Harima one looks like it has a weird frame in it. Here's smoother version.

IPB Image
http://img244.imageshack.us/img244/5153/kamiharima2zs8.gif

Looks kinda faster but I think you would know how to fix it.
kisame_san
QUOTE(School House @ Aug 27 2006, 02:16 PM) *

Yes but unless you wanna keep rewinding to snapshot.

Well...you are mistaken there my friend. Actually VLC has a slow motion feature

So it's not that hard to take pics in sequence. happy.gif
terrukallan
QUOTE(chanus_aloba @ Aug 27 2006, 03:48 AM) *

Hm. . . Why don't u use imageready??? U just need pics right??? I use vlc media player to make screenshots from avi based vidoes. . . happy.gif

How bout my gif that I use here. . . Its made out of imageready . . . anyway I'm asking if my gi images are good though???

Imageready is not available on my operating system of choice, thus I must use other means. I use mplayer rather that vlc because mplayer can automatically make frame by frame screenshots. It also is easier to get the timing right this way.

QUOTE(kisame_san @ Aug 27 2006, 08:55 AM) *

I would recommend school house's method since it's easier and faster... happy.gif

school house's method is easier, but as I said it requires programs not available for my OS. My method also allows for more advanced things which can't be done without replacing Microsoft Gif Animator or using a third program.
QUOTE(kisame_san @ Aug 27 2006, 08:55 AM) *

You can also use Macromedia Fireworks happy.gif (actually this is best for making animated sigs) cool.gif

Also not available for my OS. happy.gif

QUOTE(kisame_san @ Aug 27 2006, 01:09 PM) *

Well...you are mistaken there my friend. Actually VLC has a slow motion feature

So it's not that hard to take pics in sequence. happy.gif

It's still a manual process which makes it tedious when making long animations or when trying to get timing correct.
kisame_san
QUOTE(terrukallan @ Aug 27 2006, 11:19 PM) *

It's still a manual process which makes it tedious when making long animations or when trying to get timing correct.

Yeah you're right... cool.gif

Actually this method takes 30-40 minutes to be completed. cool.gif
HayashiAska
I downloaded nearly all the recommendations...

MPlayer... I can't seem to make that command line to work... It keep saying: Directory or path something blah blah blah... I tried using with and without (" ") and (' ') for the filenames... Doesn't work till i gave up...

Then I tried Microsoft GIF Animator... Read the help... I can't find a way to shrink the animation proportions...



Anyway I found my own way using Virtual Dub + ImageReady... biggrin.gif

I set the Start and End like School House method...
Video > Compression set to Uncompressed...
Video > Frame Rate > Frame Rate Conversion... set Decimate by "5"... Because School Rumble RAW's screen changes every 5 frames...

Then, File > Save Image Sequence... Set the directory and all... I usually select Jpeg "60"... The quality won't bother much since i'll be shrinking the image later...

Then I open image ready... File > Import > Folder as Frames... CHA CHA ~ CHA CHA!!!

I then do all my editing here and save as optimized...
kisame_san
QUOTE(HayashiAska @ Sep 9 2006, 10:20 AM) *

I downloaded nearly all the recommendations...



Then I tried Microsoft GIF Animator... Read the help... I can't find a way to shrink the animation proportions...



What?! It's there!! dry.gif

You can set it...i think you can find something like "height" and "width"(be warned:its hard to resize it ph34r.gif )
terrukallan
QUOTE(HayashiAska @ Sep 9 2006, 06:20 AM) *

MPlayer... I can't seem to make that command line to work... It keep saying: Directory or path something blah blah blah... I tried using with and without (" ") and (' ') for the filenames... Doesn't work till i gave up...

The command line I presented was for Linux. Since you seem to be using some version of Windows (given that you can use MS Gif Animator) the command would probably have to be altered. I'll look into it, but on Windows there are probably better options.
HayashiAska
QUOTE(kisame_san @ Sep 10 2006, 07:21 AM) *

What?! It's there!! dry.gif

You can set it...i think you can find something like "height" and "width"(be warned:its hard to resize it ph34r.gif )


Ya its there... But it doesn't want to accept smaller values... I can increase the size, but not decrease... ohmy.gif
Typing or pressing the arrow buttons doesn't work...

QUOTE(terrukallan @ Sep 10 2006, 10:24 AM) *

The command line I presented was for Linux. Since you seem to be using some version of Windows (given that you can use MS Gif Animator) the command would probably have to be altered. I'll look into it, but on Windows there are probably better options.


Ooh... No wonder...
garywafu
In Mac OS X 10.3.+ Adobe Photoshop CS and Adobe Image Ready is good in working out GIFs..
kenjiharima
Also Try Corel Rave
riddle
Can anyone teach me how to use Ulead to make gif?.... I have this program but i don't know how to use it....
terrukallan
QUOTE(riddle @ Sep 22 2006, 11:00 AM) *

Can anyone teach me how to use Ulead to make gif?.... I have this program but i don't know how to use it....

I've never used it myself, but I noticed that there are some tutorials at the Ulead web site that might be of some help.
riddle
Thx....
I'm gonna try it myself then......
diapason_89
Sorry for bringing this up again but it's urgent.

I've downloaded VirtualDub on my computer and tried opening an SR file. It won't open because it couldn't find a decompressor for XVID.

What should I do??? sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.