Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
23rd January 2007, 15:48 | #281 | Link |
Registered User
Join Date: Mar 2004
Posts: 889
|
Can ColorMatrix derive the "interlaced" parameter from specified d2v file?
Search => http://forum.doom9.org/showpost.php?...&postcount=246 Last edited by henryho_hk; 23rd January 2007 at 15:49. Reason: Answered myself |
23rd January 2007, 22:25 | #283 | Link | ||
Xvid Tribalistic Fan
Join Date: Oct 2001
Location: Portugal
Posts: 270
|
Quote:
Quote:
All the best, Sharro |
||
24th January 2007, 04:46 | #285 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
That's controversial. I'm in the camp that says to treat it as progressive. My AutoYUY2() filter is interesting in this regard:
http://neuron2.net/autoyuy2/autoyuy2.html |
30th January 2007, 09:53 | #286 | Link |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
If I calibrate my monitor to Rec.601, and use colormatrix to then convert the Rec.601 to Rec.709.
Will my monitor calibration transfer from Rec.601 to Rec.709 ? So it's as if I calibrated my monitor to Rec.709 specifications ? |
30th January 2007, 17:42 | #289 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
Colormatrix is a color upconverter. So I'm figuring it'll upconvert a monitor calibrated to Rec.601, to Rec.709 or HDTV standard. So far I like the results. Can somebody please confirm if my meathod is correct ? Please. |
|
2nd February 2007, 09:24 | #290 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Tritical, Your colormatrix.dll version 2.1 is broken.
Link Quote:
I've tested bt601tobt709.dll and there was no change in BTB, WTW when I tested Rec.601, Rec.709 |
|
2nd February 2007, 10:01 | #291 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
You can test for yourself using blankclip that colormatrix does not alter luma values when both chroma planes = 128, regardless of source/dest. Perhaps you have scaling=0 (which clips input and output to 16-235/16-240) when you actually want scaling = 1 or 2?
|
2nd February 2007, 10:17 | #292 | Link |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Tritical,
My Dell Notebook LCD cannot calibrate the Contrast as well as a expensive monitor, and the very light colored bars in the Getgray Caldisc contrast pattern are not visible unless I use FFDshow Levels. So I set FFDshow levels and the very light Contrast color bars were visible. I then lowered the Levels tweak, so that I could just barely see the lightest contrast bars. I then set the Colormatrix version 2.1 into FFDshow's avisynth. I set it to convert Rec.601, to Rec.709. Now, I have the Levels set so that the contrast pattern is barely showing it's lightest white bars. And I have Colormatrix ready to use. - I check the FFDshow Avisynth box and activate Colormatrix. The lightest white bars Disappear ! I do the very same test with the other plugin I linked to, and the lightest white bars did not disappear. Both plugins did change the rgb colors too. So I don't know what test you did, but I saw it with my own eyes. Maybe you better double check. Edit. I'm only using this code; ColorMatrix(mode="Rec.601->Rec.709") Last edited by Jeremy Duncan; 2nd February 2007 at 10:20. |
2nd February 2007, 10:37 | #293 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
I tested that using colormatrix on a black and white clip (both chroma planes = 128) is a nop, as it should be. However, if you set scaling = 0 (which is the default value) then the input and output luma values will be clipped to 16-235 range. This is probably why the lightest bars disappear. If you want to keep the full 0-255 range then use scaling=1 so that the clipping doesn't occur.
ColorMatrix(mode="Rec.601->Rec.709",scaling=1) The scaling parameter is explained in the readme. |
2nd February 2007, 10:48 | #294 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
|
|
2nd February 2007, 11:59 | #295 | Link | |
Xvid Tribalistic Fan
Join Date: Oct 2001
Location: Portugal
Posts: 270
|
Quote:
From the readme: o 2 - no pre/post clipping and unscaled coefficients All the best, Sharro |
|
2nd February 2007, 19:45 | #296 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
You're correct that scaling = 2 is needed for no clipping + unscaled coefficients... scaling = 1 also has no clipping but uses scaled coefficients. In his case the difference doesn't matter since he is using a greyscale clip and both will give the same result (the output will be exactly the same as the input). If it wasn't a black/white clip then he'd have to determine which one is actually correct based on the origin of the clip.
|
2nd February 2007, 22:33 | #297 | Link |
Xvid Tribalistic Fan
Join Date: Oct 2001
Location: Portugal
Posts: 270
|
I got it tritical...but now I got confused, I always do my D2V's with PC Scale which I is full range 0-255 and mostly I'm doing Rec709 to Xvid so Rec601 and should be full range also.
Should I always use scaling=2 ? Thanks. Sharro |
3rd February 2007, 00:18 | #298 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
|
|
3rd February 2007, 00:52 | #299 | Link | |
Registered User
Join Date: Dec 2006
Location: Heidelberg (DE), Kraków (PL)
Posts: 519
|
Quote:
Does the fact, that so called PC-Scale is suggested in my every d2v project could have an ifluence on that? @ Wilbert: I've just marked your post: so what's the point in choosing between PC and TV-scale while doing a d2v project with DGIndex?
__________________
"Only two things are infinite: the universe and human stupidity, and I'm not sure about the former."
Last edited by HeadBangeR77; 3rd February 2007 at 00:54. |
|
3rd February 2007, 00:53 | #300 | Link | |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Yes, the PC scale setting in dgindex is somewhat strange and is only used if dgdecode is delivering rgb (either by dgvfapi or upconv=2). With pc scale it converts yuv->RGB(0-255) with tv scale it converts yuv->RGB(16-235). The conversion routines in dgindex/dgdecode all assume yuv 16-235 range (i.e. they use scaled coefficients). However, dgindex/dgdecode never actually clamp values to that range (either on output or on input to the color conversion routines), which makes it similar to scaling=1 in colormatrix.
Quote:
The thing to remember is that colormatrix simulates a yuv->rgb->yuv conversion. If you use scaling = 0 you are simulating yuv(16-235/16-240)->rgb(0-255)->yuv(16-235/16-240), where the yuv values are clamped before and after. With scaling = 2 you are simulating yuv(0-255)->rgb(0,255)->yuv(0-255). Scaling=1 is the same as 0 except that the yuv values aren't clamped to the 16-235/16-240 range before and after the conversion. |
|
Tags |
colormatrix |
|
|