From 24151f06dd9ff653538d7fd9ec0399cb5e117b66 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 4 Apr 2020 02:54:49 +0100 Subject: chore(fun/tvl): Increase framerate to 60fps & limit queue size The queue size setting will drop frames if the encoding starts to lag behind, which should prevent delay from being introduced on the serving side. Maybe. --- fun/tvl/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fun') diff --git a/fun/tvl/default.nix b/fun/tvl/default.nix index 6dc5fa89a0c7..da7c00ce4be5 100644 --- a/fun/tvl/default.nix +++ b/fun/tvl/default.nix @@ -7,7 +7,8 @@ depot.third_party.writeShellScriptBin "start-tvl-stream" '' -init_hw_device cuda=0 -filter_hw_device 0 \ -f x11grab \ -video_size 1920x1080 \ - -framerate 30 \ + -framerate 60 \ + -thread_queue_size 256 \ -i :0.0+0,0 \ -filter:v "format=nv12,hwupload,scale_npp=w=1280:h=720:interp_algo=lanczos" \ -c:v h264_nvenc \ -- cgit 1.4.1