[MPlayer-dev-eng] how does mplayer determine total play length?

Frodo csharprules at hotmail.com
Sun Dec 1 08:31:36 CET 2002


> There is support for asf, avi and mpeg. Look at the end of demuxer.c,
> and the end of demux_avi.c, demux_asf.c and demux_mpeg.c(or what).
I did, and I now mplayer got seeking support for those file types.
I'm just wondering how I can determine the total play length in seconds

I wanna display it on the OSD, but can't find in demuxer.c or the other
files were it's stored

Frodo


----- Original Message -----
From: "Balatoni Denes" <pnis at coder.hu>
To: <mplayer-dev-eng at mplayerhq.hu>
Sent: Sunday, December 01, 2002 12:29 AM
Subject: Re: [MPlayer-dev-eng] how does mplayer determine total play length?


> Hi!
>
> There is support for asf, avi and mpeg. Look at the end of demuxer.c,
> and the end of demux_avi.c, demux_asf.c and demux_mpeg.c(or what).
>
> Denes
>
>
> On 2002. november 30. 21:44, Frodo wrote:
> > Hi,
> >
> > I'm porting mplayer to the xbox :-)
> > (see http://sourceforge.net/projects/xbyamp)
> > and it works pretty nice already
> > however I wanna know the total movie length (in seconds)
> > I guess it can be found somewhere in the demuxers, but
> > I've been searching and can't find it.
> > Can somebody tell me how 2 get it???
> >
> > Frodo
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>



More information about the MPlayer-dev-eng mailing list