locked
c# syntax of ffmpeg command RRS feed

  • Question

  • User-398804652 posted

    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" + "\"";


    Monday, March 8, 2010 6:36 AM

Answers

  • User-398804652 posted

    i got it

    string cmd = " -i \"" + inputPath + "\\" + name + "\" -y -f flv -ar 44100 -ab 64 -ac 1 \"" + outputPath + "\\" + name.Remove(name.IndexOf(".")) + ".flv" + "\"";

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 8, 2010 11:12 AM