[vorbis-dev] Packet Granule position
Daniel Holth
dholth at fastmail.fm
Tue Apr 20 19:04:12 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Conrad Parker wrote:
| On Tue, Apr 20, 2004 at 02:19:23AM +0200, Segher Boessenkool wrote:
|
|
|>> Calculating per-packet granulepos values is possible, but
|>> non-trivial.
In vorbis it's really not hard; if you look at the libshout2 source
you'll see that each vorbis packet has the frames-per-packet "hiding"
a few bytes into that data. libshout2 doesn't even use per-ogg page
granulepos (for vorbis) at all, saving itself a lot of trouble if
pages are skipped.
- - Daniel Holth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAhdacVh4W2pVfoMsRAimoAKCOOwhYBKN0JlSkru/ohJ/sPfVWkwCg3NTt
awVfX7g+GWJobp91qBsfKeQ=
=9309
-----END PGP SIGNATURE-----
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list