.flac to .ogg

Eric 235u at comcast.net
Tue Jul 6 17:55:01 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Abreau wrote:
~ > FLAC is a lossless codec; you can convert it back to an exact copy of
| the original WAV file as it was before encoding to FLAC. Then you can
| use oggenc to create the ogg vorbis file.
|
| Here's a simple bash script that assumes the defaults are acceptable:
|
|     #! /bin/bash
|
|     for i do
|         flac -d $i
|         oggenc -q 7 ${i%.flac}.wav
| 	# if you want to delete the intermediate files:
|         rm $i ${i%.flac}.wav
|     done
|
| Note that this assumes sane filenames, i.e. no spaces or other
| problem characters.
|

Flac is great.  I just have to save some space, the good stuff goes to
cd and the not so good stuff goes to ogg.  Thanks.
- --
- -Eric
"As a computer, I find your faith in technology amusing. ."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFA6yC3txY9EH9Ev80RArTIAJoD1mrjO3L5+tMUFLjV8AjJY1P3ZQCdELxo
e7P5V0lmyFw/4Eg7w/HIPHE=
=JSiP
-----END PGP SIGNATURE-----



More information about the Discuss mailing list