[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Convert mp3 enbulk



Rob Owens wrote:
> If you instead use flac as an intermediate step, you may be able to
> preserve the meta tags.  Going to wav, you will almost certainly lose
> them.

In my case I don't care about the tags at all.  The temporary mp3 form
is a completely throwaway form.  The original poster may care though.

> >   $ ls -log 01_-_An_Awful_Lot_Of_Running.mp3
> >   -rw-r--r-- 1 5.9M 2012-02-20 11:03 01_-_An_Awful_Lot_Of_Running.mp3
> > 
> >   $ ffmpeg -i 01_-_An_Awful_Lot_Of_Running.mp3 01_-_An_Awful_Lot_Of_Running.ogg
> > 
> >   $ ls -log 01_-_An_Awful_Lot_Of_Running.ogg
> >   -rw-rw-r-- 1  27M 2012-02-20 11:06 01_-_An_Awful_Lot_Of_Running.ogg
> > 
> >   $ ffmpeg -i 01_-_An_Awful_Lot_Of_Running.mp3 01_-_An_Awful_Lot_Of_Running.wav
> >   $ oggenc 01_-_An_Awful_Lot_Of_Running.wav
> >   $ ls -log 01_-_An_Awful_Lot_Of_Running.ogg
> >   -rw-rw-r-- 1 3.3M 2012-02-20 11:04 01_-_An_Awful_Lot_Of_Running.ogg
>
> It would have to be one of these (but I haven't tested it)
> 
> ffmpeg -i somesong.mp3 -acodec vorbis somesong.ogg

Hmm...  On my Lenny machine (please don't ask) it is that one.  And it
is very small and very corrupted.

  -rw-rw-r-- 1 1.9M 2012-02-20 21:35 01_-_An_Awful_Lot_Of_Running.ogg

The result doesn't play.  And ogginfo isn't happy with it either.  But
I am running it on my Lenny laptop at the moment.  It might be better
in Squeeze.  Checking...

Squeeze ffmpeg doesn't like -acodec vorbis and for there it is your
second case.

> or
> ffmpeg -i somesong.mp3 -acodec libvorbis somesong.ogg

On Squeeze that produces the following:

  -rw-rw-r-- 1 1.8M Feb 20 22:01 01_-_An_Awful_Lot_Of_Running.ogg

Which is also very small but seems to be happier.  It doesn't make
ogginfo unhappy like the other version did.  And if anyone is at my
house they are going to be wondering why it is playing through the
stereo right now even though I am not there.  Seems good.  Thanks!

> I decided a few years ago that I'd use flac for my entire music
> collection, and if needed, convert to another format for reasons of
> portability, etc.  This way I only get one lossy transcode.

I still have all of my original media.  I would simply rip it again if
and when the time came to convert to a new format.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: