YAVTA(1)

πŸ“¦
version 0.0+git20220328.c7b5b75 Β· 2 versions
, in debian bookworm

πŸ’– NAME πŸ’–

yavta β€” Yet Another V4L2 Test Application. this is the YAVTA(1) manual page from the User Commands section, and yes bestie, it's exactly what it sounds like: a whole test app for V4L2. no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

yavta [options] device

✨ DESCRIPTION ✨

okay so yavta is literally Yet Another V4L2 Test Application. you hand it a device plus some options, and it does its V4L2 thing. iconic behavior, honestly.

Supported options, bestie:

  • -B, --buffer-type β€” Buffer type. it can be "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'.
  • --buffer-prefix β€” Write portions of buffer before data_offset.
  • --buffer-size β€” Buffer size in bytes.
  • --enum-formats β€” Enumerate formats.
  • --enum-inputs β€” Enumerate inputs.
  • --fd β€” Use a numeric file descriptor instead of a device.
  • --field field β€” 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-status β€” Log device status.
  • --no-query β€” Don't query capabilities on open.
  • --offset β€” User pointer buffer offset from page start.
  • --premultiplied β€” Color components are premultiplied by alpha value.
  • --queue-late β€” Queue buffers after streamon, not before.
  • --requeue-last β€” Requeue the last buffers before streamoff.
  • --reset-controls β€” Reset all available controls to their default value.
  • --timestamp-source β€” Set timestamp source on output buffers [eof, soe].
  • --skip n β€” Skip the first n frames.
  • --sleep-forever β€” Sleep forever after configuring the device.
  • --stride value β€” Line stride in bytes.

that's the whole vibe, bestie. this was yavta source/version 0.0+git20220328.c7b5b75, from April 2022, and the manual page is YAVTA(1). periodt. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from