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