[MPlayer-users] Movie Duration

Alexander Roalter alex at roalter.it
Tue Jun 19 12:24:24 CEST 2007


Bastiaan Nelissen wrote:
> The thing is i want to do this in my (ssh) console, this means no video output, text only.
> so 'o' is not an option.
>  
Then simply do

mplayer video.mpg -identify -vo null -ao null \
    -frames 10 2>/dev/null | grep ID_LENGTH

and there you go.

-- 
cheers,
Alex



More information about the MPlayer-users mailing list