After reinstalling with 4.6, which comes with sox-14.2.0p2,
I can no longer play mp3 files. On a previous install (4.5
which comes with sox-14.2.0p1) I could.

When trying to process an mp3 file, all I get is:

$ play -V file.mp3 
$ play: SoX v14.2.0
$ play formats: detected file format type `audio/mpeg; charset=binary'
$ play formats: no handler for detected file type `audio/mpeg; charset=binary'

$ sox -V file.mp3 out.wav
$ sox: SoX v14.2.0
$ sox formats: detected file format type `audio/mpeg; charset=binary'
$ sox formats: no handler for detected file type `audio/mpeg; charset=binary'

$ soxi -V file.mp3
$ soxi formats: detected file format type `audio/mpeg; charset=binary'
$ soxi formats: no handler for detected file type `audio/mpeg; charset=binary'

Interestingly, sox can create mp3's itself, as in

 sox -V file.wav file.mp3
 sox: SoX v14.2.0
 sox formats: detected file format type `wav'

 Input File     : 'file.wav'
 Channels       : 2
 Sample Rate    : 44100
 Precision      : 16-bit
 Duration       : 00:05:36.04 = 14819328 samples = 25202.9 CDDA sectors
 Sample Encoding: 16-bit Signed Integer PCM
 Endian Type    : little
 Reverse Nibbles: no
 Reverse Bits   : no

 sox sox: Overwriting `file.mp3'
 sox mp3: Encoding forced to MP3

 Output File    : 'file.mp3'
 Channels       : 2
 Sample Rate    : 44100
 Precision      : 16-bit
 Duration       : 00:05:36.04 = 14819328 samples = 25202.9 CDDA sectors
 Sample Encoding: MPEG audio (layer I, II or III)
 Comment        : 'Processed by SoX'

 sox sox: effects chain: input      44100Hz 2 channels 16 bits (multi)
 sox sox: effects chain: output     44100Hz 2 channels 16 bits (multi)

which works just fine. But then sox cannot play file.mp3 back.

I understand that the last version of the port is different with respect
to external formats/codecs. Is the above behavious intended/expected?
Much as I try to avoid the mp3 format, my archive is still full of it.

        Thanks for your time

                Jan


Reply via email to