Frage

Ich brauche die Audiodaten von einer FLV zu extrahieren und sie in eine MP3 mit C # injiziert. Also ich bin sucht entweder eine Bibliothek für dieses oder wie es mit der rawdata / Dateistruktur zu tun.

War es hilfreich?

Lösung

Hier finden Sie aktuelle FLVExtract . Ein oss flv Audio-Stream-Extraktor.

Edit: Die Dateien von Interesse sind unter dem Library Ordner. Um sie in Ihrem Projekt zu verwenden versuchen Sie dies:

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);
}
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top