ICT: Diary
D: 137 W: 20

< March 2021 >
Sun Mon Tue Wed Thu Fri Sat
 123456
78910111213
14151617181920
21222324252627
28293031 

Based on notaweblog.php by joshua stein

[ ] Tuesday, 16 March 2021 [ ]

OpenBSD video

I've been running 6.9-current recently - and what to check my webcam

wolf:fred ~: video -vf /dev/video0               
video device /dev/video0:
  encodings: yuy2
  frame sizes (width x height, in pixels) and rates (in frames per second):
	160x120: 30, 25, 20, 15
	176x144: 30, 25, 20, 15
	320x240: 30, 25, 20, 15
	352x288: 30, 25, 20, 15
	640x480: 30, 25, 20, 15
	1280x720: 9
  controls: brightness, contrast, saturation, hue, gain, gamma, sharpness, white_balance_temperature, backlight_compensation
Xv adaptor 0, GLAMOR Textured Video:
  encodings: yv12
  max size: 3286x1080
using yuy2 encoding
using frame size 640x480 (614400 bytes)
using default frame rate
which resulted in a green screen: Green Screen I was about to ask misc@openbsd.org, and as I was going through my settings I looked at my /etc/sysctl.conf and saw kern.audio.record=1, which reminded me that I needed to:

sysctl kern.video.record=1
video working

Security by default :~)

sysctlvideoOpenBSD


$Id: dates.htm,v 1.1439 2021/05/17 11:48:12 fred Exp $

$Id: diary,v 1.27 2017/09/01 17:12:44 fred Exp $