[Ffmpeg-devel] Question on h263 decoder

Francis Labonte francis_labonte
Mon Sep 19 15:45:29 CEST 2005


Hi,

how can the PTS be a frame number?  I think you should multiply the picture 
number by some time unit (num/denum x TimeUnit) to make it a timestamp...
___
s->current_picture_ptr->pts=
s->picture_number= (s->picture_number&~0xFF) + i;
____

Francis

>From: Michael Niedermayer <michaelni at gmx.at>
>Reply-To: FFMpeg development discussions and patches 
><ffmpeg-devel at mplayerhq.hu>
>To: FFMpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
>Subject: Re: [Ffmpeg-devel] Question on h263 decoder
>Date: Mon, 19 Sep 2005 14:05:00 +0200
>
>Hi
>
>On Thu, Sep 15, 2005 at 01:38:32PM +0000, Francis Labonte wrote:
> > Hi,
> >
> > I would like to know why the h263 decoder is not setting the current
> > picture timestamp?   Is it a bug or there is something I don't 
>understand?
>
>fixed
>
>--
>Michael
>
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel






More information about the ffmpeg-devel mailing list