Unable to extract audio cd tracks

Polytropon freebsd at edvax.de
Mon Dec 13 22:29:20 UTC 2010


On Mon, 13 Dec 2010 18:54:40 +0100, David Demelier <demelier.david at gmail.com> wrote:
> Hi,
> 
> Reading this http://www.freebsd.org/doc/handbook/creating-cds.html I 
> would try to extract my files from my optical drive. (I don't have 
> atapicam but if I understand well it's only needed for cdda2wav)
> 
> markand at Abricot ~ $ sudo dd if=/dev/acd0t01 of=track1.cdr
> dd: /dev/acd0t01: Invalid argument
> 0+0 records in
> 0+0 records out
> 0 bytes transferred in 0.026221 secs (0 bytes/sec)
> 
> do I really need atapicam even if I directly read from the device?

You need to specify the correct block size:

dd if=/dev/acd0t01 of=track01.cdr bs=2352

This should give you a cdr (raw) file conforming to
the CD audio specifications.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list