Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

588 lines
33 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. General/Common options:
  2. --all display all information available
  3. -C, --get-ctrl <ctrl>[,<ctrl>...]
  4. get the value of the controls [VIDIOC_G_EXT_CTRLS]
  5. -c, --set-ctrl <ctrl>=<val>[,<ctrl>=<val>...]
  6. set the value of the controls [VIDIOC_S_EXT_CTRLS]
  7. -D, --info show driver info [VIDIOC_QUERYCAP]
  8. -d, --device <dev> use device <dev> instead of /dev/video0
  9. if <dev> starts with a digit, then /dev/video<dev> is used
  10. -e, --out-device <dev> use device <dev> for output streams instead of the
  11. default device as set with --device
  12. if <dev> starts with a digit, then /dev/video<dev> is used
  13. -h, --help display this help message
  14. --help-all all options
  15. --help-io input/output options
  16. --help-meta metadata format options
  17. --help-misc miscellaneous options
  18. --help-overlay overlay format options
  19. --help-sdr SDR format options
  20. --help-selection crop/selection options
  21. --help-stds standards and other video timings options
  22. --help-streaming streaming options
  23. --help-subdev sub-device options
  24. --help-tuner tuner/modulator options
  25. --help-vbi VBI format options
  26. --help-vidcap video capture format options
  27. --help-vidout vidout output format options
  28. --help-edid edid handling options
  29. -k, --concise be more concise if possible.
  30. -l, --list-ctrls display all controls and their values [VIDIOC_QUERYCTRL]
  31. -L, --list-ctrls-menus
  32. display all controls and their menus [VIDIOC_QUERYMENU]
  33. -r, --subset <ctrl>[,<offset>,<size>]+
  34. the subset of the N-dimensional array to get/set for control <ctrl>,
  35. for every dimension an (<offset>, <size>) tuple is given.
  36. -w, --wrapper use the libv4l2 wrapper library.
  37. --list-devices list all v4l devices
  38. --log-status log the board status in the kernel log [VIDIOC_LOG_STATUS]
  39. --get-priority query the current access priority [VIDIOC_G_PRIORITY]
  40. --set-priority <prio>
  41. set the new access priority [VIDIOC_S_PRIORITY]
  42. <prio> is 1 (background), 2 (interactive) or 3 (record)
  43. --silent only set the result code, do not print any messages
  44. --sleep <secs> sleep <secs>, call QUERYCAP and close the file handle
  45. --verbose turn on verbose ioctl status reporting
  46. Tuner/Modulator options:
  47. -F, --get-freq query the frequency [VIDIOC_G_FREQUENCY]
  48. -f, --set-freq <freq>
  49. set the frequency to <freq> MHz [VIDIOC_S_FREQUENCY]
  50. -T, --get-tuner query the tuner settings [VIDIOC_G_TUNER]
  51. -t, --set-tuner <mode>
  52. set the audio mode of the tuner [VIDIOC_S_TUNER]
  53. Possible values: mono, stereo, lang2, lang1, bilingual
  54. --tuner-index <idx> Use idx as tuner idx for tuner/modulator commands
  55. --list-freq-bands display all frequency bands for the tuner/modulator
  56. [VIDIOC_ENUM_FREQ_BANDS]
  57. --get-modulator query the modulator settings [VIDIOC_G_MODULATOR]
  58. --set-modulator <txsubchans>
  59. set the sub-carrier modulation [VIDIOC_S_MODULATOR]
  60. <txsubchans> is one of:
  61. mono: Modulate as mono
  62. mono-rds: Modulate as mono with RDS (radio only)
  63. stereo: Modulate as stereo
  64. stereo-rds: Modulate as stereo with RDS (radio only)
  65. bilingual: Modulate as bilingual
  66. mono-sap: Modulate as mono with Second Audio Program
  67. stereo-sap: Modulate as stereo with Second Audio Program
  68. --freq-seek dir=<0/1>,wrap=<0/1>,spacing=<hz>,low=<freq>,high=<freq>
  69. perform a hardware frequency seek [VIDIOC_S_HW_FREQ_SEEK]
  70. dir is 0 (seek downward) or 1 (seek upward)
  71. wrap is 0 (do not wrap around) or 1 (wrap around)
  72. spacing sets the seek resolution (use 0 for default)
  73. low and high set the low and high seek frequency range in MHz
  74. Input/Output options:
  75. -I, --get-input query the video input [VIDIOC_G_INPUT]
  76. -i, --set-input <num>
  77. set the video input to <num> [VIDIOC_S_INPUT]
  78. -N, --list-outputs display video outputs [VIDIOC_ENUMOUTPUT]
  79. -n, --list-inputs display video inputs [VIDIOC_ENUMINPUT]
  80. -O, --get-output query the video output [VIDIOC_G_OUTPUT]
  81. -o, --set-output <num>
  82. set the video output to <num> [VIDIOC_S_OUTPUT]
  83. --set-audio-output <num>
  84. set the audio output to <num> [VIDIOC_S_AUDOUT]
  85. --get-audio-input query the audio input [VIDIOC_G_AUDIO]
  86. --set-audio-input <num>
  87. set the audio input to <num> [VIDIOC_S_AUDIO]
  88. --get-audio-output query the audio output [VIDIOC_G_AUDOUT]
  89. --set-audio-output <num>
  90. set the audio output to <num> [VIDIOC_S_AUDOUT]
  91. --list-audio-outputs
  92. display audio outputs [VIDIOC_ENUMAUDOUT]
  93. --list-audio-inputs
  94. display audio inputs [VIDIOC_ENUMAUDIO]
  95. Standards/Timings options:
  96. --list-standards display supported video standards [VIDIOC_ENUMSTD]
  97. -S, --get-standard
  98. query the video standard [VIDIOC_G_STD]
  99. -s, --set-standard <num>
  100. set the video standard to <num> [VIDIOC_S_STD]
  101. <num> a numerical v4l2_std value, or one of:
  102. pal or pal-X (X = B/G/H/N/Nc/I/D/K/M/60) (V4L2_STD_PAL)
  103. ntsc or ntsc-X (X = M/J/K) (V4L2_STD_NTSC)
  104. secam or secam-X (X = B/G/H/D/K/L/Lc) (V4L2_STD_SECAM)
  105. --get-detected-standard
  106. display detected input video standard [VIDIOC_QUERYSTD]
  107. --list-dv-timings [<pad>]
  108. list supp. standard dv timings [VIDIOC_ENUM_DV_TIMINGS]
  109. for subdevs the pad can be specified (default is 0)
  110. --set-dv-bt-timings
  111. query: use the output of VIDIOC_QUERY_DV_TIMINGS
  112. index=<index>: use the index as provided by --list-dv-timings
  113. or specify timings using cvt/gtf options as follows:
  114. cvt/gtf,width=<width>,height=<height>,fps=<frames per sec>
  115. interlaced=<0/1>,reduced-blanking=<0/1/2>,reduced-fps=<0/1>
  116. The value of reduced-blanking, if greater than 0, indicates
  117. that reduced blanking is to be used and the value indicate the
  118. version. For gtf, there is no version 2 for reduced blanking, and
  119. the value 1 or 2 will give same results.
  120. reduced-fps = 1, slows down pixel clock by factor of 1000 / 1001, allowing
  121. to support NTSC frame rates like 29.97 or 59.94.
  122. Reduced fps flag takes effect only with reduced blanking version 2 and,
  123. when refresh rate is an integer multiple of 6, say, fps = 24,30,60 etc.
  124. or update all or part of the current timings fields:
  125. width=<width>,height=<height>,interlaced=<0/1>,
  126. polarities=<polarities mask>,pixelclock=<pixelclock Hz>,
  127. hfp=<horizontal front porch>,hs=<horizontal sync>,
  128. hbp=<horizontal back porch>,vfp=<vertical front porch>,
  129. vs=<vertical sync>,vbp=<vertical back porch>,
  130. il_vfp=<vertical front porch for bottom field>,
  131. il_vs=<vertical sync for bottom field>,
  132. il_vbp=<vertical back porch for bottom field>.
  133. clear: start with zeroed timings instead of the current timings.
  134. set the digital video timings according to the BT 656/1120
  135. standard [VIDIOC_S_DV_TIMINGS]
  136. --get-dv-timings get the digital video timings in use [VIDIOC_G_DV_TIMINGS]
  137. --query-dv-timings query the detected dv timings [VIDIOC_QUERY_DV_TIMINGS]
  138. --get-dv-timings-cap [<pad>]
  139. get the dv timings capabilities [VIDIOC_DV_TIMINGS_CAP]
  140. for subdevs the pad can be specified (default is 0)
  141. Video Capture Formats options:
  142. --list-formats display supported video formats [VIDIOC_ENUM_FMT]
  143. --list-formats-ext display supported video formats including frame sizes
  144. and intervals
  145. --list-framesizes <f>
  146. list supported framesizes for pixelformat <f>
  147. [VIDIOC_ENUM_FRAMESIZES]
  148. pixelformat is the fourcc value as a string
  149. --list-frameintervals width=<w>,height=<h>,pixelformat=<f>
  150. list supported frame intervals for pixelformat <f> and
  151. the given width and height [VIDIOC_ENUM_FRAMEINTERVALS]
  152. pixelformat is the fourcc value as a string
  153. --list-fields list supported fields for the current format
  154. -V, --get-fmt-video
  155. query the video capture format [VIDIOC_G_FMT]
  156. -v, --set-fmt-video
  157. --try-fmt-video width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,
  158. xfer=<xf>,ycbcr=<y>,hsv=<hsv>,quantization=<q>,
  159. premul-alpha,bytesperline=<bpl>
  160. set/try the video capture format [VIDIOC_S/TRY_FMT]
  161. pixelformat is either the format index as reported by
  162. --list-formats, or the fourcc value as a string.
  163. The bytesperline option can be used multiple times, once for each plane.
  164. premul-alpha sets V4L2_PIX_FMT_FLAG_PREMUL_ALPHA.
  165. <f> can be one of the following field layouts:
  166. any, none, top, bottom, interlaced, seq_tb, seq_bt,
  167. alternate, interlaced_tb, interlaced_bt
  168. <c> can be one of the following colorspaces:
  169. smpte170m, smpte240m, rec709, 470m, 470bg, jpeg, srgb,
  170. oprgb, bt2020, dcip3
  171. <xf> can be one of the following transfer functions:
  172. default, 709, srgb, oprgb, smpte240m, smpte2084, dcip3, none
  173. <y> can be one of the following Y'CbCr encodings:
  174. default, 601, 709, xv601, xv709, bt2020, bt2020c, smpte240m
  175. <hsv> can be one of the following HSV encodings:
  176. default, 180, 256
  177. <q> can be one of the following quantization methods:
  178. default, full-range, lim-range
  179. Video Output Formats options:
  180. --list-formats-out display supported video output formats [VIDIOC_ENUM_FMT]
  181. --list-formats-out-ext
  182. display supported video output formats including frame sizes
  183. and intervals
  184. --list-fields-out list supported fields for the current output format
  185. -X, --get-fmt-video-out
  186. query the video output format [VIDIOC_G_FMT]
  187. -x, --set-fmt-video-out
  188. --try-fmt-video-out width=<w>,height=<h>,pixelformat=<pf>,field=<f>,colorspace=<c>,
  189. xfer=<xf>,ycbcr=<y>,hsv=<hsv>,quantization=<q>,
  190. premul-alpha,bytesperline=<bpl>
  191. set/try the video output format [VIDIOC_S/TRY_FMT]
  192. pixelformat is either the format index as reported by
  193. --list-formats-out, or the fourcc value as a string.
  194. premul-alpha sets V4L2_PIX_FMT_FLAG_PREMUL_ALPHA.
  195. The bytesperline option can be used multiple times, once for each plane.
  196. <f> can be one of the following field layouts:
  197. any, none, top, bottom, interlaced, seq_tb, seq_bt,
  198. alternate, interlaced_tb, interlaced_bt
  199. <c> can be one of the following colorspaces:
  200. smpte170m, smpte240m, rec709, 470m, 470bg, jpeg, srgb,
  201. oprgb, bt2020, dcip3
  202. <xf> can be one of the following transfer functions:
  203. default, 709, srgb, oprgb, smpte240m, smpte2084, dcip3, none
  204. <y> can be one of the following Y'CbCr encodings:
  205. default, 601, 709, xv601, xv709, bt2020, bt2020c, smpte240m
  206. <hsv> can be one of the following HSV encodings:
  207. default, 180, 256
  208. <q> can be one of the following quantization methods:
  209. default, full-range, lim-range
  210. Video Overlay options:
  211. --list-formats-overlay
  212. display supported overlay formats [VIDIOC_ENUM_FMT]
  213. --find-fb find the fb device corresponding with the overlay
  214. --overlay <on> turn overlay on (1) or off (0) (VIDIOC_OVERLAY)
  215. --get-fmt-overlay query the video or video output overlay format [VIDIOC_G_FMT]
  216. --set-fmt-overlay
  217. --try-fmt-overlay chromakey=<key>,global_alpha=<alpha>,
  218. top=<t>,left=<l>,width=<w>,height=<h>,field=<f>
  219. set/try the video or video output overlay format [VIDIOC_TRY/S_FMT]
  220. <f> can be one of:
  221. any, none, top, bottom, interlaced, seq_tb, seq_bt,
  222. alternate, interlaced_tb, interlaced_bt
  223. If the width or height changed then the old clip list and bitmap will
  224. be invalidated.
  225. --clear-clips clear any old clips, to be used in combination with --try/set-fmt-overlay
  226. --clear-bitmap clear any old bitmap, to be used in combination with --try/set-fmt-overlay
  227. --add-clip top=<t>,left=<l>,width=<w>,height=<h>
  228. Add an entry to the clip list. May be used multiple times.
  229. This clip list will be passed to --try/set-fmt-overlay
  230. --add-bitmap top=<t>,left=<l>,width=<w>,height=<h>
  231. Set the bits in the given rectangle in the bitmap to 1. May be
  232. used multiple times.
  233. The bitmap will be passed to --try/set-fmt-overlay
  234. --get-fbuf query the overlay framebuffer data [VIDIOC_G_FBUF]
  235. --set-fbuf chromakey=<b>,src_chromakey=<b>,global_alpha=<b>,local_alpha=<b>,local_inv_alpha=<b>,fb=<fb>
  236. set the overlay framebuffer [VIDIOC_S_FBUF]
  237. <b> is 0 or 1
  238. <fb> is the framebuffer device (/dev/fbX)
  239. if <fb> starts with a digit, then /dev/fb<fb> is used
  240. VBI Formats options:
  241. --get-sliced-vbi-cap
  242. query the sliced VBI capture capabilities
  243. [VIDIOC_G_SLICED_VBI_CAP]
  244. --get-sliced-vbi-out-cap
  245. query the sliced VBI output capabilities
  246. [VIDIOC_G_SLICED_VBI_CAP]
  247. -B, --get-fmt-sliced-vbi
  248. query the sliced VBI capture format [VIDIOC_G_FMT]
  249. --get-fmt-sliced-vbi-out
  250. query the sliced VBI output format [VIDIOC_G_FMT]
  251. -b, --set-fmt-sliced-vbi
  252. --try-fmt-sliced-vbi
  253. --set-fmt-sliced-vbi-out
  254. --try-fmt-sliced-vbi-out <mode>
  255. set/try the sliced VBI capture/output format to <mode>
  256. [VIDIOC_S/TRY_FMT], <mode> is a comma separated list of:
  257. off: turn off sliced VBI (cannot be combined with
  258. other modes)
  259. teletext: teletext (PAL/SECAM)
  260. cc: closed caption (NTSC)
  261. wss: widescreen signal (PAL/SECAM)
  262. vps: VPS (PAL/SECAM)
  263. --get-fmt-vbi query the VBI capture format [VIDIOC_G_FMT]
  264. --get-fmt-vbi-out query the VBI output format [VIDIOC_G_FMT]
  265. --set-fmt-vbi
  266. --try-fmt-vbi
  267. --set-fmt-vbi-out
  268. --try-fmt-vbi-out samplingrate=<r>,offset=<o>,samplesperline=<spl>,
  269. start0=<s0>,count0=<c0>,start1=<s1>,count1=<c1>
  270. set/try the raw VBI capture/output format [VIDIOC_S/TRY_FMT]
  271. samplingrate: samples per second
  272. offset: horizontal offset in samples
  273. samplesperline: samples per line
  274. start0: start line number of the first field
  275. count0: number of lines in the first field
  276. start1: start line number of the second field
  277. count1: number of lines in the second field
  278. SDR Formats options:
  279. --list-formats-sdr display supported SDR capture formats [VIDIOC_ENUM_FMT]
  280. --get-fmt-sdr query the SDR capture format [VIDIOC_G_FMT]
  281. --set-fmt-sdr <f> set the SDR capture format [VIDIOC_S_FMT]
  282. parameter is either the format index as reported by
  283. --list-formats-sdr-cap, or the fourcc value as a string
  284. --try-fmt-sdr <f> try the SDR capture format [VIDIOC_TRY_FMT]
  285. parameter is either the format index as reported by
  286. --list-formats-sdr-cap, or the fourcc value as a string
  287. --list-formats-sdr-out
  288. display supported SDR output formats [VIDIOC_ENUM_FMT]
  289. --get-fmt-sdr-out query the SDR output format [VIDIOC_G_FMT]
  290. --set-fmt-sdr-out <f>
  291. set the SDR output format [VIDIOC_S_FMT]
  292. parameter is either the format index as reported by
  293. --list-formats-sdr-out, or the fourcc value as a string
  294. --try-fmt-sdr-out <f>
  295. try the SDR output format [VIDIOC_TRY_FMT]
  296. parameter is either the format index as reported by
  297. --list-formats-sdr-out, or the fourcc value as a string
  298. Metadata Formats options:
  299. --list-formats-meta display supported metadata capture formats [VIDIOC_ENUM_FMT]
  300. --get-fmt-meta query the metadata capture format [VIDIOC_G_FMT]
  301. --set-fmt-meta <f> set the metadata capture format [VIDIOC_S_FMT]
  302. parameter is either the format index as reported by
  303. --list-formats-meta-cap, or the fourcc value as a string
  304. --try-fmt-meta <f> try the metadata capture format [VIDIOC_TRY_FMT]
  305. parameter is either the format index as reported by
  306. --list-formats-meta-cap, or the fourcc value as a string
  307. Selection/Cropping options:
  308. --get-cropcap query the crop capabilities [VIDIOC_CROPCAP]
  309. --get-crop query the video capture crop window [VIDIOC_G_CROP]
  310. --set-crop top=<x>,left=<y>,width=<w>,height=<h>
  311. set the video capture crop window [VIDIOC_S_CROP]
  312. --get-cropcap-output
  313. query crop capabilities for video output [VIDIOC_CROPCAP]
  314. --get-crop-output query the video output crop window [VIDIOC_G_CROP]
  315. --set-crop-output top=<x>,left=<y>,width=<w>,height=<h>
  316. set the video output crop window [VIDIOC_S_CROP]
  317. --get-cropcap-overlay
  318. query crop capabilities for video overlay [VIDIOC_CROPCAP]
  319. --get-crop-overlay query the video overlay crop window [VIDIOC_G_CROP]
  320. --set-crop-overlay top=<x>,left=<y>,width=<w>,height=<h>
  321. set the video overlay crop window [VIDIOC_S_CROP]
  322. --get-cropcap-output-overlay
  323. query the crop capabilities for video output overlays
  324. [VIDIOC_CROPCAP]
  325. --get-crop-output-overlay
  326. query the video output overlay crop window [VIDIOC_G_CROP]
  327. --set-crop-output-overlay top=<x>,left=<y>,width=<w>,height=<h>
  328. set the video output overlay crop window [VIDIOC_S_CROP]
  329. --get-selection target=<target>
  330. query the video capture selection rectangle [VIDIOC_G_SELECTION]
  331. See --set-selection command for the valid <target> values.
  332. --set-selection target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>
  333. set the video capture selection rectangle [VIDIOC_S_SELECTION]
  334. target=crop|crop_bounds|crop_default|compose|compose_bounds|
  335. compose_default|compose_padded|native_size
  336. flags=le|ge|keep-config
  337. --get-selection-output target=<target>
  338. query the video output selection rectangle [VIDIOC_G_SELECTION]
  339. See --set-selection command for the valid <target> values.
  340. --set-selection-output target=<target>,flags=<flags>,top=<x>,left=<y>,width=<w>,height=<h>
  341. set the video output selection rectangle [VIDIOC_S_SELECTION]
  342. See --set-selection command for the arguments.
  343. Miscellaneous options:
  344. --wait-for-event <event>
  345. wait for an event [VIDIOC_DQEVENT]
  346. <event> is the event number or one of:
  347. eos, vsync, ctrl=<id>, frame_sync, source_change=<pad>,
  348. motion_det
  349. where <id> is the name of the control
  350. and where <pad> is the index of the pad or input
  351. --poll-for-event <event>
  352. poll for an event [VIDIOC_DQEVENT]
  353. see --wait-for-event for possible events
  354. -P, --get-parm display video parameters [VIDIOC_G_PARM]
  355. -p, --set-parm <fps>
  356. set video framerate in <fps> [VIDIOC_S_PARM]
  357. --get-output-parm display output video parameters [VIDIOC_G_PARM]
  358. --set-output-parm <fps>
  359. set output video framerate in <fps> [VIDIOC_S_PARM]
  360. --get-jpeg-comp query the JPEG compression [VIDIOC_G_JPEGCOMP]
  361. --set-jpeg-comp quality=<q>,markers=<markers>,comment=<c>,app<n>=<a>
  362. set the JPEG compression [VIDIOC_S_JPEGCOMP]
  363. <n> is the app segment: 0-9/a-f, <a> is the actual string.
  364. <markers> is a colon separated list of:
  365. dht: Define Huffman Tables
  366. dqt: Define Quantization Tables
  367. dri: Define Restart Interval
  368. --encoder-cmd cmd=<cmd>,flags=<flags>
  369. Send a command to the encoder [VIDIOC_ENCODER_CMD]
  370. cmd=start|stop|pause|resume
  371. flags=stop_at_gop_end
  372. --try-encoder-cmd cmd=<cmd>,flags=<flags>
  373. Try an encoder command [VIDIOC_TRY_ENCODER_CMD]
  374. See --encoder-cmd for the arguments.
  375. --decoder-cmd cmd=<cmd>,flags=<flags>,stop_pts=<pts>,start_speed=<speed>,
  376. start_format=<none|gop>
  377. Send a command to the decoder [VIDIOC_DECODER_CMD]
  378. cmd=start|stop|pause|resume
  379. flags=start_mute_audio|pause_to_black|stop_to_black|
  380. stop_immediately
  381. --try-decoder-cmd cmd=<cmd>,flags=<flags>
  382. Try a decoder command [VIDIOC_TRY_DECODER_CMD]
  383. See --decoder-cmd for the arguments.
  384. Video Streaming options:
  385. --stream-count <count>
  386. stream <count> buffers. The default is to keep streaming
  387. forever. This count does not include the number of initial
  388. skipped buffers as is passed by --stream-skip.
  389. --stream-skip <count>
  390. skip the first <count> buffers. The default is 0.
  391. --stream-sleep <count>
  392. sleep for 1 second every <count> buffers. If <count> is 0,
  393. then sleep forever right after streaming starts. The default
  394. is -1 (never sleep).
  395. --stream-to <file> stream to this file. The default is to discard the
  396. data. If <file> is '-', then the data is written to stdout
  397. and the --silent option is turned on automatically.
  398. --stream-to-hdr <file> stream to this file. Same as --stream-to, but each
  399. frame is prefixed by a header. Use for compressed data.
  400. --stream-to-host <hostname[:port]>
  401. stream to this host. The default port is 8362.
  402. --stream-lossless always use lossless video compression.
  403. --stream-poll use non-blocking mode and select() to stream.
  404. --stream-mmap <count>
  405. capture video using mmap() [VIDIOC_(D)QBUF]
  406. count: the number of buffers to allocate. The default is 3.
  407. --stream-user <count>
  408. capture video using user pointers [VIDIOC_(D)QBUF]
  409. count: the number of buffers to allocate. The default is 3.
  410. --stream-dmabuf capture video using dmabuf [VIDIOC_(D)QBUF]
  411. Requires a corresponding --stream-out-mmap option.
  412. --stream-from <file>
  413. stream from this file. The default is to generate a pattern.
  414. If <file> is '-', then the data is read from stdin.
  415. --stream-from-hdr <file> stream from this file. Same as --stream-from, but each
  416. frame is prefixed by a header. Use for compressed data.
  417. --stream-from-host <hostname[:port]>
  418. stream from this host. The default port is 8362.
  419. --stream-no-query Do not query and set the DV timings or standard before streaming.
  420. --stream-loop loop when the end of the file we are streaming from is reached.
  421. The default is to stop.
  422. --stream-out-pattern <count>
  423. choose output test pattern. The default is 0.
  424. --stream-out-square
  425. show a square in the middle of the output test pattern.
  426. --stream-out-border
  427. show a border around the pillar/letterboxed video.
  428. --stream-out-sav insert an SAV code in every line.
  429. --stream-out-eav insert an EAV code in every line.
  430. --stream-out-pixel-aspect <aspect
  431. select a pixel aspect ratio. The default is to autodetect.
  432. <aspect> can be one of: square, ntsc, pal
  433. --stream-out-video-aspect <aspect
  434. select a video aspect ratio. The default is to use the frame ratio.
  435. <aspect> can be one of: 4x3, 14x9, 16x9, anamorphic
  436. --stream-out-alpha <alpha-value>
  437. value to use for the alpha component, range 0-255. The default is 0.
  438. --stream-out-alpha-red-only
  439. only use the --stream-out-alpha value for the red colors,
  440. for all others use 0.
  441. --stream-out-rgb-lim-range
  442. Encode RGB values as limited [16-235] instead of full range.
  443. --stream-out-hor-speed <speed>
  444. choose speed for horizontal movement. The default is 0,
  445. and the range is [-3...3].
  446. --stream-out-vert-speed <speed>
  447. choose speed for vertical movement. The default is 0,
  448. and the range is [-3...3].
  449. --stream-out-perc-fill <percentage>
  450. percentage of the frame to actually fill. The default is 100%.
  451. --stream-out-mmap <count>
  452. output video using mmap() [VIDIOC_(D)QBUF]
  453. count: the number of buffers to allocate. The default is 4.
  454. --stream-out-user <count>
  455. output video using user pointers [VIDIOC_(D)QBUF]
  456. count: the number of buffers to allocate. The default is 4.
  457. --stream-out-dmabuf
  458. output video using dmabuf [VIDIOC_(D)QBUF]
  459. Requires a corresponding --stream-mmap option.
  460. --list-patterns list available patterns for use with --stream-pattern.
  461. --list-buffers list all video buffers [VIDIOC_QUERYBUF]
  462. --list-buffers-out list all video output buffers [VIDIOC_QUERYBUF]
  463. --list-buffers-vbi list all VBI buffers [VIDIOC_QUERYBUF]
  464. --list-buffers-vbi-out
  465. list all VBI output buffers [VIDIOC_QUERYBUF]
  466. --list-buffers-sliced-vbi
  467. list all sliced VBI buffers [VIDIOC_QUERYBUF]
  468. --list-buffers-sliced-vbi-out
  469. list all sliced VBI output buffers [VIDIOC_QUERYBUF]
  470. --list-buffers-sdr
  471. list all SDR RX buffers [VIDIOC_QUERYBUF]
  472. --list-buffers-sdr-out
  473. list all SDR TX buffers [VIDIOC_QUERYBUF]
  474. --list-buffers-meta
  475. list all Meta RX buffers [VIDIOC_QUERYBUF]
  476. EDID options:
  477. --set-edid pad=<pad>[,type=<type>|file=<file>][,format=<fmt>][modifiers]
  478. <pad> is the input or output index for which to set the EDID.
  479. <type> can be 'hdmi', 'hdmi-4k-170mhz', 'hdmi-4k-300mhz', 'hdmi-4k-600mhz',
  480. 'dvid' or 'vga'. A predefined EDID suitable for that connector type will be
  481. set. It has a 1920x1080p60 native resolution for the non-4k variants and a
  482. 3840x2160 resolution for the 4k variants (4kp30 YCbCr 4:2:0 for 170mhz, 4kp30
  483. for 300 mhz and 4kp60 for 600 mhz).
  484. If <file> is '-', then the data is read from stdin, otherwise it is
  485. read from the given file. The file format must be in hex as in get-edid.
  486. The 'type' or 'file' arguments are mutually exclusive. One of the two
  487. must be specified.
  488. <fmt> is one of:
  489. hex: hex numbers in ascii text (default)
  490. raw: raw binary EDID content
  491. [modifiers] is a comma-separate list of EDID modifiers:
  492. CTA-861 Header modifiers:
  493. underscan: toggle the underscan bit.
  494. audio: toggle the audio bit.
  495. ycbcr444: toggle the YCbCr 4:4:4 bit.
  496. ycbcr422: toggle the YCbCr 4:2:2 bit.
  497. Speaker Allocation Data Block modifiers:
  498. fl-fr: Front Left/Right.
  499. lfe: Low Frequency Effects.
  500. fc: Front Center.
  501. bl-br: Back Left/Right.
  502. bc: Back Center.
  503. rlc-frc: Front Left/Right of Center.
  504. rlc-rrc: Rear Left/Right of Center.
  505. flw-frw: Front Left/Right Wide.
  506. tpfl-tpfr: Top Front Left/Right.
  507. tpc: Top Center.
  508. tpfc: Top Front Center.
  509. ls-rs: Left/Right Surround.
  510. lfe2: Low Frequency Effects 2.
  511. tpbc: Top Back Center.
  512. sil-sir: Side Left/Right
  513. tpsil-tpsir: Top Side Left/Right.
  514. tpbl-tpbr: Top Back Left/Right.
  515. btfc: Bottom Front Center.
  516. btfl-btbr: Bottom Front Left/Right.
  517. tpls-tprs: Top Left/Right Surround.
  518. HDMI Vendor-Specific Data Block modifiers:
  519. pa=<pa>: change the physical address.
  520. y444: toggle the YCbCr 4:4:4 Deep Color bit.
  521. 30-bit: toggle the 30 bits/pixel bit.
  522. 36-bit: toggle the 36 bits/pixel bit.
  523. 48-bit: toggle the 48 bits/pixel bit.
  524. graphics: toggle the Graphics Content Type bit.
  525. photo: toggle the Photo Content Type bit.
  526. cinema: toggle the Cinema Content Type bit.
  527. game: toggle the Game Content Type bit.
  528. HDMI Forum Vendor-Specific Data Block modifiers:
  529. scdc: toggle the SCDC Present bit.
  530. CTA-861 Video Capability Descriptor modifiers:
  531. qy: toggle the QY YCC Quantization Range bit.
  532. qs: toggle the QS RGB Quantization Range bit.
  533. s-pt=<0-3>: set the PT Preferred Format Over/underscan bits.
  534. s-it=<0-3>: set the IT Over/underscan bits.
  535. s-ce=<0-3>: set the CE Over/underscan bits.
  536. CTA-861 Colorimetry Data Block modifiers:
  537. xvycc-601: toggle the xvYCC 601 bit.
  538. xvycc-709: toggle the xvYCC 709 bit.
  539. sycc: toggle the sYCC 601 bit.
  540. opycc: toggle the opYCC 601 bit.
  541. oprgb: toggle the opRGB bit.
  542. bt2020-rgb: toggle the BT2020 RGB bit.
  543. bt2020-ycc: toggle the BT2020 YCC bit.
  544. bt2020-cycc: toggle the BT2020 cYCC bit.
  545. dci-p3: toggle the DCI-P3 bit.
  546. CTA-861 HDR Static Metadata Data Block modifiers:
  547. sdr: toggle the Traditional gamma SDR bit.
  548. hdr: toggle the Traditional gamma HDR bit.
  549. smpte2084: toggle the SMPTE ST 2084 bit.
  550. hlg: toggle the Hybrid Log-Gamma bit.
  551. --clear-edid <pad> clear the EDID for the input or output index <pad>.
  552. --info-edid <pad> print the current EDID's modifiers
  553. <pad> is the input or output index for which to get the EDID.
  554. --get-edid pad=<pad>,startblock=<startblock>,blocks=<blocks>,format=<fmt>,file=<file>
  555. <pad> is the input or output index for which to get the EDID.
  556. <startblock> is the first block number you want to read. Default 0.
  557. <blocks> is the number of blocks you want to read. Default is
  558. all blocks.
  559. <fmt> is one of:
  560. hex: hex numbers in ascii text (default)
  561. raw: can be piped directly into the edid-decode tool
  562. carray: c-program struct
  563. If <file> is '-' or not the 'file' argument is not supplied, then the data
  564. is written to stdout.
  565. --fix-edid-checksums
  566. If specified then any checksum errors will be fixed silently.