Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio CD Ripping Script... anything available?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Ambys Shrink
n00b
n00b


Joined: 13 Nov 2004
Posts: 33

PostPosted: Tue Jul 26, 2005 9:24 pm    Post subject: Audio CD Ripping Script... anything available? Reply with quote

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
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Tue Jul 26, 2005 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ambys Shrink
n00b
n00b


Joined: 13 Nov 2004
Posts: 33

PostPosted: Wed Jul 27, 2005 3:19 am    Post subject: Reply with quote

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
View user's profile Send private message
lordello
n00b
n00b


Joined: 13 Aug 2004
Posts: 43
Location: Rio de Janeiro - Brasil

PostPosted: Wed Jul 27, 2005 6:14 pm    Post subject: Rip and Convert script Reply with quote

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
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Wed Jul 27, 2005 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum