Here’s a list of v4l2-ctl optiions (click the spoiler button, then see the options in bold)
[spoiler]Common options:
–all display all information available
-B, --get-fmt-sliced-vbi
query the sliced VBI capture format [VIDIOC_G_FMT]
-b, --set-fmt-sliced-vbi=
set the sliced VBI capture format to [VIDIOC_S_FMT]
is a comma separated list of:
off: turn off sliced VBI (cannot be combined with other modes)
teletext: teletext (PAL/SECAM)
cc: closed caption (NTSC)
wss: widescreen signal (PAL/SECAM)
vps: VPS (PAL/SECAM)
-C, --get-ctrl=[,…]
get the value of the controls [VIDIOC_G_EXT_CTRLS]
-c, --set-ctrl==[,=…]
set the controls to the values specified [VIDIOC_S_EXT_CTRLS]
-D, --info show driver info [VIDIOC_QUERYCAP]
-d, --device= use device instead of /dev/video0
if is a single digit, then /dev/video is used
-F, --get-freq query the frequency [VIDIOC_G_FREQUENCY]
-f, --set-freq=
set the frequency to MHz [VIDIOC_S_FREQUENCY]
-h, --help display this help message
-I, --get-input query the video input [VIDIOC_G_INPUT]
-i, --set-input=
set the video input to [VIDIOC_S_INPUT]
-l, --list-ctrls display all controls and their values [VIDIOC_QUERYCTRL]
-L, --list-ctrls-menus
display all controls, their values and the menus [VIDIOC_QUERYMENU]
-N, --list-outputs display video outputs [VIDIOC_ENUMOUTPUT]
-n, --list-inputs display video inputs [VIDIOC_ENUMINPUT]
-O, --get-output query the video output [VIDIOC_G_OUTPUT]
-o, --set-output=
set the video output to [VIDIOC_S_OUTPUT]
-S, --get-standard
query the video standard [VIDIOC_G_STD]
-s, --set-standard=
set the video standard to [VIDIOC_S_STD]
can be a numerical v4l2_std value, or it can be one of:
pal-X (X = B/G/H/N/Nc/I/D/K/M/60) or just ‘pal’ (V4L2_STD_PAL)
ntsc-X (X = M/J/K) or just ‘ntsc’ (V4L2_STD_NTSC)
secam-X (X = B/G/H/D/K/L/Lc) or just ‘secam’ (V4L2_STD_SECAM)
–list-standards display supported video standards [VIDIOC_ENUMSTD]
-T, --get-tuner query the tuner settings [VIDIOC_G_TUNER]
-t, --set-tuner=
set the audio mode of the tuner [VIDIOC_S_TUNER]
Possible values: mono, stereo, lang2, lang1, bilingual
–list-formats display supported video formats [VIDIOC_ENUM_FMT]
-V, --get-fmt-video
query the video capture format [VIDIOC_G_FMT]
-v, --set-fmt-video=width=,height=
set the video capture format [VIDIOC_S_FMT]
–verbose turn on verbose ioctl error reporting.
Uncommon options:
–get-fmt-video-out
query the video output format [VIDIOC_G_FMT]
–set-fmt-video-out=width=,height=
set the video output format [VIDIOC_S_FMT]
–get-fmt-overlay
query the video overlay format [VIDIOC_G_FMT]
–get-fmt-output-overlay
query the video output overlay format [VIDIOC_G_FMT]
–set-fmt-output-overlay=chromakey=,global_alpha=
set the video output overlay format [VIDIOC_S_FMT]
–get-sliced-vbi-cap
query the sliced VBI capture capabilities [VIDIOC_G_SLICED_VBI_CAP]
–get-sliced-vbi-out-cap
query the sliced VBI output capabilities [VIDIOC_G_SLICED_VBI_CAP]
–get-fmt-sliced-vbi-out
query the sliced VBI output format [VIDIOC_G_FMT]
–set-fmt-sliced-vbi-out=
set the sliced VBI output format to [VIDIOC_S_FMT]
is a comma separated list of:
off: turn off sliced VBI (cannot be combined with other modes)
teletext: teletext (PAL/SECAM)
cc: closed caption (NTSC)
wss: widescreen signal (PAL/SECAM)
vps: VPS (PAL/SECAM)
–get-fmt-vbi query the VBI capture format [VIDIOC_G_FMT]
–get-fmt-vbi-out query the VBI output format [VIDIOC_G_FMT]
–overlay= turn overlay on (1) or off (0) (VIDIOC_OVERLAY)
–get-fbuf query the overlay framebuffer data [VIDIOC_G_FBUF]
–set-fbuf=chromakey=<0/1>,global_alpha=<0/1>,local_alpha=<0/1>,local_inv_alpha=<0/1>
set the overlay framebuffer [VIDIOC_S_FBUF]
–get-cropcap query the crop capabilities [VIDIOC_CROPCAP]
–get-crop query the video capture crop window [VIDIOC_G_CROP]
–set-crop=top=,left=,width=,height=
set the video capture crop window [VIDIOC_S_CROP]
–get-cropcap-output
query the crop capabilities for video output [VIDIOC_CROPCAP]
–get-crop-output query the video output crop window [VIDIOC_G_CROP]
–set-crop-output=top=,left=,width=,height=
set the video output crop window [VIDIOC_S_CROP]
–get-cropcap-overlay
query the crop capabilities for video overlay [VIDIOC_CROPCAP]
–get-crop-overlay query the video overlay crop window [VIDIOC_G_CROP]
–set-crop-overlay=top=,left=,width=,height=
set the video overlay crop window [VIDIOC_S_CROP]
–get-cropcap-output-overlay
query the crop capabilities for video output overlays [VIDIOC_CROPCAP]
–get-crop-output-overlay
query the video output overlay crop window [VIDIOC_G_CROP]
–set-crop-output-overlay=top=,left=,width=,height=
set the video output overlay crop window [VIDIOC_S_CROP]
–get-audio-input
query the audio input [VIDIOC_G_AUDIO]
–set-audio-input=
set the audio input to [VIDIOC_S_AUDIO]
–get-audio-output
query the audio output [VIDIOC_G_AUDOUT]
–set-audio-output=
set the audio output to [VIDIOC_S_AUDOUT]
–list-audio-outputs
display audio outputs [VIDIOC_ENUMAUDOUT]
–list-audio-inputs
display audio inputs [VIDIOC_ENUMAUDIO]
Expert options:
–streamoff turn the stream off [VIDIOC_STREAMOFF]
–streamon turn the stream on [VIDIOC_STREAMOFF]
–log-status log the board status in the kernel log [VIDIOC_LOG_STATUS][/spoiler]
I’m guessing the command you’ve been using to set video as composite -
v4l2-ctl -d /dev/video0 -i 1
is starting the card without audio because no “audio input” option is being specified.
So maybe you need to:-
v4l2-ctl --list-audio-inputs
or
v4l2-ctl --get-audio-input
To get an idea of the audio input, then start the card with something like:-
v4l2-ctl -d /dev/video0 -i 1 --set-audio-input=
Where is the number of the audio input.
Source of v4l2-ctl options: