SoX was compiled without MP3 encoding support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sox (Debian) |
Fix Released
|
Unknown
|
|||
sox (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Bug Description
Binary package hint: sox
When trying to change the speed of a MP3 file the sox program fails to convert mp3 files exiting with the error "
# sox x.mp3 y.mp3 tempo 1.5
sox soxio: Failed writing `y.mp3': SoX was compiled without MP3 encoding support
Running the same command with ogg files worked fine.
I'm running Kubunty 8.04 Hardy (updated form Gusty) with sox version 14.0.0-5 installed. I've also installed libsox-fmt-all and I have several /usr/lib/
sox -h reports
[snip]
SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al alsa ao au auto avi avr caf cdda cdr cvs cvsd dat dvms fap ffmpeg flac fssd gsm hcom ima ircam la lpc lpc10 lu m3u m4a mat mat4 mat5 maud mp2 mp3 mp4 mpg nist nul null ogg oss ossdsp paf pls prc pvf raw s1 s2 s3 s4 sb sd2 sds sf sl smp snd sndfile sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vorbis vox w64 wav wmv wve xa xi
[/snip]
FURTHER INFO
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
$ apt-cache policy sox
sox:
Installed: 14.0.0-5
Candidate: 14.0.0-5
Version table:
*** 14.0.0-5 0
500 http://
100 /var/lib/
$ apt-cache policy libsox-fmt-all
libsox-fmt-all:
Installed: 14.0.0-5
Candidate: 14.0.0-5
Version table:
*** 14.0.0-5 0
500 http://
100 /var/lib/
ProblemType: Bug
Architecture: i386
Date: Mon Apr 28 19:49:23 2008
DistroRelease: Ubuntu 8.04
Package: sox 14.0.0-5
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
SourcePackage: sox
Uname: Linux 2.6.24-16-generic i686
Related branches
Changed in sox: | |
status: | Unknown → Confirmed |
Changed in sox (Debian): | |
status: | Confirmed → Fix Released |
I can confirm that SoX returns this error when you try to output an MP3 file. In my case, I was trying to convert a FLAC file to an MP3 file with "sox -i -V4 "song.flac" "song.mp3". Trying it with sudo of course didn't change anything. Also, I installed Sox and libsox-fmt-all through Synaptic, if that helps.
Some general setup info:
Hardware:
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
3023 MB RAM
Software:
Ubuntu 8.04 Hardy Heron AMD64
GNOME: 2.22.1 (Ubuntu 2008-05-07)
Kernel version: 2.6.24-16-generic (#1 SMP Thu Apr 10 12:47:45 UTC 2008)
GCC: 4.2.3 (x86_64-linux-gnu)