Results 1 to 8 of 8

Thread: Mencoder: .ogg to .mp3

  1. #1
    Join Date
    Sep 2007
    Beans
    Hidden!

    Question Mencoder: .ogg to .mp3

    How do I use mencoder to convert .ogg vorbis files to .mp3 files?

  2. #2
    Join Date
    Oct 2007
    Location
    Athens, Greece
    Beans
    179
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Mencoder: .ogg to .mp3

    I do not know about mencoder, but there is a handy nautilus script i use:
    Code:
    sudo apt-get nautilus-script-audio-convert
    ln -s /usr/share/nautilus-scripts/ConvertAudioFile ~/.gnome2/nautilus-scripts/ConvertAudioFile
    Beware of he who would deny you access to information, for in his heart he dreams himself your master.

  3. #3
    Join Date
    Feb 2007
    Location
    Melbourne
    Beans
    799
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Mencoder: .ogg to .mp3

    Quote Originally Posted by Edd11111 View Post
    How do I use mencoder to convert .ogg vorbis files to .mp3 files?
    I generally use sox to convert audio files. Mencoder is normally for videos.

    If you have a file called "Beethoven.ogg" on your desktop, then this will decode it from OGG Vorbis and then re-encode it to MP3
    Code:
    sudo apt-get install sox lame
    cd ~/Desktop
    sox Beethoven.ogg  Beethoven.wav
    lame Beethoven.wav
    Type "lame --help" to see the options for changing the quality level.
    Last edited by ChameleonDave; July 1st, 2008 at 08:13 AM. Reason: whoops! forgot lame

  4. #4
    TenPlus1's Avatar
    TenPlus1 is online now Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2005
    Location
    Scotland, UK
    Beans
    919
    Distro
    Lubuntu

    Re: Mencoder: .ogg to .mp3

    In Add/Remove their is a program called SoundConverter that lets you simply drag & drop files/folders to be converted from one format to another,..

  5. #5
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Mencoder: .ogg to .mp3

    I use ffmpeg to convert files (the version from the medibuntu repo).

    Well, I actually use the winff gui for ffmpeg to convert files.

    Besides audio, it also does video.

    Winff isn't in the repos (google for it, it's a .deb), you'll need the ffmpeg version from the medibuntu repo.

  6. #6
    Join Date
    Jul 2006
    Location
    CA, USA
    Beans
    Hidden!

    Re: Mencoder: .ogg to .mp3

    You could try using ffmpeg:

    Install FFMPEG:
    Code:
    sudo aptitude install ffmpeg
    Convert OGG to MP3:
    Code:
    ffmpeg -i inputoggfile.ogg -ab  128 outputmp3file.mp3
    Hopes this helps!
    Linux user #438926.|Ubuntu Linux #10924| Questions: The Smart Way

  7. #7
    Join Date
    Oct 2007
    Beans
    264

    Re: Mencoder: .ogg to .mp3

    Well, someone had to mention it: Not a good idea to go from lossy (OGG) to lossy (MP3) formats.

    On the other hand, if you are a free software zealot like me, you might want to convert all your LOSSY & patented (MP3) formats to LOSSLESS & free (flac) formats instead. The only advantage is that you now have an audio file that is free software compatible (not patent encumbered). Doing so of course gives no improvement in audio quality when compared to the original MP3 encoding. A significant disadvantage that I can think of is the increase in file size by converting MP3 to FLAC. But that seems to be quite moot given the monstrous hard drives of today.

  8. #8
    Join Date
    Feb 2007
    Location
    Melbourne
    Beans
    799
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Mencoder: .ogg to .mp3

    Quote Originally Posted by msrinath80 View Post
    Well, someone had to mention it: Not a good idea to go from lossy (OGG) to lossy (MP3) formats.
    I'm sure he's doing it for compatibility with an MP3 player.

Tags for this Thread

Bookmarks

Posting Permissions

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