On Sat, 29 Nov 2008 00:53:32 -0800, Yuri <[EMAIL PROTECTED]> wrote: > Polytropon wrote: > > On Fri, 28 Nov 2008 23:26:51 -0800, Yuri <[EMAIL PROTECTED]> 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, ... _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"