搜索 社区服务 统计排行 帮助
  • 1485阅读
  • 4回复

[求助]AVS函数的参数问题。

楼层直达
级别: 骑士
注册时间:
2003-08-28
在线时间:
6小时
发帖:
1306
DirectShowSource 的问题了解了。
有个深奥一点的东西不太懂。

关于Levels函数的。

http://avisynth.org/mediawiki/Levels
看到:
Levels(clip input, int input_low, float gamma, int input_high, int output_low, int output_high, bool coring)

其中的input和output还有gamma算是有点印象了。

有着两个例子:
  1. # scales a [0,255] clip to [16,235]:
  2. Levels(0, 1, 255, 16, 235, coring=false) # this is the same as ColorYUV(levels="PC->TV")


这个例子的意思是:PC的像素范围是[0,255],TV的像素范围是[16,235]么?这里的区别是什么造成的呢?

还有一个
  1. # gamma-correct image for display in a brighter environment:
  2. # example: luma of 16 stays 16, 59 is converted to 79, etc.
  3. Levels(0, 1.3, 255, 0, 255)

为啥16的话保持,而59的话,就会改变呢?

Why Don't You Do Your Best?
---------------------------------
You gotta take chances for the things you care about.
---------------------------------
A man is never taller when he's on his knees.
---------------------------------
Someone:I thought there were no more heros foolish enough to come around here and die for our gold.

Beowulf:If we die,it'll be for glory,not for gold.
级别: 骑士
注册时间:
2003-08-28
在线时间:
6小时
发帖:
1306
只看该作者 4楼 发表于: 2007-08-29
貌似pixel value是在调整对比度,刚才调到375,这个不能看了啊~~~

大家的脸上洋溢着太阳般的光辉-_-~

感觉像在拍大头贴~~~~

不过还是求大大们明示专业点的东西。


Gamma值的改变有什么讲究么?

Why Don't You Do Your Best?
---------------------------------
You gotta take chances for the things you care about.
---------------------------------
A man is never taller when he's on his knees.
---------------------------------
Someone:I thought there were no more heros foolish enough to come around here and die for our gold.

Beowulf:If we die,it'll be for glory,not for gold.
级别: 骑士
注册时间:
2003-08-28
在线时间:
6小时
发帖:
1306
只看该作者 3楼 发表于: 2007-08-29
引用
最初由 alphaa 发布
DirectShowSource是内置的,直接用。
有些认不出fps或者认的fps错误,就要加fps=


原来是因为认不出fps所以需要加fps啊。

问题更新

Why Don't You Do Your Best?
---------------------------------
You gotta take chances for the things you care about.
---------------------------------
A man is never taller when he's on his knees.
---------------------------------
Someone:I thought there were no more heros foolish enough to come around here and die for our gold.

Beowulf:If we die,it'll be for glory,not for gold.
级别: 工作组
注册时间:
2007-08-23
在线时间:
0小时
发帖:
683
只看该作者 2楼 发表于: 2007-08-29
DirectShowSource是内置的,直接用。
有些认不出fps或者认的fps错误,就要加fps=
级别: 精灵王
注册时间:
2005-01-21
在线时间:
1小时
发帖:
2565
只看该作者 1楼 发表于: 2007-08-29
既然是AVI就用AVISOURCE嘛......DIRECTSHOWSOURCE有DLL么.....?印象中没有啊......= =+++

大奶:i5 2300+采融变形金刚+技嘉P67-UD3R+芝奇4G套装+MSI HD5770 HAWK+金士顿64G SSD+联力K58
二奶:i7 870+九州虎鲨+ROG P55 M3E+芝奇8G套装+XFX HD5850+希捷Momentus XT+联力K62R2+银欣SST-ST60F-P
新浪微博:http://weibo.com/kagakadaj
二奶HTPC:
快速回复

限150 字节
上一个 下一个