MP3val and Mp3tag

For friends of the oldtimer "MP3val", ...
which is a free software tool to validate and fix MPEG audio files, ...
here comes an adapter for the usage within "Mp3tag".

Installation

  1. From the web page there ...
    http://mp3val.sourceforge.net/download.shtml

... download "MP3val 0.1.8 binaries for Windows (frontend version 0.1.1 included) (64 Kb)" http://downloads.sourceforge.net/mp3val/mp...1-bin-win32.zip

... and copy the unzipped files into a folder of your wish, ...
e. g. to "P:\Programs\Mp3val"

  1. Download "DD.MP3val.cmd" zip-package from here ...
    DD.MP3val.cmd.zip (1009 Bytes)
    ... and copy the unzipped file into the same folder as the MP3val files in step 1, ...
    e. g. to "P:\Programs\Mp3val"
    Within the cmd script ... edit the location fitting to your environment ...
    SET EXE_MP3VAL=...

  2. In Mp3tag open the dialog ...
    "Mp3tag/Tools/Options/Tools" [Ctrl]+[O] ("Ocean") ...

Create a new tool ... (example)
Name: MP3val
Path: C:\WINDOWS\system32\cmd.exe
Parameter: '/C "M:\MUSIC\MP3val\DD.MP3val.cmd"'
For all selected files: no

Note: You might have to adapt the value for "Path", ...
this is the full path to the command processor "cmd.exe".

Note: You might have to adapt the value for "Parameter", ...
this is the full path to the CMD file "DD.MP3val.cmd".

Move the newly created tool entry within the list to a position of your liking, ...
for example at position 10 the tool can be accessed by pressing [Ctrl]+[0] ("zero").

  1. As an alternative to step 3 ...
    you may edit the Mp3tag file "TOOLS.INI" by using a text editor, ...
    folder: %APPDATA%\Mp3tag\data
    file: %APPDATA%\Mp3tag\data\tools.ini

To invoke the tool within Mp3tag by pressing [Ctrl]+[0] ("zero") ...
create the section ...

[#9]
MTTOOLSNAME=MP3val
MTTOOLSPARAM='/C "M:\\MUSIC\\MP3val\\DD.MP3val.cmd"'
MTTOOLSPATH=C:\\WINDOWS\\system32\\cmd.exe
MTTOOLSINST=0

How to apply?

  1. In Mp3tag listview select one file within a folder.

  2. Invoke the tool via context menu "F10/Tools/DD.MP3val" ...
    or press the dedicated shortcut e. g. [Ctrl]+[0].

  3. A DOS console window will be opened, ...
    do read the information text, ...
    there are two options, ...
    "I" shows info only
    "P" tries a repair process.

Enter key [I] or [P] to invoke MP3val.exe, ...
otherwise [Enter] closes the console window.

  1. A report text file will be created, ...
    which will be opened immediately after "MP3val.exe" has done the job.

End of procedure.

DD.20150807.2246.CEST

DD.MP3val.cmd.zip (1009 Bytes)

Not currently an Mp3val user but I'll remember this thread when I want to fix Mp3s. Thanks Detlev :slight_smile:

It's mostly AACs errors I run into, as I record from digital radio and occasionally foobar2000 won't playback the recording after being wrapped in an M4A container using ffmpeg. Using Mp4Box works better as it fixes the errors though it's not a validation tool per se.

Thank you, Detlev!

Unfortunately, mp3val can not handle non-ASCII characters (upper 255): french, italian, cirillyc and so on letters; nor in command line, nor in frontend.

Despite, the author of the program is russian... :huh:

It finds much more troubles, than Foobar's embedded error scaner.
After repairing in mp3val, Foobar shows mp3 head (reported length) problem, and I must to rebuild mp3 header in it. After all of these (renaming, scanning, repairing, repairing, renaiming) it's OK...

Maybe the fitting codepage must be set within the CMD console?

DD.20150811.1251.CEST

I'm afraid, no. The manual does not mention it. On the bugs page, "Extended character support", answers: none, status: open. (By the way, the comment mentions a german umlaut letters, too.)

But I'm not familiar with command line's language general abilities.