[MPlayer-users] find file's length in seconds

Julián Nuñez julian at proteger.org.ar
Tue Feb 1 22:10:07 CET 2005


Media Streaming Services wrote:

>Hi All!
>
>Does mplayer have option to produce a short log file including file's
>length in seconds? I need to read a XVID file and according to its
>length create a mencoder profile for encoding.
>  
>
mplayer -identify file.avi
And look al the ID_LENGTH property.
If you want it to show this info and exit use:
mplayer -frames 0 -identify file.avi

-- 

The danger lies not in the machine itself but in the user's failure to envision
the full consequences of the instructions he gives to it."
    Neal Stephenson

What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
    Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"




More information about the MPlayer-users mailing list