View Full Version : Where should i call colormatrix()?
bxyhxyh
26th February 2014, 17:08
I'm upscaling some DVDs.
Upscaling means i have to set correct color.
#source
#pre upscale filters
Spline36Resize(960,720)
Colormatrix("Rec.601->Rec.709") #Is it correct to call here? Or should i call it after post upscale filters?
#post upscale filters
turbojet
26th February 2014, 23:08
Should be good although I've been putting at the end of the script for years and never had an issue.
Groucho2004
27th February 2014, 00:09
Should be good although I've been putting at the end of the script for years and never had an issue.
Hm, I've been putting it always right after the source filter, i.e. DGDecode(NV).
Gavino
27th February 2014, 01:19
The order doesn't matter - the result should be the same (except possibly for random rounding differences).
Guest
27th February 2014, 01:48
Wouldn't it be marginally more efficient to apply colormatrix to the clip in its smallest frame dimension?
bxyhxyh
27th February 2014, 07:45
If i call it after source filter, color is changed after upscale.
So I'll do as Gavino said.
Thanks for your answers.
Gavino
27th February 2014, 10:26
If i call it after source filter, color is changed after upscale.
There should be no visible difference between
Spline36Resize(960,720)
Colormatrix("Rec.601->Rec.709")
and
Colormatrix("Rec.601->Rec.709")
Spline36Resize(960,720)
neuron2 is correct that the second will be marginally more efficient.
hello_hello
27th February 2014, 23:41
Nobody uses the clamp setting?
ColorMatrix(mode="Rec.601->Rec.709", clamp=0)
manono
1st March 2014, 01:01
Nobody uses the clamp setting?
Me, me, me, me.
Except I'm usually downscaling from Hi-Def to DVD video.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.