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 22nd September 2016, 00:13   #1  |  Link
brucethemoose
Registered User
 
Join Date: Sep 2016
Posts: 67
A dummy needs some help porting an AviSynth script.

I'm trying to run this wonderful little IVTC script in VapourSynth:

Code:
edeintted = SeparateFields().SelectEven().EEDI2(field=-1)
tdeintted = TDeint(edeint=edeintted)
tfm(order=-1,clip2=tdeintted).tdecimate(mode=1,hybrid=1)
But I get an "unable to import" error when trying to import TVITC, EEDI2, or TDeint with avs.loadplugin(). (If anyone knows why, that would certainly help).

So, I tried copying it to VapourSynth. This is what I got:
Code:
f = 1 #top field first
edeintted = core.eedi2.EEDI2(core.std.SelectEvery(core.std.SeparateFields(clip), 2, 0), field = f)
tdeintted = core.tdm.TDeintMod(edeintted, order = f)
clip = core.vivtc.VFM(edeintted, order=f,clip2=tdeintted)
clip = core.vivtc.VDecimate(clip)
Unfortunately, the output looks pretty bad. Something is very wrong, and just mucking about with the syntax I can't seem to fix it .

I know VDecimate is missing some of the options TDecimate has, and VS doesnt have the internal field flag that AS has.

The 2 plugins are attached. And please, forgive me, for I know not what I do


EDIT: Oh, and here's a sample:

Interlaced: https://drive.google.com/open?id=0B5...GthUDlRQk5mNlE

Desired final output: https://drive.google.com/open?id=0B5...WdZVGNVQUFtNEE
Attached Files
File Type: zip plugins64.zip (195.2 KB, 19 views)

Last edited by brucethemoose; 22nd September 2016 at 00:51.
brucethemoose 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 15:37.


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