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
22       With no options, all parameters are displayed.
23
24       Long options are handled by GNU getopts and follow those rules. In par‐
25       ticular, options that are specified with a double dash (--) rather than
26       a single dash (-), can be abbreviated as long as they are unique. Long
27       parameters that need a value specified may have the parameter and the
28       value separated with blank space or an optional equals sign (and no
29       intervening space).
30
31       For example the following are all equivalent:
32
33       xvattr -a XV_BRIGHTNESS xvattr --attribute XV_BRIGHTNESS xvattr --att
34       XV_BRIGHTNESS xvattr --att=XV_BRIGHTNESS
35
36       Example:
37
38         > xvattr
39         Adaptor: 0
40         Name: Matrox G-Series Backend Scaler
41          Port: 46
42           Name: XV_COLORKEY
43            Flags: XvGettable XvSettable
44            Min value: 0
45            Max value: 16777215
46            Current value: 66046
47
48       {-a ⎪ --attribute} attribute name
49           Show value of attribute attribute name
50
51           Example:
52
53             > xvattr -a XV_BRIGHTNESS
54             XV_BRIGHTNESS = 24
55
56
57
58       {-a ⎪ --attribute} attribute name [-v ⎪ --value] value
59           Set attribute attribute name to value value.
60
61           Example:
62
63             > xvattr -a XV_COLORKEY -v 10
64             XV_COLORKEY set to 10
65
66
67
68       {-p ⎪ --port} port number
69           Get the attribute on the specified port.  If -p is not set, the
70           first available port is used.
71
72           Example:
73
74             > xvattr -p 66
75             Found Xv 2.2
76             Adaptor: 0
77             Name: SIS Video Overlay
78              Port: 66
79               Name: XV_COLORKEY
80                Flags: XvGettable XvSettable
81                Min value: 0
82                Max value: 16777215
83                Current value: 66046
84               Name: XV_BRIGHTNESS
85                Flags: XvGettable XvSettable
86                Min value: -128
87                Max value: 127
88                Current value: 0
89               Name: XV_CONTRAST
90                Flags: XvGettable XvSettable
91                Min value: 0
92                Max value: 255
93                Current value: 128
94

AUTHOR

96       Björn Englund. Send bug reports to "d4bjorn@dtek.chalmers.se"
97       "rocky@panix.com" turned the README into this document.
98

SEE ALSO

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