Re: [ecasound] format conversion

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] format conversion
From: Kai Vehmanen (k@eca.cx)
Date: Sun Jun 03 2001 - 22:59:30 EEST


On Sat, 2 Jun 2001, Bill Sack wrote:

> ecasound -f:32,12,44100 -i /zap/2ch-file.wav \
> -f:16,2,44100 -o /zap/16bit-2ch-file.wav
>
> but it causes segfault, a la:

Hmm, works here... I made the following test script. Does this work for
you (if you don't have LADSPA SDK installed, replace the generated file
with '2ch-file.wav')?

--cut,'big_file_conversion_test.sh'--
#!/bin/sh
#
ecasound=ecasound
#
$ecasound -i null -pn:metronome -f:32,12,44100 -o footemp_32bit.wav -t:10
$ecasound -f:32,12,44100 -i footemp_32bit.wav \
          -f:16,2,44100 -o footemp_16bit.wav
--cut--

The resulting files seem to be ok (using 'file footemp_xxxbit.wav'):

--cut--
footemp_16bit.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz
footemp_32bit.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 32 bit, 12 channels 44100 Hz
--cut--

Hmm, something weird is happening here. Do you have write permission to
/zap? Still, ecasound should give a more verbose error message. I know
some Linux distributions like to compile with '-fomit-frame-pointer' (to
increase speed), but this can be deadly to C++ exceptions...

--
 http://www.eca.cx
 Audio software for Linux!

-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jun 03 2001 - 23:20:52 EEST