[vlc] Re: obtaining time from a ts file
Mark Moriarty
mfmbusiness at earthlink.net
Wed Mar 23 03:50:40 CET 2005
ASF includes a send_time, and avi a nb_frames (just multiply x frame rate)
Not sure what MS is doing on that standard MPEG PS -- perhaps they really
are doing some kind of quick seek to EOF, just backing off and checking the
last PTS, doing a difference...
-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf Of
Warren Young
Sent: Tuesday, March 22, 2005 8:52 PM
To: vlc at videolan.org
Subject: [vlc] Re: obtaining time from a ts file
Mark Moriarty wrote:
> I'm not sure, but there's something there. When I open a 3.7GB MPEG
> PS .mpg movie in WMP, it opens virtually instantaneously, and I get a
> slider showing proper duration. The disk isn't grinding away.
I wonder if they're simply estimating it. By looking at the first few
hundred frames, you can get an idea of what the bitrate is. Between that
and the file size, you can estimate run time.
You can probably find out whether this is the case by comparing the run time
WMP gives vs. what you get in, say, Teco Ltd.'s Bitrate Viewer.
--
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