You are not logged in.
I am trying to use 'play' command in 'sox' to play a mp3 file.
play XXX.mp3
will give me this error
play formats: no handler for detected file type `audio/mpeg; charset=binary'
but
play -t mp3 XXX.mp3
works fine.
Any clue for this problem?
Offline
This problem seems to be caused by newer ' file-5.00-1-i686.pkg.tar.gz
' package.
Offline
What file 5.0 gives me
ning:~/Audio$ file -i tigeraunt.mp3
tigeraunt.mp3: audio/mpeg; charset=binary
what file 4.26 gives me
ning:~/Audio$ file -i tigeraunt.mp3
tigeraunt.mp3: audio/mpeg
Anyway to fix this issue?
Offline
This is in fact a big deal for me. I performed a full system upgrade on one of my installations yesterday, and now I can no longer use my carefully developed shell scripts to manage my radio station by converting MP3 to WAV using sox.
I would appreciate anyone with a solution other than "oh just downgrade" to reply to this thread. That or downgrading needs to become a built in pacman option because there have been far too many instances where installing an update breaks something that has worked flawlessly for years.
It would seem as though a modification to sox's source would be in order. I'm not trying to place blame on the Archlinux community for this issue, or on anyone for that matter...
In any event, downgrading to file-4.23 does in fact solve the issue.
Last edited by dctucker (2009-07-07 20:31:00)
Offline
The bug has been taken care of in the sox version 14.3.0 http://sox.cvs.sourceforge.net/sox/sox/ … iew=markup,
but looks like the package has no maintainer atm.
Offline
File a bug report.
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
The bug has been taken care of in the sox version 14.3.0 http://sox.cvs.sourceforge.net/sox/sox/ … iew=markup,
but looks like the package has no maintainer atm.
Here's a PKGBUILD for the new version of SoX... it compiles but I haven't tried installing it on my production server.
pkgname=sox
pkgver=14.3.0
pkgrel=3
pkgdesc="The Swiss Army knife of sound processing tools"
arch=('i686' 'x86_64')
url="http://sox.sourceforge.net/"
license=('GPL')
depends=('ffmpeg>=0.5' 'libao' 'libvorbis' 'lame' 'libmad' 'bash' 'alsa-lib' 'libsndfile' 'libsamplerate' 'libtool' 'file')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('8e3509804e6227273ef84092e1a2fea7')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=$pkgdir install || return 1
cd $pkgdir/usr/bin
rm -f rec
ln -sf play rec
}
I could maintain this package if need be... Either way, I would like to see this package updated to the current version so as to be compatible with file-5.
Offline