How to rip the audio track from a .ogm file?

Discussion in 'Other video questions' started by joekwan, Jul 11, 2006.

  1. joekwan

    joekwan Member

    Joined:
    Jan 25, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    16
    I got a movie file which is in .ogm, 2 languages.

    What should I do if I want to rip one of those audio track and save it as a .mp3, .wav, .mp2, (etc, you name it..)??

    Anyone knows any programs/software that could solve my problem?

    Any help would be greatly appreciate.
     
  2. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    You can use ogmdemuxer to demux. Chances are that both streams are ogg vorbis, could already be mp3 though.

    For wav; mplayer.exe -ao pcm:file=audio.wav -aid # [or -alang eng/fre,etc.] input.ogm
     
  3. joekwan

    joekwan Member

    Joined:
    Jan 25, 2005
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    16
    I don't quit get the way to use OGMDemuxer.

    Can you explain it a little bit?

    *All I see, is
    "OGMDemuxer v2.0 - an OGM .......Copyright <C> 2004 Ctrius"
     
  4. celtic_d

    celtic_d Regular member

    Joined:
    Jan 23, 2005
    Messages:
    3,352
    Likes Received:
    0
    Trophy Points:
    46
    Odd, you should get

    Code:
    OGMDemuxer v2.1r2 - an OGM (Ogg based multimedia files) demultiplexer
    Copyright (C) 2002-2005  Cyrius
    
    Syntax : OGMDemuxer.exe <mode> <file> [options] [[--wav] [--mpeg2-aac] n:outfile
    ] ...
      <mode>           what to demux:
                         tracks -> demux tracks
                         tags   -> demux tags
                         all    -> demux both
      <file>           Ogg/OGM file to process
      n:outfile        demux track with serial n to outfile
      --wav            demux to a wav file (non-vorbis audio only)
      --mpeg2-aac      force as mpeg2-aac (default is mpeg4 for AAC)
    
    Options :
      --help           show this help
      -l/--log <file>  log to <file>
      --verbose        increase the verbosity level
      -v[v[...]]       increase the verbosity level (by the number of 'v')
      -p/--progress    show progress
      --safe           don't process data that appear erroneous like
                         - oversized Packets
      --reconstruct    try to reconstruct (pad) missing data (due to corruption)
      --track-index    replace track serial by track index in demuxed filenames
      --legacy-avi     do not create OpenDML AVI (unless size>2GB)
      --separate-chapters  demux chapters in a separate file
      --dos-eol        <CR><LF> EndOfLine in output text files (except logs)
      --output-path <path>  out path (default = input), ignored with n:outfile
    
     

Share This Page