Some GIF animation files play too fast

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

kbkb

Some GIF animation files play too fast

Post by kbkb »

Some GIF animation files play too fast. My OS is Windows Vista x64 SP1.

They play at the normal speed when they are shown on a webpage.

Is there a solution for this problem?

I think it will be very useful if there are an option for GIF animation playing speed. :)
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Browsers too slow !

Post by Clo »

:arrow: kbkb

:) Hello !

• I've already noticed such speed differences, but I'ld say rather that some Web browsers are slower !
Is there a solution for this problem?
• Not simply as an option in XnView, for the following reason :
- The duration of each frame of a GIF (and others) is stated¦saved in the file itself when you build it.
The time units are either 1/100s, or ms (or sometimes "JIF" = 1/60 s).
- The previews of the softwares used for the building -and XnView- give the real right instructed speed.
- It's also possible to set (a) loop¦s count after which the animation stops till it's restarted (not supported in XnView yet).
I think it will be very useful if there are an option for GIF animation playing speed. :)
- According to that I explain above, I guess it's not that possible,
since the programme should have to rebuild the whole file n… times, while it doesn't support such a function.
- It's even very complicated, since each frame can have a different display duration… :|

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
XnTriq
Moderator & Librarian
Posts: 6021
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=34379#34379]Bad GIF implementation[/url]) wrote:
gamani (GIF Movie Gear – Support » [url=http://www.gamani.com/support_faq.htm#browser]Browser Issues[/url]) wrote:No software is perfect, and Web browsers are no exception to this rule. Over the past few years as the Web has developed, popular Web browsers have been inadvertently released with some, um, limitations, in the way they handle GIF animations. The result is that a Web designer, working with pages that will be viewed using a variety of browsers, needs to be aware of things that might not work properly on some viewing setups.

[...]

Both NS and IE browsers are not entirely accurate with their timing, especially with very short delays between frames. GIF Movie Gear's playback will often be faster than that of a browser if the delays are shorter than 15/100th of a second. Time for download slows playback even more.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Some GIF animation files play too fast

Post by oops66 »

kbkb wrote:Some GIF animation files play too fast. My OS is Windows Vista x64 SP1.
They play at the normal speed when they are shown on a webpage.
Is there a solution for this problem?
I think it will be very useful if there are an option for GIF animation playing speed. :)
Hello,
Right, some GIF animation files play too fast and this is a real problem because the CPU usage is too hight too in this case (especially if the zoom factor is hight : 100% to 1600%), this can freeze the system in some cases.
I have this kind of problems with the XnViewMP Un*x alfa version :
http://newsgroup.xnview.com/viewtopic.php?t=15263
XnViewMP Linux X64 - Debian - X64
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

The opposite

Post by Clo »

:arrow: oops66

:) Hello !
Right, some GIF animation files play too fast…
- No, sorry, I disagree. Like I said above, and as XnTriq confirms, XnView is not faulty,
but the browsers don't respect the frames duration.
- That's the opposite ! Hence, knowing that, I guess that the A-GIFs designers plan faster animations
in order to get a bearable display in the Web browsers.
- Displaying the same GIF in three browsers, I get three different speeds,
that indeed proves that the issue is really in the browsers…
- XnView displays the right frames durations, that's not a bug at all.

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: The opposite

Post by oops66 »

Clo wrote::arrow: oops66
:) Hello !
Right, some GIF animation files play too fast…
- No, sorry, I disagree. Like I said above, and as XnTriq confirms, XnView is not faulty,
but the browsers don't respect the frames duration.
- That's the opposite ! Hence, knowing that, I guess that the A-GIFs designers plan faster animations
in order to get a bearable display in the Web browsers.
- Displaying the same GIF in three browsers, I get three different speeds,
that indeed proves that the issue is really in the browsers…
- XnView displays the right frames durations, that's not a bug at all.
...
Hello Clo,
Yes also, but in this case, why do I have this problem with the XnViewMP Lin*u version and not with the XnView Windows version with some same animated gif (maybe the same kind of problem with dual core 64bits in Vista ?) ?
XnViewMP Linux X64 - Debian - X64
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Pierre's clue ?

Post by Clo »

:arrow: oops66

:) Again…

• … and again, there is no problem when the animation is the fastest, that means it respects the stated durations…
- About the MP versions, maybe Pierre could have a clue, according to the used codings¦GUIs.

• Aside and frankly, all MP thingies are like an amphibious car :  Neither a good car, nor a good boat…
…and if you plan to add a rotor, not a good helicopter either !
Image

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Pierre's clue ?

Post by oops66 »

Clo wrote::arrow: oops66...
• Aside and frankly, all MP thingies are like an amphibious car :  Neither a good car, nor a good boat…
…and if you plan to add a rotor, not a good helicopter either !
...
Clo
LOL Clo
I am not totally agree too !
• Aside either, now days, inside our own familial computers the engine (CPU-GPU-memory) is like a turbo reactor engine, and by this way you have enough power to fly, to drive, or to navigate, ... with this kind of amphibious MP tools or virtual machines!
Friendly Oops66
XnViewMP Linux X64 - Debian - X64