Webcam

This artcle will provide Article description::information on setting up and using webcams on Gentoo using v4l-utils.

Kernel
The following kernel options need to be activated:

The matching CONFIG_* for the above options are:
 * CONFIG_MEDIA_SUPPORT
 * CONFIG_MEDIA_SUPPORT_FILTER
 * CONFIG_MEDIA_CAMERA_SUPPORT
 * CONFIG_VIDEO_V4L2_SUBDEV_API
 * CONFIG_MEDIA_USB_SUPPORT
 * CONFIG_USB_VIDEO_CLASS
 * CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV

USE flags
Recommended USE flags for v4l include:,  , and   - at least   will be needed to follow on with this article.

Emerge
Install :

Configuration
v4l-utils is used here to check/set the camera's preferences.

Settings example
Some Cheap USB Cameras (like integrated models in thinkpad latops) always use a 640x480 resolution but are able to use 720p, it is possible to set this in :

Explanation

= Framerate (integer)

= Resolution + Compression

Make options persistent
Getting device info:

Creating a rule: