cdda2ogg(1)
π cdda2ogg β NAME π
okay so bestie, meet cdda2ogg and cdda2mp3 β two little scripts whose whole personality is extract audio CD audio tracks and encode them. that's it, that's the job π
πΈ SYNOPSIS πΈ
cdda2ogg
cdda2mp3
likeβ¦ no args required, no drama, they just go π
β¨ DESCRIPTION β¨
So cdda2ogg is a simple script β and I mean simple simple β that uses the icedax <fileprefix> command to extract all audio tracks with the icedax <fileprefix> command and encode them using the ogg123 respective <censored> MP3 encoder. π
And like, real talk, these scripts are not trying to be full-featured music archiving programs, no cap. They're here for quick storing of few audio data, that's the vibe. They do not use databases like CDDB and they don't have any extra features. If that's what you want, go look at icedax, she has them all. π
Oh and btw, ogg123 is provided by the vorbis-tools which needs to be installed separately. See www.ogg.org for more information. π¦
π CONFIGURATION π
So cdda2ogg and cdda2mp3 have predefined values for reading and labeling of the target files. You can overwrite them with the following environment variables, bestie:
CDDA_DEVICEβ source device specification to get the data from. β¨LISTβ list of track numbers to be read, separated by spaces.CDDA2WAVβ defines the command to run thecdda2wavprogram.CDDA2WAV_OPTSβ miscellaneous options passed to$CDDA2WAV.MP_CODERβ the encoder program.MP_OPTIONSβ additional options passed to$MP_CODER.FILEPREFIXβ the base part of the filename of resulting audio files. This can also be specified as the first argument to the script. π
Seecdda2ogg(cdda2mp3) script file to get the default values π
Also, a system administrator can set default values by creating a shell include file, defining the variables for the POSIX shell, and storing them as /etc/default/cdda2ogg (resp. cdda2mp3). very giving admin energy ngl π
π«Ά EXAMPLES π«Ά
CDDA_DEVICE=/dev/cdrom1 cdda2ogg
just stores every track in this device in audiotrackNUMBER.ogg πΆ
LIST="1 5 7" cdda2ogg PartsOfBestOfFoo
stores the selected tracks from the default cdrom device as 01-PartsOfBestOfFoo.ogg, 05-PartsOfBestOfFoo.ogg, 07-PartsOfBestOfFoo.ogg. literally iconic, it named them all cute for you π
β¨
π₯ SEE ALSO π₯
π AUTHOR π
This manpage describes the program implementation of cdda2ogg as shipped by the cdrkit distribution. See http://alioth.debian.org/projects/debburn/ for details. It is a spinoff from the original program distributed by the cdrtools project. However β and this part matters, bestie β the cdrtools developers are not involved in the development of this spinoff and therefore shall not be made responsible for any problem caused by it. Do not try to get support for this program by contacting the original authors. π«
If you have support questions, send them to
debburn-devel@lists.alioth.debian.org
If you have definitely found a bug, send a mail to this list or to
submit@bugs.debian.org
writing at least a short description into the Subject and "Package: cdrkit" into the first line of the mail body. π¬
This manual page was written by Eduard Bloch (blade@debian.org) for the Debian GNU/Linux system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 as published by the Free Software Foundation. π
and that's the whole page, babe β it lives under the General Commands Manual umbrella as cdda2ogg(1), so go rip those tracks and slay ππβ¨
π¦ where this page comes from
- alpine 3.24: cdrkit-doc 1.1.11-r6 Β· GPL-2.0-only
- debian bookworm: icedax 9:1.1.11-3.4
- debian trixie: icedax 9:1.1.11-4
- nixos 26.05: cdrkit 1.1.11-4
- nixpkgs unstable: cdrkit 1.1.11-4
- ubuntu jammy: icedax 9:1.1.11-3.2ubuntu1
- ubuntu noble: icedax 9:1.1.11-3.5
- ubuntu questing: icedax 9:1.1.11-4
- ubuntu resolute: icedax 9:1.1.11-5
- ubuntu stonking: icedax 9:1.1.11-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms