String FPG_Path;
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe -y -i 1.wmv -b 360 -r 25 -s 320x240 -hq -deinterlace -ab 56 -ar 22050 -ac 1 2.flv";
Process ps = new Process();
ps.StartInfo.FileName = FPG_Path;
ps.Start();---
为什么运行不了呢?上面
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe -y -i 1.wmv -b 360 -r 25 -s 320x240 -hq -deinterlace -ab 56 -ar 22050 -ac 1 2.flv";若改成
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe";就可以运行了,为什么呢?
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe -y -i 1.wmv -b 360 -r 25 -s 320x240 -hq -deinterlace -ab 56 -ar 22050 -ac 1 2.flv";
Process ps = new Process();
ps.StartInfo.FileName = FPG_Path;
ps.Start();---
为什么运行不了呢?上面
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe -y -i 1.wmv -b 360 -r 25 -s 320x240 -hq -deinterlace -ab 56 -ar 22050 -ac 1 2.flv";若改成
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe";就可以运行了,为什么呢?
解决方案 »
- C# net App.config文件通过程序修改问题
- 挑战贴:做一个漂亮的带打印纸的计算器。
- 关于Access数据批量插入问题
- 如何让axWebBrowser控件变成所见即所得的网页编辑模式?
- 我启用了几个timer,但在第一个timer调用没完成之前,第二个timer已到时间点,所以第二个timer没运行
- c# 输出* 图形问题
- 老板要做在线电影网站,想请教技术问题.
- treeview怎么加标题呢?或listview怎么实现展开与折叠呢,或有没有treeview与listview相结合的控件呢?
- c# 快速开发及配置表
- 如何在一个用户控件上自定义一个事件,然后再该控件窗体上实现该事件,在线等待,谢谢英雄丫
- 请教牛人,无法安装!!
- 从C++来的,C#中如何定义类型的别名?
FPG_Path = @"D:\视频转换服务器\Video_Server\Video_Server\bin\Debug\ffmpeg.exe -y -i 1.wmv -b 360 -r 25 -s 320x240 -hq -deinterlace -ab 56 -ar 22050 -ac 1 2.flv";process.start(FPG_Path);