01.08.2014, 07:00 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Ripping CDs to MP3 and OGG file formats is one of the most common things we do with our home PCs. Now, KDE and Konqueror make the whole process easier than ever before.

To read the entire How-To, go to http://www.virtualsky.net/daves/2003-03.htm

nok3b? RIPPING

Two ways to do it (as usual )

http://kanotix.com/FAQ-id_cat-15.html#q462

or

Q: How to rip an audio cd to multiple "ogg", "mp3?", "flac", "spx" or "mpc" files?
A: abcde -o ogg /dev/hdb
(You can keep the resulting .wav file w/ the -k switch)- (see also /etc/abcde.conf)

ABCDE tips:

You can have abcde automatically name the outputted .wav file to match the data from cddb lookup.
Simply edit /etc/abcde.conf and uncomment the following:

mungefilename ()
{
echo "$@" | sed s,:,\ -,g | tr \ /\* __+ | tr -d \'\"\?\[:cntrl:\]
}


For SPACES between words in the title INSTEAD of underscores:

mungefilename ()
{
echo "$@" | sed s,:,\ -,g | tr / __ | tr -d '\"\?\[:cntrl:\]
}


Here's how to get 2 digit track numbers instead of single digit:

# Track padding: force abcde to pad tracks using 0, so every song uses a two
# digit entry. If set to "y", even a single song encoding outputs a file like
# 01.my_song.ext
PADTRACKS=y


_

Q: How to rip an audio cd to a single wav file:
A:
cdparanoia -d /dev/scd0


_

CONVERSION:

Q: How to encode a directory of .wav files to ogg and add artist, genre, date, and album tags?
A:
oggenc -q 5 -a Government_Mule -G Blues -d 2003 -l Deepest_End *.wav


Q: How to convert an entire directory of .wav files to .ogg format:
A:
cd /dir/files.wav
dir2ogg -w -d . -p -q 10
(Note: without the -p switch your .wav files WILL BE DELETED)


Q: How to convert an entire directory of .oggs to .wav?
A:
for i in *.ogg ; do ogg123 -d wav -f `basename $i .ogg`.wav $i; done


_

DIRECT COPY:

Q: How to make a 1:1 copy of an audio cd w/ 1 cdrom drive:
A:
cdrdao copy --device /dev/scd0

(you will be promted to insert a blank disc)

Q: How to make a 1:1 copy of an audio cd w/ 2 cdrom drives:
A:
cdrdao copy --source-device /dev/hdb --device /dev/scd0

(beware buffer-underrun!)

_

BURNING

Q: How to burn WAV files w/ wodim to create an audio cd?
wodim -v dev=/dev/hda -eject -dao -speed=16 -pad -audio *.wav


Q: How to burn an .iso image to cd?
A:
wodim dev=/dev/hdb driveropts=burnfree,noforcespeed fs=14M speed=48 -dao -eject -overburn -v IMAGE.iso


Q: How to burn live tracks to disc without the 2 second delay between tracks and no GUI?
A:
cdrdao write cd.toc


NOTE It has been reported that cdrdao doesn't always see atapi drives. Try this instead:
wodim dev=ATA --scanbus |grep RW|awk '{print $1}'
(thanks kelmo)


Q: Where do I get a .toc file from?
A: Create your own with this format:

CD_DA

TRACK AUDIO
AUDIOFILE "mix-01.wav" 0

TRACK AUDIO
AUDIOFILE "mix-02.wav" 0


There are also other tools for this:
links on the way

_


Q: How to burn an existing .iso image to DVD:
A:
growisofs --dvd-compat -Z /dev/hdb=/complete/path/file.iso


*NOTE* --dvd-compat closes the disc! I.e. you cannot write to it any more!

Q: How to burn a directory of files to dvd?
A:
growisofs -Z /dev/hdb -R -J /some/files


Q: How to append data to a dvd? (as long as it was not closed w/ --dvd-compat)
A:
growisofs -M /dev/hdb -R -J /some/more/files


Q: How do you create a filepath on the iso?
A: You must use the -graft-points option like so:
growisofs -M /dev/hdb -R -J -graft-points some/dir=filepath
This will show up on the DVD as /some/dir/files


A better example:
You have a directory named AC_DC with several .ogg files.
You want your dvd to look like /AC_DC_Collection/song1?.ogg, song2?.ogg,
song3?.ogg.....

growisofs -M /dev/hdb -R -J -graft-points AC-DC_Collection=/AC_DC


Q: How to make a DVD with AUDIO_TS & VIDEO_TS directories?
A:
growisofs -speed=8 -Z /dev/hda -V STP_THANK_YOU -dvd-video /some/dir/

_

TIPS:

Using growisofs --dvd-compat makes your dvd readable by a larger number of drives BUT....

Using growisofs --dvd-compat closes your disc i.e. you cannot write any more data to it after this!
So, if you don't care about compatibilty then don't use it and you can append more sessions to your dvd+r/rw discs.

My preferred way to store my ripped audio:
A dvd+rw disc burned w/ growisofs can simply be mounted and all songs played w/ any .ogg player. BUT
You need to mount it with the noatime option so that the i-node is not updated.
audio cds need 44.1khz 16bit stereo wavs

DAO, Disc-At-Once, is as of now the only method for burning a CD without a 2-second pause between the tracks.

Q: How much space does each directory below the current directory use?
A:
du -h -x --max-depth=1


Q: How to find out how much data you're about to burn to disc?
A: Make a directory, copy (or link) all the files you want burned to cd in that directory then:
du -hs /dir


Submitted by mzilikazi:
XML Revisions of $tag
Seiten-History :: Letzter Editor : makke :: Eigentümer : JudlandWaste ::
Powered by pnWikka 1.0
 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.