How to remove every second frame from an animated gif?
I have a folder full of videos that I want to convert to an animated gifs. ffmpeg/avconv does a bad job of doing it directly, so I instead convert the video to a gif by first outputting each frame as a png and then converting back to gif using imagemagick. The problem is that this results in a large gif in terms of file size. To solve this I want to "drop" every second or nth frame from the gif, either by skipping every image file when converting to a gif or by removing frames from a gif. How can I do this on Ubuntu (13.04) using imagemagick or some other command-line utility?
More
1 Expert Answer
Inactive Tutor answered 10/22/19
Tutor
New to Wyzant
This can be done in Adobe Photoshop CC. Depending on how long the gif is and the resolution, there is an animation workspace that shows individual frames that can be manipulated or deleted.
You could also re-export the gif from a program like Adobe Premiere pro and just change the Frame Rate.
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Kuljo U.
Stumbled upon VirtualDub; http://virtualdub.sourceforge.net/ Surprisingly, it just happens to be able to edit .gif's as well as videos. And it has an "every other frame, every third frame, etc." function. Easy peasy. btw, if you use VirtualDub for more extensive videos, you likely will also need the ffmpeg plugin; https://sourceforge.net/projects/virtualdubffmpeginputplugin/05/24/21