Bug 509780 - Wrong sox parameter makes ripping to raw fail
Summary: Wrong sox parameter makes ripping to raw fail
Status: REPORTED
Alias: None
Product: k3b
Classification: Applications
Component: Copying (other bugs)
Version First Reported In: 25.08.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: K3b Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-22 12:18 UTC by bw89.2002
Modified: 2025-09-22 12:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bw89.2002 2025-09-22 12:18:51 UTC
SUMMARY
k3b uses parameters for sox (-s) that are no longer available in current versions of sox

https://codeberg.org/sox_ng/sox_ng/issues/210

Due to this ripping a CD to raw fails, where k3b reports a success, but no files are written

STEPS TO REPRODUCE
1. insert a Audio CD and select Extras - Rip Audio CD (translation may be wrong, I do not use English as my system Language)
2. start ripping with raw as filetype

OBSERVED RESULT
k3b reports a successful rip, but no files are written

EXPECTED RESULT
Ripped files in folder

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.11-2-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor 1: AMD Radeon RX 580 Series
Graphics Processor 2: AMD RV620


ADDITIONAL INFORMATION
Error when running k3b from the terminal
(K3b::CdparanoiaLib) initReading(  40193 ,  44775  )
(sox)  "/usr/bin/sox WARN getopt: option `s' not recognized"
(sox)  "/usr/bin/sox FAIL sox: invalid option"
(sox)  "/usr/bin/sox:      SoX v14.4.2"
(sox)  "Usage summary: [gopts] [[fopts] infile]... [fopts] outfile [effect [effopt]]..."
(sox)  "SPECIAL FILENAMES (infile, outfile):"
(sox)  "-                        Pipe/redirect input/output (stdin/stdout); may need -t"
(sox)  "-d, --default-device     Use the default audio device (where available)"
(sox)  "-n, --null               Use the `null' file handler; e.g. with synth effect"
(sox)  "-p, --sox-pipe           Alias for `-t sox -'"
(sox)  "SPECIAL FILENAMES (infile only):"
(sox)  "\"|program [options] ...\" Pipe input from external program (where supported)"
(sox)  "http://server/file       Use the given URL as input file (where supported)"
(sox)  "GLOBAL OPTIONS (gopts) (can be specified at any point before the first effect):"
(sox)  "--buffer BYTES           Set the size of all processing buffers (default 8192)"
(sox)  "--clobber                Don't prompt to overwrite output file (default)"
(sox)  "--combine concatenate    Concatenate all input files (default for sox, rec)"
(sox)  "--combine sequence       Sequence all input files (default for play)"
(sox)  "-D, --no-dither          Don't dither automatically"
(sox)  "--dft-min NUM            Minimum size (log2) for DFT processing (default 10)"
(sox)  "--effects-file FILENAME  File containing effects and options"
(sox)  "-G, --guard              Use temporary files to guard against clipping"
(sox)  "-h, --help               Display version number and usage information"
(sox)  "--help-effect NAME       Show usage of effect NAME, or NAME=all for all"
(sox)  "--help-format NAME       Show info on format NAME, or NAME=all for all"
(sox)  "--i, --info              Behave as soxi(1)"
(sox)  "--input-buffer BYTES     Override the input buffer size (default: as --buffer)"
(sox)  "--no-clobber             Prompt to overwrite output file"
(sox)  "-m, --combine mix        Mix multiple input files (instead of concatenating)"
(sox)  "--combine mix-power      Mix to equal power (instead of concatenating)"
(sox)  "-M, --combine merge      Merge multiple input files (instead of concatenating)"
(sox)  "--magic                  Use `magic' file-type detection"
(sox)  "--multi-threaded         Enable parallel effects channels processing"
(sox)  "--norm                   Guard (see --guard) & normalise"
(sox)  "--play-rate-arg ARG      Default `rate' argument for auto-resample with `play'"
(sox)  "--plot gnuplot|octave    Generate script to plot response of filter effect"
(sox)  "-q, --no-show-progress   Run in quiet mode; opposite of -S"
(sox)  "--replay-gain track|album|off  Default: off (sox, rec), track (play)"
(sox)  "-R                       Use default random numbers (same on each run of SoX)"
(sox)  "-S, --show-progress      Display progress while processing audio data"
(sox)  "--single-threaded        Disable parallel effects channels processing"
(sox)  "--temp DIRECTORY         Specify the directory to use for temporary files"
(sox)  "-T, --combine multiply   Multiply samples of corresponding channels from all"
(sox)  "                         input files (instead of concatenating)"
(sox)  "--version                Display version number of SoX and exit"
(sox)  "-V[LEVEL]                Increment or set verbosity level (default 2); levels:"
(sox)  "                           1: failure messages"
(sox)  "                           2: warnings"
(sox)  "                           3: details of processing"
(sox)  "                           4-6: increasing levels of debug messages"
(sox)  "FORMAT OPTIONS (fopts):"
(sox)  "Input file format options need only be supplied for files that are headerless."
(sox)  "Output files will have the same format as the input file where possible and not"
(sox)  "overridden by any of various means including providing output format options."
(sox)  "-v|--volume FACTOR       Input file volume adjustment factor (real number)"
(sox)  "--ignore-length          Ignore input file length given in header; read to EOF"
(sox)  "-t|--type FILETYPE       File type of audio"
(sox)  "-e|--encoding ENCODING   Set encoding (ENCODING may be one of signed-integer,"
(sox)  "                         unsigned-integer, floating-point, mu-law, a-law,"
(sox)  "                         ima-adpcm, ms-adpcm, gsm-full-rate)"
(sox)  "-b|--bits BITS           Encoded sample size in bits"
(sox)  "-N|--reverse-nibbles     Encoded nibble-order"
(sox)  "-X|--reverse-bits        Encoded bit-order"
(sox)  "--endian little|big|swap Encoded byte-order; swap means opposite to default"
(sox)  "-L/-B/-x                 Short options for the above"
(sox)  "-c|--channels CHANNELS   Number of channels of audio data; e.g. 2 = stereo"
(sox)  "-r|--rate RATE           Sample rate of audio"
(sox)  "-C|--compression FACTOR  Compression factor for output format"
(sox)  "--add-comment TEXT       Append output file comment"
(sox)  "--comment TEXT           Specify comment text for the output file"
(sox)  "--comment-file FILENAME  File containing comment text for the output file"
(sox)  "--no-glob                Don't `glob' wildcard match the following filename"
(sox)  "AUDIO FILE FORMATS: 8svx aif aifc aiff aiffc al amb amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8 fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud mp2 mp3 nist ogg opus paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl sln smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8 ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa xi"
(sox)  "PLAYLIST FORMATS: m3u pls"
(sox)  "AUDIO DEVICE DRIVERS: alsa ao oss ossdsp pulseaudio"
(sox)  "EFFECTS: allpass band bandpass bandreject bass bend biquad chorus channels compand contrast dcshift deemph delay dither divide+ downsample earwax echo echos equalizer fade fir firfit+ flanger gain highpass hilbert input# ladspa loudness lowpass mcompand noiseprof noisered norm oops output# overdrive pad phaser pitch rate remix repeat reverb reverse riaa silence sinc spectrogram speed splice stat stats stretch swap synth tempo treble tremolo trim upsample vad vol"
(sox)  "  * Deprecated effect    + Experimental effect    # LibSoX-only effect"
(sox)  "EFFECT OPTIONS (effopts): effect dependent; see --help-effect"
(K3bSoxEncoder) sox exited with error.