diff --git a/config/services/kattv2-ingest.nix b/config/services/kattv2-ingest.nix index 7729700f..9c92c0dc 100644 --- a/config/services/kattv2-ingest.nix +++ b/config/services/kattv2-ingest.nix @@ -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 = [ diff --git a/config/services/kattv2.nix b/config/services/kattv2.nix index cb06ec9a..ef964871 100644 --- a/config/services/kattv2.nix +++ b/config/services/kattv2.nix @@ -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 = {