3

FLVからオーディオデータを抽出し、C#でMP3に挿入する必要があります。だから私はこのためのライブラリか、rawdata/file構造でそれを行う方法を探しています。

4

1 に答える 1

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);
}
于 2009-10-17T20:27:20.403 に答える