I am using this library to manipulate around huge MP3’s, like 1.7GB each. They are from continous recordings I sample off my satellite streams. The problem is when I do a GetLengthMS it returns 0 on HUGE files, I do not have the file size limit figured out yet do to only having 1.5+gb and 4mb mp3’s. Is their a workaround for the time being instead of splitting them up into smaller files to then re-edit. I know it can be done due to winamps ability to seek and play them.
- Monodax asked 16 years ago
when FMOD loads an MP3, it decodes the file into a memory buffer, so basically it converts the mp3 into a wav at loadtime, so a file as big as 1Gb or more would just flood your ram & swap file with wav data ( based of what I have seen around the board 😉 ) A workaround maybe would to handle the MP3 as a stream, but brett would be able to give you a better idea of your options.
I assume you don’t try to load them as samples but as streams?
A mp3 of 1.6 GB @ 256kbit/s (maximum for mp3)
is about 14 hours long.
So I assume you have recordings of a day…
Anyway, I had no problems opening 130MB (3 hours) streams with fmod streaming.
- Adion answered 16 years ago
Thanx, I know this is not a common request. Do to not many people having such large mp3’s. I love the fact that the player returns the file pointer. This is a great API, I am going to post my MP3 Cutter somewhere but don’t have any webspace except personal pages via AT&T/RoadRunner. I had to write this due to trying every mp3 cutter on Hitsquad.com and mp3.com and not finding one that would let me listen and set start and end points for tracks. Most died when trying to use such large files. I am in test with mine now and it is working very well.
Please login first to submit.