[Speex-dev] speexdec 1.2.3
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Thu Apr 3 21:19:33 PDT 2008
Jahn, Ray (R.) a écrit :
> Dear Speex codec community:
>
> I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any pointer to web or file of instruction is appreciated.
>
> Attempt (one long command line, failed):
>
> type d:\test.spx | "d:\speex 1.2.3\bin\speexdec.exe" - - | "d:\lame 3.97\bin\lame.exe" --preset voice - - > d:\test.mp3
Probably the reason why this doesn't work is that by default, speexdec
outputs a raw file and not a wav file. So you'll want to pipe it into
something that adds the wav header (e.g. sox).
Jean-Marc
More information about the Speex-dev
mailing list