[olug] music transcoding

Carl Lundstedt clundst at unlserve.unl.edu
Sat Jul 2 23:21:44 UTC 2005


Adam,
I wrote a quick script to do this for me to allow me to put ogg on my
ipod, no gui...

!/usr/bin/perl
@titles = @ARGV;
$i=0;
foreach(@titles){

       print STDOUT "Found $titles[$i]  \n";
        @song_title = split(/\./, $titles[$i]);
        $cmd = "oggdec $titles[$i] -o - | lame - $song_title[0].mp3";
        print STDOUT "Issuing: $cmd \n";
        system $cmd;
        $i++;
}
print STDOUT "DONE.\n\n";


Hope this helps, best of luck.

Carl Lundstedt
UNL


On Sat, 2005-07-02 at 17:48 -0500, Adam Lassek wrote:
> Does anyone know of a program that will let me drag-n-drop transcode ogg
> files into mp3? Something like oggdrop for windows, even better if it
> can do batches. Preferably a gnome program, but KDE is acceptable as
> well.
> 
> Don't bother telling me it's a bad idea to transcode between lossy
> formats, trust me, I'm well aware. But under the circumstances I'll be
> using them, it'll sound just fine and reripping from source is either
> impossible or too much trouble. 




More information about the OLUG mailing list