Displaying 1 result from an estimated 1 matches for "granularpos".
Did you mean:
granualpos
2009 Feb 16
2
Theora packets with granulepos of -1
...ra (but also when using my own encoder) I have packets with a granulepos of -1 so I can't identify the packet during a seeking operation correctly. I can also see those strange value when I just print the packet granulepos before sending it to the Theora decoder.
I know why there are PAGES with granularpos of -1 (because no packet ends in the page) but why would PACKETS have a granularpos of -1 ?
It seems arbitrary so it's independent from keyframes.
In the Theora specs you can read:
"In this way the granulepos field increased monotonically as required by the Ogg format, but contains inform...