Re: first keyframe number ?

Ralph Giles <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
On 10-Nov-08, at 8:08 PM, salsaman wrote:

> what is the number of the first *real* keyframe/frame in a theora  
> stream ? Is it 0 or 1 ?

The first frame of the stream (if it hasn't been trimmed) is a  
keyframe. It is displayed between time = 0 and time = 1 * frame_rate.  
The granulepos for that frame is based on the count of frames after  
it's been shown, which is 1, not zero. The only Ogg pages in a theora  
stream with a 0 granulepos should be the headers.

  -r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.