[vlc] Re: obtaining time from a ts file
Mark Moriarty
mfmbusiness at earthlink.net
Wed Mar 23 05:01:29 CET 2005
Excellent, thanks again -- learning new things is good.
-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf Of
Måns Rullgård
Sent: Tuesday, March 22, 2005 10:47 PM
To: vlc at videolan.org
Subject: [vlc] Re: obtaining time from a ts file
"Mark Moriarty" <mfmbusiness at earthlink.net> writes:
> Thanks -- it was the other file-oriented encapsulations that have the
> header info which leads to a file duration (ASF, AVI, MOV,...).
>
> I have to admit, WMP does a pretty quick start up, so the read-EOF
> mechanism doesn't seem half bad for MPEG PS, differencing between the
> last PTS and the first. What's the downside? Do some files have PTS
> that gets weird, discontinuities?
Discontinuities are allowed, and are not uncommon. DVDs frequently restart
from zero at (some) chapter boundaries, and the PTS values can loop.
To be totally honest, the standard specifies an optional index packet for
MPEG-PS. However, I have never seen a file containing one, or heard of a
player supporting it.
--
Måns Rullgård
mru at inprovide.com
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/ To
unsubscribe, please read http://www.videolan.org/support/lists.html
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list