update with microphone gain stuff
This commit is contained in:
@ -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.
|
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.
|
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
|
v4l2 may create multiple nodes in /dev for different formats
|
||||||
one example being mine which puts the H264 stream on /dev/video2
|
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:
|
and this will record it with zero latency:
|
||||||
mpv av://v4l2:/dev/video2 --profile=low-latency --untimed
|
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
|
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
|
## fprintd
|
||||||
firstly, enroll with
|
firstly, enroll with
|
||||||
- fprintd-enroll
|
- fprintd-enroll
|
||||||
|
|||||||
Reference in New Issue
Block a user