search for: th_granule_time

Displaying 5 results from an estimated 5 matches for "th_granule_time".

2010 Aug 15
2
Beginner Hurdles
...mple.c doesn't describe how to rewind the various state variables back to the beginning of the movie. Seeking is probably overkill, but it's important to be able to rewind so that games can use movies that loop. 4. Timing is not well documented. It took me a while to realize that th_granule_time() actually returns the granule time PLUS the duration of the current frame, returning the stale time, which is documented at http://www.theora.org/doc/libtheora-1.0/group__basefuncs.html#g707e1e281de788af0df39ef00f3fb432 but also needs a comment on the line that says "videobuf_time=th_g...
2009 Jan 30
2
Delayed pages ?
Hi all ! I am experiencing a strange issue with the theora encoding process. Apparently, when I put packets into the ogg stream, the pages are not returned immediately by ogg_stream_pageout. What happens seems that I get several pages at once later. This causes me trouble since then the pages are not properly placed with the other vorbis audio pages, leading to warnings in oggz-validate,
2008 Aug 13
0
Fwd: New Ogg Dirac mapping draft
...f they calculate a numerical granulepos for the desired point on the timeline and seek by comparing stream granulepos to that numeric value, they will fail. If they convert the stream values to time and compare that way, it will work fine. We've tried to encourage that direction with calls like th_granule_time(), and in general it's difficult to calculate a numeric value for theora because of the skips at the keyframes. David, can you think of a fancier encoding that would make your granulepos values non-decreasing? OTOH, the RFC can be read to require the numeric values be increasing. granule p...
2011 Mar 15
3
Time in video file
...ely get more then 28-29 fps. Since Theora is fed with a framerate which isn't precise the time of each frame when I play it in VLC doesn't match the exact time of when the frame occurred. So basically I wonder how can I sync a video frame to a clock using Theora and Ogg? I tried looking at?th_granule_time() and?ogg_page_granulepos() but they seem to be concerned with the frame number and not time of the frame. Thanks for a great video codec! Regards Bjoern
2008 Aug 12
7
New Ogg Dirac mapping draft
David Flynn has proposed a new Ogg Dirac mapping. The draft is here: http://davidf.woaf.net/dirac-mapping-ogg.pdf This is a much bigger break from other codecs than my draft (at http://wiki.xiph.org/index.php/OggDirac). We talked a bit about it on IRC today. Below is my summary; hopefully David can correct anything I got wrong or misleading. Comments? There are two main differences