Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

AlterFPS

This is just a quick, simple preview... It works similarly to ChangeFPS? and ConvertFPS?, but with fields instead of frames. It was designed to be used to change the speed of film content when being played back on a video source.

Function AlterFPS (clip Last, float Speed, string "Method", bool "HiQual") {

Original = FrameRate
Method = Default (Method, "")
HiQual = Default (HiQual, False)

AssumeFPS (Speed, True)
(HiQual == False) ? ChangeFPS (2 * Original) : ConvertFPS (2 * Original)
(Method == "Weave") ? SeparateFields.SelectEvery (4, 0, 3).Weave ()
(Method == "Blend") ? AssumeFieldBased.Weave.VerticalReduceBy2 ()

}

SourceForge Logo

 


Edit this document | View document history
Document last modified Sat, 01 Jan 2005 06:58:50