Search code examples
c#.netmp3avi

Extracting and splitting a MP3 audio stream from an AVI file


I want to develop a desktop application by programming in C# and using the .Net framework 4.
The goal of my application is to extract a MP3 audio stream from a supplied AVI file.
I have learned from the Internet that an AVI file is a container and it might contain different audio streams.
If the supplied AVI file contains one MP3 audio stream at least then I want to extract it and split it.
I want to split the MP3 audio stream into MP3 audio parts identified with a start time and an end time.

I have looked on the Internet for any .Net library I could use but without success.
Does someone know what documented .Net library would be useful ?


Solution

  • Maybe you can try this: Simple C# Wrapper for the AviFile Library

    It is targeted at AVI video but there might be some clues as how to use the same methods to extract the audio only. Either use it as-is or use the example to incorporate what you need into your own code.