Ogg Vorbis to MP3 Converter

Eric L. Howard elh at outreachnetworks.com
Fri Jun 3 21:07:35 UTC 2005


At a certain time, now past [Jun.02.2005-12:04:19PM -0600], clandaith at gmail.com spake thusly:
> I was given an MP3 player that, suprise suprise, only plays MP3s.  I
> have my music collection in Ogg Vorbis format.
> 
> Does anyone know of a tool that will convert .ogg to .mp3?

Use the default installed GStreamer framework [you may need to add mp3
support via the proper libs]...

--------8<--snip--------
elh at preacher:~$ man gst-launch
GStreamer(1)                                                  GStreamer(1)

NAME
       gst-launch - build and run a GStreamer pipeline

SYNOPSIS
       gst-launch [OPTION...] PIPELINE-DESCRIPTION

DESCRIPTION
       gst-launch is a tool that builds and runs basic GStreamer pipelines.

       In simple form, a PIPELINE-DESCRIPTION is a list of elements
       separated by exclamation marks (!).  Properties may be appended to
       elements, in the form property=value.

       For a complete description of possible PIPELINE-DESCRIPTIONS see
       above under pipeline description or the GStreamer documentation.
--------8<--snip--------

search for convert in the text and you are presented with:

--------8<--snip--------
gst-launch filesrc location=music.mp3 ! mad ! vorbisenc ! filesink location=music.ogg
       Convert an mp3 music file to an Ogg Vorbis file
--------8<--snip--------

There are examples a little further down in the manpage that show what's
needed to get an mp3 as the output [filesink].

    ~elh

-- 
Eric L. Howard           e l h @ o u t r e a c h n e t w o r k s . c o m
------------------------------------------------------------------------
www.OutreachNetworks.com                                    313.297.9900
------------------------------------------------------------------------
JabberID: elh at jabber.org                 Advocate of the Theocratic Rule




More information about the ubuntu-users mailing list