Bug 156595 - app-cdr/graveman doesn't recognize sox 12.18.x (sox -h output changed)
|
Bug#:
156595
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dertobi123@gentoo.org
|
Reported By: akos.demeter@gmail.com
|
|
Component: Applications
|
|
|
URL:
http://savannah.nongnu.org/bugs/?18409
|
|
Summary: app-cdr/graveman doesn't recognize sox 12.18.x (sox -h output changed)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-11-29 04:24 0000
|
Graveman relies on sox to write CDs from mp3 and ogg. Probably it parses sox -h
output to figure it out. This output changed in 12.18.* compared to 12.17.* So
now I can't write audio CDs from ogg or mp3.
workaround: install 12.17.* and the make graveman recognize that, and then
reinstall the new sox.
or
copy the output below into a bash script named sox in /usr/bin and fool
graveman...
in 12.17.*
# sox -h
sox: Version 12.17.9
Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]
gopts: -e -h -p -q -S -V
fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x
effect: avg band bandpass bandreject chorus compand copy dcshift deemph earwax
echo echos fade filter flanger highp highpass lowp lowpass mask mcompand
noiseprof noisered pan phaser pick pitch polyphase rate repeat resample reverb
reverse silence speed stat stretch swap synth trim vibro vol
effopts: depends on effect
Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm hcom la lu
maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc
vorbis vox wav wve
in 12.18.*
# sox -v
sox: option requires an argument -- v
sox: Version 12.18.2
Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]
Global options (gopts):
Global options can be specified anywhere on the command
-h print version number and usage information
--help same as -h
--help-efffect=name
print usage of specified effect. use 'all' to print all
-p run in preview mode and run fast
-q run in quite mode. Inverse of -S option
-S print status while processing audio data.
--version print version number of SoX and exit
-V verbose mode. print a description during processing phase
Format options (fopts):
Format options only need to be supplied on input files that are
headerless otherwise they are obtained from the audio data's header.
Output files will default to the same format options as the input
file unless overriden on the command line.
-c channels number of channels in audio data
-e skip processing of this filename. useful only
on output filename to prevent writing data.
-r rate sample rate of audio
-t filetype file type of audio
-v volume volume adjustment factor (floating point)
-x invert auto-detected endianess of data
-s/-u/-U/-A/ sample encoding. signed/unsigned/u-law/A-law
-a/-i/-g/-f ADPCM/IMA_ADPCM/GSM/floating point
-b/-w/-l/-d sample size. byte(8-bits)/word(16-bits)/
long(32-bits)/double long(64-bits)
Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm hcom la lu
maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc
vorbis vox wav wve
Supported effects: avg band bandpass bandreject chorus compand copy dcshift
deemph earwax echo echos fade filter flanger highp highpass lowp lowpass mask
mcompand noiseprof noisered pan phaser pick pitch polyphase rate repeat
resample reverb reverse silence speed stat stretch swap synth trim vibro vol
effopts: depends on effect
*** Bug 156594 has been marked as a duplicate of this bug. ***
Adding URL to upstream bug, i'll have look at this.
I just committed graveman-0.3.12_p5-r1 which contains a patch to make graveman
working with sox >=12.18. The problem wasn't changed output, but changed
behaviour - sox-12.17 pushed "-help" output to stderr, 12.18 to stdout. Please
test and report back!