AVS Filter ColorMatrix 1.x之使用

| |
[不指定 2006/08/22 15:34 | by FalconIA ]
此文不适合ColorMatrix 2.x 请注意

压OTOHiME 15时不幸眼尖看到看到小横线...
翻看尝试TIVTC 4h后无果 接着尝试Decomb和IT 发现仍有类似现象 直接手动却没有
最后终发现一切皆为ColorMatrix所造成

ColorMatrix直接放在之前的话会在画面产生意外的小短线
解决办法就是放在后面或者加interlaced=true参数(没测试),就是如此简单


看下图:


点击在新窗口中浏览此图片



点击在新窗口中浏览此图片



之后翻看DOOM9 翻到最后一页赫然写着
引用
When I was working on FLCL, I actually got small horizontal line artifacts in a few frames using Colormatrix before IVTC. Calling Colormatrix after IVTC fixed it.

URL: http://forum.doom9.org/showthread.php?p=834767#post834767



既然如此就顺便介绍参数
mode-
   ColorMatrix(clip, mode="Rec.709->Rec.601")
   ColorMatrix(clip, mode="Rec.601->Rec.709")
   (Default) Rec.709->Rec.601
interlaced -
   ColorMatrix(clip, interlaced=false)
   源为交错时需要开启
   (Default) false
opt -
   ColorMatrix(clip,opt=3)
   0 - force c routine
   1 - force mmx routine
   2 - force sse2 routine
   3 - auto detect
   (Default) 3
hints -
   ColorMatrix(clip, hints=false)
   检测d2v颜色,根据mode判断是否需要转换
   需要在mpeg2source里打开info=3,且紧接mpeg2source
   不能与d2v同时使用
    (Default) false
d2v -
   ColorMatrix(clip, d2v="FA.d2v")
   作用与hints相同,不能与hints同时使用
    (Default) null
debug -
   ColorMatrix(clip, debug=false)
   (Default) false


ColorMatrix 1.10


ColorMatrix 2.0



注:
1) I709(ITU-R BT.709) = Rec.709 coefficients
2) FCC (almost the same as Rec.601)
3) I470(ITU-R BT.470-2) = Rec.601 coefficients [an updated version of Rec.470-6, but coefficients are exactly the same]
4) S170(SMPTE 170M) = exactly the same as Rec.601
5) S240(SMPTE 240M) = almost the same as Rec.709

For ColorMatrix we assume I709 = S240 and I470=FCC=S170, because the error will be very small.


注2:
QuEnc无须使用
QuEnc -> fcc coefficients ~ Rec.601 coefficients


注3:
Anything -> Mpeg-4
------------------------
Source Colorimetry--------ColorMatrix
ITU-R BT.470-----------------No
ITU-R BT.601-----------------No
ITU-R BT.709-----------------Yes
SMPTE 170 M-----------------No
SMPTE 240 M-----------------Yes


注4:
如源为VFAPI,并不会因为RGB24转换影响使用


注5:
TIVTC vfr 2pass时提示
TFM: crc32 in input files does not match that of current clip...
这是因为TFM在2pass是做crc32检测两次pass是否相同
解决办法是禁止检查(不会 orz...) 或者删除stats文件开头的"crc="
引用
It's a special function of the tfm 2-pass file, it errors out if you don't use exactly the same filters before tfm as you did on the first pass. tdec has the same check. Colormatrix should have no effect, but tfm's trying to protect against random changes that render the stats useless.

To disable the check, all you have to do is remove the "crc=" section from the beginning of the stats files. (Leave the other info though!)

Colormatrix will still have an effect where it is now, though. It just won't be able to use hints to decide when it actually needs to be used, it'll just affect every frame (which is usually correct).

URL: http://forum.doom9.org/showthread.php?p=822415#post822415



此文大量参考v1.10所带文档及Doom9.org,一切以其为准
http://forum.doom9.org/showthread.php?t=82217

转载请注明版权为FalconIA所有