How could I extract data of sound from videos?

Dear everyone,

I have a problem about C# programming and hope you all could help.

How could I extract data of sound from videos That means the data of sound tone, volume. Anyways, any data about sound or music could be extracted from videos.

Could you give me solutions

Thank you.

Best Regards,
David



Answer this question

How could I extract data of sound from videos?

  • kgooding

    First we need to know what format the video is encoded to Let's assume that it is uncompressed AVI (the lingua franca of video on windows).

    An AVI video has multiple streams...at the very least two (one for audio, one for video). In order to access the stream you can enumerate through them and check what kind it is. All of this is available through Directshow or through VFW apis. I'm not sure if there is a managed code version of either api so you may have to use VC++ to do what you want.



  • Uncle Davy

    Did you find an answer to your other question, as they are related

    There is no Microsoft implementation of directshow for .Net but there is this library: http://directshownet.sourceforge.net/ which does all the hard work, everything you need is there including samples.

    There are alot of tutorials with source here also: http://www.codeproject.com/cs/media/



  • How could I extract data of sound from videos?