CAMV(1)                                                   CAMV(1)

     NAME
          camv - USB camera display

     SYNOPSIS
          camv cam-device

     DESCRIPTION
          Camv uses the cam-device file tree provided by nusb(4) to
          use and control a USB camera.  It opens the tree's video
          file to play the video stream directly in the window.

          The middle mouse button menu shows and allows editing the
          current picture settings.  While it lists resolution, format
          and framerate per second, those must be set manually before
          starting camv(1). One can quit the program from the right
          mouse button menu.

     EXAMPLES
          Initialize and configure a camera before starting camv in
          its own window.

               % nusb/cam 5
               % window -dx 320 -dy 240 \
                    'label cam
                    cat <<EOF >/dev/cam5.1/ctl
               format 320x240
               fps 30
               backlight-compensation 1
               brightness 20
               contrast 95
               saturation 40
               sharpness 7
               gamma 200
               EOF
                    camv /dev/cam5.1
               '

     SOURCE
          /sys/src/cmd/camv.c

     SEE ALSO
          nusb(4)

     HISTORY
          Camv first appeared in 9front (March, 2018).

     BUGS
          Not all available picture settings can be set while camv(1)
          is running, some possibly not at all.

     Page 1                       Plan 9            (printed 11/18/24)