batch convert mp3 to ogg while mainting bitrates and dir stuture

im trying to move my whole music collection to open formats and have re ripped most of my cd’s to flac but i still have a lot of music that i only ever had in mp3 and am looking for a way to convert it all to ogg while maintaining equivalent bit-rates and it would be nice to keep the directory structure but i can easily remake that with easy tag.

im running openSuSE 11.2 with a kde install

On 2010-07-04 12:56 GMT eagles500 wrote:

> im trying to move my whole music collection to open formats and have
> re ripped most of my cd’s to flac but i still have a lot of music
> that i only ever had in mp3 and am looking for a way to convert it
> all to ogg while maintaining equivalent bit-rates and it would be
> nice to keep the directory structure but i can easily remake that
> with easy tag.

Conversion is lossy, even if you use he same bitrates and all equivalent
settings.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

i know it’s lossy i just dont want it trying to convert a 192k mp3 to a 350k ogg or taking a 320k mp3 and trying to make a 192k ogg with it

im just trying to get it all converted over with somewhat comparable quality between the original files and the new ogg’s

audiokonverter
I think is in Packman - Just check it, I’m not sure

Or ffmpeg (cli)

On 2010-07-04 14:16 GMT eagles500 wrote:
> Carlos E. R.;2184690 Wrote:

> > Conversion is lossy, even if you use he same bitrates and all
> > equivalent
> > settings.

> i know it’s lossy i just dont want it trying to convert a 192k mp3 to
> a 350k ogg or taking a 320k mp3 and trying to make a 192k ogg with it
>
> im just trying to get it all converted over with somewhat comparable
> quality between the original files and the new ogg’s

I don’t think you can ever get comparable quality.
However, as modern music is just noise, it does not matter >:-P

The conversion is done this way:

phase 1)

  • rip the audio
  • convert to mp3, loosing some quality.

phase 2)

  • expand mp3 to something.
  • compress to ogg, loosing (again) some more quality.

http://en.wikipedia.org/wiki/Mp3

The compression works by reducing accuracy of certain parts of sound
that are deemed beyond the auditory resolution ability of most people.
This method is commonly referred to as perceptual coding.[5] It uses
psychoacoustic models to discard or reduce precision of components less
audible to human hearing, and then records the remaining information in
an efficient manner.

http://en.wikipedia.org/wiki/Ogg

The Ogg container format can multiplex a number of independent streams
for audio, video, text (such as subtitles), and metadata.

In the Ogg multimedia framework, Theora provides a lossy video layer.
The audio layer is most commonly provided by the music-oriented Vorbis
format but other options include the human speech compression codec
Speex, the lossless audio compression codec FLAC, and OggPCM.

http://en.wikipedia.org/wiki/Vorbis

Vorbis is a continuation of audio compression development started in
1993 by Chris Montgomery.[9][10] Intensive development began following
a September 1998 letter from Fraunhofer Society announcing plans to
charge licensing fees for the MP3 audio format.[11][12] Vorbis project
started as part of the Xiphophorus company’s Ogg project (also known as
OggSquish multimedia project).[13][14] Chris Montgomery began work on
the project and was assisted by a growing number of other developers.
They continued refining the source code until the Vorbis file format
was frozen for 1.0 in May 2000[1][2][15] and a stable version (1.0) of
the reference software was released on July 19, 2002.[16][17][18]


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

I think winff (which is packaged by Packman packagers for openSUSE will allow multiple mp3 conversions to OGG, with a GUI front end to help (and to slow down like most gui front ends :slight_smile: ) . … Saying that differently, I have used winff to convert multiple mp3 to ogg.

This is an old page, but there may be something there to help you. Skim all the way to the end to see everything.

Going from mp3 to ogg seems a waste, but you can write a bash, Perl, etc. script to read a list of files in a folder/directory, running each through a converter.

Hopefully, your mp3 songs are mostly one bit rate, 128k or you could force the 128k bit rate output. Package mediainfo can be used to check the bit rates if you want before conversion, although that would make your script more complicated, testing for filename and assigning unique bit rate. You would need mpg123 or lame (–decode) for the script’s decoders.

Or you could do it the easy way with VLC. Add files and convert them to Audio Vorbis (ogg). I can’t guarantee the bit rate but it easy enough.

Use Melodycan to convert mp3 to ogg. I think it will help.))

I’m going to try winff, I have a lot of MP3s I want to convert so I don’t have to re-rip them.