The GIFer Has Awakened...

Drop by and talk about anything you want. This is where all cheese-related discussions should go
User avatar
Vigafre
Posts: 3920
Joined: 27 Jul 2009, 13:07
First Video: Halo: The Future of Gaming
Location: Oklahoma
Contact:

Re: The GIFer Has Awakened...

Postby Vigafre » 17 Jan 2013, 23:47

I'm curious about your method to see close it is to mine.
User avatar
phlip
Posts: 1790
Joined: 24 Apr 2010, 17:48
First Video: Eternal Sonata (Unskippable)
Location: Australia

Re: The GIFer Has Awakened...

Postby phlip » 18 Jan 2013, 03:14

My method:
mplayer -vo png, to extract the video as individual frames
Some shell fanciness involving the {a..b..c} to select out the frames we want and drop the framerate
mogrify to crop and resize
gimp to assemble, drop to 255 colours, optimise and save as a gif

I use gimp instead of convert to build the gif as it means the gif has a single palette over the whole image, while convert gives a separate palette per frame. So the one from convert looks better, but the one from gimp optimises and compresses a lot better.
While no one overhear you quickly tell me not cow cow.
but how about watch phone?

[he/him/his]
User avatar
UNHchabo
Posts: 172
Joined: 16 Apr 2012, 14:52
First Video: Back It Up
Contact:

Re: The GIFer Has Awakened...

Postby UNHchabo » 18 Jan 2013, 08:32

Dominic Appleguard wrote:It's good.


Here's a smaller one (100x100) that you can use as your avatar:

Image

So my method is close to what phlip said, but I'll elaborate:

1) It would be much easier to extract the video frames using a script, but I don't do that because I'm stupid. :) Instead, I boot up the video using Media Player Classic. I go to the first frame I want, and hit Alt+I to save it as a png. Then I hit Ctrl+Right to advance one or more frames (my "tilting out" and "creepy Graham" gifs are both 15fps, half the video's framerate) and repeat. I can do this keystroke combo quickly.

2) Open GIMP, "Open as Layers" the image files.

3) Image->Canvas Size to crop the image appropriately. For the Sunglasses gif, this means cropping it to 255x255, with an offset of [-320,-72] (I worked off of the 720p video).

4) (Optional) Filters->Animation->Optimize for GIF. This will open the resulting image in a new window. In the Layers panel, there are now comments next to each layer specifying the delay on each frame. If you want this to be non-uniform (such as Vigafre holding on the first frame of Graham hatless), you can change this now.

5) Image->Scale Image to resize the image as appropriate. For the avatar version above I made it 100x100.

6) (Optional) Image->Mode->Indexed. Here you should select "Generate optimum palette; Maximum number of colors: 255". If you'd like you can also dither the image, which will increase file size, but reduce color banding (link). (I just discovered this option today)

7) Save image with a .gif extension. Select "Save as animation". Check "Loop forever", and put in the appropriate frame delay. If the framerate of the video was 30fps (most LRR videos are), then if you skipped no frames your delay will be 33ms. If you skipped one frame for every frame you saved, it will be 66ms.

8) Post the result!
Looking for an older video? Try this wiki page. (Current through the end of 2008)
User avatar
Vigafre
Posts: 3920
Joined: 27 Jul 2009, 13:07
First Video: Halo: The Future of Gaming
Location: Oklahoma
Contact:

Re: The GIFer Has Awakened...

Postby Vigafre » 18 Jan 2013, 12:27

Guess I'll repost my method in case it has changed a bit:

1) If necessary, convert video file to a .mov file.

2) Open file in Adobe ImageReady, select section of video and choose frame skip amount.

3) Resize and crop image. Set frame length.

4) Add text if desired.

5) Save optimized file.


However, I just tested saving the ImageReady file as a .psd file and doing the optimization in GIMP, which didn't produce the result I was hoping. However however, at least I know I can do it.

UNHchabo wrote:If the framerate of the video was 30fps (most LRR videos are), then if you skipped no frames your delay will be 33ms. If you skipped one frame for every frame you saved, it will be 66ms.

Huh, I was wondering why the values I was using (no skip: 30 ms, 1 skip: 70 ms, 2 skip: 100 ms, etc.) were working so nicely. I honestly was just guessing.
User avatar
phlip
Posts: 1790
Joined: 24 Apr 2010, 17:48
First Video: Eternal Sonata (Unskippable)
Location: Australia

Re: The GIFer Has Awakened...

Postby phlip » 18 Jan 2013, 15:47

Chabo: you get better results if you crop/scale/etc first, then drop to Indexed, then optimise for GIF. Doing the optimise after its already indexed increases the odds that a pixel is the same colour in consecutive frames, and can be optimised away. Also, play with the different dithering options... which one looks the best and which one compresses the best will vary depending on the video. Usually undithered will compress best but look worst, but sometimes it looks good enough to be worth the smaller file size.
While no one overhear you quickly tell me not cow cow.
but how about watch phone?

[he/him/his]
User avatar
Yaxley
Posts: 2389
Joined: 02 Nov 2008, 14:38
First Video: Lock Out
Location: Pennsylvania

Re: The GIFer Has Awakened...

Postby Yaxley » 19 Jan 2013, 07:02

Thanks for the tutorials everybody. I can almost make gifs now. To celebrate, Rainbow Dash will chug some whiskey.

Image
User avatar
Merrymaker_Mortalis
Posts: 7226
Joined: 24 Feb 2010, 19:19
First Video: ENN's First Episode on Escapist
Location: Wales

Re: The GIFer Has Awakened...

Postby Merrymaker_Mortalis » 22 Jan 2013, 17:19

I have an odd request.

Image

Can you cut out this ring on this and place it on a proper black background.

Then animate it rotates Clockwise at moderate speed. Ring stays in the same space but spins.

And have the words OM NOM NOM in the middle rotating the opposite direction.
Perhaps the format could be:

OM
NOM
NOM
User avatar
Yaxley
Posts: 2389
Joined: 02 Nov 2008, 14:38
First Video: Lock Out
Location: Pennsylvania

Re: The GIFer Has Awakened...

Postby Yaxley » 30 Jan 2013, 11:47

Inspired by Ditto's Feed Dump transcripts in the wiki thread.

Image

ETA:

Image

The timing seems off on this one and I don't know why.
User avatar
UNHchabo
Posts: 172
Joined: 16 Apr 2012, 14:52
First Video: Back It Up
Contact:

Re: The GIFer Has Awakened...

Postby UNHchabo » 01 Feb 2013, 08:25

Two from this week's Loading Time:

Image

Image
Looking for an older video? Try this wiki page. (Current through the end of 2008)
User avatar
Metcarfre
Posts: 13676
Joined: 08 Jul 2008, 13:52
First Video: Not Applicable
Location: Vancouver, B.C.

Re: The GIFer Has Awakened...

Postby Metcarfre » 04 Feb 2013, 13:42

Anybody feel like gifing this?
*
User avatar
WAYF
Posts: 546
Joined: 09 Sep 2010, 23:51
First Video: Unskippable: The Getaway
Location: Australia
Contact:

Re: The GIFer Has Awakened...

Postby WAYF » 11 Feb 2013, 01:33

For some reason, I really want a gif of Beej saying "DID SOMEONE SAY 'BALLS'?" from Feed Dump.

I don't know why, but I might find a terrible reason to use it someday. :P
"My favourite song is 'Girl Panic!'... because girls make me panic... in a good way!"
- Simon Le Bon.
User avatar
Ptangmatik
Posts: 3597
Joined: 08 Apr 2012, 09:44
First Video: probably one of the 1st unskippables
Location: the shire of york

Re: The GIFer Has Awakened...

Postby Ptangmatik » 11 Mar 2013, 15:56

I still can't get these things to run smoothly, clearly freeware is not the way to go. Oh well

Image

Either that, or my artistic skills are comparable to that of a donkey with a chisel
Last edited by Ptangmatik on 11 Mar 2013, 16:04, edited 1 time in total.
Geoff_B wrote: ... Even for here, that was weird.
User avatar
Vigafre
Posts: 3920
Joined: 27 Jul 2009, 13:07
First Video: Halo: The Future of Gaming
Location: Oklahoma
Contact:

Re: The GIFer Has Awakened...

Postby Vigafre » 11 Mar 2013, 16:04

Of course, I don't know what freeware you're using, but this thread on reddit has some pretty good stuff. I've used the Video to Gif Converter listed on there and it works pretty well.

http://www.reddit.com/r/gif/comments/uh ... to_edit_a/
User avatar
Geoff_B
Posts: 11637
Joined: 06 Apr 2011, 13:13
First Video: Installation Anxiety
Location: Harrow, London
Contact:

Re: The GIFer Has Awakened...

Postby Geoff_B » 15 Mar 2013, 01:23

Two requests from the latest Friday Nights episode:

Can I please please please get a gif of the moment Alex puts down the Magic Unhinged pack? "All bets are off" with the zoom in to the pack? I would be most grateful :D

Also Alex's "And now we fight!" :D
Twitter|Google+|Tumblr|Facebook|Steam|Skype: gmbridges

I survived spaMEGAdon and all I got was this lousy signature joke.

#TeamMonica, #TeamMaki, #TeamTavis
User avatar
ZePancakes
Posts: 813
Joined: 28 Jan 2013, 19:23
First Video: Bad News
Location: The Event Horizon, NSW, Aus

Re: The GIFer Has Awakened...

Postby ZePancakes » 16 Mar 2013, 07:09

Oh man, I humbly request someone of gif prowess to gif the "Why can't I hold all these answers?" from the recent Friday Nights. Please? :D

(For reference, it happens at 4:17)
Oh-h-h-h SNAP... Concede.

Image
User avatar
General Michi
Posts: 1875
Joined: 26 Sep 2010, 02:37
First Video: 3 PS3s
Location: Dublin

Re: The GIFer Has Awakened...

Postby General Michi » 16 Mar 2013, 07:14

Could someone do Graham's creepy turn and smile in the stinger of the Sim City loading time?
We put the brick on the accelerator.

Image Image

Twitter Steam Tumblblar
User avatar
phlip
Posts: 1790
Joined: 24 Apr 2010, 17:48
First Video: Eternal Sonata (Unskippable)
Location: Australia

Re: The GIFer Has Awakened...

Postby phlip » 16 Mar 2013, 18:02

Image

Image
While no one overhear you quickly tell me not cow cow.
but how about watch phone?

[he/him/his]
User avatar
ZePancakes
Posts: 813
Joined: 28 Jan 2013, 19:23
First Video: Bad News
Location: The Event Horizon, NSW, Aus

Re: The GIFer Has Awakened...

Postby ZePancakes » 16 Mar 2013, 18:45

Cheers!
Oh-h-h-h SNAP... Concede.

Image
User avatar
AlexanderDitto
Better Than the First Alexander
Posts: 4382
Joined: 28 Nov 2007, 07:41
First Video: Desert Bus 1: The Original!
Location: Phailadelphia (Again)
Contact:

Re: The GIFer Has Awakened...

Postby AlexanderDitto » 16 Mar 2013, 21:08

phlip wrote:Image


Oh my goodness I love this so much. His goofy grin makes me smile every time I see it! I can't help it.
User avatar
General Michi
Posts: 1875
Joined: 26 Sep 2010, 02:37
First Video: 3 PS3s
Location: Dublin

Re: The GIFer Has Awakened...

Postby General Michi » 17 Mar 2013, 04:27

Cheers phlip! <3
We put the brick on the accelerator.

Image Image

Twitter Steam Tumblblar
User avatar
Dominic Appleguard
Posts: 1536
Joined: 24 Apr 2008, 20:05
Location: Chicago

Re: The GIFer Has Awakened...

Postby Dominic Appleguard » 17 Mar 2013, 06:57

Graham gifs are taking over this damn forum.
User avatar
General Michi
Posts: 1875
Joined: 26 Sep 2010, 02:37
First Video: 3 PS3s
Location: Dublin

Re: The GIFer Has Awakened...

Postby General Michi » 17 Mar 2013, 07:11

He's a very gifable man.
We put the brick on the accelerator.

Image Image

Twitter Steam Tumblblar
User avatar
General Michi
Posts: 1875
Joined: 26 Sep 2010, 02:37
First Video: 3 PS3s
Location: Dublin

Re: The GIFer Has Awakened...

Postby General Michi » 17 Mar 2013, 09:27

Phlip, could you check your "creepy Graham turn" gif's url? It's done derped.
We put the brick on the accelerator.

Image Image

Twitter Steam Tumblblar
User avatar
Keab42
Posts: 6662
Joined: 27 May 2009, 16:38
Location: In England

Re: The GIFer Has Awakened...

Postby Keab42 » 17 Mar 2013, 09:30

He's probably run out of bandwidth. It's usually better to save your own copy and link to that.
Keab42: Keeb-forty-two Deal with it. @Keab42 | | +Keab42 | | Tumblr

Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 49 guests