Screpy SEO platform logo New Screpy is coming πŸŽ‰

No Video Formats for Animated Content

Learn how to increase the performance of your web page by converting your GIF files into video formats. Here are the ways and tips!

Reviewed by Screpy Editorial Team

The Google Lighthouse system recommends using video formats where the content on your web page is automatically animated (GIFs). In this way, the loading performance of your web page increases, and certain KBs are saved. Lighthouse states in its report the size of the existing file and how much potential savings will be made to modify this file.

Video Formats for Animated Content

Why So? – Transforming GIFs into Video Formats

We can say that large gifs are not a very effective tool for delivering animated content to the end user. So converting gifs to video format would mean saving in bandwidth. The formats you can use will be MPEG4 / WebM for animations. If we are talking about a static image, you can use PNG / WebP.

How to pass the audit?- Creating MPEG videos

You can use FFmpeg to convert gifs to video. The command you need to run to get video format using this tool is:

ffmpeg -i my-animation.gif my-animation.mp4

What this command does is this: It tells FFmpeg to accept my-animation.gif as an input. The system is flagged with the mentioned input -i. It then asks it to output this input as my-animation.mp4.

How to pass the audit?- Creating WebM videos

We can say that WebM videos are smaller in size than other MP4s, but one thing should be careful. Not all browsers support WebM.

Run the following command to convert your gif to Webm using FFmpeg:

ffmpeg -i my-animation.gif -c vp9 -b:v 0 -crf 41 my-animation.webm

How to pass the audit?- Replacing the GIF image with a video

There are three main features that force GIFs to be replaced with videos:

  1. Play automatically
  2. Continuously keep playing in a loop
  3. No audio files

To change these, you can recreate the file with these codes:

Related tasks

Solve the errors logged to the console

If there are error warnings about your website within the console offered by the browser, you need to follow a few basic steps to resolve them.

Tuesday, December 22, 2020

Title Tags Not Found

Are you encountering the title meta tag not found the issue? You can solve it right away! Here are the causes and importance of the problem in detail.

Sunday, December 20, 2020

Robots.txt Not Found

If you are encountering the Robots.txt not found error, you can create your file immediately by paying attention to the steps below. Discover the details now!

Sunday, December 20, 2020

Not Crawlable Pages

Have the same problem with crawlability issues? Let’s see what you can do for your website to be indexed. Here are the ways and solutions!

Sunday, December 20, 2020

Meta Description Not Found

Are you getting a meta description not found a warning about your web page? Let's figure it out! Why is meta description important, how to pass the audit? Examine!

Sunday, December 20, 2020