

This article will show you how to convert images into a video using two different tools: FFmpeg and the Shotstack API. You can even make the slideshow more engaging by adding text as well as other graphical effects. It's best to start by setting up your command line sequence, then update it to account for ZeroMQ command inputs.Slideshow videos offer a great way of taking individual photos and turning them into more meaningful and complete stories told via video. Not all FFMpeg filters accept ZeroMQ commands, the ones that do are documented in the documentation FFMpeg Filters, look for 'This filter supports the following commands'. It also requires installation of ZeroMQ development libraries pre-compilation (also found in the instructions). The -enable-libzmq configure flag enables ZeroMQ based filter commands. Refer to my previous post for building on Ubuntu which includes instructions for adding package dependencies and building with what my common feature set Building FFMpeg. The build procedure takes the form of a typical autoconf configure, make, make install. The 0MQ support is optional, not configured by the default configuration, so it likely requires building Ffmpeg from source and configuring it for ZeroMQ support. But, what if you wish to dynamically modify filter parameters dynamically or in real-time? When compiled with ZeroMQ (0MQ) support, some filters can be adjusted in real-time by sending filter commands vi 0MQ. The filter scalars can readily be specified as filter static parameters or in some cases based on time. FFMpeg has a full array of video and audio filters, specify the right parameters and it produces pure magic.
