Categories
code

Convert video to animated GIF

Something that I began doing more often is converting videos of developing embryos or marine invertebrates to animated GIFs. But how to do this conversion without affecting the quality of the video?

A jellyfish moving its tentacles. Source: Cifonauta.

Some time ago I found this guide to convert videos to high-quality animated GIFs using the tool FFmpeg. The trick is to generate a color palette based on the original video to improve the color quality of the GIF. Based on this guide I created a small bash script to make my life easier and perhaps yours too 😉

Check it in https://github.com/nelas/gif.sh

Categories
biology

Fruit fly embryo

A short video that I made about the embryonic development of the likeable Drosophila, also known as fruit fly or vinegar fly, won an honorable mention in the Small World in Motion.

A single embryo imaged from four different angles.

The details on the techniques I used and the video on its full resolution are available for download and re-use on the Wikimedia Commons.

Categories
biology

Bryozoan embryos viewed from the animal and vegetal poles

Categories
biology

Bryozoan embryos viewed from the animal pole

Categories
biology

Young nemertean learning to hunt

Categories
biology

Nemertean hatchlings

Categories
biology

Female nemertean laying egg case

Categories
biology

Juvenile nemerteans hatching

Categories
biology

Embryonic cell division

Categories
biology

Nemerteans attacking an annelid