[MPlayer-dev-eng] mplayer query

Nico Sabbi Nicola.Sabbi at poste.it
Mon Mar 31 13:14:07 CEST 2008


On Monday 31 March 2008 12:09:35 neha sharma wrote:
> On 3/31/08, Nico Sabbi <Nicola.Sabbi at poste.it> wrote:
> > On Monday 31 March 2008 11:24:22 neha sharma wrote:
> > > I'm using mpeg codec and making .avi file...
> > > please tell what commands should i use to get the time duration
> > > of the avi file being played, and how much file is left (i.e
> > > time it will take)..
> > > reply asap..
> >
> > I'll stop answering until you post by the rules: DON'T TOP POST
>
> Ok...actually i'm a total newbie, n dont know abt such rules:(
> sorry for bothering...
> i hope y=this way its rite :)

yes, but also trim footers, please.

$ mplayer  -identify file.avi -frames 0 |grep LENGTH|cut '-d=' -f2
returns the length of the movie in seconds



More information about the MPlayer-dev-eng mailing list