Rip/Encode to Ogg/Tag script?
I'm looking for a way to rip my CDs to Ogg complete with tags from CDDB from the command line. What I'm using right now is, for example:
cdparanoia 1 - | oggenc - -q 3 -o 01\ Ashes.ogg I can do this for every track and then edit the tags in amaroK, but I'm sure there's a simpler way. I just have an older computer, so I'd prefer a command line utility as opposed to a GUI tool. Anybody know of a better way to do this? |
Check out LAME's terminal commands.
|
I'm not encoding to mp3; I'm encoding to Ogg. Lame's no good for that, right?
I've come across CRIP (http://bach.dynet.com/crip/index.html). I think I'll use that unless anybody has a better suggestion. Thanks anyways, though. |
Rip audio CD directly to Ogg
Was going to start a new thread, but my question is almost the same, so I'll continue this one :)
I just found a scipt called cd2ogg that will rip a CD directly to ogg. I'm running it through one now, and it's quite nice, though my box is a bit slow. One thing I would like to do is rip an entire CD to a single file (mp3, ogg, etc), but I haven't found a way to do it yet. I figure this would mean no tags, but that's ok. The crip site is not available for me (connection refused), so I can't check it out. WRT lame, I have found some google references to an ogg mode in lame, but I doubt it's worth using. |
Quote:
P.S. Thanks for the cd2ogg link, just what I needed. |
From what I can tell, cdparanoia won't do any encoding on the fly. I figure there's a way to do it with pipes on the command line, but that's a bit beyond me.
Edit: just looked at the processes while ripping a CD: cdparanoia -e -q -d /dev/cdrom -w 6 - oggenc -Q --comment=comment=encoded by cd2ogg 2.4.18 -d 1996 -G rock -t Track -N 6 -l CDTitle -a Band -b 192 - -o file.ogg [names removed to protect the innocent ;)] According to the man pages, cdparanoia output is going to stdout and oggenc is reading from stdin. Given this, this script does indeed do a direct rip to ogg. Can anyone confirm ? |
Yeah, looks like it does, so you could just pipe those commands together to rip on the fly. If you don't specify any track numbers to cdparanoia, it will rip the entire cd.
|
ok, I'm trying this:
Code:
cdparanoia -e -q -d /dev/cdrom - | oggenc -b 192 - -o file.ogg Code:
Sending all callcaks to stderr for wrapper script Edit: This works - Code:
cdparanoia -vqs "1-15" - | oggenc -q 7 - -o file.ogg |
Oops, sorry, my mistake, you need to specify the tracks to rip. I thought it defaulted to the entire cd if you didn't but apparently that is not the case. You can use "1-" to specify the whole cd, so a simple modification should suffice:
Code:
cdparanoia -e -q -d /dev/cdrom 1- - | oggenc -b 192 - -o file.ogg |
Yes :)
I've changed the -b 192 to -q 7 because I've been reading that ogg vorbis is inheritly vbr and specifying a bit rate is a bit pointless. Specifying a quality setting means that the incoming bit rate is irrelevant. Ogg processing certainly consumes CPU ;p |
Quick script to convert flac to mp3 is at
http://www.oreillynet.com/cs/user/view/cs_msg/55968 I changed it to convert to ogg vorbis: Code:
#!/bin/bash |
Obviously this thread is way out of date, but in case anybody else like me Google-stumbles upon it:
I think a script called abcde (an acronym for A Better CD Encoder) might be the best solution for the problem. From apt-cache show: Quote:
|
Quote:
Code:
find . -name "*flac" -exec oggenc -q 7 {} \; |
All times are GMT -5. The time now is 11:55 PM. |