Chapter 20 . Playing Music and Video 525 (Adult web hosting)
Chapter 20 . Playing Music and Video 525 If you re are interested in making a CD jukebox that rips, records, and compresses music CDs using oggenc and other open source software, check out Linux Toys by Christopher Negus and Chuck Wolber from Wiley Publishing (2003). Recording and Ripping Music Writable CD-ROM drives are a standard device on computers. Where once you had to settle for a floppy disk (1.44MB) or a Zip disk (100MB) to store personal data, a CD-ROM burner lets you store more than 600MB of data in a format that can be exchanged with most computers. On top of that, you can create CD music disks! Both graphical and command-line tools exist for creating CDs on Linux. The cdrecord command enables you to create audio and data CDs from the command line, writing to CD-recordable (CD-R) and CD-rewritable (CD-RW) drives. This command is discussed in the following section. Creating an Audio CD with cdrecord You can use the cdrecord command to create either data or music CDs. You can create a data CD by setting up a separate file system and copying the whole image of that file system to CD. Creating an audio CD consists of selecting the audio tracks you want to copy and copying them all at once to the CD. This section focuses on using cdrecord to create audio CDs. cdrecord can use audio files in .au, .wav, and .cdr formats, automatically translating them when necessary. If you have audio files in other formats, you can convert them to one of the supported formats by using the sox command (described previously in this chapter). One way to create an audio CD is to use cdda2wav to extract (copy) the music tracks to a directory and then use cdrecord to write them from the directory to the CD. Here s an example: If you prefer a graphical tool for copying and burning CDs and DVDs, refer to Appendix A, which describes how to use the K3B CD Kreator for burning CD images. That tool can also be used for copying audio CDs. 1. Create a directory to hold the audio files, and change to that directory. (Make sure the directory can hold up to 660MB of data less if you are burning fewer songs.) For example: # mkdir /tmp/cd # cd /tmp/cd Note
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision best web hosting services