cdrtools is a powerful open-source CD/DVD/BD burning tool. It is used as backend software for free DVD-burning applications, such as Infrarecorder and cdrtfe. To build cdrtools for Windows, install Cygwin as shown in this post. Additionally, I installed the following Cygwin packages.
- bison
- gcc4-core
- gcc4-g++
- gettext-devel
- libiconv
- libtool
- make
- patch
- pkg-config
I set up some environment variables before I started.
export CC=/usr/bin/gcc.exe
export CC_OPT="-O2"
export CFLAGS="-march=pentium2 -mtune=i586 -mthreads -mms-bitfields"
export LDFLAGS="-L/usr/lib -Wl,--enable-auto-image-base -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc"
Then, I built smake.
cd smake-1.2
make
make INS_BASE=/usr install
Then, I built cdrtools.
smake
smake INS_BASE=/usr install
Using cdrtools
I tested my cdrtools build. To create an ISO file from a folder, I ran mkisofs:
mkisofs -J -R -hide-rr-moved ~/Downloads > dl.iso
To burn an ISO:
cdrecord -scanbus
cdrecord dev=0,0,0 speed=8 driveropts=burnfree dl.iso
To make a copy of a data CD:
readcd dev=0,0,0 f=dl2.iso speed=8 retries=16 -nocorr -noerror
To scan a music CD, I ran cdda2wav:
cdda2wav -scanbus
cdda2wav dev=0,0,0 cddb=1 -cddbp-server=freedb.freedb.org -cddbp-port=8880 -J -N
To rip the second track of the music CD:
cdda2wav dev=0,0,0 cddb=1 track=2 ~/Music/track2.wav
Download my cdrtools build for Windows
Here you can get my cdrtools build.
Free cdrtools Graphical Interfaces for Windows
If you don't want to deal with the command line, there are, of course, user-friendly GUI frontends for cdrtools.
No comments:
Post a Comment