PDA

View Full Version : frames number


admin666
10th April 2008, 01:41
how can i get the number of frame in a video
using avs??

help me

thetoof
10th April 2008, 02:07
whateversource(yoursource.whatever)

open in virtualdub, virtualdubmod, avsp or any program that can provide a preview.

Go to the last frame: that number is the number of frames your clip has.

admin666
10th April 2008, 02:10
thank for the reply
i know that.

but how can i get the number of frame by avs (avisynth).
with commandline tool

unskinnyboy
10th April 2008, 02:52
Among other things, a simple Info() should give you the current frame number and the total number of frames in the format Frame: xxxx of yyyy. Is that what you were asking?

squid_80
10th April 2008, 05:26
http://members.optusnet.com.au/squid_80/avsutil.zip

c:\>avsutil <script.avs>

will return the number of frames in %errorlevel%

sidewinder711
10th April 2008, 10:48
ShowFrameNumber()
or
Info()


Greetz