Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 13:05:20 -0700
From:      Farooq Mela <fmela0@sm.socccd.cc.ca.us>
To:        Nathan Mace <mace_nathan@uchaswv.edu>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: one last question
Message-ID:  <3BB62980.7E1FCACA@sm.socccd.cc.ca.us>
References:  <20010929154720.064522e9.mace_nathan@uchaswv.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Mace wrote:
> well now that i can finally rip Cd's i have one last question.  the other day i discovered ogg vorbis....i've been playing around with it and i think i'm going to convert all of my mp3's to ogg files.  my question is though is there any software for going from ogg to wav files?  thanks

Please wrap your lines at 72 characters wide.

This will go from mp3 directly to ogg, provided you have mpg123 and
oggenc

To make a wav file from an ogg, use ogg123 -d wav

#!/bin/ksh

for arg; do
	oggfile=${arg%%mp3}ogg
	mpg123 -b 2048 -s $arg 2>/dev/null | \
		oggenc -r -o $oggfile -
done

Oh yes the joys of shell scripting ;-)

-- 
farooq <fmela0@sm.socccd.cc.ca.us>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB62980.7E1FCACA>