[MPlayer-users] Re: How can I get information about how long a movie is ?

Baggis baggetun at netscape.net
Tue Oct 19 13:12:09 CEST 2004


>    $ mplayer -vo null -ao null -identify -frames 0 <filename.ext>
> 
> Look for the line "ID_LENGTH=xx".
> 
> 
> So, for .mpg, I use mpgtx, and for .mov, I use libquicktime.

Thanks, it works and I am working only with avi containers at the moment but
will probably look into the other libraries as well later.

Baggis






More information about the MPlayer-users mailing list