Re: Theora packets with granulepos of -1

"[email protected]" <[email protected]>
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
> operation and if I read your method I see that I understand it right... but
> ok, I haven't verified the first frame if it's starting at 0 or 1, I thought
> this is specified exactly.

This is specified exactly, but there was a change some time ago, from
timing for start time to end time (to match Vorbis' behavior). You can
also have a starting offset.

> Recently I encoded another theora stream which has a length of about 4
> minutes. And here I don't get a keyframe every 64th frame even if I name it
> in the ffmpeg2theora command line parameters. The keyframe distance varies
> as the oggzdump output shows:

A keyframe will be forced after the max number of frames, but an
encoder is free to insert a keyframe at any time (eg, when the image
changes enough for a keyframe to be worth it in terms of size).
You could potentially have a stream with only keyframes I think.
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.