[svlug] Program/Script to Turn OGGs into MP3s?
Mike Castle
dalgoda at ix.netcom.com
Fri Apr 11 22:20:24 PDT 2003
On Fri, Apr 11, 2003 at 06:37:18PM -0700, Serban Giuroiu wrote:
> Does anyone know of a program or script I can use to
> turn my OGGs into MP3s so my MP3 CD player can play them?
How about something off the cuff like:
#!/bin/bash
set -e
for v in "$@"; do
outfn=$(basename "$v" .ogg)
ogg123 -d wav -f - "$v" | lame --preset standard - "$outfn"
done
Leave it as an exercise on out to extract tags with ogginfo and how to pass
them to lame.
mrc
--
Mike Castle dalgoda at ix.netcom.com www.netcom.com/~dalgoda/
We are all of us living in the shadow of Manhattan. -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
More information about the svlug
mailing list