1XVATTR(1)                        User Commands                       XVATTR(1)
2
3
4

NAME

6       xvattr - Query/Set X11 XVideo Setting(s)
7

SYNOPSIS

9       xvattr [options...]
10
11       This program is used for getting and setting X11 Xv attributes such as
12       XV_BRIGHTNESS, XV_CONTRAST, XV_SATURATION, XV_HUE, XV_COLORKEY, ...
13
14       For this program to work, you must have a version of X11 with the
15       XVideo extension and a graphics card that has Xv graphics acceleration.
16
17       Note: On some cards XV_BRIGHTNESS and XV_CONTRAST are not listed among
18       the available attributes, but they can still be set/changed.
19
20   OPTIONS
21       With no options, all parameters are displayed.
22
23       Long options are handled by GNU getopts and follow those rules. In
24       particular, options that are specified with a double dash (--) rather
25       than a single dash (-), can be abbreviated as long as they are unique.
26       Long parameters that need a value specified may have the parameter and
27       the value separated with blank space or an optional equals sign (and no
28       intervening space).
29
30       For example the following are all equivalent:
31
32       xvattr -a XV_BRIGHTNESS xvattr --attribute XV_BRIGHTNESS xvattr --att
33       XV_BRIGHTNESS xvattr --att=XV_BRIGHTNESS
34
35       Example:
36
37         > xvattr
38         Adaptor: 0
39         Name: Matrox G-Series Backend Scaler
40          Port: 46
41           Name: XV_COLORKEY
42            Flags: XvGettable XvSettable
43            Min value: 0
44            Max value: 16777215
45            Current value: 66046
46
47       {-a | --attribute} attribute name
48           Show value of attribute attribute name
49
50           Example:
51
52             > xvattr -a XV_BRIGHTNESS
53             XV_BRIGHTNESS = 24
54
55
56
57       {-a | --attribute} attribute name [-v | --value] value
58           Set attribute attribute name to value value.
59
60           Example:
61
62             > xvattr -a XV_COLORKEY -v 10
63             XV_COLORKEY set to 10
64
65
66
67       {-p | --port} port number
68           Get the attribute on the specified port.  If -p is not set, the
69           first available port is used.
70
71           Example:
72
73             > xvattr -p 66
74             Found Xv 2.2
75             Adaptor: 0
76             Name: SIS Video Overlay
77              Port: 66
78               Name: XV_COLORKEY
79                Flags: XvGettable XvSettable
80                Min value: 0
81                Max value: 16777215
82                Current value: 66046
83               Name: XV_BRIGHTNESS
84                Flags: XvGettable XvSettable
85                Min value: -128
86                Max value: 127
87                Current value: 0
88               Name: XV_CONTRAST
89                Flags: XvGettable XvSettable
90                Min value: 0
91                Max value: 255
92                Current value: 128
93

AUTHOR

95       Bjoern Englund. Send bug reports to "d4bjorn@dtek.chalmers.se"
96       "rocky@panix.com" turned the README into this document.
97

SEE ALSO

99       See also xvinfo and XvQueryAdaptors, XvSetPortAttribute, and
100       XvGetPortAttribute.
101
103         Copyright (C) 2001-2002 Bjoern Englund
104
105         This program is free software; you can redistribute it and/or modify
106         it under the terms of the GNU General Public License as published by
107         the Free Software Foundation; either version 2 of the License, or
108         (at your option) any later version.
109
110         This program is distributed in the hope that it will be useful,
111         but WITHOUT ANY WARRANTY; without even the implied warranty of
112         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
113         GNU General Public License for more details.
114
115         You should have received a copy of the GNU General Public License
116         along with this program; if not, write to the Free Software
117         Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
118
119
120
121perl v5.16.3                      2014-06-10                         XVATTR(1)
Impressum