Skip to content
Posts

Creating slideshow videos with FFmpeg

Posted on:April 23, 2023 at 08:21 AM

FFmpeg for creating slideshow video

FFmpeg works well for creating simple slideshow videos that include transition effects.

Here are a few links for more details on slideshow and transition effect support:

Writing FFmpeg commands might be too tedious for slideshows with many images. I’ve used the kburns Ruby script to create a slideshow video from a collection of PNG files.

kburns.rb --size=1080x1080 --slide-duration=7.4 --fade-duration=1.2 --zoom-rate=0 *.png ./out.mp4

Resulting videos

See the slideshow videos created with FFmpeg from Midjourney-generated portraits below.

Portraits slideshow, resized to HD resolution (1080x1080).

Portraits slideshow, resized to 4K resolution.

Impossible animals slideshow, upscaled to 4K resolution.

Insects slideshow, upscaled to 4K resolution.

Current maximum resolution for YouTube video is 7680x4320 8k.