AlterFPS
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
m (add link) |
||
Line 1: | Line 1: | ||
− | 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. | + | 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. [http://forum.doom9.org/showthread.php?t=74203 Doom9 Thread] |
Function AlterFPS (clip Last, float Speed, string "Method", bool "HiQual") { | Function AlterFPS (clip Last, float Speed, string "Method", bool "HiQual") { |
Revision as of 17:34, 8 March 2015
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. Doom9 Thread
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 () }