![]() |
|
Distorted avisynth preview - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Distorted avisynth preview (/thread-536.html) Pages:
1
2
|
Distorted avisynth preview - kingcrimsonster - 29.07.2018 Input resolution 720-480 After crop 690-464 After convert to square pix target resolution 690-522 If set target resolution 720-546 avisynth preview is normally RE: Distorted avisynth preview - Selur - 29.07.2018 You are using the Avisynth FilterView not the normal Avisynth Preview. -> Does the normal Avisynth Preview work? Looking at the script used for the preview: LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\unblock.dll")
LoadDLL("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\libfftw3f-3.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: H:\!_Video\Video_Mus\4 Non Blondes\1993 - What`s Up.vob
# input color sampling YV12
# input luminance scale tv
Source = MPEG2Source(d2v="E:\Temp\vob_e403183f84cb79aba8cda632a1294af7_6334.d2v",info=3)
# current resolution: 720x480
SourceFiltered = Source
# deinterlacing
Source = Source.TFM(mChroma=true)
Source = Source.TDecimate(cycleR=1,cycle=5)
SourceFiltered = SourceFiltered.TFM(mChroma=true)
SourceFiltered = SourceFiltered.TDecimate(cycleR=1,cycle=5)
# cropping to 690x464
SourceFiltered = SourceFiltered.Crop(14,8,-16,-8).PointResize(692,464) # point resize part is only used for preview; workaround for a bug in avsViewer
# current resolution: 692x464 (SourceFiltered)
Source = Source.Crop(14,8,-16,-8).PointResize(692,464) # point resize part is only used for preview; workaround for a bug in avsViewer
# current resolution: 692x464 (Source)
# filtering
# scaling
Source = Source.BicubicResize(720,546)
# current resolution: 720x546
# using lanczos resize instead of nnedi3 since width after cropping isn't mod4
SourceFiltered = SourceFiltered.LanczosResize(720,546)
# stacking horizontal for filter preview
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)-> would need a small sample of the source to reproduce. Cu Selur RE: Distorted avisynth preview - kingcrimsonster - 29.07.2018 Sample Quote:Does the normal Avisynth Preview work? If set target resolution of this file 720-546 avisynth preview is normally. This defect occurs on any file if set "Convert output to square pixel" and if "target resolution less than 700 pix" RE: Distorted avisynth preview - Selur - 30.07.2018 Can't reproduce it the way you describe it. I use tons of videos with a resolution below 700. I guess, the problem is related to the source not being progressive and at the same time not modulo 4. When I load the source you send me a link to , crop it with 14/8/16/8, I get: LoadPlugin("I:\Hybrid\32bit\AVISYN~1\LoadDll.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\DGDecode.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\TIVTC.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\unblock.dll")
LoadDLL("I:\Hybrid\32bit\AVISYN~1\libfftw3f-3.dll")
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
# loading source: C:\Users\Selur\Desktop\1993 - What`s Up.vob
# input color sampling YV12
# input luminance scale tv
MPEG2Source(d2v="E:\Temp\vob_064708a9289a9898adc8342c14566a03_41.d2v")
# current resolution: 720x480
# deinterlacing
TFM(mChroma=true)
TDecimate(cycleR=1,cycle=5)
# cropping to 690x464
Crop(14,8,-16,-8)
# current resolution: 690x464
# filtering
# scaling
Spline36Resize(720,546)
# current resolution: 720x546
PreFetch(16)
return last-> will send you a link for such a dev version for testing to see whether this problem is indirectly fixed by using Avisynth+. Cu Selur RE: Distorted avisynth preview - kingcrimsonster - 30.07.2018 Defect is still again with another source RE: Distorted avisynth preview - Selur - 30.07.2018 Need a way to reproduce this otherwise I can't look into fixing this.
RE: Distorted avisynth preview - kingcrimsonster - 30.07.2018 My settings PHP Code: LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LoadDll.dll")My setting Quote:Spline36Resize(620,464)Your setting Quote:Source = Source.BicubicResize(720,546)With this setting avisynth preview working normally Please set this settings
RE: Distorted avisynth preview - Selur - 30.07.2018 Ah you resized with mod4. Now I can reproduce the issue.
RE: Distorted avisynth preview - Selur - 30.07.2018 it's a bug in avsViewer (script itself is fine), will look into it, but probably not this week, since I lack the time to look into it. Cu Selur RE: Distorted avisynth preview - kingcrimsonster - 05.08.2018 with last version 2018.08.05.1 this defect sitll exist. |