Last post Mar 08, 2010 11:12 AM by liju.thn
Member
9 Points
327 Posts
Mar 08, 2010 06:36 AM|liju.thn|LINK
Could somebody please tell the coresponding c# syntax of this command?
ffmpeg -i sample.avi -y -f flv -ar 44100 -ab 64 -ac 1 "sample.flv"
I need this to be converted into,
string cmd = " -i \"" + inputPath + "\\" + fileName + "\" \"" + outputPath + "\\" + fileName.Remove(fileName.IndexOf(".")) + ".flv" + "\"";
Mar 08, 2010 11:12 AM|liju.thn|LINK
i got it
string cmd = " -i \"" + inputPath + "\\" + name + "\" -y -f flv -ar 44100 -ab 64 -ac 1 \"" + outputPath + "\\" + name.Remove(name.IndexOf(".")) + ".flv" + "\"";
Member
9 Points
327 Posts
c# syntax of ffmpeg command
Mar 08, 2010 06:36 AM|liju.thn|LINK
Could somebody please tell the coresponding c# syntax of this command?
ffmpeg -i sample.avi -y -f flv -ar 44100 -ab 64 -ac 1 "sample.flv"
I need this to be converted into,
string cmd = " -i \"" + inputPath + "\\" + fileName + "\" \"" + outputPath + "\\" + fileName.Remove(fileName.IndexOf(".")) + ".flv" + "\"";
Member
9 Points
327 Posts
Re: c# syntax of ffmpeg command
Mar 08, 2010 11:12 AM|liju.thn|LINK
i got it
string cmd = " -i \"" + inputPath + "\\" + name + "\" -y -f flv -ar 44100 -ab 64 -ac 1 \"" + outputPath + "\\" + name.Remove(name.IndexOf(".")) + ".flv" + "\"";