lossyWAV 1.2.0 Development Thread
Reply #112 – 2009-01-16 05:28:42
Well I have tried and failed...I haven't pinned down the right sequence yet... What I have used so far.../d /c C:\"Program Files (x86)"\foobar2000\codec\lossywav - --portable --silent --stdout | "C:\Program Files (x86)\Windows Media Components\Encoder\WMCmd.vbs" -silent -a_codec WMA9LSL -a_mode 2 -a_setting Q100_44_2_16 -input %s -output %d Problem is it gives back a WSHShell / undefined variable...probably has to do something with the piping or some other little variable. I will have to stick with the workaround method I have setup at the moment. Convert to Lossy Portable FLAC and then convert that to WMA-Lossless. I will keep trying every once in a while to try to figure some tweak or some trick to get it to work as a command line. Cscript.exe is required to run .vbs files. I believe it is in C:\Windows\System32\ and put the .vbs as an argument after it with full path in quotes. I can't get it to work, either. I can get the original WAV to encode to WMA Lossless, but I can't get all three processes into the converter string to work. Maybe if there were a batch to call from foobar to handle the lossyWAV conversion and then input that file into the WMALS encoder for a lossyWMALSL file, not just a WWMA Lossless file. The wiki code here doesn't work, even if you allow for a cscript.exe prompt first:Encoder: c:\program files\windows media components\encoder\WMCmd.vbs Extension : lossy.wma Parameters: -input %s -output %d -a_codec WMA9LSL -a_mode 0 -a_setting Q100_44_2_16 Format is : lossless or hybrid Highest BPS mode supported: 24 It addresses the encoding of a regular WAV file, but doesn't include the lossyWAV processing.