mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
kattv2: New webcam
This commit is contained in:
parent
90c72531d2
commit
81b530df2a
2 changed files with 11 additions and 10 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue