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

Re: apt questions



On Tue, Nov 11, 2003 at 10:31:30AM -0600, Steven Pritchard wrote:
> On Tue, Nov 11, 2003 at 10:11:25AM -0600, Koree A. Smith wrote:
> > grip would work, I guess.  Wanting to convert files that are already mp3s,
> > instead of re-ripping all of them off of the CDs.
> 
> Yeah, but then you'd be taking a lossy compression and re-encoding to
> another lossy compression.  The audio quality would probably suck.

It seems to me that for casual listening that the ogg files resulting
from the process are okay. If you don't really mind (I don't) you can use
 a shell script similiar to the following:

#! /bin/sh

for x in `ls *.mp3` 
do mpg123 -g /tmp/`basename $x .mp3`.wav $x && oggenc /tmp/`basename $x .mp3`.wav && rm /tmp/`basename $x .mp3`.wav && mv /tmp/`basename $x .mp3`.ogg .
done

It could be on one line even (if I would have thought it out more by using a semicolon after the "for x in `ls *.mp3`" and after the second line.

Cheers,

Brandon

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.