Results 1 to 3 of 3

Thread: Corrupt Mp3 files

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Location
    Vienna
    Posts
    24

    Question

    Does anybody know, how to write a programm which can ceck if a MP3 file is corrupt or not ?

    Thanks for help,

    Thomas


  2. #2
    Lively Member Zero's Avatar
    Join Date
    Feb 2000
    Posts
    101
    Easy. Run it in Winamp and see if it crashes. (Snicker)

    Seriously,

    There are two ways I can think of. The first is to get an Mp3 playing OCX and load the file into it. If the OCX returns an error (Could not open file, Invalid file, etc.) then the file is corrupt. The second method involves figuring out how Mp3's are encoded and testing it byte by byte. If something is off, the file is corrupt.

    I'd reccomend the first one.

    -Zero the Inestimable

  3. #3
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224

    Suggestion.

    Play the MP3 file in the WINAMP clone in LINUX.

    If you run it in windows, You may never know if it is the windows or the file that is corrrupt
    If you can't pronounce my name, call me GURU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width