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.

a big difference between the source and target
#8
With Colormatrix enabled ent set to 'Rec.709'->'Rec.601' the preview script is:
SetMemoryMax(768)
SetMTMode(2,16) # changing MT mode
LoadPlugin("G:\Hybrid\AVISYN~1\DGDecode.dll")
LoadPlugin("G:\Hybrid\AVISYN~1\ColorMatrix.dll")
# loading source: F:\TestClips&Co\MPEG-2\Tablitsa_colormatrix.mpg
#  input luminance scale tv
Source = MPEG2Source(d2v="H:\Temp\mpg_e0b8c6319ad8a0dd51e4cdd1d25dd581_4827.d2v",info=3)
# current resolution: 720x576
SourceFiltered = Source
# color modifications
SourceFiltered = SourceFiltered.ColorMatrix(mode="Rec.709->Rec.601",interlaced=true,hints=true)
# filtering
# adjust color to(2): RGB32
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source, SourceFiltered)
return last
disabling the option and the preview script is:
SetMemoryMax(768)
SetMTMode(2,16) # changing MT mode
LoadPlugin("G:\Hybrid\AVISYN~1\DGDecode.dll")
# loading source: F:\TestClips&Co\MPEG-2\Tablitsa_colormatrix.mpg
#  input luminance scale tv
Source = MPEG2Source(d2v="H:\Temp\mpg_e0b8c6319ad8a0dd51e4cdd1d25dd581_4827.d2v")
# current resolution: 720x576
SourceFiltered = Source
# filtering
# adjust color to(2): RGB32
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec709")
Source = Source.ConvertToRGB32(matrix="Rec709")
StackHorizontal(Source, SourceFiltered)
return last
I also see a clear color switch when en- and disabling the option while having the Avisynth Filter Preview open.
-> can't reproduce the issue you describe.

Cu Selur

Ps.: Preview script is inside the temp-folder (while Avisynth Preview is used) if you want to check yourself.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: a big difference between the source and target - by Selur - 05.12.2017, 15:48

Forum Jump:


Users browsing this thread: 2 Guest(s)