[Vorbis-dev] packed ogss

Arc Riley arc
Thu Jul 29 08:23:05 PDT 2004


This is a player issue, or prehaps a limitation of VobisFile, since it
could cache this information and use the cache when the file is
unchanged on disk since it's last "index".

See, to find things like the total length or where the barrier is
between chained bitstreams, it needs to seek through the entire file.
It sounds like it's doing this every time.  Optimumally it should begin
to play and change the total length of the seek bar as it seeks trough,
or better yet, allow you to show each chained bitstream individually in
the playlist with the seek bar only representing a single track.

Anyways, with a little threading (play and seek at same time) and
caching of what it finds, it should be able to make these functions
nearly invisible to the user.

On Thu, Jul 29, 2004 at 11:57:57AM +0100, Tony wrote:
>
> I have about 30+ OGG files that I have joined together, now the engine I am
> working on has its own file management and when I use the OV open_callbaks
> it spends a long time constantly seeking and reading in different sets of
> 8500 bytes inside the open_callbacks function, some time for as long as
> 20-30 seconds, I assume this is doing something to find out the information
> for each of the individual oggs inside the packed file, is there anyway to
> speed this process up, or not make It search for the info at all as I have
> all the offsets to each ogg stored in a separate file. Or if it is not
> searching for information can anybody shed any light on what its trying to
> do in all this time.


More information about the Vorbis-dev mailing list