A CD or Compact Disc is a circular disk with a silver look to it.
|VLC uses this protocol (or access module) to read data from a device or network. Additional information: Usage: cdda://device@track|
Audio CDs contain audio data, and can be read by a CD player. Any CD marked with the CDDA mark can be played in any player also marked with a CDDA mark.
Audio CDs can be played with VLC if you have a CD drive on your PC. After inserting the CD, run VLC and select Open Disc from the File menu. Then click on the Audio CD option and press OK. If you prefer, you can use the command prompt to run an audio CD:
vlc cdda://D: vlc cdda:///dev/cdrom
Where D: (windows) or /dev/cdrom (linux) is the location of your CD drive. To play a single track, append an @ followed by the track number. For example, to play track 3, type
- --cdda-caching (integer)
- Default: -1 (all)
- --cdda-first-sector (integer)
- --cdda-last-sector (integer)
- --cddb-server (string)
- --cddb-port (integer)
- Location of the CDDB server to use. Default is "freedb.freedb.org" on port 8880
Data CDs contain programs or files which can be read by your PC - you can only use these with your PC.
CDs can also contain other data and program code. When you insert a CD in some versions of Windows, programs on the CD may run without asking you first - you may wish to turn off autorun or hold the shift key when inserting a CD to stop this happening.
Playing media files on a data CD
You can play files from a data CD, in exactly the same way as playing them from your hard drive (note: Linux users will need to mount the CD drive first).
See the file access module for details of playing files from your computer.
CDs with both audio and data (Mixed CDs)
Mixed CDs contain both audio and data, for example a CD may come with a music video as a "bonus feature". The data part (such as the music video) can only be used on your PC, but the audio is able to be played on your PC or CD player.
- modules/access/cdda.c (access module)