using imagegick and ffmpeg to compose vedio and picture