Reputation: 1697
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 ?
Upvotes: 2
Views: 2229
Reputation: 46
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.
Upvotes: 3
Reputation: 16905
Since tools for this task already exist, I see no point in creating another one unless you're curious about how to do this yourself and learn something new.
If so, using a ready-made library would defeat the entire idea of learning something which is why I strongly recommend you try implementing the splitter yourself.
You can find descriptions of the AVI file format online, that should get you started.
Upvotes: 0