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 > General > Newbies

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 23rd June 2019, 19:53   #1  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Location: Scarborough, Canada
Posts: 943
Need some help with a Vapoursynth script

When using an avisynth script for my encode all works
Code:
LoadPlugin("C:/Program Files (Portable)/dgdecnv/DGDecodeNV.dll")
DGSource("I:\xxxxx.dgi",  fieldop=0, fulldepth=True)

DGTelecide(mode=1, dthresh=3.5)
DGDecimate()

#####CROP#####
Crop(12, 60, -8, -60)

#####RESIZE#####
Spline64Resize(854, 370)

ConvertBits(10)
When using the vapoursynth equivalent I have problems
Vapoursynth Editor check says the script is fine but I can't even get vdub2 to load it
Code:
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin("C:/Program Files (Portable)/dgdecnv/DGDecodeNV.dll")
clip = core.dgdecodenv.DGSource(r'F:\xxxxx.dgi',  fieldop=0, fulldepth=True)

#####AVSCOMPAT#####
core.avs.LoadPlugin("C:/Program Files (Portable)/dgdecnv/DGDecodeNV.dll")

#####IVTC#####
clip = core.avs.DGTelecide(clip, mode=1, dthresh=3.5)
clip = core.avs.DGDecimate(clip)

#####CROP#####
clip=core.std.Crop(clip, left=12, right=8, top=60, bottom=60)

#####RESIZE#####
clip=core.resize.Spline36(clip=clip, width=854, height=370)

clip = core.resize.Point(clip, format=vs.YUV420P10)

clip.set_output()
Can someone help me find the problem

The reason I am trying to get the vpy script working is that when using 64 bit suptitle I get major artifacts during the appearance of the subtitle
I don't have a problem with ImageFile

Last edited by gonca; 23rd June 2019 at 19:56.
gonca 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 01:26.


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