I'm in PAL world, and never see Pulldown.
Unfortunately for once, I am.
I need to deinterlace/transcode a DVD purchased as present, to Progressive mpeg4 for display by non-DVD devices.
Unfortunately I had to resort to VLC to get the intermediate .mpg files and mediainfo thinks they're progressive (they look like interlaced TFF so I'm going to try with that as the progressive conversions have what I think is probably "combing").
DIndexNV says Film 99% for one mpg and Film 100% for the rest.
When using a .vpy script along these lines, to try to create a 29.976 progressive video so the audio stays in sync,
Code: Select all
import vapoursynth as vs # this allows use of constants eg vs.YUV420P8
from vapoursynth import core # actual vapoursynth core
#import functool
#import mvsfunc as mvs # this relies on the .py residing at the VS folder root level - see run_vsrepo.bat
#import havsfunc as haf # this relies on the .py residing at the VS folder root level - see run_vsrepo.bat
core.std.LoadPlugin(r'C:\SOFTWARE\Vapoursynth-x64\DGIndex\DGDecodeNV.dll') # do it like gonca https://forum.doom9.org/showthread.php?p=1877765#post1877765
core.avs.LoadPlugin(r'C:\SOFTWARE\Vapoursynth-x64\DGIndex\DGDecodeNV.dll') # do it like gonca https://forum.doom9.org/showthread.php?p=1877765#post1877765
# NOTE: deinterlace=1, use_top_field=True for "Interlaced"/"TFF"
video = core.dgdecodenv.DGSource(r'D:\VRDTVSP-SCRATCH\file.dgi', deinterlace=1, use_top_field=True, use_pf=False)
# DGDecNV changes -
# 2020.10.21 Added new parameters cstrength and cblend to independently control the chroma denoising.
# 2020.11.07 Revised DGDenoise parameters. The 'chroma' option is removed.
# Now, if 'strength' is set to 0.0 then luma denoising is disabled,
# and if cstrength is set to 0.0 then chroma denoising is disabled.
# 'cstrength' is now defaulted to 0.0, and 'searchw' is defaulted to 9.
# example: video = core.avs.DGDenoise(video, strength=0.06, cstrength=0.06) # replaced chroma=True
video = core.avs.DGDenoise(video, strength=0.06, cstrength=0.06) # replaced chroma=True
# example: video = core.avs.DGSharpen(video, strength=0.3)
video = core.avs.DGSharpen(video, strength=0.3)
#video = vs.core.text.ClipInfo(video)
video.set_output()
Code: Select all
[vapoursynth @ 0000028fd7891680] Failed to parse script: Python exception: DGSource: No deinterlacing with pulldown.
The DGSource manual says:
So, any advice please, on how to use DGSource to deinterlace and also honour the "pulldown" ?Also note that setting deinterlace to 1 or 2 forces the field operation to be "Ignore Pulldown", regardless of the project setting.
edit: I process audio separately and need to keep that and the video in sync when I combine them