kattv2: New webcam

This commit is contained in:
kat witch 2021-12-21 22:10:26 +00:00 committed by kat
parent 90c72531d2
commit 81b530df2a
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 11 additions and 10 deletions

View file

@ -39,19 +39,20 @@ let
"gldownload"
];
encodeopts = {
speed-preset = "ultrafast";
speed-preset = "veryfast";
ref = 1;
tune = "zerolatency";
pass = "qual";
#psy-tune = "film";
#noise-reduction=0;
quantizer = 27;
quantizer = 21;
bitrate = 8192;
rc-lookahead = 6;
};
denoise = {
element.frei0r-filter-hqdn3d = {
spatial = 0.175; #0.325;
temporal = 0.06; #0.11;
spatial = 0.175;
temporal = 0.25;
};
};
encode_high = [

View file

@ -15,9 +15,9 @@ let
cameracapture = {
element."v4l2src" = {
device = "/dev/videomew";
saturation = 100;
brightness = 100;
extra-controls = "c,exposure_auto=3";
# saturation = 100;
# brightness = 100;
# extra-controls = "c,exposure_auto=3";
};
};
queue_data = {
@ -29,8 +29,8 @@ let
cameracapture
{
caps."image/jpeg" = {
width = 1280;
height = 720;
width = 1920;
height = 1080;
framerate = "30/1"; # "10/1"
};
}
@ -50,7 +50,7 @@ let
in
{
services.udev.extraRules = ''
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTR{index}=="0", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="075d", SYMLINK+="videomew", TAG+="systemd"
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTR{index}=="0", ATTRS{idVendor}=="1c3f", ATTRS{idProduct}=="2002", SYMLINK+="videomew", TAG+="systemd"
'';
systemd.services.kattv = {