VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Please help! I'm looking for a command line tool to convert audio from any format to WAV to be imported to LAME. The only thing to do it I've heard is AVS2WAV, but I could not find a working copy of it anywhere.

    Could anyone help me to find AVS2WAV command-line or something like this, please!
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Here it goes (includes "wavi.exe" as well).

    HTH!

    avs2wav-and-wavi.zip
    Quote Quote  
  3. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    http://sourceforge.net/projects/wavi-avi2wav/

    I use this to make AC3 from AVS using a batch command:

    Code:
    for %%I in (%1) do (
    wavi %%I - | p:\aften\aften.exe -b 128 -s 1 -w 45 -dnorm 27 - %%~nI.ac3
    the "-" option outputs to stdout, so you can stream that into any encoder that accepts stream input.
    Otherwise you can make a wave file and convert that.
    Quote Quote  
  4. Member
    Join Date
    Oct 2008
    Location
    Russian Federation
    Search Comp PM
    Originally Posted by El Heggunte
    Here it goes (includes "wavi.exe" as well).
    Thanks, you, but avs2wav does not work at all: it asks for msvcp70.dll and msvcr.dll, I've d/led them from the place I do not remember. Since I've added them program starts properly, but hangs just after starting writing WAV file... Either something wrong with that dll or with this program.

    WAVI on the contrary works perfectly, thanks you very much for suggesting it!

    AlanHK, thanks you very much for WAVI too, I was thinking to use something like this script too, so I'll use

    Code:
     echo DirectShowSource("%~1") > "%~n1.avs"
    wavi.exe "%~n1.avs" - | lame -q 0 --vbr-new -V 0 - "%~n1.mp3" 
    del "%~n1.avs"
    works perfectly. Thanks you all again!

    Just I do not know how to FOR it, because when I try

    Code:
    for %%F in (*.flac) do (
    echo DirectShowSource("%%~F") > "%%~nF.avs"
    ...
    it treat the ')' of directshowsource as for-end ')' and stop working. But I can loop this batch file too, or apply it to selected files in FAR Manager, which is even better if I do not want to convert all files from directory, or for it recursively to convert many albums and so on.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!