Skip to main content
madmiz
Participant
March 20, 2017
Answered

gif frame delay

  • March 20, 2017
  • 2 replies
  • 17299 views

so, for a month Ive been having this problem with changing the frame delay time. whenever I make a gif I set every frame to 0.05. then I convert it to video to sharpen. but I noticed if I convert to video the gif becomes slower than it is supposed to. so I converted it back to frame animation and found that the frame timing is 0.07. I tried to set every frame to 0.04 and convert to vid then back to frame animation just to check if the timing has changed and it did. it is set to 0.03. so basically I can't change the timing to anything else except 0.07 and 0.03. which is too fast/slow for me. I thought maybe it was a storage problem, but I have 18gb which isn't too low. Ive had lower before and my ps cc still worked fine. any ideas what the problem may be ? (note that Ive updated to the 2017 version but the issue is still there)

This topic has been closed for replies.
Correct answer davescm

Yeah I did the same and youre right the frame time is the same when I convert back from video. But like I said, The only frame times that would still be the same are 0.03 and 0.07. I tried out 0.06 and played with the fps but the gif doesnt turn out play smoothly when saving it for web.


I just tried the round trip with 0.06 sec frames and you can make it work.

Set the video timeline to 1/0.06 = 16.67 fps (you need to use the Custom option to set that rate) . On converting back to frames they come back set to 0.06.

Dave

2 replies

Inspiring
December 20, 2018

Hey davescm​ and madmiz​ ... I think my question might be a step below this but you both seem to understand the area.

Is there a conversion to video (I understand this) and export setting that should be done after messing with a frame animation in the timeline?

Also, separate from the smoothness issue, the frame delay amounts do not seem to match with any rhyme or reason to the exported GIF? I imported a GIF and it showed .03 ... changed some to .01 and they actually got slower ... tried .05 and it got a little faster ... then .08 seemed to get slower again ...

Really frustrating ... any help would be greatly appreciated!

davescm
Community Expert
Community Expert
December 20, 2018

Are those speeds in Photoshop or on the exported gif?

A frame delay of 0.01s represents 100 frames per second.  You will not get Photoshop to play that back in real time.

On an exported gif the reality is you are in the hands of the browser that you are viewing them in. You will be lucky to get them to play at 30fps+ and may see slow downs from around 20fps (0.05s per frame)

If you need a high constant frame rate you may be better with a video format (depending on what you are going to do with it)

Dave

Inspiring
January 8, 2019

davescm

Thanks Dave! This answer my main question regarding if there is some special tool or export setting which creates the smoothness


And to put a cap on this ... just wanted to share my final realizations with all this. davescm​, if you have any insights here they are more than welcome. They have all been helpful to me and maybe someone else might find them helpful down the road too. TY!


- And note, this is all for a frame animations (which for beginners seem to be a lot simpler than a video animation with shapes and automated motion etc, plus this is how someone would edit and existing GIF in photoshop).

- Something weird seems to happen at a .01 delay and below, I don't understand the technical explanation to that but just avoid it. Logic would say the animation would get faster by going from .02 to .01 of a delay, but it gets slow and choppy.

- At the point where you can't make the GIF faster by decreasing the frame delay, start removing frames evenly ... seems to work just fine without visual loss.

Here are my examples:

.03 frame delay - this was the original file i pulled from the internet

.02 frame delay - also note you can adjust the frame delay in bulk by selecting multiple frames

.01 frame delay - oddly slower and more choppy (in all browsers and viewing options)

.02 with half the frames (to delete the frames just select them then use the hamburger menu icon in the top right corner of the menu)

Thanks again davescm​. And good luck to anyone else having GIF issues!

davescm
Community Expert
Community Expert
March 20, 2017

Have you tried building your frame animation with a frame rate that converts exactly(or at least closely) to your video timeline rate? For example 0.033 secs to 29.97FPS or 0.04secs to 25FPS etc.

Dave

madmiz
madmizAuthor
Participant
March 20, 2017

yeah I tried. speed just increases. and if I try changing the fps too high or too low the gif becomes laggy.

davescm
Community Expert
Community Expert
March 20, 2017

That sounds strange. I've just tried this on CC2017.0.1.

I started with a 30 frame animation set to 0.033 secs per frame (which showed as 0.03 seconds on each frame thumbnail). At that rate it should last 1 second.

The frames played in the timeline slower than the expected 1 second but exporting to GIF played the 30 frame loop correctly every second.

Converted to video it showed in the timeline as 1 second long and also played at that rate in the timeline

Converting back to frames, it was the same length as before with each frame thumbnail showing 0.03 seconds

Dave