Avisynth:
-----------------
Strange thing is that the script from the debug output:
Code:
ClearAutoloadDirs()
LoadCPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
LoadDLL("C:\Program Files\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: D:\Hybrid_test\Gill\hotel.avi
# color sampling RGB24@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
Source = LWLibavVideoSource("D:\HYBRID~1\Gill\hotel.avi",cache=false,format="RGB24", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
SourceFiltered = Source
Source = Source.ConvertToYV24(interlaced=true, matrix="Rec601")
Source = Source.AssumeBFF()
Source = Source.ConvertToYV12(interlaced=true)
Source = Source.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.TFM(mChroma=true,clip2 = Source)
Source = Source.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
Source = Source.AssumeFrameBased()
SourceFiltered = SourceFiltered.ConvertToYV24(interlaced=true, matrix="Rec601")
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.ConvertToYV12(interlaced=true)
SourceFiltered = SourceFiltered.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.TFM(mChroma=true,clip2 = SourceFiltered)
SourceFiltered = SourceFiltered.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
SourceFiltered = SourceFiltered.AssumeFrameBased()
# filtering
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(2)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
works fine here. (In only used one of my sources and adjusted the paths to my setup during testing.)
Script I used:
Code:
ClearAutoloadDirs()
LoadCPlugin("i:\Hybrid\32bit\AVISYN~1\yadif.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\nnedi3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\TDeint.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\eedi3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\EEDI2.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\dfttest.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\AddGrainC.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\LoadDll.dll")
Import("i:\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
Import("i:\Hybrid\32bit\avisynthPlugins\SMDegrain.avsi")
Import("i:\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
LoadDLL("i:\Hybrid\32bit\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("i:\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: F:\TestClips&Co\files\interlaceAndTelecineSamples\telecine\Gabby_test_RGB_telecined.avi
# color sampling RGB24@8, matrix: pc601, scantyp: telecine, luminance scale: full
Source = LWLibavVideoSource("F:\TESTCL~1\files\INTERL~1\telecine\GABBY_~1.AVI",cache=false,format="RGB24", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
SourceFiltered = Source
Source = Source.ConvertToYV24(interlaced=true, matrix="Rec601")
Source = Source.AssumeBFF()
Source = Source.ConvertToYV12(interlaced=true)
Source = Source.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.TFM(mChroma=true,clip2 = Source)
Source = Source.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
Source = Source.AssumeFrameBased()
SourceFiltered = SourceFiltered.ConvertToYV24(interlaced=true, matrix="Rec601")
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.ConvertToYV12(interlaced=true)
SourceFiltered = SourceFiltered.QTGMC(Preset="fast", ediThreads=2, FPSDivisor=2, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.TFM(mChroma=true,clip2 = SourceFiltered)
SourceFiltered = SourceFiltered.TDecimate(cycleR=1,cycle=5,noblend=true,nt=0,blockx=32,blocky=32,chroma=true,denoise=false,ssd=false,display=false)
SourceFiltered = SourceFiltered.AssumeFrameBased()
# filtering
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(2)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
Side note:
Code:
# color sampling RGB24@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
-> you should enable 'Overwrite input scantype to' and set it to 'telecine'
Vapoursynth:
-----------------
works fine here,... -> need a debug output
Cu Selur