Author Topic: MPEG lookup tables  (Read 4608 times)

biggyspender

  • Posts: 28
MPEG lookup tables
« on: 29 Jul '03 - 17:32 »
I notice that one of the ID3v2 tags is an MPEG lookup table, which I assume would carry the same info as is calculated when BASS_StreamCreateFile is called with BASS_MP3_SETPOS. The overhead of using the BASS_MP3_SETPOS flag can be up to about 3 seconds, especially on the super wimpy PC I am coding on. Any chance of writing this info back out to the ID3V2 tag mentioned above to reduce load times second time round, Ian?

big_gun

  • Posts: 352
Re: MPEG lookup tables
« Reply #1 on: 17 Aug '03 - 00:43 »
BASS_MP3_SETPOS has been depreciated. It is no longer needed to seek to a position in the file I believe.

Correct me if I am wrong.

Rick Ratayczak

Ian @ un4seen

  • Administrator
  • Posts: 20389
Re: MPEG lookup tables
« Reply #2 on: 17 Aug '03 - 13:03 »
Yep, BASS_MP3_SETPOS hasn't been required to enable seeking for quite a while now, though it is required if you need 100% accurate seeking to the exact sample :)

Regarding the "MLLT" ID3v2 lookup tag... I'm not sure most people will want their MP3 files modified (some people don't like any ID3v2 tags at all). Also, if the file got corrupted somehow, BASS_MP3_SETPOS would still be balls-on accurate, whereas the lookup table wouldn't be anymore.

biggyspender

  • Posts: 28
Re: MPEG lookup tables
« Reply #3 on: 18 Aug '03 - 11:36 »
I need sample accurate seek, so I still use the MP3_SETPOS flag. Fairly valid reasoning from Ian though... I'm just looking for a way to speed up initialisation of my app...