images to video using imagemagick