Extracting Audio from .avi files
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Thread: Extracting Audio from .avi files

  1. #1
    Join Date
    Jul 2006
    Posts
    25

    Extracting Audio from .avi files

    Hi All,

    I have to extract audio stream from an avi file (The original file is both video and audio file). This information should be later "planted" into a different avi file (Which is originally audioless video file).
    there are manny tools on the web which supply such a service; problem is I have to implement this via C++ code.
    I have looked at the API of the AVI and I didn't succeed to extract the audio using it.

    Please help,
    Thanks,
    Amir.

  2. #2
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Extracting Audio from .avi files

    This GPL project might help in that,
    http://www.virtualdub.org/
    Regards,
    Ramkrishna Pawar

  3. #3
    Join Date
    Jul 2006
    Posts
    25

    Re: Extracting Audio from .avi files

    Thanks, but I couldn't find the source files.

    --Amir.

  4. #4
    Join Date
    Jul 2006
    Posts
    25

    Thumbs up Re: Extracting Audio from .avi files

    Never mind, I found the source files link, hope it would help
    thanks!

  5. #5
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Extracting Audio from .avi files

    It's open source product,

    Source is avaialble here,
    http://virtualdub.sourceforge.net/
    Regards,
    Ramkrishna Pawar

  6. #6
    Join Date
    Jul 2006
    Posts
    25

    Re: Extracting Audio from .avi files

    Thanks again,
    and sorry for nagging...
    but it's quite a large (2MB) undocumented source code.
    Do you have any idea when I can find specifically a code which extracts audio from avi file? (It shouldn't be more than 20 code lines).

    Million thanks (again),
    Amir.

  7. #7
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    Re: Extracting Audio from .avi files

    No problems,

    You can refer to the documentation on that site. I too have no idea of it's source.
    Regards,
    Ramkrishna Pawar

  8. #8
    Join Date
    Sep 2002
    Location
    All around the World
    Posts
    99

    Re: Extracting Audio from .avi files

    If you find VirtualDub's code are way too long for you....you can try http://theora.org/ and http://www.illiminable.com/ogg/enc_t...graphedit.html

    to have a look at how they do it.

  9. #9
    Join Date
    Apr 2015
    Posts
    1

    Re: Extracting Audio from .avi files

    I know a step by step guide which helps us extract audio from various kinds of video formats like MP4, AVI, MOV, WMV, MKV, FLV, ASF, AVCHD, MOD, WTV, etc and then save the audio files into MP3, WAV, AAC, M4A, etc.

    It also allows you to remove audio from video or add music to video. Very love it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center