rewrite, add -o option to produce an output file  via ffmpeg