Debian Codegraph @

utils/qvidcap/qvidcap.1.in

raw
1 .TH "QVIDCAP" "1" "June 2016" "v4l-utils @MAN_PACKAGE_VERSION@" "User Commands"
2 .SH NAME
3 qvidcap - A v4l2 video capture viewer
4 .SH SYNOPSIS
5 .B qvidcap
6 [\fI<options>\fR]
7 .SH DESCRIPTION
8 The qvidcap tool is used to test video4linux capture devices, either using a video device, a file,
9 or over network. This application can also serve as a generic video/TV viewer application.
10 .PP
11 It does not (yet) support compressed video streams other than MJPEG
12 .SH OPTIONS
13 .TP
14 \fB\-d\fR, \fB\-\-device\fR=\fI<dev>\fR
15 Use device <dev> as the video device if <dev> is a number, then /dev/video<dev> is used
16 .TP
17 \fB\-f\fR, \fB\-\-file\fR=\fI<file>\fR
18 Read from the file <file> for the raw frame data
19 .TP
20 \fB\-p\fR, \fB\-\-port\fR\fI[=<port>]\fR
21 Listen for a network connection on the given port. The default port is 8362
22 .TP
23 \fB\-T\fR, \fB\-\-tpg\fR
24 Use the test pattern generator. If neither -d, -f nor -T is specified then use /dev/video0.
25 .TP
26 \fB\-c\fR, \fB\-\-count\fR=\fI<cnt>\fR
27 Stop after <cnt> captured frames
28 .TP
29 \fB\-b\fR, \fB\-\-buffers\fR=\fI<bufs>\fR
30 Request <bufs> buffers (default 4) when streaming from a video device.
31 .TP
32 \fB\-s\fR, \fB\-\-single\-step\fR\fI[=<frm>]\fR
33 Starting with frame <frm> (default 0), pause after displaying each frame
34 until Space is pressed.
35 .TP
36 \fB\-C\fR, \fB\-\-colorspace\fR=\fI<c>\fR
37 Override colorspace. <c> can be one of the following colorspaces: smpte170m, smpte240m, rec709, 470m, 470bg, jpeg, srgb, oprgb, bt2020, dcip3
38 .TP
39 \fB\-X\fR, \fB\-\-xfer-func\fR=\fI<x>\fR
40 Override transfer function. <x> can be one of the following transfer functions: default, 709, srgb, oprgb, smpte240m, smpte2084, dcip3, none
41 .TP
42 \fB\-Y\fR, \fB\-\-ycbcr-enc\fR=\fI<y>\fR
43 Override Y'CbCr encoding. <y> can be one of the following Y'CbCr encodings: default, 601, 709, xv601, xv709, bt2020, bt2020c, smpte240m
44 .TP
45 \fB\-Q\fR, \fB\-\-quant\fR=\fI<q>\fR
46 Override quantization. <q> can be one of the following quantization methods: default, full-range, lim-range
47 .TP
48 \fB\-P\fR, \fB-\-pixelformat\fR=\fI<p>\fR
49 For video devices: set the format to this pixel format.
50 For reading from a file: interpret the data using this pixel format setting.
51 Ignored for other modes.
52 Use -l to see the list of supported pixel formats.
53 .TP
54 \fB\-l\fR, \fB\-\-list-formats\fR
55 Display all supported formats
56 .TP
57 \fB\-h\fR, \fB\-\-help\fR
58 Display this help message
59 .TP
60 \fB\-t\fR, \fB\-\-timing\fRs
61 Report frame render timings
62 .TP
63 \fB\-v\fR, \fB\-\-verbose\fR
64 Be more verbose
65 .TP
66 \fB\-R\fR, \fB\-\-raw\fR
67 Open device in raw mode
68 .TP
69 \fB\--opengl\fR
70 Force openGL to display the video
71 .TP
72 \fB\--opengles\fR
73 Force openGL ES to display the video
74 .TP
75 The following options are ignored when capturing from a video device:
76 .TP
77 \fB\-W,-\-width\fR=\fI<width>\fR
78 Set width
79 .TP
80 \fB\-H,-\-height\fR=\fI<height>\fR
81 Set frame (not field!) height
82 .TP
83 \fB\-A,-\-padding\fR=\fI<bytes>\fR
84 set additional horizontal padding (after width)
85 .TP
86 \fB--fps\fR=\fI<fps>\fR
87 Set frames-per-second (default is 30)
88 .TP
89 The following options are only valid when reading from a file:
90 .TP
91 \fB\-F\fR, \fB-\-field\fR=\fI<f>\fR
92 Override field setting. <f> can be one of the following field layouts: any, none, top, bottom, interlaced, seq_tb, seq_bt, alternate, interlaced_tb, interlaced_bt
93 .TP
94 \fB\-\-no\-loop\fR
95 Stop at the end of the file, don't loop back to the beginning.
96 .TP
97 \fB\-\-from\-frame\fR=\fI<frame>\fR
98 Start playing back the file at the given frame number (the first frame is frame 0).
99 .TP
100 The following options are specific to the test pattern generator:
101 .TP
102 \fB--list-patterns\fR
103 List available patterns for use with --pattern
104 .TP
105 \fB--pattern\fR=\fI<pat>\fR
106 Choose output test pattern, the default is 0
107 .TP
108 \fB--square\fR
109 Show a square in the middle of the output test pattern
110 .TP
111 \fB--border\fR
112 Show a border around the pillar/letterboxed video
113 .TP
114 \fB--sav\fR
115 Insert an SAV code in every line
116 .TP
117 \fB--eav\fR
118 Insert an EAV code in every line
119 .TP
120 \fB--pixel-aspect\fR=\fI<aspect>\fR
121 Select a pixel aspect ratio, the default is to autodetect. <aspect> can be one of: square, ntsc, pal
122 .TP
123 \fB--video-aspect\fR=\fI<aspect>\fR
124 Select a video aspect ratio, the default is to use the frame ratio. <aspect> can be one of: 4 x3, 14x9, 16x9, anamorphic
125 .TP
126 \fB--alpha\fR=\fI<alpha-value>\fR
127 Value to use for the alpha component, range 0-255, the default is 0
128 .TP
129 \fB--alpha-red-only\fR
130 Only use the --alpha value for the red colors, for all others use 0
131 .TP
132 \fB--rgb-lim-range\fR
133 Encode RGB values as limited [16-235] instead of full range
134 .TP
135 \fB--hor-speed\fR=\fI<speed>\fR
136 Choose speed for horizontal movement, the default is 0 and the range is [-3...3]
137 .TP
138 \fB--vert-speed\fR=\fI<speed>\fR
139 Choose speed for vertical movement, the default is 0 and the range is [-3...3]
140 .TP
141 \fB--perc-fill\fR=\fI<percentage>\fR
142 Percentage of the frame to actually fill. the default is 100%
143 .TP
144 These options use the test pattern generator to test the OpenGL backend:
145 .TP
146 \fB--test\fR=\fI<count>\fR
147 Test all formats, each test generates <count> frames.
148 .TP
149 \fB--test-mask\fR=\fI<mask>\fR
150 Mask which tests are performed. <mask> is a bit mask with these values:
151 .br
152 0x01: Mask iterating over pixel formats
153 .br
154 0x02: Mask iterating over fields
155 .br
156 0x04: Mask iterating over colorspaces
157 .br
158 0x08: Mask iterating over transfer functions
159 .br
160 0x10: Mask iterating over Y'CbCr encodings
161 .br
162 0x20: Mask iterating over quantization ranges
163 .SH HOTKEYS
164 .TP
165 \fIQ\fR
166 Quit application.
167 .TP
168 \fIP\fR
169 Cycle forwards through all the supported pixel formats.
170 With Shift pressed: cycle backwards.
171 With Ctrl pressed: restore the original pixel format.
172 Only available with --file.
173 .TP
174 \fII\fR
175 Cycle forwards through all the supported interlaced field settings.
176 With Shift pressed: cycle backwards.
177 With Ctrl pressed: restore the original interlaced field setting.
178 Only available with --file.
179 .TP
180 \fIC\fR
181 Cycle forwards through all the supported colorspaces.
182 With Shift pressed: cycle backwards.
183 With Ctrl pressed: restore the original colorspace.
184 .TP
185 \fIX\fR
186 Cycle forwards through all the supported transfer functions.
187 With Shift pressed: cycle backwards.
188 With Ctrl pressed: restore the original transfer function.
189 .TP
190 \fIY\fR
191 Cycle forwards through all the supported Y'CbCr encodings.
192 With Shift pressed: cycle backwards.
193 With Ctrl pressed: restore the original Y'CbCr encoding.
194 .TP
195 \fIH\fR
196 Cycle forwards through all the supported HSV encodings.
197 With Shift pressed: cycle backwards.
198 With Ctrl pressed: restore the original HSV encoding.
199 .TP
200 \fIR\fR
201 Cycle forwards through all the supported quantization ranges.
202 With Shift pressed: cycle backwards.
203 With Ctrl pressed: restore the original quantization range.
204 .TP
205 \fIRight-Click\fR
206 Open menu.
207 .TP
208 \fIDouble left-click\fR
209 Toggle fullscreen on and off.
210 .TP
211 \fIF\fR
212 Toggle fullscreen on and off.
213 .TP
214 \fIESC\fR
215 Exit fullscreen.
216 .TP
217 \fISpace\fR
218 When in test mode (\fB\-\-test\fR) pressing Space will skip to the next test.
219 When single-stepping, continue to the next frame. When reading from a file,
220 pause playback until the next press of Space.
221 .TP
222 \fIBackspace\fR
223 When single-stepping, go back to the previous frame.
224 .TP
225 \fIUp\fR
226 Reduce the resolution by two pixels in height. Only available when "Override resolution" is enabled.
227 .TP
228 \fIDown\fR
229 Increase the resolution by two pixels in height. Only available when "Override resolution" is enabled.
230 .TP
231 \fILeft\fR
232 Reduce the resolution by two pixels in width. Only available when "Override resolution" is enabled.
233 .TP
234 \fIRight\fR
235 Increase the resolution by two pixels in width. Only available when "Override resolution" is enabled.
236 .SH EXIT STATUS
237 On success, it returns 0. Otherwise, it will return the number of errors.
238 .SH BUGS
239 Report bugs to Hans Verkuil <[email protected]>