IPB

Welcome Guest ( Log In | Register )

Reflacer, VBScript to re-flac, decode, encode, and re-encode to MP3
kmitch
post Feb 23 2008, 03:12
Post #1





Group: Members
Posts: 41
Joined: 4-February 08
Member No.: 51021



Based on configuration file or command line parameters, offers the following functionality:
  • Encode - The program looks for .WAV files and will encode them using .FLAC
  • Decode - The program looks for .FLAC files and will decode them to .WAV
  • MP3 - The program looks for .FLAC files, intermediately decodes them to .WAV, then uses lame to encode the .WAV to .MP3 and removes the .WAV file
  • ReFLAC - The program looks for .FLAC files and re-encodes them to .FLAC
  • Test - The program looks for .FLAC and tests the files for validity
Taking the following types of input:
  • Directory - Command Line Parameter DIR. If used, the program will look in this directory and all subdirectories for files and perform the Mode action on those files
  • File List - Command Line Parameter FILELIST. formatted as 1 file per line with full path and filename, the program will iterate through each file and perform the mode action. File - Command Line Parameter
  • FILE. It will allow the program to act on an individual file.
This program is just a wrapper around functionality available in other programs. It makes use of the following executables:
  • FLAC v1.2.1 Makes use of flac.exe and metaflac.exe, these programs can be obtained from <a href="http://flac.sourceforge.net/" target="_blank">http://flac.sourceforge.net/</a> on the Download page, click on the link to download FLAC for Windows (command-line tools only).
  • Tag v2.0.52 Makes use of Tag to identify and remove ID3v2 tags. This program can be obtained from <a href="http://synthetic-soul.co.uk/tag/" target="_blank">http://synthetic-soul.co.uk/tag/</a>
  • Lame v3.97 LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL. It can be downloaded from <a href="http://lame.sourceforge.net" target="_blank">http://lame.sourceforge.net</a>
  • metamp3 v.092b5 MetaMP3 is used to copy tags from FLAC files to MP3 files when in MP3 mode <a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=49751" target="_blank">http://www.hydrogenaudio.org/forums/index....showtopic=49751</a>
  • imgResize v1.00 This program is distributed (with source) with Reflacer. This program is a simple VB .Net application to accept an image file, and resize it.
Change Log

09/13/2008 v2.03
  • Fixed bug when resizing images in MP3 mode
  • Rewrote code to allow FLACReplayGain to use multiple processors
08/14/2008 v2.02
  • Added FLACReplayGain as an option for the MODE parameter
  • Will now skip FLACReplayGain if Synchronize=Y and all files already contain Replay Gain
  • Added FLACRGParams parameter for metaflac replay gain parameters
  • Fixed a issue that could cause cross-thread contamination
  • Fixed bug in Resize code that would cause errors if the original image was smaller than desired size
  • Added PAUSE parameter
  • Fixed bug that caused an error when process completes and GUI status window is open
08/06/2008 v2.01
  • Fixed ReFLAC lock up bug
  • Fixed early exit (before all operations were complete)
  • Fixed issue where FLAC results weren't written to screen/log
  • Added FLACReplayGain parameter and functionality
06/03/2008 v2.00
  • First VisualBasic Version
  • Added tray icon with status information
03/08/2008 v1.04
  • MULTIPROCESSOR parameter added (jamesbaud)
  • Fixed possible issue with comparison of directories when using DIR parameter
  • Added ability to add FLAC tags when encoding based on Filename Mask and File
  • TAGMASK parameter added (jamesbaud)
  • TAGFILE parameter added (jamesbaud)
  • Added report at the end of the run that shows counts of the operations performed
02/22/2008 v1.03
  • Added support for metamp3 for copying tags
  • Added METAMP3PROGRAM & METAMP3PARAMS command line/config file parameter
  • New file Reflacer.tag, used to map FLAC tags to MP3
  • Added TAGGER command line/config file parameter, choose between Tag or metamp3
  • The %ScriptDir% variable can now be used for any command line/config file parameters
  • Added ability to use a file or FLAC picture in MP3 conversion
  • IMAGESOURCE parameter allows hierarchy to use when searching for an image
  • Introduction of imgResize.exe (simple VB app to resize an image file)
  • RESIZEIMAGE parameter turns imgResize on or off
  • Added IRPROGRAM & IRPARAMETERS to support imgResize
  • Fixed potential error where path to the programs contained a space
  • Temp directory is now used for all temporary processing files
  • Code Change - all variables have been switched to Hungarian notation
02/09/2008 v1.02
  • Fixed bug with the Logo being written to the screen in an error state
  • If using DIR and TARGETDIR, a list of files that are in TARGETDIR but not in DIR will be logged
  • Added COPYFILEMASKS command line/config file parameter (Demetris)
  • Will now create TARGETDIR if it does not exist (Demetris)
  • Will now handle TARGETDIR being a child of DIR (will not recurse TARGETDIR) (probedb)
  • When specify variables for LOGDIR, may use ^ instead of % (easier in batch files)
  • Fixed bug with displaying TARGETDIR parameter
  • Fixed bug that occurred when decoding a flac file failed in MP3 mode
02/06/2008 v1.01
  • Changed name from Re-FLACer
  • Fixed bug when directory to be created was more than 1 level deep
  • Added wrappers around FileSystemObject calls
  • Moved code around to make it easier to read
  • Added LOGDIR command line/config file parameter (Demetris)
  • Added single File Processing (FILE parameter)
  • Added FLAC command line parameters (Demetris)
02/02/2008 v1.00
  • Initial release
The home page for the software is on Google Code.

This post has been edited by kmitch: Sep 13 2008, 15:43
Go to the top of the page
+Quote Post

Posts in this topic
- kmitch   Reflacer   Feb 23 2008, 03:12
- - kmitch   Original discussions of Reflacer are here: http://...   Feb 23 2008, 23:19
- - rubix   how come reflacer is able to create slightly small...   Feb 28 2008, 10:35
|- - kmitch   QUOTE (rubix @ Feb 28 2008, 04:35) how co...   Feb 28 2008, 12:51
|- - jamesbaud   QUOTE (rubix @ Feb 28 2008, 01:35) how co...   Feb 28 2008, 21:42
- - A_Man_Eating_Duck   QUOTE (rubix @ Feb 28 2008, 22:35) how co...   Feb 28 2008, 23:26
|- - jamesbaud   QUOTE (A_Man_Eating_Duck @ Feb 28 2008, 14...   Feb 28 2008, 23:35
- - A_Man_Eating_Duck   QUOTE (jamesbaud @ Feb 29 2008, 11:35) If...   Feb 29 2008, 00:02
|- - jamesbaud   QUOTE (A_Man_Eating_Duck @ Feb 28 2008, 15...   Feb 29 2008, 00:05
- - A_Man_Eating_Duck   QUOTE (jamesbaud @ Feb 29 2008, 12:05) So...   Feb 29 2008, 00:17
- - tylast   How about an option to encode to M4A keeping the t...   Feb 29 2008, 01:12
|- - kmitch   QUOTE (tylast @ Feb 28 2008, 19:12) How a...   Feb 29 2008, 02:04
- - noorotic   Hi, I think this is great. It would be great if m...   Feb 29 2008, 11:41
- - bilbo   Nice program. Wpuld it be possible to add a mode t...   Mar 3 2008, 00:07
- - Jose Hidalgo   You can already use a splitter for that (foobar, o...   Mar 3 2008, 16:40
|- - bilbo   QUOTE (Jose Hidalgo @ Mar 3 2008, 10:40) ...   Mar 4 2008, 02:22
- - Tirade   Damn this is exactly what I was looking for! ...   Mar 4 2008, 13:39
|- - kmitch   QUOTE (Tirade @ Mar 4 2008, 07:39) 1. Is ...   Mar 4 2008, 20:00
|- - Tirade   QUOTE (kmitch @ Mar 4 2008, 14:00) No, th...   Mar 4 2008, 20:50
|- - kmitch   QUOTE (Tirade @ Mar 4 2008, 14:50) I may ...   Mar 5 2008, 00:44
- - Jose Hidalgo   Use iTSfv. For getting crystal-clear artwork it...   Mar 6 2008, 19:10
- - kmitch   Reflacer v1.04 has been released, you can get it h...   Mar 9 2008, 00:51
|- - Heliologue   Running into a bug with the multiprocessor. CODER...   Mar 10 2008, 21:44
- - dagordon   kmitch, Thank you! This is a terrific program...   Mar 10 2008, 22:23
|- - kmitch   QUOTE (dagordon @ Mar 10 2008, 16:23) kmi...   Mar 11 2008, 01:22
|- - dagordon   QUOTE (kmitch @ Mar 10 2008, 20:22) If yo...   Mar 11 2008, 16:55
- - mattross   I am using v1.04 of this excellent tool to upgrade...   Apr 12 2008, 17:58
|- - kmitch   QUOTE (mattross @ Apr 12 2008, 12:58) Som...   Apr 13 2008, 14:19
- - CoyoteSmith   does this transfer metadata like comments, album n...   Apr 23 2008, 12:39
|- - kmitch   QUOTE (CoyoteSmith @ Apr 23 2008, 07:39) ...   Apr 23 2008, 12:42
- - Balnes   Hello. Thank you for a great script. I have one...   Apr 25 2008, 22:27
- - likeatree   keep up the good work, can't wait for vb versi...   Jun 3 2008, 02:17
|- - kmitch   Version 2.0 has just been released. This version ...   Jun 4 2008, 00:15
- - likeatree   I'm using vista 64-bit and version 2 hangs: S...   Jun 4 2008, 17:33
- - JJZolx   Very nice idea. I also have a couple of VBScripts...   Jun 12 2008, 00:36
- - dagordon   I just tried out version 2 and it crashes on my sy...   Jul 2 2008, 23:42
|- - kmitch   QUOTE (dagordon @ Jul 2 2008, 18:42) I ju...   Jul 2 2008, 23:50
- - agentk7   I really appreciate the work put into this tool. ...   Jul 3 2008, 03:53
- - mrinferno   thanks for the cool script/app. i have Vista 32-B...   Jul 28 2008, 21:13
|- - kmitch   QUOTE (mrinferno @ Jul 28 2008, 16:13) i ...   Jul 29 2008, 00:09
- - kmitch   v2.01 has just been released on Google Code: http:...   Aug 7 2008, 00:12
- - mrinferno   cool... sorry, i missed your reply to my post on ...   Aug 7 2008, 01:10
- - mrinferno   just got a chance to try v2.01 on my Vista 32-bit ...   Aug 7 2008, 23:04
|- - kmitch   QUOTE (mrinferno @ Aug 7 2008, 18:04) jus...   Aug 7 2008, 23:49
|- - mrinferno   QUOTE (kmitch @ Aug 7 2008, 18:49) Not re...   Aug 11 2008, 22:13
- - kmitch   Reflacer v2.02 has been released here. I know it ...   Aug 14 2008, 12:33
|- - Phixion   How do I use this program exactly? I've edited...   Aug 27 2008, 03:00
|- - smw   QUOTE (Phixion @ Aug 26 2008, 19:00) How ...   Aug 27 2008, 03:20
- - smw   First of all, I think this program is awesome...   Aug 27 2008, 03:38
|- - Phixion   I think I found my issues, I didn't have .NET ...   Aug 27 2008, 22:49
- - kmitch   Version 2.03 has been released. == 09/13/2008 _v2...   Sep 13 2008, 15:45
|- - philaphonic   Kmitch, thank you very much for this script! ...   Jan 16 2009, 16:26
- - philaphonic   Apparently the script has a problem with certain n...   Jan 16 2009, 16:44
|- - philaphonic   A different Windows x64 installation gave me this ...   Jan 20 2009, 21:43
|- - kmitch   QUOTE (1) Is it possible to force reflacer to upda...   Jan 20 2009, 23:00
- - paulgj   Hello, I just did a test and ReFLAC'ed a dire...   Jan 22 2009, 09:50
- - paulgj   hmmm, just reripped and tried again and this time ...   Jan 22 2009, 10:31
- - probedb   Hmm, I've tried this again and it crashes....M...   Jan 26 2009, 22:53
- - probedb   This is still crashing....it crashes whether in Te...   Feb 2 2009, 19:29
- - flacflac   Hey everyone, is there a single executable that ...   Apr 17 2010, 18:14
- - BoraBora   QUOTE (flacflac @ Apr 17 2010, 19:14) Hey...   Apr 18 2010, 22:32


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: 19th September 2014 - 17:30