[MPlayer-users] Where does total time in OSD come from?

Nico Sabbi nicola.sabbi at poste.it
Sun Nov 16 00:21:57 CET 2008


Il giorno sab, 15/11/2008 alle 21.49 +0000, Bryan Henderson ha scritto:
> In the OSD status display, it shows how far into the file I am and the
> total running time of the file.  Where does the total running time
> come from?
> 
> I'm talking about an MPEG file and ffmpeg codec.  The MPEG file was
> created by IVTV.
> 
> What makes me the most curious that occasionally, the total time
> displayed is less than the real running time.  So e.g. near the end of
> the file, the OSD might display "00:40:00/00:26:00".  Also, I know
> IVTV has no way to know as it creates the stream when the stream will
> end, so I know that information isn't explicit in the file.


depends: dvd have a duration indication, many file formats have it too;
all other values are extrapolated (thus invented)




More information about the MPlayer-users mailing list