[MPlayer-users] video file length in seconds and equliser read from source..

Michael Behrisch behrisch at informatik.hu-berlin.de
Mon Nov 29 12:23:02 CET 2004


On Mon, Nov 29, 2004 at 12:31:53AM +0100, Maxipoint Rep Office wrote:
> Note: I am work on the Linux RedHat 9 and MPlayer-1.0pre5.tar.bz2
> 
> Hello,
> 
> I am try create own unique visual interface connected to MPlayer. I have 2
> problems:
> 
> - I cannot easily determine video file length in seconds :-(. MPlayer hides
> this information somewhere inside, so I cannot determine length and
> correctly display progress bar during playback. Where is it inside MPlayer
> source?

Try mplayer -identify and look out for ID_LENGTH. It is not always 
accurate but the best you can get.

Michael




More information about the MPlayer-users mailing list