V4l2-ctl (Examples)

From IVTV

Jump to: navigation, search

Ctrl command examples

v4l2-ctl --info ( List Info about your capture card )

v4l2-ctl --log-status ( Get current settings of your card )

v4l2-ctl --list-standards ( List cards TV standards )

v4l2-ctl --get-standard ( query the video standard [VIDIOC_G_STD] )

v4l2-ctl --set-standard=2 ( set the video standard to <num> [VIDIOC_S_STD] )

v4l2-ctl --get-freq ( Get current TV frequency)

v4l2-ctl --set-freq=673 ( Tune the card to a TV input frequency )

v4l2-ctl --list-ctrls ( List all options for the card )

v4l2-ctl --set-ctrl temporal_filter=0 ( Picture ghosting problems )

v4l2-ctl --set-ctrl brightness=100

v4l2-ctl --set-ctrl contrast=50

v4l2-ctl --set-ctrl saturation=50

v4l2-ctl --set-ctrl hue=10

v4l2-ctl --set-ctrl volume=50000

v4l2-ctl --set-ctrl balance=50000

v4l2-ctl --set-ctrl bass=50000

v4l2-ctl --set-ctrl treble=50000

v4l2-ctl --set-ctrl mute=0 (mute on (1) / off (0) )

ivtv-radio -f 94.7 ( Tune and play radio station)

development