Hi, what is the number of the first *real* keyframe/frame in a theora stream ? Is it 0 or 1 ? Gabriel. http://lives.sourceforge.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20081111/29d36912/attachment.htm
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