View Single Post
Old 23rd June 2019, 21:30   #7  |  Link
gonca
Registered User
 
Join Date: Jul 2012
Posts: 1,213
The video is form an old DVD.
The DVD was soft pull down but the video was flagged interlaced (fake)
Interlaced cropping must be mod 4

Quote:
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, cycle=5, keep=4)

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

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

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

clip.set_output()
The red parts are the changes
The SetFieldBased entry gets around the mod requirements for interlaced

This whole exercise is because 64 bit suptitle does some nasty things when the subtitle is showing, makes it look like I am using 50kb/s

Last edited by gonca; 23rd June 2019 at 21:34.
gonca is offline   Reply With Quote