2009-10-17 67 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