IPB

Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
MP3val 0.1.2 released, A tool to verify MP3 files integrity
ring0
post Feb 24 2006, 14:31
Post #1





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



I've written and released a small tool for MPEG audio files validation (supports MPEG-1, 2, 2.5, Layers 1, 2, 3). I think it can be quite handy for finding corrupted MP1/MP2/MP3 files (e.g. containing garbage, MPEG stream errors, truncated etc.). Information in VBR headers (VBRI/Xing) is also checked, however, not all of it yet.

It can also "fix" most of the problems (of course, it is questionable if one should fix MPEG stream errors, for example).

This is a command-line application, it should work both under Windows and Unix.

More information can be found on the Project Homepage

I'm interested in your comments.
Go to the top of the page
+Quote Post
kwanbis
post Feb 24 2006, 14:56
Post #2





Group: Developer (Donating)
Posts: 2353
Joined: 28-June 02
From: Argentina
Member No.: 2425



very nice, and being open source is really a plus. would check it.


--------------------
MAREO: http://www.webearce.com.ar
Go to the top of the page
+Quote Post
Never_Again
post Feb 24 2006, 21:35
Post #3





Group: Members (Donating)
Posts: 698
Joined: 31-March 04
From: NYC
Member No.: 13152



This 20KB (!) program scanned 251 MP3s (1.85 GB) and wrote a log file three times its size in 41 seconds. Pretty goddamn amazing! Open source, wildcard support, blazing speed, and did I mention it is tiny?
Congratulations, ring0 - well done! Hope you will write a GUI for it, too <g>.
Go to the top of the page
+Quote Post
xmixahlx
post Feb 25 2006, 00:45
Post #4





Group: Members
Posts: 1394
Joined: 20-December 01
From: seattle
Member No.: 693



i'm going to play with it and package it for Rarewares/Debian if you don't mind smile.gif


later


--------------------
RareWares/Debian :: http://www.rarewares.org/debian.html
Go to the top of the page
+Quote Post
AndyH-ha
post Feb 25 2006, 04:01
Post #5





Group: Members
Posts: 2192
Joined: 31-August 05
Member No.: 24222



I downloaded the Win32 version from one of the mirror sites.

I copied mp3val.exe to the drive/folder where certain mp3 files live.

I selected Run off the Start menu and Browsed to find and select mp3val.exe

The Run command line now says G:\temp\mp3val.exe.lnk
The .lnk is not shown by WindowsExplorer

I add an mp3 file name (file to validate) and the log file parameter, as explained in the program documentation.

I clicked on OK. Something happens because there is the flash of a window opening, but it is gone before more than the outline can be seen. No log file can be found anywhere on the computer.

I selected the MS-DOS Prompt and got the DOS window.

I navigated to the proper folder.

I tried every variation I can think of on mp3val (mp3val, mp3val.exe, mp3val.exe.lnk, and mp3val~1.lnk (which is what the DIR command displays) and a few others). Every one produces the message Bad command or file name

Does the (hidden) .lnk extension indicate I don't have an executable?
If so, is there an executable at some other site?
Is some addition component, DLL, or whatever necessary to run this program?
Have I misunderstood the meaning of MP3val is a console program. Command-line syntax: from the program documentation?
Go to the top of the page
+Quote Post
NickSD
post Feb 25 2006, 04:32
Post #6





Group: Members
Posts: 135
Joined: 20-December 01
Member No.: 702



QUOTE (AndyH-ha @ Feb 24 2006, 08:01 PM)
I copied mp3val.exe to the drive/folder where certain mp3 files live.

I selected Run off the Start menu and Browsed to find and select mp3val.exe

The Run command line now says G:\temp\mp3val.exe.lnk
The .lnk is not shown by WindowsExplorer


Sounds like you accidentally created a shortcut to the original file rather than copying it. A .lnk file is a shortcut. Then, if you deleted the original, the link would be pointing nowhere so no program would be run.

Nick
Go to the top of the page
+Quote Post
AndyH-ha
post Feb 25 2006, 07:57
Post #7





Group: Members
Posts: 2192
Joined: 31-August 05
Member No.: 24222



Thanks, I obviously didn't look closely enough; perhaps I just wasn't careful with that mouse pointer during the copy. Since the original was still in place, it must be that the Run command doesn't handle the pointer correctly.
Go to the top of the page
+Quote Post
mmortal03
post Feb 25 2006, 09:44
Post #8





Group: Members
Posts: 601
Joined: 19-July 02
From: USA
Member No.: 2667



QUOTE (ring0 @ Feb 24 2006, 08:31 AM)
I've written and released a small tool for MPEG audio files validation (supports MPEG-1, 2, 2.5, Layers 1, 2, 3). I think it can be quite handy for finding corrupted MP1/MP2/MP3 files (e.g. containing garbage, MPEG stream errors, truncated etc.). Information in VBR headers (VBRI/Xing) is also checked, however, not all of it yet.

It can also "fix" most of the problems (of course, it is questionable if one should fix MPEG stream errors, for example).

This is a command-line application, it should work both under Windows and Unix.

More information can be found on the Project Homepage

I'm interested in your comments.
*


How does this program compare to mp3check?: http://jo.ath.cx/soft/mp3check/mp3check.html


--------------------
WARNING: Changing of advanced parameters might degrade sound quality. Modify them only if you are expirienced in audio compression!
Go to the top of the page
+Quote Post
ring0
post Feb 25 2006, 15:42
Post #9





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (mmortal03 @ Feb 25 2006, 11:44 AM)
How does this program compare to mp3check?: http://jo.ath.cx/soft/mp3check/mp3check.html
*


I haven't seen this programs before I've written MP3val. If I had, may be I wouldn't write it. However, there are some differences:
- MP3val analyzes VBR headers (Xing, VBRI), mp3check seems not
- MP3val is a "native" Windows program (and was later ported to *nix), mp3check isn't (it needs Cygwin)
- MP3val supports ID3v1, ID3v2, APEv2. mp3check seems to support only ID3v1
- MP3val detects RIFF headers (however, mp3check also deals with them: it claims it is a garbage smile.gif
- MP3val doesn't support CRC calculation and fixing yet (however, rather small amount of files has CRC)
- mp3check has more parameters (but most of them seems to be not very useful)
- MP3val has significantly smaller size (at least in Win32)

Anyway, it's good that users will have a choice smile.gif

This post has been edited by ring0: Feb 25 2006, 15:46


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
Wedge
post Feb 25 2006, 16:26
Post #10





Group: Members
Posts: 28
Joined: 6-November 01
Member No.: 411



thanks! it worked perfectly for me, fixed a file that i've had problems with.
Go to the top of the page
+Quote Post
bluewer than blu...
post Feb 25 2006, 22:57
Post #11





Group: Members
Posts: 182
Joined: 6-March 02
Member No.: 1450



Great job ring0...a simple gui would be perfect for those not really into command based stuff. Think about it if you ever find the time...
Go to the top of the page
+Quote Post
Lodgikal
post Feb 27 2006, 01:30
Post #12





Group: Members
Posts: 38
Joined: 17-July 03
Member No.: 7838



I've tried a lot of apps to analyze and check my MP3s, but none of them has been as fast and compact as MP3val. Thanks for this useful tool.

Feature request:
A switch to reduce the output to errors and warnings only. That way it'd be much easier to spot problematic files when mp3val is used with wildcards (like *.mp3).
Go to the top of the page
+Quote Post
ring0
post Mar 1 2006, 17:50
Post #13





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (Lodgikal @ Feb 27 2006, 03:30 AM)
Feature request:
A switch to reduce the output to errors and warnings only. That way it'd be much easier to spot problematic files when mp3val is used with wildcards (like *.mp3).
*


MP3val 0.1.3 released, this feature is implemented in it, as well as a few minor bugfixes and improvements.

http://mp3val.sourceforge.net

What about a frontend, I think I will write it when I have enough time and desire smile.gif

This post has been edited by ring0: Mar 1 2006, 20:06


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
GeSomeone
post Mar 1 2006, 18:52
Post #14





Group: Members
Posts: 920
Joined: 22-October 01
From: the Netherlands
Member No.: 335



QUOTE (ring0 @ Feb 25 2006, 04:42 PM)
I haven't seen this programs before I've written MP3val. If I had, may be I wouldn't write it. However, there are some differences:
Anyway, it's good that users will have a choice
*

This is another one. MP3Utility ohmy.gif


--------------------
In theory, there is no difference between theory and practice.
Go to the top of the page
+Quote Post
ring0
post Mar 1 2006, 19:24
Post #15





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (GeSomeone @ Mar 1 2006, 08:52 PM)
This is another one. MP3Utility  ohmy.gif
*


Nice smile.gif The only drawback is that it can't fix files.
Strangely enough, MP3utility displays all general errors in "test file" mode, but only few of them in batch mode.

Anyway, having a GUI is a big "+" smile.gif


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
Narag
post Mar 1 2006, 19:41
Post #16





Group: Members
Posts: 38
Joined: 6-February 02
From: Prague
Member No.: 1274



Great tool, thanks for your work.

Could it be possible to recurse through directories?

Narag
Go to the top of the page
+Quote Post
ring0
post Mar 1 2006, 20:03
Post #17





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (Narag @ Mar 1 2006, 09:41 PM)
Great tool, thanks for your work.

Could it be possible to recurse through directories?

Narag
*


It is possible (at least, currently) only with the help of FOR command.
You should start CMD.exe, go to your directory and write:

for /r %i in (*.mp3) do mp3val "%i" -llog.txt

Recursive directory analisys will be in the GUI frontend when I (at last) write it smile.gif


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
Lodgikal
post Mar 1 2006, 21:46
Post #18





Group: Members
Posts: 38
Joined: 17-July 03
Member No.: 7838



Thanks for the -si option. smile.gif
Go to the top of the page
+Quote Post
mmortal03
post Mar 2 2006, 03:48
Post #19





Group: Members
Posts: 601
Joined: 19-July 02
From: USA
Member No.: 2667



There is also a GUI version of mp3check called MP3Test, but I don't think it has been updated to support VBR files like its commandline counterpart. It looks to be shareware, but I don't ever remember having to pay for it. Go here for more info: http://www.shivi.de/MP3Test/

This post has been edited by mmortal03: Mar 2 2006, 03:49


--------------------
WARNING: Changing of advanced parameters might degrade sound quality. Modify them only if you are expirienced in audio compression!
Go to the top of the page
+Quote Post
dborn
post Mar 2 2006, 04:18
Post #20





Group: Members
Posts: 19
Joined: 19-March 05
Member No.: 20750



When I run MP3Val on my newly LAME generated mp3 files, I get the same message for each file: "Wrong number of MPEG data bytes specified in Xing header (10047046 instead of 10046717)".

The difference is always 329 bytes. I removed all tags (ID3v1.1, ID3v2.3, APEv2) and I still get this same error message. What's the Xing header anyway?

Thanks,
Daniel

This post has been edited by dborn: Mar 2 2006, 04:24
Go to the top of the page
+Quote Post
Rasqual
post Mar 2 2006, 04:55
Post #21





Group: Members
Posts: 27
Joined: 15-October 05
Member No.: 25136



I've been using Checkmate MP3 checker (GNU GPL) and am satisfied about it (unverbose output is appreciated).

However, it does not support filenames with non-ACP characters. Nor does yours, but since yours rooted from Win32, it was easier to adapt to my purposes to recompile a compatible version.

Notes about the code quality: you should avoid unnecessary (C-style or not) type casts when possible. It can hide defects.

Edit: A shell extension version would be appreciated, if you're not afraid of possibly leaking explorer resources (lol)

This post has been edited by Rasqual: Mar 2 2006, 04:56
Go to the top of the page
+Quote Post
Landus
post Mar 2 2006, 06:20
Post #22





Group: Members
Posts: 63
Joined: 26-February 06
Member No.: 28099



QUOTE (AndyH-ha @ Feb 25 2006, 02:57 AM)
Thanks, I obviously didn't look closely enough; perhaps I just wasn't careful with that mouse pointer during the copy. Since the original was still in place, it must be that the Run command doesn't handle the pointer correctly.
*


Put the program executable in your system32 folder.
Go to the top of the page
+Quote Post
ring0
post Mar 2 2006, 07:29
Post #23





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (dborn @ Mar 2 2006, 06:18 AM)
When I run MP3Val on my newly LAME generated mp3 files, I get the same message for each file: "Wrong number of MPEG data bytes specified in Xing header (10047046 instead of 10046717)".

The difference is always 329 bytes. I removed all tags (ID3v1.1, ID3v2.3, APEv2) and I still get this same error message. What's the Xing header anyway?

Thanks,
Daniel
*


Xing header is encapsulated in the first MPEG frame, it can be recognized by a "Xing" or "Info" strings.

Btw, what version of LAME do you use and what options? My LAME-generated files doesn't produce such effects.


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
ring0
post Mar 2 2006, 07:34
Post #24





Group: Members
Posts: 17
Joined: 24-February 06
From: Russia
Member No.: 28028



QUOTE (Rasqual @ Mar 2 2006, 06:55 AM)
However, it does not support filenames with non-ACP characters. Nor does yours, but since yours rooted from Win32, it was easier to adapt to my purposes to recompile a compatible version.
*


Do you mean "\\?\..."-like paths?


--------------------
http://www.1-core.com
Go to the top of the page
+Quote Post
DARcode
post Mar 2 2006, 09:56
Post #25





Group: Members (Donating)
Posts: 679
Joined: 10-January 05
From: Italy
Member No.: 18968



Very nice tool indeed, thanks!

As far as the GUI goes, I prefer the CLI as it lets you retain full control and enables the prog to be compact, but that's just me it seems.


--------------------
WavPack 4.70.0 -b384hx6cmv/qaac 2.32 -V 100
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
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: 18th April 2014 - 19:57