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

NAME

6       qvidcap - A v4l2 video capture viewer
7

SYNOPSIS

9       qvidcap [<options>]
10

DESCRIPTION

12       The  qvidcap  tool  is used to test video4linux capture devices, either
13       using a video device, a file, or over  network.  This  application  can
14       also serve as a generic video/TV viewer application.
15
16       It does not (yet) support compressed video streams other than MJPEG
17

OPTIONS

19       -d, --device=<dev>
20              Use  device <dev> as the video device if <dev> is a number, then
21              /dev/video<dev> is used
22
23       -f, --file=<file>
24              Read from the file <file> for the raw frame data
25
26       -p, --port[=<port>]
27              Listen for a network connection on the given port.  The  default
28              port is 8362
29
30       -T, --tpg
31              Use  the  test  pattern  generator.  If neither -d, -f nor -T is
32              specified then use /dev/video0.
33
34       -c, --count=<cnt>
35              Stop after <cnt> captured frames
36
37       -b, --buffers=<bufs>
38              Request <bufs> buffers (default 4) when streaming from  a  video
39              device.
40
41       -s, --single-step[=<frm>]
42              Starting  with  frame  <frm> (default 1), pause after displaying
43              each frame until Space is pressed.
44
45       -C, --colorspace=<c>
46              Override colorspace. <c>  can  be  one  of  the  following  col‐
47              orspaces: smpte170m, smpte240m, rec709, 470m, 470bg, jpeg, srgb,
48              oprgb, bt2020, dcip3
49
50       -X, --xfer-func=<x>
51              Override transfer function. <x> can  be  one  of  the  following
52              transfer   functions:  default,  709,  srgb,  oprgb,  smpte240m,
53              smpte2084, dcip3, none
54
55       -Y, --ycbcr-enc=<y>
56              Override Y'CbCr encoding. <y> can be one of the following Y'CbCr
57              encodings:  default,  601,  709,  xv601, xv709, bt2020, bt2020c,
58              smpte240m
59
60       -Q, --quant=<q>
61              Override quantization. <q> can be one of the following quantiza‐
62              tion methods: default, full-range, lim-range
63
64       -P, --pixelformat=<p>
65              For  video  devices:  set  the format to this pixel format.  For
66              reading from a file: interpret the data using this pixel  format
67              setting.   Ignored  for  other modes.  Use -l to see the list of
68              supported pixel formats.
69
70       -l, --list-formats
71              Display all supported formats
72
73       -h, --help
74              Display this help message
75
76       -t, --timings
77              Report frame render timings
78
79       -v, --verbose
80              Be more verbose
81
82       -R, --raw
83              Open device in raw mode
84
85       --opengl
86              Force openGL to display the video
87
88       --opengles
89              Force openGL ES to display the video
90
91       The following options are ignored when capturing from a video device:
92
93       -W,--width=<width>
94              Set width
95
96       -H,--height=<height>
97              Set frame (not field!) height
98
99       --fps=<fps>
100              Set frames-per-second (default is 30)
101
102       The following option is only valid when reading from a file:
103
104       -F, --field=<f>
105              Override field setting. <f> can be one of  the  following  field
106              layouts:  any,  none,  top,  bottom, interlaced, seq_tb, seq_bt,
107              alternate, interlaced_tb, interlaced_bt
108
109       The following options are specific to the test pattern generator:
110
111       --list-patterns
112              List available patterns for use with --pattern
113
114       --pattern=<pat>
115              Choose output test pattern, the default is 0
116
117       --square
118              Show a square in the middle of the output test pattern
119
120       --border
121              Show a border around the pillar/letterboxed video
122
123       --sav  Insert an SAV code in every line
124
125       --eav  Insert an EAV code in every line
126
127       --pixel-aspect=<aspect>
128              Select a pixel aspect  ratio,  the  default  is  to  autodetect.
129              <aspect> can be one of: square, ntsc, pal
130
131       --video-aspect=<aspect>
132              Select  a  video  aspect  ratio, the default is to use the frame
133              ratio. <aspect> can be one of: 4  x3, 14x9, 16x9, anamorphic
134
135       --alpha=<alpha-value>
136              Value to use for the alpha component, range 0-255,  the  default
137              is 0
138
139       --alpha-red-only
140              Only  use  the  --alpha value for the red colors, for all others
141              use 0
142
143       --rgb-lim-range
144              Encode RGB values as limited [16-235] instead of full range
145
146       --hor-speed=<speed>
147              Choose speed for horizontal movement, the default is 0  and  the
148              range is [-3...3]
149
150       --vert-speed=<speed>
151              Choose  speed  for  vertical  movement, the default is 0 and the
152              range is [-3...3]
153
154       --perc-fill=<percentage>
155              Percentage of the frame to actually fill. the default is 100%
156
157       These options use the test pattern generator to test the  OpenGL  back‐
158       end:
159
160       --test=<count>
161              Test all formats, each test generates <count> frames.
162
163       --test-mask=<mask>
164              Mask  which tests are performed. <mask> is a bit mask with these
165              values:
166              0x01: Mask iterating over pixel formats
167              0x02: Mask iterating over fields
168              0x04: Mask iterating over colorspaces
169              0x08: Mask iterating over transfer functions
170              0x10: Mask iterating over Y'CbCr encodings
171              0x20: Mask iterating over quantization ranges
172

HOTKEYS

174       Q      Quit application.
175
176       P      Cycle forwards through all the supported  pixel  formats.   With
177              Shift  pressed: cycle backwards.  With Ctrl pressed: restore the
178              original pixel format.  Only available with --file.
179
180       I      Cycle forwards through all the supported interlaced  field  set‐
181              tings.  With Shift pressed: cycle backwards.  With Ctrl pressed:
182              restore the original interlaced field setting.   Only  available
183              with --file.
184
185       C      Cycle  forwards  through  all  the  supported colorspaces.  With
186              Shift pressed: cycle backwards.  With Ctrl pressed: restore  the
187              original colorspace.
188
189       X      Cycle  forwards  through  all  the supported transfer functions.
190              With Shift pressed: cycle backwards.  With Ctrl pressed: restore
191              the original transfer function.
192
193       Y      Cycle forwards through all the supported Y'CbCr encodings.  With
194              Shift pressed: cycle backwards.  With Ctrl pressed: restore  the
195              original Y'CbCr encoding.
196
197       H      Cycle  forwards  through  all the supported HSV encodings.  With
198              Shift pressed: cycle backwards.  With Ctrl pressed: restore  the
199              original HSV encoding.
200
201       R      Cycle  forwards  through  all the supported quantization ranges.
202              With Shift pressed: cycle backwards.  With Ctrl pressed: restore
203              the original quantization range.
204
205       Right-Click
206              Open menu.
207
208       Double left-click
209              Toggle fullscreen on and off.
210
211       F      Toggle fullscreen on and off.
212
213       ESC    Exit fullscreen.
214
215       Space  When  in test mode (--test) pressing Space will skip to the next
216              test.  When single-stepping, continue to the next frame.
217
218       Up     Reduce the resolution by two pixels in  height.  Only  available
219              when "Override resolution" is enabled.
220
221       Down   Increase  the resolution by two pixels in height. Only available
222              when "Override resolution" is enabled.
223
224       Left   Reduce the resolution by two pixels  in  width.  Only  available
225              when "Override resolution" is enabled.
226
227       Right  Increase  the  resolution by two pixels in width. Only available
228              when "Override resolution" is enabled.
229

EXIT STATUS

231       On success, it returns 0. Otherwise,  it  will  return  the  number  of
232       errors.
233

BUGS

235       Report bugs to Hans Verkuil <hverkuil@xs4all.nl>
236
237
238
239v4l-utils 1.18.0                   June 2016                        QVIDCAP(1)
Impressum