|
|
#1 |
|
Junior Member
Join Date: Sep 2001
Posts: 39
|
Valid MP3 or not
Does anyone know how to test if an mp3 file is a REAL mp3 file and not just a renamed text file or something? My app hangs when it tries to play a test file disguised as a .mp3 file and i need to trap this.
Ive tried reading the .TAG of the mp3 file but even valid mp3 files dont contain the .tag of "TAG". Must be something i can check for before initiating playback. Thanks for any feed PS. Im using VB but as long as the principle works i can adapt it. Ta |
|
|
|
|
|
#2 |
|
Junior Member
|
I'd guess you'd need to look at the Mp3's header and make sure it isn't corrupted, search google for "mp3 header format" for an idea of how mp3s headers work. Here's a link to my google search
![]() Search Google for "Mp3 Header Format" Here |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|