Mencoder rip audio from DVD
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi,

    I try to extract sound only from an DVD video with Mencoder. I use DevedieGUI.

    As I only want the audio file I select "Audio only" (frameno) under video and "Uncompress" (raw PCM) under audio which then copies me a file (the file should be rawPCM but I dont know as I'm not able to play it) e. g. to RAM.

    I'd like to convert this file then to e. g. aiff or wave format?

    Does anybody have an idea how to do this?

    Thanks for your help.

    Regards

    Christoph
  • »07.05.06 - 12:55
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    IIRC play16 is able to convert raw sound data ...
    http://www.aminet.net/package.php?package=mus/play/Play16.lha
  • »07.05.06 - 16:09
    Profile Visit Website
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    Sox might come in handy:

    http://www.aminet.net/search.php?query=sox
    www.mikseri.net/hooligan <- Free music
  • »07.05.06 - 17:54
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    MEncoder doesn't actually support outputting raw audio, when you select frameno it will create an AVI containing just the audio stream...

    To do what you want to do you should actually use MPlayer, and instead of using AHI to play audio you can make it output raw pcm or wavs with "-ao pcm" (check the docs), to avoid unnecessarily playing/decoding the video as well you can use "-novideo".


    - CISC
  • »07.05.06 - 20:31
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Jupp3
    Posts: 1193 from 2003/2/24
    From: Helsinki, Finland
    Does MorphOS version of mplayer support -dumpaudio? I can't test it myself, as my Radeon broke :-(
  • »08.05.06 - 14:06
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Sure, but -dumpaudio will dump the audio-stream as stored on the DVD, ie, if it's AC3 you will get an AC3 stream, this isn't what he wants...


    - CISC
  • »08.05.06 - 20:03
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    Hi all,

    thanks for your feed-back. It seems that I wasnt clear enough. What I'd like to do is to extract audio from an DVD as e. g. an aiff or wave file which seems not to be possible.

    What I was able to do though is to extract raw pcm which then I could encode to an mp3 after extraction, but I was not able to transform the raw pcm file to an aiff or wave.

    So I wanted to know how to transform the raw pcm file to aiff or wave.

    Thanks for your help.

    Christoph
  • »09.05.06 - 17:09
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    mplayer .. -dumpaudio -dumpfilename ...ac3
    ac3dec .. MODE aiff ..

    You may lookup the correct parameters yourself.

    thank you.
    Pegasos PPC
  • »09.05.06 - 21:12
    Profile
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    It seems that I wasnt clear enough. What I'd like to do is to extract audio from an DVD as e. g. an aiff or wave file which seems not to be possible.


    What do you mean? MPlayer does just that, like I told you, using "-ao pcm:file=foo.wav"...


    - CISC
  • »09.05.06 - 22:19
    Profile
  • rms
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    rms
    Posts: 599 from 2004/11/27
    @ CISC

    thanks very much for your help, it's working fine when used as you told me.

    Thanks again.

    Christoph
  • »11.05.06 - 06:54
    Profile Visit Website