Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MP3 files  (Read 1161 times)

0 Members and 1 Guest are viewing this topic.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
MP3 files
« on: September 28, 2009, 04:07:09 am »
Is there a way to batch analyze MP3's for corrupted or incomplete files?

I've got two almost identical directories of MP3's but they're both in such a state of disarray. It's not even a simple matter of merging the two directories since I really don't have any idea which MP3's are good and which are obviously corrupted. I'm also not interested in listening to each and every MP3 or manually examining the files just to figure it out.

I'm not looking to fix them. If they're corrupt, they're corrupt. I just don't want to merge either of these directories into my primary library and risk corrupting perfectly good files or having to spend months weeding out the bad files as I come across them.

crashwg

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3076
  • Last login:May 24, 2019, 11:01:05 am
Re: MP3 files
« Reply #1 on: September 28, 2009, 03:30:26 pm »
While it won't tell you which files are corrupt, DupFinder will give you a list of all the files that exist in both directories.

I don't believe it does a bit for bit comparison of the files though so.  Matter of fact, I don't really know what it is that it uses for comparison.  For the final "are these files exactly the same" I use Beyond Compare 2.  They're actually up to BC3, but I know you can find BC2 for free on the interwebs.

The reason I use both programs is that BC, as far as I know, only compares one folder to another and not something like file A in folder A to file B in folder B within folder C.  < Did that make sense?
If there's bees in the trap I'm catching em
By the thorax and abdomen
And sanding the stingers down to a rough quill
Then I dip em in ink, and I scribble a bit
But if it they wriggle then I tickle em until they hold still
Lemme say it again
In my land of pretend
I use bees as a mf'n pen

stace

  • Guest
  • Trade Count: (0)
Re: MP3 files
« Reply #2 on: September 28, 2009, 03:33:22 pm »

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: MP3 files
« Reply #3 on: September 29, 2009, 12:24:30 am »
While it won't tell you which files are corrupt, DupFinder will give you a list of all the files that exist in both directories.

Sounds like diff and Diff3 unless there's something I'm missing. So I've got that covered. :)

Quote
For the final "are these files exactly the same" I use Beyond Compare 2.  They're actually up to BC3, but I know you can find BC2 for free on the interwebs.

The reason I use both programs is that BC, as far as I know, only compares one folder to another and not something like file A in folder A to file B in folder B within folder C.  < Did that make sense?

It does. Sounds interesting too. I was going to wrap diff in Perl and get some similar functionality out of that. BC might be worth looking into. It'll save me the hassle of three human weeks worth of debugging for five minutes of CPU processing.

Never tried it myself but give this a go...

http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/MP3-Checker.shtml

Sounds about what I'm looking for. Not sure if I want to deal with the ads though. I'll check into it.
« Last Edit: September 29, 2009, 12:26:35 am by SavannahLion »

Xiaou2

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4135
  • Last login:Yesterday at 11:49:43 pm
  • NOM NOM NOM
Re: MP3 files
« Reply #4 on: October 01, 2009, 11:14:10 pm »

 Try running  "Spinrite"  on your drive, selecting the recover/repair option.  Its possible the
Hard disk area where the files are located got corrupted, and Spinrite may be able to
repair it.

 I found a few photos of mine were completely missing.. and after spinrite was ran,
they were back where they were supposed to be, fully in tact.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: MP3 files
« Reply #5 on: October 01, 2009, 11:54:00 pm »
+1 Spinrite

Awesome little program that I haven't seen mentioned in ages!

I just ran my copy on a server HD that "supposedly" was bad (according to the raid anyway).

It's now in an external case used for moving files around.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: MP3 files
« Reply #6 on: October 02, 2009, 02:14:51 am »
Ah... Steve. He's an old one. It's been a long time since I've ever seen anyone mention SpinRite.

While Spinrite (+1 on the suggestion, it's a tool I have forgotten) is a decent tool and I still use his ShieldsUp! (never exclusively) to get a general idea what my network looks like from the outside. Steve Gibson is a bit of self proclaimed techno-evangelist that tends to instill a doomsday mentality with his followers. He's got decent tools, I just wish he was a little less doomsdayer and a little bit more realistic with his papers. Take a look at his Raw Socket with XP paper to see just how far off he's gone.

But that is neither here or there.

I assure you, these MP3's are not corrupt because of a bad drive. They are largely corrupt because they are incomplete. I don't really have any details beyond this or the why of it. It just is.

In any case, all that remains (besides these files) of the HDD in question is an bin image (which I just remembered I have no idea where it is atm). The source HDD was re-purposed and is happily waiting to serve up web pages in my server.  ;D

I did locate some promising source code that looks like it does what I want it to do. I'm going to see if I can compile it into a Perl module and reuse one of my comparison scripts. Worst comes to worst, I suppose I could use one of the other pre-made tools to at least remove the known bad files. Then remove duplicates and leave me with a tolerable number of files that listening and filtering them all won't kill me.
« Last Edit: October 02, 2009, 02:24:59 am by SavannahLion »