Re: Is it possible to seek different Ogg Vorbis encoded packets from the File?
Ralph Giles <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Oct 22, 2009 at 12:23 AM, Niranjan Udipi <[email protected]> wrote: > Is it known apriori, how many Ogg-Vorbis packets are there and their > corresponding locations in the File/stream? If yes, then each Processor can > be pointed to its packet to-be-decoded. Please suggest how I can go ahead? The ogg layer has some look ahead, based on how many packets are packed into each encapsulation page. To obtain four at once, you can simply call ogg_stream_packetout() four times, feeding more data to ogg_stream_pagein() as necessary. However, vorbis packets are not independent. Each overlaps with the previous packet, and cannot be decoded separately as you have described. You will have to use finer-grained parallelism to run Tremor in multiple threads. HTH, -r _______________________________________________ Vorbis-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/vorbis-dev