[Ffmpeg-devel] Frame rates and time_base

Måns Rullgård mru
Sat May 7 11:48:53 CEST 2005


Rich Felker <dalias at aerifal.cx> writes:

> On Sat, May 07, 2005 at 01:48:50AM +0200, M?ns Rullg?rd wrote:
>> castet.matthieu at free.fr writes:
>> 
>> > Hi,
>> >
>> > Selon M?ns Rullg?rd <mru at inprovide.com>:
>> >
>> >> After the latest framerate/pts related changes, I have a few
>> >> questions:
>> >>
>> >> - Is it still possible to find the framerate in AVCodecContext?  How?
>> >> - What is the proper way to synchronize the pts values with timestamps
>> >>   from the containter?
>> >> - What will the next incompatible change be? ;-)
>> >>
>> > just one offtopic question :
>> > will you fix the ogg2 demuxer for video stream ?
>> 
>> Um, yeah... been a bit busy lately.  I just had a look at your patch.
>> Unfortunately, the only theora samples I could easily locate
>> (mplayerhq.ftp samples), doesn't want to decode at all.  Are some
>> special incantations required to make theora decode with libavcodec?
>
> Yes, the demuxer somehow has to repack the "header packets" at the
> beginning of the stream into "extradata"..

I get that, and that's also what I did, and got garbage results.
Looking at the source code, I see it's not quite complete.  I'll try
using libtheora instead.

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





More information about the ffmpeg-devel mailing list