[Mplayer-felhasznalok] How to get the number of frames?

laszlo.nemeth at alkaform.hu laszlo.nemeth at alkaform.hu
Fri Apr 20 09:43:54 CEST 2007


laszlo.nemeth at alkaform.hu írta:
> laszlo.nemeth at alkaform.hu írta:
>> francesco83.valente írta:
>>> How to obtain the number of frames within a media file?
>> mencoder sample.avi -oac copy -ovc copy -o /dev/null -endpos 00:00:01 |
>> grep VIDEO: | grep fps
> 
> Sorry, this is the frame rate.

For the exact number of frames:

mplayer sample.avi -ss 01:51:23 -vo null 2>/dev/null | grep A:
                       ^^^^^^^^
                       2 sec befor the end of media file

Hi:
alkanl



More information about the MPlayer-felhasznalok mailing list