mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
kattv: Updates, new hardware
This commit is contained in:
parent
82bed3b90d
commit
2524d87ac0
5 changed files with 9 additions and 13 deletions
|
|
@ -6,7 +6,7 @@
|
|||
services.nginx
|
||||
services.access
|
||||
users.kat.server
|
||||
] ++ optional (meta.trusted ? services) trusted.service.website;
|
||||
] ++ optional (meta.trusted ? services) trusted.services.website;
|
||||
|
||||
|
||||
deploy.tf = {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ let
|
|||
#psy-tune = "film";
|
||||
#noise-reduction=0;
|
||||
quantizer = 27;
|
||||
bitrate = 8192;
|
||||
bitrate = 16384;
|
||||
rc-lookahead = 6;
|
||||
};
|
||||
denoise = {
|
||||
|
|
|
|||
|
|
@ -15,17 +15,17 @@ 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";
|
||||
};
|
||||
};
|
||||
v4l2src = [
|
||||
cameracapture
|
||||
{
|
||||
caps."image/jpeg" = {
|
||||
width = 1280;
|
||||
height = 720;
|
||||
width = 1920;
|
||||
height = 1080;
|
||||
framerate = "30/1"; # "10/1"
|
||||
};
|
||||
}
|
||||
|
|
@ -44,7 +44,7 @@ let
|
|||
in
|
||||
{
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", SUBSYSTEMS=="usb", ATTR{index}=="0", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0779", 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 = {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 72a3eef071b64b18fb61d48041f9bc0285a358db
|
||||
Subproject commit d7be543d00111eeecd968a63d6b66d333884d899
|
||||
Loading…
Add table
Add a link
Reference in a new issue