This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Periodically freeze frames
#1
When I use Avisynth QTGMC deinterlacer I observe this defect.
When I use Vapoursynth QTGMC deinterlacer with similar settings - no defect.

Source

Target
Reply
#2
Avisynh script used:
SetMemoryMax(768)
SetMTMode(5,4) # changing MT mode
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\SSE2Tools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\PlanarTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadDll("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\fftw3.dll")
LoadDll("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LIBFFT~1.DLL")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\AnimeIVTC.avsi")
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ffms2.dll")
# loading source: H:\MTV Millennial Awards  (MIAW) 2017\Iggy Azalea_-_Mo Bounce_-_Switch [MTV Millennial Awards  (MIAW) 2017].ts
#  input luminance scale tv
FFVideoSource("H:\MTV Millennial Awards  (MIAW) 2017\Iggy Azalea_-_Mo Bounce_-_Switch [MTV Millennial Awards  (MIAW) 2017].ts",cachefile="E:\Temp\ts_55839929cdb8885a73fbb175d7d5883d_41_1_0.ffindex",fpsnum=25)
# deinterlacing
SetMTMode(2) # changing MT mode
AssumeTFF()
QTGMC(Preset="Slow", InputType=0, TR2=1, Sharpness=0.2, SourceMatch=2, Lossless=1, ediThreads=2, FPSDivisor=2)
# filtering
return last

No clue what Vapoursynth script you used, my guess is that this isn't a bug in QTGMC, but a problem with the source filter.

Cu Selur
Reply
#3
Quote:but a problem with the source filter.
Can this be fixed?

Vapoustnth script
Quote:# Imports
import os
import sys
import ctypes
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/OpenCL.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/FFT3DFilter/fft3dfilter.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/KNLMeansCL/KNLMeansCL.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/libd2vsource.dll")
# Import scripts
import havsfunc
# Loading H:\MTV Millennial Awards (MIAW) 2017\Iggy Azalea_-_Mo Bounce_-_Switch [MTV Millennial Awards (MIAW) 2017].ts using D2VSource
clip = core.d2v.Source(input="E:/Temp/ts_55839929cdb8885a73fbb175d7d5883d_41.d2v", rff=False)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Slower", TFF=True, InputType=0, TR2=1, Sharpness=0.2, SourceMatch=2, Lossless=1, opencl=False)
clip = clip[::2]
# Output
clip.set_output()
Reply
#4
Since the used source filter used in Vapoursynth isn't available for Avisynth, your only bet is to try the other filters available, like
a. lwlibavvideosource
b. FFMS2000
b. FRIM
c. DGDecNV (<- requires a license which isn't free and an NVIDIA card)

Cu Selur
Reply
#5
Quote:your only bet is to try the other filters available
I try lwlibavvideosource - no this defect
Reply
#6
Happy that worked out.
If you find a way to identify files which have this problem through mediainfo&co I would happily add a workaround for it.
But without a way to identify such files, there isn't anything I can do.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)