0
我在線上搜索上傳視頻文件後轉換視頻並捕獲縮略圖。我發現這個鏈接http://ramcrishna.blogspot.com/2008/09/playing-videos-like-youtube-and.html類似,但我想澄清一些事情。在參數部分,他宣佈這這個樣子識別asp.net中參數的值c#
string filargs = "-i\"" + inputfile + "\" -ar 22050 -ab 32 -f flv -s 320×240 -aspect 4:3 -y \"" + outputfile + "\"";
我想知道的是,他在參數字符串申報「inputfile中」和「OUTPUTFILE」變量的確切實際值的字符串值?謝謝...
我對你給出的那行代碼有點困惑。我認爲輸入文件和輸出文件是你只是將它添加到參數字符串的變量。 – timmack
就像if inputfile = fileupload1.postedfile.filename;但我不確定。 – timmack