Trying to reproduce this, I get:
which works.
I do not see why Hybrid should behave differently for you, but it does:
I do not see why your script is missing:
both inputs are YUV422P10.
=> Can't reproduce the problem
Cu Selur
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\ColorMatrix64.dll")
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: G:\TestClips&Co\files\ProRes\Test_4K_ProResHQ.mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
Source = LWLibavVideoSource("G:\TestClips&Co\files\ProRes\Test_4K_ProResHQ.mov",cache=false,format="YUV422P10", prefer_hw=0,repeat=true)
# current resolution: 3840x2160
SourceFiltered = Source
# Converting from 10 to 8bit for ColorMatrix
SourceFiltered = SourceFiltered.ConvertBits(8)
SourceFiltered = SourceFiltered.ConvertToYUY2(interlaced=false)
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.709->Rec.2020",clamp=3,interlaced=false,hints=false)
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source.Subtitle("Original"), SourceFiltered.Subtitle("Filtered"))
# setting output fps to 24.00000fps
AssumeFPS(24,1)
PreFetch(16)
# output: color sampling RGB32@8, matrix: Rec.2020, scantyp: progressive, luminance scale: limited
return lastI do not see why Hybrid should behave differently for you, but it does:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("D:\!_System\Hybrid\64bit\Avisynth\avisynthPlugins\ColorMatrix64.dll")
LoadPlugin("D:\!_System\Hybrid\64bit\Avisynth\avisynthPlugins\AutoAdjust.dll")
LoadCPlugin("D:\!_System\Hybrid\64bit\Avisynth\avisynthPlugins\ffms2.dll")
Import("D:\!_System\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: E:\!_Convert\Korolova & Switch Disco - Empty Skies (Upscale)\Korolova & Switch Disco - Empty Skies (Upscale).mov
# color sampling YUY2@10, matrix: bt709, scantyp: progressive, luminance scale: limited
Source = FFVideoSource("E:\!_Convert\Korolova & Switch Disco - Empty Skies (Upscale)\Korolova & Switch Disco - Empty Skies (Upscale).mov",cachefile="C:\Windows\Temp\mov_a62b5e81a682550b47514e5384deb42b_853323747_1_0.ffindex",fpsnum=25,colorspace="YUV422P10")
# current resolution: 3840x2160
SourceFiltered = Source
# Converting from 10 to 8bit for ColorMatrix
SourceFiltered = SourceFiltered.ConvertBits(8)
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.709->Rec.2020",clamp=3,interlaced=false,hints=false)
# cropping
Source = Source.Crop(0,268,0,-264)
SourceFiltered = SourceFiltered.Crop(0,268,0,-264)# 3840x1628
SourceFiltered = SourceFiltered.ConvertToYV16(interlaced=false)
SourceFiltered = SourceFiltered.AutoAdjust(auto_gain=true,bright_limit=2.90,gamma_limit=1.00,dark_exclude=0.00,bright_exclude=0.00,avg_safety=0.30,input_tv=false,output_tv=false,temporal_radius=119,high_quality=true)
Source = Source.ColorYUV(analyze=true)
SourceFiltered = SourceFiltered.ColorYUV(analyze=true)
Source = Source.ConvertToYV16(interlaced=false)
Source = Source.Histogram("levels")
SourceFiltered = SourceFiltered.Histogram("levels")
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source.Subtitle("Original"), SourceFiltered.Subtitle("Filtered"))
# setting output fps to 25.00000fps
AssumeFPS(25,1)
PreFetch(12)
# output: color sampling RGB32@8, matrix: Rec.2020, scantyp: progressive, luminance scale: fullI do not see why your script is missing:
SourceFiltered = SourceFiltered.ConvertToYUY2(interlaced=false)=> Can't reproduce the problem
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.

