SalFPS3

From Avisynth wiki
Revision as of 19:42, 7 July 2014 by SilverbackNet (Talk | contribs)

Jump to: navigation, search
Abstract
Author Mug Funky, Didee
Version 3.0
Download salFPS3.avs
Category Frame Rate Converters
Requirements
  • YV12
License
Discussion

salFPS3(clip input, float FPS, int "mode", int "protection", int "protection2", int "iterate", int "reset", int "initialise")

Contents

Abstract

A modded version of MotionProtectedFPS for super protection. Originally created by Mug Funky, modded by Didee.

Requires Filters

Description

A high quality frame rate convertion filter.

input clip = last
Clip to be converted.

FPS float = null
The FPS to be converted to.

mode int = warp
See MotionFPS documentation for details.

protection int = 80
Protection value for SumStretchFPSMask.

protection2 int = 20
Protection value for mt_edge.

interate int = 2
Iterate value for FindMotion.

reset int = 50
Reset value for FindMotion.

initialise int = 6
Initialise value for FindMotion.

Note

You may need these functions to make this script work.

function Mod16 (clip c, bool "mirror")
{
	mirror = default(mirror,false)
	
	modwidth = ceil(c.width/16 + 0.5)*16
	modheight = ceil(c.height/16 + 0.5)*16

	out = c.addborders(0,0,modwidth - c.width,modheight - c.height)
	out2 = stackvertical(stackhorizontal(c,c.fliphorizontal()),stackhorizontal(c.flipvertical(),c.turn180())).crop(0,0,modwidth,modheight,align=true)
	global gl_diff_width = int(out.width - c.width)
	global gl_diff_height = int(out.height - c.height)
	mirror==false? out : out2
}

function unMod16 (clip c)
{
	c.crop(0,0,-gl_diff_width,-gl_diff_height)
}

Links

Download salFPS3.avs : Current Version (recommended).
Download salFPS.avs : Original Version.

Personal tools