STRML / Imgur-to-Gfycat

Chrome extension that replaces gifs hosted by imgur to HTML5-optimized video converted and hosted by gfycat.
23 stars 5 forks source link

Images blink on loop #13

Closed neuralroberts closed 10 years ago

neuralroberts commented 10 years ago

Hello! Thank you for developing this extension.

Any gif replaced by this extension 'blinks' at the end of each loop, as if there is a single empty frame at the end of the animation. If I follow the link to the gfycat page, the problem disappears, but the problem exists on any other site like reddit or imgur.

I am running chromium Version 33.0.1750.152 Ubuntu 12.04 (256984)

STRML commented 10 years ago

I’ve checked with the gfycat guys on this one, as we are using their embed code directly. It appears to be an issue with how Chrome handles HTML5 video. This is the message I got from the gfycat dev:

The timing on that particular gif was also just reported in /r/gfycat. 
Its because Chrome skips the timing on the last frame of a video,
 and that video is only two frames long. Its a bit tricky because 
Firefox and IE play the video correctly, so if we fudged it for 
Chrome, it would be wrong in FF. But there some options (for 
example we could upconvert it to 8 frames which would barely, 
if at all, increase the file size). But we keep working on improving 
the subtle timing issues like this as we find them.

Unfortunately this cannot be fixed within this plugin.