Commons:Animated image resources

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Articles

[edit]

Categories

[edit]

Resources

[edit]

An animated GIF:

Image text: "We make the images not suck. Request an image improvement or creation of images at the Graphic Lab."

Note: Click the escape key to stop a GIF at any point. Reload the page to restart the animation. The escape key works in Firefox and Internet Explorer, but not in Chrome or other Chromium-based browsers.

Videos to animated GIFs

[edit]

Videos or parts of them can be converted to animated gifs with the tool ffmpeg using the following command: ffmpeg -i "./input.webm" -vf "fps=15,scale=320:-1,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 ./output.gif (change fps and scale to adjust the resulting file-size and quality) You can adjust it further with this information or add -ss 00:10:02.000 -to 00:10:06 before -i to create a gif of only a part of the video (adjust the timings).

For some examples, see Category:Time-lapse animations. Unlike videos, animated gifs play automatically on Wikipedia which can often be distracting but this could be changed at some point.

Animations to videos

[edit]
The original animation is 1Mbyte, converted to a video it is 140Kbytes. See file info.

See:

Animated GIF size limit

[edit]

For the purpose of determining size limits, the size of an animated GIF is measured in pixels (including transparent pixels) and is calculated two different ways:

  • Frame size — the number of pixels in each frame (image width × image height).
  • File size — the total number of pixels in the file (frame size × number of frames).

When scaled, an animated GIF may not display as expected if its frame size or file size exceeds 12.5 MP (megapixels). For more information, see Category:Animated gifs exceeding the 12.5MP limit.

See also:

Forcing the rescaling of thumbnails of animated GIFs

[edit]
Note: Animated GIFs that exceed the size limit are not scaled by MediaWiki. See the previous section and the links therein for more info.

Purge the image description page on the Commons. See en:WP:PURGE, and the sections there that discuss the use of purge gadgets. The purge gadgets seem to work most consistently for image rescaling. It may take awhile for MediaWiki to get around to doing the rescaling. It depends on how busy the MediaWiki software is, and on the task queue. After awhile reload the page with the thumbnail while bypassing your browser cache (Ctrl-F5 on Firefox). This may pull up the newly rescaled GIF thumbnail. See: en:WP:BYPASS. If this doesn't work you may need to try later. You may also need to purge that page also. A simple purge may work. If there is still a problem, ask for help at en:Wikipedia:Village pump (technical). --Timeshifter (talk) 06:16, 5 May 2010 (UTC)[reply]

Better MediaWiki scaling of optimized animated GIFs

[edit]

Resizing tools, tips, help

[edit]