[vlc] Re: obtaining time from a ts file
Mark Moriarty
mfmbusiness at earthlink.net
Wed Mar 23 03:04:13 CET 2005
Not sure, but I still believe there's something there.
I'm working with VBR MPEG2, nominal 4 Mbps but a fair amount of fluctuation.
WMP instantly reports a single duration, which stays the same and appears to
be accurate.
VLC reports a duration that does fluctuate, in other words an implmentation
consistent with what you suggested about working from averages.
So, I would expect that WMP really is reading something, else automagically
going to EOF and doing a delta-PTS, perhaps?
-----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