I have a couple of problems:
I occasionly come across the off MP3 that fails to open with fmod’s InvalidFileFormat error. I have found that the song ‘Enrique Iglesias – Hero.mp3’ causes this error and have downloaded other versions of it to be absolutely sure. Any ideas?
I sometimes need to load the whole of an MP3 into memory and display it’s waveform. This works great most of the time but I have noticed on occasion that particualr MP3’s only seem to load half the waveform ie. half the song is missing!
Any response to these two problems would be greatly appreciated as my project is now nearing completion 8) .
I downloaded version 3.61 of FMOD and the problem still occurs.
Sorry about the download time for the MP3 it is just some temporary free space I have 😳 .
Opening the MP3 as a SAMPLE does not actually return any error it is when I lock the whole song’s length and the display the complete waveform in a window that I can see that only about the first fifth of the song has loaded correctly. The remaining 4/5ths contains null data.
When I play the MP3 as a STREAM it works perfectly.
Forgive my ignorance but what is a 2kb ansi and why would it be there? It gives me the angries too 😡 .
The new dll works now but there is a slight problem in that although it misses out the corrupt data the length of the data does not reflect that some has been missed out. Is this fixable?
Whats with the description under my handle saying ‘I post too much’ by the way?
Sorry Brett … spoke too soon.
The software crashed when I tried to load another MP3.
I reverted back to the fmod dll from two days before and it worked fine!
The MP3 that crashes can be downloaded from:
http://myweb.tiscali.co.uk/lightbow/dow … 5.Champion Burns-Filtered Funk Vol.1.MP3
I have not tried any others for the time being.
Check out the length of the ID3v2 tag / the length of the header before the mp3 begins.
I’ve had some mp3’s that had the same problem, but I partially fixed it by loading the mp3 to memory first, but withouth the ID3v2 header.
That way fmod will run into the actual mp3 header faster and be able to play it.
The other problem is probably because the song is corrupt at that point.
When it is corrupt fmod doesn’t play.
If the mp3’s do play in winamp, it’s probably because winamp searches the whole file for a valid mp3 header, and because it just skips corrupt frames instead of stopping there.
- Adion answered 15 years ago
Thanks for your help Adion 😀 . I am looking at each of the problem MP3’s shortly.
Brett, I have uploaded an MP3 that has the problem where only half of it’s wave form is loaded as a sample into memory. You can download it from:
http://myweb.tiscali.co.uk/lightbow/download/dj quicksilver – escape to paradise (club mix).mp3
I wonder what the problem may be with it and look forward to a possible solution. I am working to release the software I have written on the Net on 21st October 2002 (this month), subject to receiving one of your commercial licenses, so I would really like to minimise the potential support calls that may ensue.
Please login first to submit.