MDec2

From Avisynth wiki
Jump to: navigation, search
Abstract
Author StainlessS
Version v1.02
Download MDec2_x86_x64_dll_v1.02_20180426.zip
Category Support filters
License GPLv2
Discussion Doom9 Forum


Contents

Description

MDec2, MultiDecimate like decimating filter.

Requirements


*** vcredist_x86.exe is required for MDec2-x86
*** vcredist_x64.exe is required for MDec2-x64


Syntax and Parameters

MDEC2(clip c,float "rate"=24.0,bool "show"=false,bool "create"=false,string "dir"="C:\",bool "chroma"=true,bool "ver"=false)

MDec2 is a 2 pass decimating filter, acting much like the Multidecimate filter by Donald A. Graft.
Requires MultiDecimate.Exe & ProcessMD.Exe from MultiDecimate package.

Args:-

 c, clip. No default

 Rate=24.0, final output frame rate, used only on 2nd pass.

 show=false. 1st pass, shows metrics on frame, 2nd pass shows frame being used.

 create=false. Set true for 1st pass, false on 2nd pass after using MultiDecimate.Exe.

 dir="C:\". Path to data files (mfile.txt, cfile.txt, dfile.txt).

 chroma=true. If false then only use luma for metrics. (RGB not used).

 ver=false. True shows version on frame.

 See MultiDecimate docs for further info.

Metrics

Metrics:-
 MDec2, modified metrics based on FDecimate by Donald Graft.
 Splits frames into blocks and returns metric of block with greatest difference.
 YUV Metrics weight combined chroma with same weight as luma.

NOTE, if wanting to eg decimate 29.97 to 25.0, then numbers dont work and will throw an error because of
mismatch to what it is expecting. In such circomstance, use something like:-
>>>>>>>>>>>
    SHOW=True
    ORG=Last
    AssumeFPS(30.0,sync_audio=True)
#    ResampleAudio(ORG.AudioRate)
    Mdec2(Rate=25.0,create=True,Show=True,Dir="")    # Pass 1 [Dir="", files in current directory]
    ###
    Use MultiDecimate.Exe, eg drop 1 frame in every 6.
    ######
    SHOW=False
    ORG=Last
    AssumeFPS(30.0,sync_audio=True)
    ResampleAudio(ORG.AudioRate)
    Mdec2(Rate=25.0,create=False,Show=SHOW,Dir="")    # Pass 2, output 25 fps.


Examples

TODO

Changelog

 v1.00,  9 Aug 2013. Early release.
 v1.01, 30 Mar 2015. Recompile v2.6 dll with Avisynth Version 6 Header.
 v1.02, 26 Apr 2018. Fix pitch can change. Add x64 dll. Recompile VS2008.


Archived Downloads

Version Download Mirror
v1.02 MDec2_x86_x64_dll_v1.02_20180426.zip MDec2_x86_x64_dll_v1.02_20180426.zip


External Links




Back to External Filters


Personal tools