Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 29th November 2012, 18:49   #1  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 641
HAvsFunc

https://github.com/HomeOfVapourSynthEvolution/havsfunc

Here are my ported AviSynth scripts for VapourSynth. Now includes:
Since VapourSynth has no notion of field order internally, I have to add a mandatory parameter TFF to QTGMC for the script to work correctly. Setting TFF to true means top field first and false means bottom field first. You will get error if TFF is not set. The same thing applies to SMDegrain and ivtc_txt60mc. Since VapourSynth R27 the frame property _FieldBased can be set to indicate TFF or BFF. The filters will use the field order specified in the source frames and will only fall back to the specified order if not present.

BTW, Yadif seems can't be loaded in VapourSynth successfully, so I changed the default EdiMode of "Ultra Fast" preset to nnedi3 in QTGMC.

Usage Example:
Firstly, put havsfunc.py to Python\Lib\site-packages.
Code:
from vapoursynth import core
import havsfunc as haf

clip = yourclip
clip = haf.QTGMC(clip, Preset='Medium', TFF=True)

Last edited by HolyWu; 2nd July 2019 at 15:02.
HolyWu is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.