[x264-devel] Re: how does the decoder know the time stemps
shauli.rozen at gmail.com
shauli.rozen at gmail.com
Thu Jan 12 12:59:35 CET 2006
I see what you mean about the muxer givving the time stemps ( when it builds
the container file)
but , when I test the bitstream that comes out from the x264 encoder ( not
muxed ) threw a player
(I use moonlight codec packedge with the media player) It plays with the
correct fps , I assume
that it calculates the the time to display each from , by the fps. Is that
so?
On 1/12/06, Måns Rullgård <mru at inprovide.com> wrote:
>
>
> shauli.rozen at gmail.com said:
> > I see that i_pts is totally ignored.
>
> Not quite. It is passed back to the caller along with the encoded frames.
>
> > so what field tells the decoder the time to present each frame?
>
> Timestamps are stored in the container file (think mp4, mpeg-ts).
>
> > is the fps written in the sps?
>
> Yes.
>
> > and then the decoder just uses fps along with the frame count?
>
> No. The demuxer should supply timestamps along with each frame.
>
> --
> Måns Rullgård
> mru at inprovide.com
>
> --
> This is the x264-devel mailing-list
> To unsubscribe, go to: http://developers.videolan.org/lists.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20060112/4fc01694/attachment.htm
More information about the x264-devel
mailing list