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?
#17
It appears that I mislead you when I said that ConvertToYUY2(interlaced=false, matrix="Rec601") should be ConvertToYUY2(interlaced=false, matrix="Rec709"). I said I tested it via custom script, but now I'm not getting the same result when I do that, even in the 2020.10.20.1 version... it does nothing! WTH!

Hybrid 2020.10.17.1 and 2020.10.20.1 have the same script pretty much, but they product very different results. Comparing to source material (not for this particular test image), I can tell you that Hybrid 2020.10.17.1 is the "correct" result, in that it matches my source material that was converted to 709 by another program, then output RGB24 png's (Topaz Video Enhance AI). The Hybrid 2020.10.20.1 result is WAY off. And, the Hybrid 2020.10.28.1 result doesn't do anything. (Right now I'm working with RGB24 png's so I haven't tested mp4 input.)

Here's four frame GIF, first frame is no filters, second is ColorMatrix 709->601 in Hybrid 2020.10.17.1, third is ColorMatrix 709->601 in Hybrid 2020.10.20.1, and fourth is ColorMatrix 709->601 in Hybrid 2020.10.28.1 ("Open image in new tab" should give full size):

[Image: UgapREg.gif]


Here are debug files for each version, for each frame of the above gif:

[attachment=1114]

[attachment=1115]

[attachment=1116]


I can't imagine how much of a headache I must be causing you with this. I understand if this is something you want to "put on the back burner" for a while.

Again, this is with images... this whole thread started because I when I tried to get 2020.10.17.1 to work with mp4 files, it didn't work for me. So another part of the challenge here is to get this to work correctly with *both* image streams and video streams.

And I also haven't even checked this in VapourSynth. Tongue
Reply


Messages In This Thread
RE: AviSynth 32 bit - ColorMatrix filter not working for video? - by The_Tinkerer - 02.11.2020, 09:43

Forum Jump:


Users browsing this thread: 3 Guest(s)