TIVTC

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision)

Revision as of 16:02, 9 May 2013

Abstract
Author tritical
Version 1.0.5
Download TIVTCv105.zip
Category IVTC & Decimation
Requirements
License
Discussion

Description

TIVTC is a plugin package containing 7 different filters and 3 conditional functions. The seven filters included are TFM, TDecimate, MergeHints, FrameDiff, FieldDiff, ShowCombedTIVTC, and RequestLinear.

  • TFM is a field matching filter that will recreate the original progressive frames in a telecined source, and TDecimate is a decimation filter that removes duplicates. These filters can be used together to achieve an ivtc or separately to accomplish other tasks.
  • TDecimate also provides special options for handling hybrid material which include vfr via matroska (using a timecodes file) and blend decimation/upconversion for cfr solutions.
  • Mergehints, RequestLinear, FrameDiff, FieldDiff, and ShowCombedTIVTC are special utility filters included to help perform specific functions. The conditional functions are IsCombedTIVTC, CFieldDiff, and CFrameDiff which can be used via Avisynth's conditional filtering environment to test if frames are combed, determine how well two fields fit together, or calculate the difference between frames.

Usage Examples

NTSC cases:

  1.) NTSC Film, normal source (not anime or cartoon).  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate()
  2.) NTSC Film, anime or cartoon source.  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(mode=1)
  3.) NTSC Hybrid, using blend decimation on video sections (not anime or cartoon).  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(hybrid=1)
  4.) NTSC Hybrid, using blend decimation on video sections, anime or cartoon source.  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(mode=1,hybrid=1)
  5.) NTSC Hybrid, using vfr via mkv (not anime or cartoon).  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(mode=3,hybrid=2,vfrDec=0,mkvOut="mkv-timecodesfile.txt")
  6.) NTSC Hybrid, using vfr via mkv, anime or cartoon source.  One pass.
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(mode=3,hybrid=2,vfrDec=1,mkvOut="mkv-timecodesfile.txt")
  7.) NTSC, two pass (enables use of conCycleTP parameter) mkv vfr for hybrid source.
        First pass:
            mpeg2source("c:\oursource.d2v")
            tfm(d2v="c:\oursource.d2v",output="matches.txt")
            tdecimate(mode=4,output="metrics.txt")
        Second pass (not anime or cartoon):
            mpeg2source("c:\oursource.d2v")
            tfm(d2v="c:\oursource.d2v",input="matches.txt")
            tdecimate(mode=5,hybrid=2,vfrDec=0,input="metrics.txt",tfmIn="matches.txt",mkvOut="mkv-timecodesfile.txt")
        Second pass (anime or cartoon):
            mpeg2source("c:\oursource.d2v")
            tfm(d2v="c:\oursource.d2v",input="matches.txt")
            tdecimate(mode=5,hybrid=2,vfrDec=1,input="metrics.txt",tfmIn="matches.txt",mkvOut="mkv-timecodesfile.txt")


PAL Cases:

  1.) PAL, no decimation (just field matching)
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
  2.) PAL, decimate 1 in 25 (most similar)
         mpeg2source("c:\oursource.d2v")
         tfm(d2v="c:\oursource.d2v")
         tdecimate(cycle=25)

External Links

Personal tools