This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] AviSynth 32 bit - ColorMatrix filter not working for video?
#2
When using '709->601' conversion Hybrid uses:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\ffms2.dll")
LoadPlugin("I:\Hybrid\32bit\AVISYN~1\ColorMatrix.dll")
# loading source: F:\TestClips&Co\files\test FFMEG.avi
#  color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited
FFVideoSource("F:\TESTCL~1\files\TESTFF~1.AVI",cachefile="E:\Temp\avi_6699eed53e91d42d0c14a1d0daf52a2f_853323747_1_0.ffindex",fpsnum=25,colorspace="YV12")
# current resolution: 640x352
# color modifications
ColorMatrix(mode="Rec.709->Rec.601",interlaced=false,hints=false)
# filtering
# adjust color to RGB32 (for preview)
ConvertToRGB32(matrix="Rec601")
PreFetch(8)
return last
when not using the color matrix conversion, Hybrid used:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadCPlugin("I:\Hybrid\32bit\AVISYN~1\ffms2.dll")
# loading source: F:\TestClips&Co\files\test FFMEG.avi
#  color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited
FFVideoSource("F:\TESTCL~1\files\TESTFF~1.AVI",cachefile="E:\Temp\avi_6699eed53e91d42d0c14a1d0daf52a2f_853323747_1_0.ffindex",fpsnum=25,colorspace="YV12")
# current resolution: 640x352
# filtering
# adjust color to RGB32 (for preview)
ConvertToRGB32(matrix="Rec601")
PreFetch(8)
return last
as preview scripts.

To check whether something changes I:
  • enabled "Filtering->Avisynth->Filter view"
  • enabled "Filtering->Avisynth->Misc->FiterView->SplitView"
  • selected "Filtering->Avisynth->Misc->FiterView->SplitView->Placement->interleaved"
this way I can switch between an unfiltered and a filter view.
-> seems to be working

After this (which made it easier to spot the changed of the color matrix) I disabled "Filtering->Avisynth->Filter view" and then looked at the changes, when en- and disabling 'ColorMatrix' while it was set to '709->601'.
-> knowing what to look for the changed where there

=> can't reproduce the problem.

Cu Selur
Reply


Messages In This Thread
RE: AviSynth 32 bit - ColorMatrix filter not working for video? - by Selur - 19.10.2020, 06:03

Forum Jump:


Users browsing this thread: 4 Guest(s)