From 8867621f7a69bf91a88b7b13e13b8d581248bf34 Mon Sep 17 00:00:00 2001 From: pants Date: Thu, 31 Jul 2025 14:20:39 -0700 Subject: [PATCH] update with microphone gain stuff --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f61d6f2..45c206c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ lpadmin -p brother -E -v "ipp://10.100.0.205/ipp/print" -m everywhere -L "Mom's manual adding is needed as network hostname resolution fails becuase yeah. If it didnt fail, hardcoding a dynamic IP address like this wouldn't be wouldn't be necessary. -## Webcam +## Webcam / microphone v4l2 may create multiple nodes in /dev for different formats one example being mine which puts the H264 stream on /dev/video2 @@ -19,9 +19,14 @@ v4l2-ctl -d /dev/video2 --set-fmt-video=width=1920,height=1080,pixelformat=H264 and this will record it with zero latency: mpv av://v4l2:/dev/video2 --profile=low-latency --untimed -this works on framework laptops: (not sure why, but setting MJPG with v4l2-ctl doesnt make mpv pick 1920x1080 by default...) +framework laptops: (not sure why, but setting MJPG with v4l2-ctl doesnt make mpv pick 1920x1080 by default...) + mpv --demuxer-lavf-o=video_size=1920x1080,input_format=mjpeg av://v4l2:/dev/video0 --profile=low-latency --untimed +microphone gain is defaults to 100%, which is way too loud. set it to something lower with amixer, provided by alsa-utils: +-> amixer set Capture 40% + + ## fprintd firstly, enroll with - fprintd-enroll