cdda2ogg, cdda2mp3 — extract audio CD audio tracks and encode them
cdda2ogg
cdda2mp3
cdda2ogg is a simple script 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. The scripts are not intended to be full-featured music archiving programs, but only for quick storing of few audio data. It does not use databases like CDDB or have any extra features. You may look at icedax if you need them.
ogg123 is provided by the vorbis-tools which needs to be installed separately. See www.ogg.org for more information.
cdda2ogg
and cdda2mp3 have predefined values for reading and
labeling of the target files. You can overwrite them with
following environment variables:
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 the cdda2wav program |
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.
See cdda2ogg (cdda2mp3) script file to get the default values
System administrator can also set default values by creating of a shell include file, defining the variables for the POSIX shell, and storing them as /etc/default/cdda2ogg (resp. cdda2mp3).
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.
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, 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.
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.