Skip to content

Instantly share code, notes, and snippets.

@curran
Created January 9, 2020 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save curran/02a86957c4e7d8a4945445a588ba50e0 to your computer and use it in GitHub Desktop.
Save curran/02a86957c4e7d8a4945445a588ba50e0 to your computer and use it in GitHub Desktop.
Webcam Setup for Recording
#https://www.youtube.com/watch?v=7SZBQ5bqaWU
v4l2-ctl --list-devices
CAMERA_NUMBER=2
v4l2-ctl -d /dev/video$CAMERA_NUMBER --set-ctrl white_balance_temperature_auto=0
v4l2-ctl -d /dev/video$CAMERA_NUMBER --set-ctrl exposure_auto=1
v4l2-ctl -d /dev/video$CAMERA_NUMBER --set-ctrl exposure_absolute=200
v4l2-ctl -d /dev/video$CAMERA_NUMBER --set-ctrl white_balance_temperature=5500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment