Animated GIFs offer a flexible and convenient way to share short clips on the web. Unlike videos, GIFs are compatible with most browsers and are comparatively much lighter on system resources.
While it’s easy to get GIFs to play on whichever device you may be on, making them is a completely different story. Depending on your source media, you may be required to use a complex image editing software like Photoshop or a video editor should you be dealing with video.
In the case of video, you can save yourself the trouble of cutting clips and converting to animated GIFs by using PotPlayer. This versatile video player can automatically generate a GIF from the video source it’s playing in one simple step hence saving you plenty of time. Here’s how to go about it.
Record a Playing Video to a GIF using PotPlayer
1. Download and install PotPlayer for Windows if you’re yet to.
2. Open the video you wish to extract a GIF from using PotPlayer. The player supports virtually all video formats and codecs out of the box including MP4, WebM, AVI, MKV, MOV, WMV, OGV, MPEG, DVD etc.
3. Seek the video to the position you wish the animated GIF to begin and pause.
- For finer seeking, you can jump by seconds or key frames using the left and right arrow keys. To adjust the jump duration, go to Settings (F5) > Playback > Time Jump
4. Next press ALT+C to launch the Video Recorder window.
5. Under File Format settings click the drop down box and set the output format to GIF.
|Output to GIF|
The only other things you may want to adjust is the output Size (resolution) of the GIF. By default, PotPlayer uses the Original size meaning the GIF resolution will be similar to that of the playing video.
This may not be practical for high resolution videos (e.g. 720p, 1080p) as the GIF will be very large in size for a few seconds of playtime. Set it to something below 640×480.
6. Click the Start button then on the playing window resume your video by pressing the play button.
- You may get an Unable to capture audio! error if the playing video has no audio stream. Ignore this error; GIFs don’t carry an audio stream.
|Ignore Audio Capture Error|
7. Let it record for the duration you want the GIF to last then press Stop in the Video Recorder window.
|Stop Recording GIF|
8. Now just click the Open Storage Folder button to view the recorded GIF.
Quality of the Animated GIF
You may notice the quality of the animated GIF is not that really good and actually appears somewhat pixelated. Increasing the bitrate in the video recorder settings will have no effect on the quality. This is however not because of the video player per se but is merely a limitation of the GIF format.
The GIF format wasn’t designed for videos but short animations. It’s also limited to only 256 colors explaining the rather “washed out” quality of the GIFs.
A remedy to these shortcomings is the relatively new “format” called GIFV that was introduced by Imgur. The site even by converts by default all uploaded GIFs weighing above 2MB to GIFV.
GIFV is however neither a GIF nor a new format and is merely a video file (MP4 or WebM) with a different extension that is made to appear as an animated GIF by looping, removing video controls and removing the audio.
You should therefore not expect the quality of your animated GIFs to be comparable to that of GIFVs.
I haven’t quite figured out what VirtualDub is doing differently as the GIF size is comparable to those produced by the players so should you not be pleased with their results I highly recommend giving it a try.
Besides the improved quality, it has a video editor and filters enabling you to trim and customize the look of your GIFs.