Selur
18th June 2022, 15:59
I'm on Windows 11, using Avisynth+ 64bit version 3.7.2 (r3661, 37, x96_64)
and the following script:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\LSMASHSource.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\RgTools.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\nnedi3.dll")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\QTGMC.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: C:\Users\Selur\Desktop\Eye-of-Satan-NTSC-VHS-sample.mov
# color sampling YV411@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
LWLibavVideoSource("C:\Users\Selur\Desktop\EYE-OF~1.MOV",cache=false,format="YUV411P8", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
ConvertToYV12(interlaced=true)
AssumeBFF()
QTGMC(Preset="Fast", ediThreads=2)
SelectEven()
# filtering
# adjust color to RGB32 (color matrix: Rec601)
ConvertToRGB32(matrix="Rec601")
# setting output fps to 29.970fps
AssumeFPS(30000,1001)
PreFetch(16)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
but this gives me:
Convert: Input ChromaPlacement only available with 4:2:0 or 4:2:2 sources. (in the 'ConvertToYV12(interlaced=true)'-line)
as a workaround I could use:
LWLibavVideoSource("C:\Users\Selur\Desktop\EYE-OF~1.MOV",cache=false,format="YUV422P8", prefer_hw=0)
and remove the 'ConvertToYV12(interlaced=true)', but the question is: Why does "ConvertToYV12(interlaced=true)" report the mentioned error?
Am I missing something or is this a bug?
Cu Selur
and the following script:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\LSMASHSource.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\RgTools.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\nnedi3.dll")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\QTGMC.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: C:\Users\Selur\Desktop\Eye-of-Satan-NTSC-VHS-sample.mov
# color sampling YV411@8, matrix: bt601, scantyp: bottom field first, luminance scale: limited
LWLibavVideoSource("C:\Users\Selur\Desktop\EYE-OF~1.MOV",cache=false,format="YUV411P8", prefer_hw=0)
# current resolution: 720x480
# deinterlacing
ConvertToYV12(interlaced=true)
AssumeBFF()
QTGMC(Preset="Fast", ediThreads=2)
SelectEven()
# filtering
# adjust color to RGB32 (color matrix: Rec601)
ConvertToRGB32(matrix="Rec601")
# setting output fps to 29.970fps
AssumeFPS(30000,1001)
PreFetch(16)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
but this gives me:
Convert: Input ChromaPlacement only available with 4:2:0 or 4:2:2 sources. (in the 'ConvertToYV12(interlaced=true)'-line)
as a workaround I could use:
LWLibavVideoSource("C:\Users\Selur\Desktop\EYE-OF~1.MOV",cache=false,format="YUV422P8", prefer_hw=0)
and remove the 'ConvertToYV12(interlaced=true)', but the question is: Why does "ConvertToYV12(interlaced=true)" report the mentioned error?
Am I missing something or is this a bug?
Cu Selur