Scroll to navigation

QVIDCAP(1) 1.26.1"" QVIDCAP(1)

NAME

qvidcap - A v4l2 video capture viewer

SYNOPSIS

qvidcap [<options>]

DESCRIPTION

The qvidcap tool is used to test video4linux capture devices, either using a video device, a file, or over network. This application can also serve as a generic video/TV viewer application.

It does not (yet) support compressed video streams other than MJPEG

OPTIONS

Use device <dev> as the video device if <dev> is a number, then /dev/video<dev> is used
Read from the file <file> for the raw frame data
Listen for a network connection on the given port. The default port is 8362
Use the test pattern generator. If neither -d, -f nor -T is specified then use /dev/video0.
Stop after <cnt> captured frames
Request <bufs> buffers (default 4) when streaming from a video device.
Starting with frame <frm> (default 1), pause after displaying each frame until Space is pressed.
Override colorspace. <c> can be one of the following colorspaces: smpte170m, smpte240m, rec709, 470m, 470bg, jpeg, srgb, oprgb, bt2020, dcip3
Override transfer function. <x> can be one of the following transfer functions: default, 709, srgb, oprgb, smpte240m, smpte2084, dcip3, none
Override Y'CbCr encoding. <y> can be one of the following Y'CbCr encodings: default, 601, 709, xv601, xv709, bt2020, bt2020c, smpte240m
Override quantization. <q> can be one of the following quantization methods: default, full-range, lim-range
For video devices: set the format to this pixel format. For reading from a file: interpret the data using this pixel format setting. Ignored for other modes. Use -l to see the list of supported pixel formats.
Display all supported formats
Display this help message
Report frame render timings
Be more verbose
Open device in raw mode
Force openGL to display the video
Force openGL ES to display the video
Set width
Set frame (not field!) height
set additional horizontal padding (after width)
Set frames-per-second (default is 30)
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
List available patterns for use with --pattern
Choose output test pattern, the default is 0
Show a square in the middle of the output test pattern
Show a border around the pillar/letterboxed video
Insert an SAV code in every line
Insert an EAV code in every line
Select a pixel aspect ratio, the default is to autodetect. <aspect> can be one of: square, ntsc, pal
Select a video aspect ratio, the default is to use the frame ratio. <aspect> can be one of: 4 x3, 14x9, 16x9, anamorphic
Value to use for the alpha component, range 0-255, the default is 0
Only use the --alpha value for the red colors, for all others use 0
Encode RGB values as limited [16-235] instead of full range
Choose speed for horizontal movement, the default is 0 and the range is [-3...3]
Choose speed for vertical movement, the default is 0 and the range is [-3...3]
Percentage of the frame to actually fill. the default is 100%
Test all formats, each test generates <count> frames.
Mask which tests are performed. <mask> is a bit mask with these values:
0x01: Mask iterating over pixel formats
0x02: Mask iterating over fields
0x04: Mask iterating over colorspaces
0x08: Mask iterating over transfer functions
0x10: Mask iterating over Y'CbCr encodings
0x20: Mask iterating over quantization ranges

HOTKEYS

Quit application.
Cycle forwards through all the supported pixel formats. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original pixel format. Only available with --file.
Cycle forwards through all the supported interlaced field settings. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original interlaced field setting. Only available with --file.
Cycle forwards through all the supported colorspaces. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original colorspace.
Cycle forwards through all the supported transfer functions. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original transfer function.
Cycle forwards through all the supported Y'CbCr encodings. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original Y'CbCr encoding.
Cycle forwards through all the supported HSV encodings. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original HSV encoding.
Cycle forwards through all the supported quantization ranges. With Shift pressed: cycle backwards. With Ctrl pressed: restore the original quantization range.
Open menu.
Toggle fullscreen on and off.
Toggle fullscreen on and off.
Exit fullscreen.
When in test mode (--test) pressing Space will skip to the next test. When single-stepping, continue to the next frame.
Reduce the resolution by two pixels in height. Only available when "Override resolution" is enabled.
Increase the resolution by two pixels in height. Only available when "Override resolution" is enabled.
Reduce the resolution by two pixels in width. Only available when "Override resolution" is enabled.
Increase the resolution by two pixels in width. Only available when "Override resolution" is enabled.

EXIT STATUS

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

BUGS

Report bugs to Hans Verkuil <hverkuil@xs4all.nl>

June 2016 v4l-utils