IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Speex batch decoding
N00berd
post Jun 7 2007, 14:01
Post #1





Group: Members
Posts: 8
Joined: 7-June 07
Member No.: 44139



Hi,

I need a programm that can batch decode speex files. It should be able to decode all speex files in a directory to wav files and it should be free and a commandline programm because I want to run it from an installer.

I've heard speexdec.exe is able to batch convert files: http://lists.xiph.org/pipermail/speex-dev/...ary/005227.html but it did'nt work.

What's wrong?

Hallo,

ich suche ein Programm, das mehrere Speex-Dateien in einem Verzeichnis auf einmal in Wav-Dateien umwandeln kann. Es sollte ein Commandline-Programm sein, weil ich es aus einem Installer heraus ausrufen möchte (wird eine Mod für ein Computerspiel, das aber nur .wav-Dateien annimt, die sind mir aber zu groß).

Ich habe gehört, dass es mit speexdec.exe möglich sei: http://lists.xiph.org/pipermail/speex-dev/...ary/005227.html Aber das funktioniert nicht.

Was mache ich falsch?
Go to the top of the page
+Quote Post
Polar
post Jun 7 2007, 14:46
Post #2





Group: Members
Posts: 266
Joined: 12-February 04
Member No.: 11970



Hate to break the fun, but it seems to me
http://www.hydrogenaudio.org/forums/index....showtopic=23120
http://www.hydrogenaudio.org/forums/index....amp;s=&f=31
might be interesting reading for you.

Another hint: Foobar ;)
Go to the top of the page
+Quote Post
Synthetic Soul
post Jun 7 2007, 16:54
Post #3





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



Thread moved.

Save the text below as speex-decode.bat, first editing the path to SPEEXDEC.EXE, and then drag the folder containing the SPX files onto the file icon.

CODE
@FOR /R %1 %%G IN (*.spx) DO "C:\Path To\SPEEXDEC.EXE" "%%G" "%%~dpnG.wav"


Edit: Just noticed that you want to run this from an installer. If you can run the command from the installer the syntax should be:

CODE
FOR /R %1 %G IN (*.spx) DO "C:\Path To\SPEEXDEC.EXE" "%G" "%~dpnG.wav"

The alternative is to use the batch file, and call it passing the folder as a parameter, i.e.:

CODE
speex-decode "C:\Path\To\My Wave Files"


This post has been edited by Synthetic Soul: Jun 7 2007, 16:58


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post
N00berd
post Jun 7 2007, 20:49
Post #4





Group: Members
Posts: 8
Joined: 7-June 07
Member No.: 44139



Thx it works! biggrin.gif

But I can hear many loud clicks in the speex files that weren't in the original file except I choose quality 8-10 but the general quality is good (not that metallic as vorbis aO tuv b5 smile.gif ). Is this a problem with speex or what's wrong?

I'm using speexenc.exe and speexdec.exe both v. 1.2 beta2
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 29th December 2014 - 04:29