[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 [email protected] mailinglist.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章