[x264-devel] Re: how does the decoder know the time stemps

Måns Rullgård mru at inprovide.com
Thu Jan 12 11:11:11 CET 2006


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



More information about the x264-devel mailing list