[MPlayer-dev-eng] Proper PTS

Mike Melanson melanson at pcisys.net
Sat Mar 16 19:56:24 CET 2002


On Sat, 16 Mar 2002, Arpi wrote:

> Does it have constant or variable FPS ?

	In the example I gave, the FPS works out to be a constant 
30fps. However, that's far from the rule. Some files, for example, have a
base frequency of 30Hz and then have timestamp progressions of 2, 5, 7,
10, etc.

> constant -> set sh_video->fps to the real fps, no to 600
> variable -> don't use fps at all, so do pts-based frametime (see video.c,
> asf and mov files has such timing)

	Oh yeah, I forgot I had to modify video.c to make this work
properly. I'll take a look at that.

	Thanks...
-- 
	-Mike Melanson




More information about the MPlayer-dev-eng mailing list