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

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


shauli.rozen at gmail.com said:
> 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?

If you are playing a raw h264 there are obviously no timestamps.  In this case
counting frames and multiplying by the frame rate is the only option.  This is
what the moonlight decoder does.  It uses the frame rate from the sps, and falls
back on 25 fps if no frame rate is specified there.

-- 
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