Selur's Little Message Board

Full Version: Not worked deblocking filters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Deinterlacing is always applied to both sides to keep the preview sync.
Will look into the deblocking filter, nur might simply bei that QTGMC already filtered so much that the additional deblocking does not change anything.
Will look at the debug output once I am home.

As a side note: No clue about amDCT, as long as the Script preview shows a proper script, IT might simply bei that the Filter doesn't change anything that ist noticeable.
Looking at the preview script:
Code:
SetMemoryMax(768)
SetMTMode(2,4) # changing MT mode
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\amDCT.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\AddGrainC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\dfttest.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\EEDI2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\eedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\mt_masktools-26.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\nnedi.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\nnedi2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\SSE2Tools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\TDeint.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\VerticalCleanerSSE2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\PlanarTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\nnedi3.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\RgTools.dll")
LoadCPlugin("C:\PROGRA~1\Hybrid\AVISYN~1\yadif.dll")
LoadDll("C:\PROGRA~1\Hybrid\AVISYN~1\fftw3.dll")
LoadDll("C:\PROGRA~1\Hybrid\AVISYN~1\LIBFFT~1.DLL")
Import("C:\Program Files\Hybrid\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\avisynthPlugins\SMDegrain.avsi")
Import("C:\Program Files\Hybrid\avisynthPlugins\AnimeIVTC.avsi")
# loading source: D:\Encode\2017.02.24\Novogodnij goluboj ogonek - 2008\Igor Moiseev  - Kukaracha [Novogodnij goluboj ogonek - 2008.mpg
#  input luminance scale tv
Source = MPEG2Source(d2v="C:\Users\t_khanyan\AppData\Local\Temp\mpg_30b52c6665bdadc5a9a4cb30a8a582b8_4827.d2v",info=3)
# current resolution: 720x576
SourceFiltered = Source
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.709->Rec.601",interlaced=true,hints=true)
# Filtering before deinterlacing
# deblocking
SourceFiltered = SourceFiltered.AssumeFrameBased().SeparateFields()
# deblocking using amDCT
SourceFiltered = SourceFiltered.amDCT(adapt=1,quality=4)
SourceFiltered = SourceFiltered.Weave()
# deinterlacing
Source = Source.AssumeTFF()
Source = Source.QTGMC(Preset="Slow", FPSDivisor=2, ediThreads=2)
SourceFiltered = SourceFiltered.AssumeTFF()
SourceFiltered = SourceFiltered.QTGMC(Preset="Slow", FPSDivisor=2, ediThreads=2)
# cropping to 698x420
SourceFiltered = SourceFiltered.Crop(12,78,-10,-78).PointResize(700,420) # point resize part is only used for preview; workaround for a bug in avsViewer
# current resolution: 700x420  (SourceFiltered)
Source = Source.Crop(12,78,-10,-78).PointResize(700,420) # point resize part is only used for preview; workaround for a bug in avsViewer
# filtering
# scaling
Source = Source.Spline36Resize(752,432)
# current resolution: 752x432
SourceFiltered = SourceFiltered.Spline36Resize(752,432)
# adjust color to: RGB32
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
Source = Source.ConvertToRGB32()
StackHorizontal(Source, SourceFiltered)
return last
amDCT is only applied to the side that gets filtered and the preview got refreshed as it should.
-> No bug in Hybrid, amDCT simply doesn't do much with that source and script.

Cu Selur
Quote:amDCT is only applied to the side that gets filtered and the preview got refreshed as it should.
-> No bug in Hybrid, amDCT simply doesn't do much with that source and script.

After today's update from the developer version (CCD Filter), amDCT now works on the same source file!
Thank you again.
Pages: 1 2