Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2010 23:29:17 +0100
From:      Polytropon <freebsd@edvax.de>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unable to extract audio cd tracks
Message-ID:  <20101213232917.70fc36f6.freebsd@edvax.de>
In-Reply-To: <4D065DE0.2020509@gmail.com>
References:  <4D065DE0.2020509@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Dec 2010 18:54:40 +0100, David Demelier <demelier.david@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@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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101213232917.70fc36f6.freebsd>