Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th April 2008, 01:41   #1  |  Link
admin666
Registered User
 
Join Date: Mar 2008
Posts: 2
frames number

how can i get the number of frame in a video
using avs??

help me
admin666 is offline   Reply With Quote
Old 10th April 2008, 02:07   #2  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
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.
thetoof is offline   Reply With Quote
Old 10th April 2008, 02:10   #3  |  Link
admin666
Registered User
 
Join Date: Mar 2008
Posts: 2
thank for the reply
i know that.

but how can i get the number of frame by avs (avisynth).
with commandline tool
admin666 is offline   Reply With Quote
Old 10th April 2008, 02:52   #4  |  Link
unskinnyboy
Registered User
 
unskinnyboy's Avatar
 
Join Date: Feb 2004
Location: NTSC R1
Posts: 2,046
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?
__________________
unskinnyboy is offline   Reply With Quote
Old 10th April 2008, 05:26   #5  |  Link
squid_80
Registered User
 
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
http://members.optusnet.com.au/squid_80/avsutil.zip

c:\>avsutil <script.avs>

will return the number of frames in %errorlevel%
squid_80 is offline   Reply With Quote
Old 10th April 2008, 10:48   #6  |  Link
sidewinder711
near the waterfront
 
sidewinder711's Avatar
 
Join Date: Feb 2008
Posts: 38
ShowFrameNumber()
or
Info()


Greetz
sidewinder711 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 22:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.