Click here to Skip to main content
16,015,645 members

Comments by Niraj Sanghani (Top 1 by date)

Niraj Sanghani 8-May-17 6:46am View    
Hello!

Please help me ASAP

Here is My Code

private void processVideo() {

//string inputfilename = FileUpload1.FileName;
string inputfile = "/Videos/" + "input.avi";

string outputfile = "/Videos/" + "output.avi";
string fileargs = "-i " + inputfile + " -vf scale=320:240 " + outputfile;
Process proc;
proc = new Process();
proc.StartInfo.FileName = Server.MapPath("~" + outputfile) + "\\mpeg\\FFmpeg.exe";
proc.StartInfo.Arguments = fileargs;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.RedirectStandardInput = false;

try
{
proc.Start();
}
catch (Exception ex)
{
Response.Write(ex.Message);
}
}

givving me error That Not Found