Log in

View Full Version : ColorMatrix v2.3


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 [13]

[DB-FR] Nikko
12th October 2010, 13:56
You answer is here in the first message of this topic ^^:

ColorMatrix corrects the colors of mpeg2 streams of dvds. More correctly, those mpeg2 streams are encoded using a different set of coefficients as used by AviSynth's color conversion routines or by the XviD/DivX decoders, with the result that DivX/XviD clips or mpeg2 clips encoded by TMPGEnc/CCE using AviSynth or VirtualDub are displayed with slighty off colors (which looks like a small difference in brightness ).

henryho_hk
21st February 2011, 17:20
If I put "info=3" in mpeg2source() and "hints=true" in colormatrix(), do I need to specify "interlaced=true" in colormatrix() too?

SilaSurfer
21st February 2011, 17:25
If you are dealing with interlaced source I think yes.

henryho_hk
22nd February 2011, 03:03
Oh, I thought the interlace information is put in the hints by "info=3". Thanks for the clarification. (But.... why isn't it?)

One further question about "clamp" and "outputFR". I am encoding AVI from DVDs for viewing on PC monitor (TFT LCD), using madVR (32bit) and VMR9 renderless (64bit XP). Should I specify both "clamp=0" and "outputFR=true" ?

Wilbert
22nd February 2011, 18:57
Oh, I thought the interlace information is put in the hints by "info=3". Thanks for the clarification. (But.... why isn't it?)
Indeed it's not. It's not, because it's not made that way :) Using the interlaced flag from DGDecode/mpeg2source is not reliable way to determine whether the stream is trully interlaced.

From the documentation:
hints:

DGDecode v1.20 or newer can output colorimetry hints in the video stream which ColorMatrix can read in order to automatically determine the source coefficients.

Boulder
22nd February 2011, 19:03
But doesn't the source being encoded as interlaced force the use of interlaced=true even if the stream is actually progressive?

Wilbert
22nd February 2011, 19:35
But doesn't the source being encoded as interlaced force the use of interlaced=true even if the stream is actually progressive?
Do you mean 'force' as in forced by using hints? Then no. No interlaced information is passed by hints.

Boulder
22nd February 2011, 19:48
I meant "force" as in "force the user to set interlaced=true in CM" since the chroma information has been encoded as interlaced anyway.

leeperry
30th May 2011, 21:17
Hi tritical,

Thanks for the great ColorMatrix(), I use it for upscaled SD through madVR :)

I was wondering, is there a way you could implement 16bit? like the hack recently added to SmoothAdjust() that I also use: http://forum.doom9.org/showpost.php?p=1504207&postcount=210

I run Avisynth 2.6 if that matters.

:thanks: for considering it!

szabi
1st June 2011, 10:42
Hi

I am using megui, it creates this line to aviscript, when my source is :
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll")
DGDecode_mpeg2source("C:\wedding\VTS_01_1.d2v", info=3)
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
My question what does "threads=0" mean?

Bye
szabi

leeperry
1st June 2011, 12:10
what does threads=0 mean?
it's all explained in the manual.

steptoe
1st June 2011, 13:03
Sets the number of threads Colormatrix will use for processing. Can be any value greater than 0 and, for YUY2, less than the frame height, for YV12, less than the frame height divided by 2. If set to 0, ColorMatrix will automatically detect the number of available processors and set threads equal to that value

So if you have a dual core processor, with threads=0 then it will use both cores to process the source, with quad core it will use all 4 cores to process the source and so on


I personally set it by hand then you know it really is using all CPU cores, so threads=4 would be the value set on my quad core

szabi
1st June 2011, 16:07
Thnx, for the explaination.
It helped me. :)

bye
szabi

mandarinka
18th June 2011, 01:44
Hi tritical,

Thanks for the great ColorMatrix(), I use it for upscaled SD through madVR :)

I was wondering, is there a way you could implement 16bit? like the hack recently added to SmoothAdjust() that I also use: http://forum.doom9.org/showpost.php?p=1504207&postcount=210

I run Avisynth 2.6 if that matters.

:thanks: for considering it!

For encoding where absolute speed isn't critical beyond some basic level, what would suffice would be some script for the most needed conversions between rec709 and rec601.
But of course, somebody who 1) knows what to do 2) can write such a function would be needed...

EDIT:

Actualy I missed this initialy, but since version 1.9, Dither (http://forum.doom9.org/showthread.php?p=1386559#post1386559) includes functions to convert between rgb and yv12, which can be coupled to perform a 16bit (stacked format) conversion between any of FCC, ITU-R BT.601, ITU-R BT.709 and SMPTE 240M.

TalasNetrag
6th April 2016, 19:03
The download link is dead.

StainlessS
6th April 2016, 19:09
Yep all links to it seem dead.

http://www.mediafire.com/download/69xnjjxannnqo8b/ColorMatrixv25.zip

EDIT: Includes source.

kedautinh12
23rd January 2020, 03:45
I see v2.6 of colormatrix add Rec.2020 support.
https://github.com/sorayuki/ColorMatrix/release

StainlessS
23rd January 2020, 10:10
kedautinh12, Your link is 404 (you missed the last 's' off the end ie should be 'releases')

https://github.com/sorayuki/ColorMatrix/releases

Selur
23rd March 2020, 07:27
Anyone got a link to a 64bit ColorMatrix 2.6 build?

StainlessS
23rd March 2020, 09:15
Selur, Grouchy Avisynth stuff:- https://forum.doom9.org/showthread.php?t=173259

Selur
23rd March 2020, 11:27
Thanks :)