Is there a way to convert FLAC to WMA using foobar just like its possible to converto to mp3 ?

hello,since win7 MS decide to change from old WM9Encoder (COM based ) to the new Windows Media Encoder IWMEnc Interface.WME is afaik part of the Windows Media Player. therfor win7 user dont need to install WM9Encoder (dont work anny more).

based on the BASS audio library http://www.un4seen.com/ i made a small console app that convert *.mp3;*.mp2;*.mp1;*.ogg;*.wav;*.aiff;*wma -> wma.

the command line is the same as used by the known WMCmd.vbs / WME9.vbseg.

WMAenc.exe work on all win >= win2kon win2k - xp WM9Encoder.exe codecs from MS must be install onyour system (like for WMCmd.vbs / WME9.vbs)on win7 only the win7 Windows Media Player must be install.

i am noob in dev plugins for foobar, so i need help from a dev to create a foobar plugin enviroment for the Converter Setup page (like the Flac GUI page). if some dev can help me, i can make a nice GUI Plugin for foobar.

What do you need? Does it need to be a context menu item? To me, it would make much more sense taking selected entries, decoding to PCM, and then piping them to the WMA encoder. Only issue I can see there then is you need to make BASS/BASSWMA somehow multiinstance usable. But then you support *any* format that FB2K supports...Plus, it should remove the dependancy on bass.dll itself, as it seems BASSWMA's encoder can be called without a BASS instance.

edit: Noticed a issue with your encoder. Seems to crash whenever no parameters are given to it. I assume the encoder was coded in Delphi or Visual Basic? (judging from the error message)

It is because he didn't check for parameters in his program. The only error is that you didn't provide the required paramters -input -output and -a_setting.

pebkac

QUOTE (merlin_de)

i am noob in dev plugins for foobar, so i need help from a dev to create a foobar plugin enviroment for the Converter Setup page (like the Flac GUI page). if some dev can help me, i can make a nice GUI Plugin for foobar.

FLAC has a special setup dialog because foobar2000 directly supports it. You still need to provide flac.exe as it doesn't come with the encoder. It only has a built-in setup dialog. Same with wavpack, ogg vorbis, mp3, wav, et.al.All other formats need to be setup with the custom option, including wmaenc.

I tried this tool on x32 Win 7 Ultimate and got the WMAPRO encoded files without any problems. But when I tried to play them in Rockboxed Fuze v2, I noticed some issues, so I run them through foobar2000's Verify Integrity tool. This is the result:

This is a limitation of the stream format used by WMA files, namely ASF. It appears to store packet play position timestamps and durations in milliseconds. Thus, Microsoft's own WMA handling code is limited to returning track lengths in milliseconds.

I have just tried the WMAenc.exe in EAC and it's working flawless. What I miss is an opportunity to tag my .wma files when I rip them. With the old WMencoder from EAC it was possible. Does anyone know if there are any parameters that could be added which would then write the tags. EAC has already the tags from freedb.