[MPlayer-dev-eng] mp4, vfr and timestamps

Uoti Urpala uoti.urpala at pp1.inet.fi
Fri Jun 16 12:59:09 CEST 2006


On Fri, 2006-06-16 at 12:34 +0200, Tomas Carnecky wrote:
> Reading through the gpac source, I can see that the CTS offset is read
> from a 'ctts' box, which is described as '(composition) time to sample'
> in a pdf I've found. But mplayer doesn't read this box, it only reads
> 'stts', which is described as '(decoding) time-to-sample'.

The boxes contain redundant information, and thus it's not necessary to
read all of them. I haven't checked whether the current MPlayer behavior
is correct but what you say is not a reason to think the times would be
off by more than a few frames at most.

> And since mplayer doesn't read the 'ctts' table it doesn't know about
> the correct timestamps. So please don't tell me the file is invalid.

What kind of logic is that? How do you get from MPlayer not reading some
parts of the file to the belief that the file isn't invalid?




More information about the MPlayer-dev-eng mailing list