create the right command line for ffmpeg