Extract audio from FLV and inject into MP3

I need to extract audio data from FLV and insert it into MP3 with C #. So I am looking for a library for this or how to do this using the rawdata / file structure.

+3
source share
1 answer

Take a look at FLVExtract . Sound output oss flv.

Edit: Files of interest are located in a folder Library. To use them in your project, try the following:

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);
}
+3
source

Source: https://habr.com/ru/post/1720369/


All Articles