27
Apr
11

GH2 HDMI recording AviSynth script update

Terrific news from DVXUser member Ralph B!

This is an update of the advanced script to convert footage recorded from the Panasonic GH2 HDMI output, using AviSynth, as posted on April 24, 2011, and it superceeds the original script. (see below for more info)
ADVANCED SCRIPT TO PROCESS 1080 24P FOOTAGE:

 
#change paths to point to your plugins:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FDecimate.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mvtools2.dll")
#optional for Prores MOVs, uncomment if necessary:
#LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\qtinput.dll")

# for AVI:
avisource("Your HDMI movie.avi")
# OR for ProRes movies, use (and uncomment) the following line and remove the avisource line above
# qtinput("Your HDMI movie.mov") 

function filldrops (clip c)
{
  even = c
  super_even=MSuper(even,pel=2)
  vfe=manalyse(super_even,truemotion=true,isb=false,delta=1)
  vbe=manalyse(super_even,truemotion=true,isb=true,delta=1)
  filldrops_e = mflowinter(even,super_even,vbe,vfe,time=50)
  ConditionalFilter(even, filldrops_e, even, "YDifferenceFromPrevious()", "lessthan", "1.3")
}

# 3:2 Pulldown Removal
AssumeTFF()
trim(1,0)
TFM(mchroma=false)
FDecimate(threshold=0.5)
AssumeFPS(24000,1001)

# Chroma Fix
FixBrokenChromaUpsampling()
converttoyv12()

# Fix Residual Duplicates
filldrops()

#Audio Delay
delayaudio(.07)

# Show the Metric for filldrops
# This is a diagnostic to determine the threshold "lessthan" in the ConditionalFilter
# To run, remove the # in the line below and put a # to the left of filldrops() 7 lines above
# ScriptClip(last,"Subtitle(String(YDifferenceToNext() ))" )

mvtools2.dll is here:
http://avisynth.org.ru/mvtools/mvtools2.html

Please read the original article(s) on this blog, AND read the uber-original article on:
http://www.dvxuser.com/V6/showthread.php?237584-HDMI-Capture-Problem-SOLVED-AviSynth-RULES!

THE ABOVE IS A SCRIPT FOR “AVISYNTH” AND ONLY RUNS ON WINDOWS PCs!! READ THE FIRST PAGE OF THE LINK ABOVE


2 Responses to “GH2 HDMI recording AviSynth script update”


  1. June 16, 2011 at 1:59 am

    Hi,
    Have you any test footage that has been ‘treated’ by this method? I would love to see the results.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


twitter.com/martinbeek

Blog Stats

  • 1,904,122 hits

Ad


%d bloggers like this: