02.11.2020, 07:59
I feel terrible bumping this, but, it's still not fixed. It's the problem that wants to keep coming back to induce maximum headaches and annoyance!
I haven't had time to test it until now, so sorry about that.
Using Hybrid Dev version 2020.10.28.1.
So, the problem now, is that enabling Color Matrix and going from Rec.709 to Rec.601 has no effect (ignore the preview error message):
Here's the previewer script:
And here's a debug file (toggled ColorMatrix filter off and on several times at the end):
Edit - Check the log files in the below post; the HybridDebugOutput_1028_NoChange.zip is for the above issue.
Also, I checked, and the workaround I posted above doesn't work here... it has no effect. Although that workaround was for mp4 files, not image streams.
I said above that this custom script gives correct colors in Hybrid 2020.10.20.1 for image streams:
But I'm trying it again in Hybrid 2020.10.20.1 and now that also has no effect? WTF?
I haven't had time to test it until now, so sorry about that.
Using Hybrid Dev version 2020.10.28.1.
So, the problem now, is that enabling Color Matrix and going from Rec.709 to Rec.601 has no effect (ignore the preview error message):
Here's the previewer script:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ImageSeq.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ColorMatrix.dll")
# loading source: E:/USER/Test/Test-AdobeRGB.png
# color sampling RGB24@8, matrix: bt709, scantyp: progressive, luminance scale: limited
ImageReader(file="E:\USER\Test\Test-AdobeRGB.png", end=100, fps=23.976, use_DeviL=true, pixel_type="RGB24")
# current resolution: 1440x1080
ConvertToYUY2(interlaced=false, matrix="Rec709")
# color modifications
ColorMatrix(mode="Rec.709->Rec.601",clamp=3,interlaced=false,hints=false)
# filtering
# adjust color to RGB32 (color matrix: Rec601)
ConvertToRGB32(matrix="Rec601")
PreFetch(4)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: Rec.601, scantyp: progressive, luminance scale: limited
return last
And here's a debug file (toggled ColorMatrix filter off and on several times at the end):
Edit - Check the log files in the below post; the HybridDebugOutput_1028_NoChange.zip is for the above issue.
Also, I checked, and the workaround I posted above doesn't work here... it has no effect. Although that workaround was for mp4 files, not image streams.
I said above that this custom script gives correct colors in Hybrid 2020.10.20.1 for image streams:
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\ColorMatrix.dll")
ConvertToYUY2(interlaced=false, matrix="Rec709")
ColorMatrix(mode="Rec.709->Rec.601",clamp=3,interlaced=false,hints=false)
But I'm trying it again in Hybrid 2020.10.20.1 and now that also has no effect? WTF?