2009-10-17 72 views

回答

3

看看FLVExtract。 oss flv音頻流提取器。

編輯: 感興趣的文件在Library文件夾下。要在您的項目中使用它們,請嘗試以下操作:

using (FLVFile flvFile = new FLVFile(fileName)) 
{ 
    // first param is whether or not to extract audio streams (true) 
    // second param is whether or not to extract video streams (false) 
    // third param is whether or not to extract timecodes (false) 
    // fourth param is the delegate that gets called in case of an overwrite prompt (leave null in case you want to overwrite automatically) 
    flvFile.ExtractStreams(true, false, false, null); 
} 
+0

我發現這是幾天前,我查看了源代碼,但它非常令人困惑(對於C#而言,我有點新鮮)。我只想FLV到MP3 FLVExtract比這更復雜。 – Lienau 2009-10-17 20:32:20

+0

FLV可以包含除MP3之外的其他音頻流。因此,要麼提取音頻流,要麼轉換它。如果你想提取它,FLVExtractor是你最好的選擇。 – 2009-10-17 20:46:08

+0

Allrighty然後... – Lienau 2009-10-17 20:51:29