Scroll to navigation

YAVTA(1) User Commands YAVTA(1)

NAME

yavta - Yet Another V4L2 Test Application

SYNOPSIS

yavta [options] device

DESCRIPTION

Supported options: -B, --buffer-type Buffer type ("capture", "output",

"capture-mplane" or "output-mplane")

-c, --capture[=nframes] Capture frames -C, --check-overrun Verify dequeued frames for buffer overrun -d, --delay Delay (in ms) before requeuing buffers -f, --format format Set the video format

use -f help to list the supported formats

-F, --file[=name] Read/write frames from/to disk

For video capture devices, the first '#' character in the file name is expanded to the frame sequence number. The default file name is 'frame-#.bin'.

-h, --help Show this help screen -i, --input input Select the video input -I, --fill-frames Fill frames with check pattern before queuing them -l, --list-controls List available controls -n, --nbufs n Set the number of video buffers -p, --pause[=n] Pause after n frames (0 if n isn't specified) -q, --quality n MJPEG quality (0-100) -r, --get-control ctrl Get control 'ctrl' -R, --realtime=[priority] Enable realtime RR scheduling -s, --size WxH Set the frame size -t, --time-per-frame num/denom Set the time per frame (eg. 1/25 = 25 fps) -u, --userptr Use the user pointers streaming method -w, --set-control 'ctrl value' Set control 'ctrl' to 'value'

Write portions of buffer before data_offset
Buffer size in bytes
Enumerate formats
Enumerate inputs
Use a numeric file descriptor insted of a device
Set the format field order
Valid values for field are none, top, bottom, interlaced, seq-tb, seq-bt, alternate, interlaced-tb and interlaced-bt.
Log device status
Don't query capabilities on open
User pointer buffer offset from page start
Color components are premultiplied by alpha value
Queue buffers after streamon, not before
Requeue the last buffers before streamoff
Reset all available controls to their default value
Set timestamp source on output buffers [eof, soe]
Skip the first n frames
Sleep forever after configuring the device
Line stride in bytes
April 2022 yavta 0.0+git20220328.c7b5b75