[Ffmpeg-devel] Compilation with --enable-theora fails

Måns Rullgård mru
Wed May 11 19:51:25 CEST 2005


Keenan Pepper <keenanpepper at gmail.com> writes:

> Rich Felker wrote:
>> When you say the frame number of the keyframe, do you mean just
>> counting keyframes, or counting all frames? BTW this is the most
>> incredibly idiotic thing I've ever heard of.. is it just an ugly hack
>> to make up for the lack of a keyframe flag and index?
>
> It's not idiotic! Ogg is a really low-level, general purpose stream
> container. Ogg couldn't care less about keyframes or even units of
> time,

That is precisely what is stupid about it.

> all Ogg needs is a monotonically increasing granulepos, and the way
> theora does it is clean and simple. BTW libtheora _already has_ a
> function to get the time from the granulepos, so it's pointless to
> reimplement it in ffmpeg.

Having the demuxer depend on libtheora is a bad idea.

> Here is all the math:

Yes, I know how to do the math.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list