Mrestore

From Avisynth wiki
Jump to: navigation, search
Abstract
Author MOmonster
Version 2.3e
Download mrestore.avsi
Category Deblenders
Requirements
License
Discussion

Contents

Abstract

Mrestore is an AviSynth script function that use the conditional frame evaluation for the output calculation. Generally it was written to undo norm-conversions with blends, but the last version can be useful for all decimation ratios between 1.5 and 2.5 (denm/numr). It is currently obsolete. Srestore is the updated function, part of the R_pack.

Required Filters

Parameters

mrestore (clip clp, int numr, int denm, int mode, float bf, bool chroma, int dup, int cache, float rx, float ry, int mthr, clip dclip)

clp - The blended clip to be restored to an unblended, decimated version
numr - numerator
denm - denominator  Together these specify the new frame rate, e.g. 30000/1001 is NTSC video rate.
mode - reduction factor, this specifies which frames will be decimated
bf - default 0.6 blend factor
chroma - default false Specifies where to use chroma in the detection clip
dup - default 0
cache - default 5 Specifies number of frames to cache for non-linear request
rx - x detection reduction
ry - y detection reduction
mthr - A parameter which affects the detection
dclip - default clp The detection clip

Examples

	bobbed (or progressive) source

	mrestore()

	------
	or:

	ord = last.getparity() ? 1 : 0

	leakkernelbob(ord,4,true,true)

	mrestore(dclip=last.crop(8,8,-16,-8))


	------
	or:

	d = last.bob(-0.2,0.6).reduceflicker(strength=1)	#Didée used this in restore24

	tdeint(mode=1)						#or for example yadif(mode=1)

	mrestore(mode=-4,dup=1,dclip=d)

External Links

Personal tools