Skip to main content
Topic: FLAC to WMA Lossless converter tool (Read 7808 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

FLAC to WMA Lossless converter tool

I thought i'd share this tool that i made, and also provide a quick tutorial. So, with the proper components installed on the system, this bat file:

1. Takes a directory that contains FLAC files as input
2. Decodes them to WAV
3. Checks the WAV if it is truly lossless (auCDtect) and writes the result to log file
4. Converts the WAV to WMA Lossless
5. Deletes the WAV's and moves WMA's to user's Music\!Converted folder

Needed components:
1. WMEncoder
for x86: http://www.microsoft.com/downloads/details...;displaylang=en
for x64: http://www.microsoft.com/downloads/details...;displaylang=en

2. FLAC command line tools
http://flac.sourceforge.net/download.html

3. auCDtect: CD Authenticity Detector
http://true-audio.com/Free_Downloads

4. my converter:
[attachment=4942:flac2wmal.7z]
(I'm sorry for the 7z format, but regular zip gets corrupted on upload somehow?)

Installation:
0. Download and install the required components

1. Create folder:
Code: [Select]
C:\Program Files\Flac2WMAL


2. Copy the following files to the above folder:
Code: [Select]
auCDtect.exe
flac.exe


3. Extract the converter (the attached zip) to the above folder

4. Double-click the contextmenu.reg file. This adds a menu item to all folders' right click menu that says "Convert to WMA Lossless" and executes the batch file.

Notes:
- This package was tested on Windows Vista x64 only. Should work on Vista x86 too (don't see a reason why not), but on Windows XP you may have to edit the output path in the bat file (substitute "Music" with "My Music")
- Feel free to edit the bat and reg to your likes
- Feel free to distribute this pack, be it modified or ontouched
- Please report bugs
- The file tags (meta data) are not preserved during the process

FLAC to WMA Lossless converter tool

Reply #1
You don't state whether this process preserves tags.
lossyWAV -q X -a 4 -s h -A --feedback 2 --limit 15848| FLAC -5 -e -p -b 512 -P=4096 -S-

FLAC to WMA Lossless converter tool

Reply #2
You don't state whether this process preserves tags.


unfortunately it doesn't. for me it wasn't an issue, because i used WMP to auto-tag and auto-rename all files.

Re: FLAC to WMA Lossless converter tool

Reply #3
Just wanted to say "thanks" for this utility! It's been years since it was originally posted here, but I found a need for it in 2018. Kudos and thanks to the creator!!!

Notes for anyone that wants to use this now:

- under Win7 (and I suspect any win OS after Vista, you need to disable DEP in order for the WAV > WMA conversion to work. You can find instructions here: https://www.thewindowsclub.com/disable-data-execution-prevention. Otherwise, the WAV > WMA conversion step will just generate script exceptions.

- Microsoft no longer hosts Windows Media Encoder, but you can find it here: https://www.softpedia.com/get/Multimedia/Video/Codec-Packs-Video-Codecs/Windows-Media-Encoder.shtml.

- I also had a problem registering the "conver flac to wma" action with the .reg file. Instead, I jst made some modifications to the .bat file and ran it from a cmd prompt.

 
SimplePortal 1.0.0 RC1 © 2008-2018