Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 10:01:56 +0100
From:      Polytropon <freebsd@edvax.de>
To:        yuri@rawbw.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Copying audio CD with dd/cdrecord produces unplayable CD
Message-ID:  <20081129100156.72122e71.freebsd@edvax.de>
In-Reply-To: <4931030C.7070409@rawbw.com>
References:  <4930EEBB.7050701@rawbw.com> <20081129084852.6d00f2e5.freebsd@edvax.de> <4931030C.7070409@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Nov 2008 00:53:32 -0800, Yuri <yuri@rawbw.com> wrote:
> Polytropon wrote:
> > On Fri, 28 Nov 2008 23:26:51 -0800, Yuri <yuri@rawbw.com> wrote:
> >   
> > If you need to use cdrecord, you can "preprocess" the .cdr
> > files with "sox -x". You can always use the "play" command
> > (from sox) to check what your files sound like.
> >   
> 
> 'sox -x' fails for some tracks with the message:
> sox formats: no handler for detected file type `video/x-unknown'

Strange... are these definitely audio CD tracks? You could
use this form to explicitely tell sox how to interpret the
data (which is "headerless" on audio CDs, of course):

	sox -r 14400 -c 2 -b -L -S -x track.cdr track_rev.cdr

This describes CD audio as 14.4 kHz stereo 16 Bit (little
endian - to be swapped). From the manual:

       -1/-2/-3/-4/-8
              The sample datum size is 1, 2, 3, 4, or 8 bytes; i.e. 8, 16, 24,
              32, or 64 bits.

       The flags
              -b/-w/-l/-d  which are respectively aliases for -1/-2/-4/-8, and
              abbreviate byte, word, long word, double long (long long)  word,
              are retained for backwards compatibility only.

Seems like I'm a bit old fashioned. :-)



> and for some other tracks with these errors:
> sox mp3-duration: recoverable MAD error
> sox mp3-duration: MAD lost sync
> sox mp3-duration: recoverable MAD error
> sox mp3-duration: recoverable MAD error

This looks like that sox reads / generates MP3 files...?
Are these definitely standard audio CD tracks (such as every
old fashioned CD player can play)?




-- 
Polytropon
>From 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?20081129100156.72122e71.freebsd>