怪了,Process.Start()提示找不到文件???
System.Diagnostics.Process pro;
pro = new System.Diagnostics.Process();
pro.StartInfo.FileName = "d:\\ffmpeg\\ffmpeg.exe -i \ "d:\\ffmpeg\\jq.mpg\ " -ab 56 -ar 22050 -b 500 -r 15 -s 320x240 \ "d:\\11.flv\ " ";
pro.Start();
运行错误,找不到文件但改成
pro.StartInfo.FileName = "d:\\ffmpeg\\ffmpeg.exe "
就能运行
------解决方案--------------------把参数加在pro.StartInfo.Arguments 里试试