View Single Post
  #69  
Old 2020-02-20, 08:18 PM
Five's Avatar
Five Five is offline
 
Join Date: Oct 2004
Location: Canada
Re: The Validity of MD5 Checksums

some previous discussion about using batchenc as a shntool frontend here. I was running it just the other day on windows 10, no problems with visual basic 6 or whatever at all.

batchenc by speek, 2005-02-02
Quote:
BATCHENC

Batchenc is a free and very flexible Windows front-end for all console encoders and decoders. It's not for newbies because the user has to know the command line syntax of the back-end programs. But a configuration file with a lot of examples is included to make it a bit easier.

Download Batchenc v1.5.1 (it's only 29 kb and freeware)

[image below]

If you're in Windows 95/98 and get an error when you try to run the front-end, you probably need to install the Visual Basic 6 Runtime files.

What's new in v1.5.1:
  • The order of adding the application directory to the Path when using <allfiles> has changed (first the app.dir. and then the rest of the Path).
What's new in v1.5:
  • Batchenc can now also be used with replaygain programs like mp3gain, wavegain, replaygain (for Musepack), vorbisgain and aacgain. More info in the readme file under "Hints".
  • Longer Presets dropdown list (shows max. 15 instead of max. 8 items).
  • Simple spelling check for the keywords: <infile>, <allfiles> and <outfile.xxx>.
What's new in v1.4:
  • It's now possible to run several batch processes simultaneous. In previous versions the go.bat file would get overwritten. But now the batchfiles are numbered (up to 20 and then it starts at 1 again). And they are in their own subdirectory.
  • New icon.
What's new in v1.3:
  • Removed the Edit button.
  • Made the command line presets sort alphabetically.
  • Added an 'Always on top' button.
What's new in v1.2:
  • Support for XP Visual Styles.
  • Tahoma font if OS is Win2000 or newer.
  • Replaced the listview with a listbox (because the listview didn't behave well with XP Visual Styles).
What's new in v1.1:
  • Add Files dialog remembers last directory. And if that doesn't exist anymore it tries one, two or three directories higher. Same goes for Browse output directory.
  • An Edit button. If you hit it, the presets file will be opened in your favourite text editor.
Check out my other frontends
Batchenc readme.txt
Code:
What's new in v1.5.1:
- The order of adding the application directory to the Path when using <allfiles> has changed (first the app.dir. and then the rest of the Path).

What's new in v1.5:
- Can now also be used with replaygain programs like mp3gain, wavegain, replaygain (for Musepack), vorbisgain and aacgain. (more info below under "Hints")
- Longer Presets dropdown list (shows max. 15 instead of max. 8 items).
- Simple spell check for the keywords: <infile>, <allfiles> and <outfile.xxx>.

What's new in v1.4:
- It's now possible to run several batch processes simultaneous. In previous versions the go.bat file would get overwritten. But now the batchfiles are numbered (up to 20 and then it starts at 1 again). And they are in their own subdirectory.
- New icon.

What's new in v1.3:
- Removed the Edit button.
- Made the command line presets sort alphabetically.
- Added an 'Always on top' button.

What's new in v1.2:
- Support for XP Visual Styles.
- Tahoma font if OS is Win2000 or higher.
- Replaced the listview with a listbox (because the listview didn't behave well with XP Visual Styles).

What's new in v1.1:
- Add Files dialog remembers last directory. And if that doesn't exist anymore it tries one, two or three directories higher.
- An Edit button. If you hit it, the presets file will be opened in your favourite text editor. The command line combobox reloads the presets file everytime it is clicked, so changes in the presets file are immediately available.

Installation:

- Unzip into a new directory.
- win2dos.exe is not needed when using Windows 2000 or newer.
- The encoders and decoders must be either in the same directory as Batchenc or in the Path. Another posibilty is to specify the location of the encoder on the command line. Example:
"c:\program files\encoders\lame\lame.exe" --alt-preset standard <infile> <outfile.mp3> (the quotes are required when there are spaces in the path). But this last method gets messy soon. I prefer to have all codecs in one directory and add this directory to the search Path. In Windows XP this can be done in: Control Panel -> System -> Advanced -> Environment Variables -> Path -> Edit.
- Run "Batchenc.exe".

If you're in Windows 95/98 and get an error when you try to run the front-end, you probably need to install the Visual Basic 6 Runtime files. Get it here: http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe


Usage:

- Drag and drop wave files from Windows Explorer into the Batchenc file list or press the "Add files" button and put files on the list with the "Add Files" dialog.
- Enter the command line you want to use, or select one of the presets. <infile> represents the file on the the list. <outfile.extension> is the base filename of the input file, prepended with the selected output directory and appended with the desired extension.
- Optional: Select an output directory. If the output directory doesn't exist it will automatically be created.
- Hit "Start"
- Note that all that Batchenc does is create and launch a batch file. This is done on the moment you hit the "Start" button. So after that you can safely start the next job or even close Batchenc.

Hints:

- The command line presets are in a file named Batchenc_presets.cfg. This is a normal text file. Presets can be added and removed by hitting the + and the - button.

- To transcode from one compressed format to another pipes can be used if the decoder has standard output and the encoder has standard input (check this in the help of the encoder and decoder you want to use). There's one example in the Batchenc_presets.example file:
flac -dc <infile> | lame --alt-preset standard - <outfile.mp3>
If the decoder doesn't have standard output or the encoder doesn't have standard input you can always use the method with an intermediate wav file. See this example:
ttaenc -d <infile> -o <outfile.wav> && mppenc <outfile.wav> <outfile.mpc> && del <outfile.wav>

- If you want to tag your files directly after encoding without clearing the list of wav files and loading the encoded files, you can use:
tag.exe --auto <outfile.mp3>
Or even easier, you can encode and tag in one run. For example:
lame --preset standard <infile> <outfile.mp3> && tag --auto <outfile.mp3>

- The normal behaviour of Batchenc is to create a new command line for every file on the list. Replaygain programs have to scan all tracks on an album for calculating the album gain. Therefore all files must be on one command line. This can be done by using <allfiles> instead of <infile>. For example:
mp3gain /a <allfiles>
replaygain --auto <allfiles>
All files that are in the same directory will be put on one command line. So if each album is in it's own directory all will go fine. You can put more than one album (directory) on the list. Each album will get it's own command line.
If you just want to apply radio gain then it's safe to use <infile>. For example:
mp3gain /r <infile>

----------------

win2dos is for converting Windows ANSI characters in the batch file to Windows OEM codepage. It is only needed in Win9x. win2dos is made by Case: www.saunalahti.fi/cse/

----------------

Batchenc is based on the source code of vbLamer by Chetan Sarva.

Special thanks to Enrico Palmeri, Chetan Sarva, Case and Volker Jung.

----------------

Batchenc is made by Speek.

Visit my website at: http://members.home.nl/w.speek

Send comments to [email protected]
batchenc.presets.example
Code:
faac -h
faac -q 100 -c 16000 <infile> <outfile.aac>
faad -h
faad <infile> -o <outfile.wav>
flac -dc <infile> | lame --alt-preset standard - <outfile.mp3>
flac --decode <infile> -o <outfile.wav>
flac --explain | more
flac <infile> -o <outfile.flac>
lame -?
lame --alt-preset standard <infile> <outfile.mp3>
lame --alt-preset standard <infile> <outfile.mp3> && tag --auto <outfile.mp3>
lame --decode <infile> <outfile.wav>
mac <infile> <outfile.ape> -c2000
mac <infile> <outfile.wav> -d
mac -h
madplay -h | more
madplay -v -d -a -1 <infile> -o wave:<outfile.wav>
mp3gain /?
mp3gain /a <allfiles>
mp3gain /r <infile>
mp4creator60 -aac-profile=2 -extract=1 <infile> <outfile.aac>
mp4creator60 -aac-profile=4 -optimize -create=<infile> <outfile.mp4>
mp4creator60 -help
mppdec <infile> <outfile.wav>
mppdec --help
mppenc --longhelp | more
mppenc --xlevel <infile> <outfile.mpc>
ofr --decode <infile> --output <outfile.wav>
ofr --encode <infile> --output <outfile.ofr>
ofr --help | more
oggdec <infile>
oggdec -h
oggenc2 -h | more
oggenc2 -q 4 <infile> -o <outfile.ogg>
replaygain
replaygain --auto <allfiles>
tag --auto <infile>
tag --help | more
ttaenc -d <infile> -o <outfile.wav>
ttaenc -d <infile> -o <outfile.wav> && mppenc <outfile.wav> <outfile.mpc> && del <outfile.wav>
ttaenc -e <infile> -o <outfile.tta>
ttaenc -h
wavegain --apply --album <allfiles>
wavegain --apply --radio <infile>
wavegain -h
wavpack <infile> <outfile.wv>
wavpack
wvunpack <infile> <outfile.wav>
wvunpack
batchenc v1.5.1 md5 checksums
Code:
9df3b3a648dfcd239a27f768c157ebaa *Batchenc.zip

63d21c5ab51048c7f8a3a2c2c67421e1 *Batchenc readme.txt
fc3637a380159a81b18676eed14b67e4 *Batchenc.exe
96c1de390617219f591f0cca42f779f5 *Batchenc_presets.example
73b08a17d7372e2d441fd74caa627b40 *win2dos.exe
Attached Images
File Type: png Batchenc.png
( 7.4 KB, 23 views)
 
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes