Generates video thumbnails using ffmpeg