View previous topic :: View next topic |
Author |
Message |
Ambys Shrink n00b
Joined: 13 Nov 2004 Posts: 33
|
Posted: Tue Jul 26, 2005 9:24 pm Post subject: Audio CD Ripping Script... anything available? |
|
|
I'm looking to rip CDs into multiple formats--first to wav, then to both flac, low-qual mp3 and high-qual mp3. Once this is done, the original wav will be deleted.
However, most programs (frontend or command line) will go cd > wav > flac, then cd > wav > mp3 and then cd > wav > mp3 again. What I'd really like is a script (I can customize it) to rip the cd to wave, then encode the wave into each of the other formats that i mentioned. Tagging would be great as well.
Does anything like this exist? I presume the best way would be a script that uses flac and lame via command line, but I'm open to anything, frontend or not. _________________ ~Robby
AIM: Ambys Shrink
ambysshrink@gmail.com
www.tunesonthemove.net |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Tue Jul 26, 2005 10:09 pm Post subject: |
|
|
Maybe abcde is a good start. At least you could do cd +-> wav,flac,mp3.
But it can't do mp3 twice. But you could go for cd +-> wav,flac,mp3,ogg instead. |
|
Back to top |
|
|
Ambys Shrink n00b
Joined: 13 Nov 2004 Posts: 33
|
Posted: Wed Jul 27, 2005 3:19 am Post subject: |
|
|
micmac wrote: | Maybe abcde is a good start. At least you could do cd +-> wav,flac,mp3.
But it can't do mp3 twice. But you could go for cd +-> wav,flac,mp3,ogg instead. | I'm not familiar with abcde, but i'll look into it and let you know how it goes. thanks! _________________ ~Robby
AIM: Ambys Shrink
ambysshrink@gmail.com
www.tunesonthemove.net |
|
Back to top |
|
|
lordello n00b
Joined: 13 Aug 2004 Posts: 43 Location: Rio de Janeiro - Brasil
|
Posted: Wed Jul 27, 2005 6:14 pm Post subject: Rip and Convert script |
|
|
To rip you can use cdparanoia and compress each file with this script.
It doesn't get the tag from CD, but it works.
Create a new folder, only to extract the CD and execute the script from this folder.
Code: | #!/bin/bash
cdparanoia -B
WORK=`echo $PWD`
for type in flac mp3low mp3high ogg; do
mkdir -p "${WORK}"/"${type}"
cd "${WORK}"/"${type}"
for x in `ls ../*.wav`; do
out=`echo "${x}" | sed 's:../::'`
case "${type}" in
flac) flac "${x}" -o "${out/wav/flac}" ;;
mp3low) lame -h -b 64 "${x}" "${out/wav/mp3}" ;;
mp3high) lame -b 320 "${x}" "${out/wav/mp3}" ;;
ogg) oggenc -q 6 "${x}" -o "${out/wav/ogg}" ;;
esac
done
done
|
Ps.: Use Ogg Vorbis, has better quality and is Open Source. |
|
Back to top |
|
|
phsdv Guru
Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Wed Jul 27, 2005 7:11 pm Post subject: |
|
|
I like to use ripperX. It is an OK frontend for cdparanoia and it accesses cddb to get the song names. Currently in portage: media-sound/ripperx-2.6.4 |
|
Back to top |
|
|
|