[V4L2_Utils]4,v4l-utils之v4l2-ctl

NAME

v4l2-ctl - An application to control video4linux drivers

SYNOPSIS

v4l2-ctl [-h] [-d <dev>] [many other options]

DESCRIPTION

The v4l2-ctl tool is used to control video4linux devices, either video, vbi, radio or swradio, both input and output. It is able to control almost any aspect of such devices covering the full V4L2 API.

  • v4l2-ctl工具用于控制输入和输出的video4linux设备,包括视频,vbi,广播或swradio。 它能够控制涵盖完整V4L2 API的此类设备的几乎所有方面。

OPTIONS

-d, --device=<dev> Use device as the V4L2 device. If is a number, then /dev/video<dev> is used.

  • 使用设备<dev>作为V4L2设备。 如果是数字,则使用/ dev / video <dev>。

-v, --verbose Turn on verbose reporting.

  • 打开详细报告。

-w, --wrapper Use the libv4l2 wrapper library for all V4L2 device accesses. By default v4l2-ctl will directly access the V4L2 device, but with this option all access will go via this wrapper library.

  • 将libv4l2包装器库用于所有V4L2设备访问。 默认情况下,v4l2-ctl将直接访问V4L2设备,但是使用此选项,所有访问将通过此包装器库进行。

-h, --help

  • 打印帮助信息

–help-io Prints the help message for all options that get/set/list inputs and outputs, both video and audio.

  • 打印获取/设置/列出输入和输出(包括视频和音频)的所有选项的帮助消息。

–help-misc
Prints the help message for miscellaneous options.

  • 打印帮助消息的其他选项。

–help-overlay
Prints the help message for all options that get/set/list overlay and framebuffer formats.

  • 打印获取/设置/列出覆盖和帧缓冲格式的所有选项的帮助消息。

–help-sdr
Prints the help message for all options that get/set/list software defined radio formats.

  • 打印获取/设置/列出软件定义的无线电格式的所有选项的帮助消息。

–help-selection
Prints the help message for all options that deal with selections (cropping and composing).

  • 打印有关选择的所有选项(裁剪和排版)的帮助消息。

–help-stds
Prints the help message for all options that deal with SDTV standards and Digital Video timings.

  • 打印有关SDTV标准和数字视频时序的所有选项的帮助消息。

–help-streaming
Prints the help message for all options that deal with streaming.

  • 打印有关流处理的所有选项的帮助消息。

–help-tuner
Prints the help message for all options that deal with tuners and modulators.

  • 打印有关调谐器和调制器的所有选项的帮助消息。

–help-vbi
Prints the help message for all options that get/set/list VBI formats.

打印获取/设置/列出VBI格式的所有选项的帮助消息。

–help-vidcap
Prints the help message for all options that get/set/list video capture formats.

  • 打印获取/设置/列出视频捕获格式的所有选项的帮助消息。

–help-vidout
Prints the help message for all options that get/set/list video output formats.

  • 打印获取/设置/列出视频输出格式的所有选项的帮助消息。

–help-edid
Prints the help message for all options that get/set EDIDs.

  • 打印获取/设置EDID的所有选项的帮助消息。

–help-all
Prints the help message for all options.

  • 打印所有选项的帮助消息。

–all Display all information available.

  • 显示所有可用信息。

-C, --get-ctrl=<ctrl>[,<ctrl>…]
Get the value of the controls [VIDIOC_G_EXT_CTRLS].

  • 获取控件的值[VIDIOC_G_EXT_CTRLS]。

-c, --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>…]
Set the value of the controls [VIDIOC_S_EXT_CTRLS].

  • 设置控件的值[VIDIOC_S_EXT_CTRLS]。

-D, --info
Show driver info [VIDIOC_QUERYCAP].

  • 显示驱动程序信息[VIDIOC_QUERYCAP]。

-e, --out-device=<dev>
Use device <dev> for output streams instead of the default device as set with --device. If <dev> starts with a digit, then /dev/video<dev> is used.

  • 将设备<dev>用于输出流,而不是使用–device设置的默认设备。如果\ <dev >以数字开头,则使用/ dev / video \ <dev >。

-k, --concise
Be more concise if possible.

  • 如果可能,请更简洁。

-l, --list-ctrls
Display all controls and their values [VIDIOC_QUERYCTRL].

  • 显示所有控件及其值[VIDIOC_QUERYCTRL]。

-L, --list-ctrls-menus
Display all controls and their menus [VIDIOC_QUERYMENU].

  • 显示所有控件及其菜单[VIDIOC_QUERYMENU]。

-r, --subset=<ctrl>[,<offset>,<size>]+
The subset of the N-dimensional array to get/set for control <ctrl>, for every dimension an (<offset>, <size>) tuple is given.

  • 对于每个维,为控件<ctrl>获取/设置的N维数组的子集,给出一个(\ <offset >,\ <size >)元组。

–list-devices
List all v4l devices.

  • 列出所有v4l设备。

–log-status
Log the board status in the kernel log [VIDIOC_LOG_STATUS].

  • 在内核日志[VIDIOC_LOG_STATUS]中记录板的状态。

–get-priority
Query the current access priority [VIDIOC_G_PRIORITY].

  • 查询当前访问优先级[VIDIOC_G_PRIORITY]。

–set-priority=
Set the new access priority [VIDIOC_S_PRIORITY]. <prio> is 1 (background), 2 (interactive) or 3 (record).

  • 设置新的访问优先级[VIDIOC_S_PRIORITY]。 <prio>是1(背景),2(交互式)或3(记录)。

–silent
Only set the result code, do not print any messages.

  • 仅设置结果代码,不打印任何消息。

–sleep=
Sleep , call QUERYCAP and close the file handle.

  • 休眠,调用QUERYCAP并关闭文件句柄。

EXIT STATUS

On success, it returns 0. Otherwise, it will return the error code.

BUGS

This manual page is a work in progress.

Bug reports or questions about this utility should be sent to the linux-media@vger.kernel.org mailinglist.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值