如何使视频变亮

Totem,mplayer,sopcast,realplayer,bmp
回复
头像
yjcong
帖子: 2470
注册时间: 2006-02-28 3:11

如何使视频变亮

#1

帖子 yjcong » 2008-08-30 8:09

自己拍的一段视频, 可能是当时的光线不好, 看起来有些暗。虽然mplayer里有brightness和constrast两个参数可以调节, 可是这种调节是整个屏幕的调节. 如果我同时播放另一个正常的视频, 则这个应该正常的视频会变得过亮。 找了mencoder的参数, 没发现怎么在转换时可以加相关的。哪位大仙知道,告知一二。 或者播放时如何调节一个的亮度,不影响其他的。


先谢了
一梦三年,
松风依旧,
萝月何曾老.


灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2008-08-30 8:30

使用 AVS 的滤镜。
头像
yjcong
帖子: 2470
注册时间: 2006-02-28 3:11

#3

帖子 yjcong » 2008-08-30 9:36

oneleaf 写了:使用 AVS 的滤镜。
谢谢小叶子。

我在网上找了一圈, 知道了AVS是干什么的。 可是好像只有windews的程序, 在linux该如何搞呢?希望叶子再多指点些,或给我个连接。

thx
一梦三年,
松风依旧,
萝月何曾老.


灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
delectate
帖子: 18311
注册时间: 2008-01-09 22:41

#4

帖子 delectate » 2008-08-31 9:29

为甚么要调节播放器呢?

还是修改视频文件吧
头像
jialeadmin
帖子: 724
注册时间: 2008-06-17 23:17
来自: 灾区
联系:

#5

帖子 jialeadmin » 2008-08-31 9:36

用会声会色改改 嘿嘿 不过是要用到WIN了
◆WINDOWS系统已彻底删除
◆正在安装UBUNTU 9.04
◆系统正在复制文件,请稍等...
┌────────────┐
│ ■■■■■■■□□□ 70% │
└────────────┘
头像
yjcong
帖子: 2470
注册时间: 2006-02-28 3:11

#6

帖子 yjcong » 2008-08-31 9:50

后代 写了:为甚么要调节播放器呢?

还是修改视频文件吧
几百M的视频, 修改起来要废多少电啊
一梦三年,
松风依旧,
萝月何曾老.


灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
头像
jarlyyn
帖子: 4671
注册时间: 2006-04-12 18:54
联系:

#7

帖子 jarlyyn » 2008-08-31 18:47

mplayer 那个亮度参数 mencoder应该也能用的
头像
yjcong
帖子: 2470
注册时间: 2006-02-28 3:11

#8

帖子 yjcong » 2008-08-31 18:53

jarlyyn 写了:mplayer 那个亮度参数 mencoder应该也能用的
不是。 我当然是会试的拉
-brightness is not an MEncoder option

Exiting... (error parsing command line)
一梦三年,
松风依旧,
萝月何曾老.


灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
头像
sinyadvan
帖子: 724
注册时间: 2008-04-02 15:36
来自: O_O

#9

帖子 sinyadvan » 2008-08-31 19:12

软件包: xvattr
状态: 未安装
版本号: 1.3-0.3build1
优先级: 可选
部分: universe/x11
维护者: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
未压缩尺寸: 119k
依赖于: libc6 (>= 2.6.1-1), libglib1.2ldbl (>= 1.2.10-18 ), libgtk1.2 (>= 1.2.10-4),
libx11-6, libxext6, libxi6, libxv1
描述: Utility to change Xv attributes
This is a small command line program to change Xv attributes like brightness, contrast,...
^o^ && O_O && ^_^
One World|One Dream|One Piece
愛 ^_^ 這個 美麗的世界O_O

本公司专治各种不服、不爽、谩骂、挑衅。
头像
yjcong
帖子: 2470
注册时间: 2006-02-28 3:11

#10

帖子 yjcong » 2008-08-31 19:42

谢谢lz各位。

我犯了个错误, mplayer的配置文件里少加了一个参数 vf=eq2 。把这个加上就可以独立的调节亮度了
一梦三年,
松风依旧,
萝月何曾老.


灵幽听微, 谁观玉颜?
灼灼春华, 绿叶含丹.
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#11

帖子 oneleaf » 2008-08-31 23:12

avs在linux下需要自己编译:

http://avisynth.org/AviSynth30

这里是编译说明:

http://avisynth2.cvs.sourceforge.net/*c ... #AVS-Linux
头像
jarlyyn
帖子: 4671
注册时间: 2006-04-12 18:54
联系:

#12

帖子 jarlyyn » 2008-09-03 11:55

yjcong 写了:
jarlyyn 写了:mplayer 那个亮度参数 mencoder应该也能用的
不是。 我当然是会试的拉
-brightness is not an MEncoder option

Exiting... (error parsing command line)
eq[=brightness:contrast] (OBSOLETE)


Software equalizer with interactive controls just like the hardware equalizer, for cards/drivers that do not support brightness and contrast controls in hardware. Might also be useful with MEncoder, either for fixing poorly captured movies, or for slightly reducing contrast to mask artifacts and get by with lower bitrates.


<−100−100>


initial brightness


<−100−100>


initial contrast


eq2[=gamma:contrast:brightness:saturation:rg:gg:bg:weight]


Alternative software equalizer that uses lookup tables (very slow), allowing gamma correction in addition to simple brightness and contrast adjustment. Note that it uses the same MMX optimized code as −vf eq if all gamma values are 1.0. The parameters are given as floating point values.


<0.1−10>


initial gamma value (default: 1.0)


<−2−2>


initial contrast, where negative values result in a negative image (default: 1.0)


<−1−1>


initial brightness (default: 0.0)


<0−3>


initial saturation (default: 1.0)


<0.1−10>


gamma value for the red component (default: 1.0)


<0.1−10>


gamma value for the green component (default: 1.0)


<0.1−10>


gamma value for the blue component (default: 1.0)


<0−1>


The weight parameter can be used to reduce the effect of a high gamma value on bright image areas, e.g. keep them from getting overamplified and just plain white. A value of 0.0 turns the gamma correction all the way down while 1.0 leaves it at its full strength (default: 1.0).

-vf里的………………
头像
nyfair
帖子: 1067
注册时间: 2007-12-07 12:49
系统: winnux10
来自: Tree New Bee

#13

帖子 nyfair » 2008-09-16 23:50

avisynth要靠plugin才强壮,可是那堆plugin没有linux的port。windows下折腾rip全靠这玩意,linux么,还是老老实实mencoder加个滤镜吧
回复