Commit Graph

767 Commits

Author SHA1 Message Date
dec05eba
81f155bf63 Refactor video encoding packet receiving, replay buffer and finish SIGRTMIN for recording while replay/replaying. Add -ro option to specify the directory 2025-04-21 23:02:29 +02:00
dec05eba
ce7b47a877 catch SIGTERM to stop recording 2025-04-20 22:19:49 +02:00
dec05eba
acf1624d2d Move argument parsing to different file 2025-04-20 15:55:14 +02:00
dec05eba
c4e917e677 wip: support replay smaller time with SIGRTMIN+N and recording in replay mode with SIGTRMIN 2025-04-19 20:53:08 +02:00
dec05eba
a1c09a61af Type safety 2025-04-18 14:31:15 +02:00
dec05eba
1f3d28fc5c Tune av1 quality 2025-04-15 03:34:23 +02:00
dec05eba
4e866a18fc m 2025-04-09 00:45:14 +02:00
dec05eba
5029906c34 Fallback to graphics shader instead of compute shader if the gpu doesn't support compute shader (either glsl 420 or opengl es glsl 310) 2025-04-06 21:52:15 +02:00
dec05eba
9de04e74ea Use opengl 4.20 for non-external texture (supports wider range of hardware) 2025-04-06 19:14:26 +02:00
dec05eba
54e5ec6193 Improve color quality, use texture instead of texelFetch 2025-04-06 18:31:23 +02:00
dec05eba
152d3d7536 m 2025-04-04 20:48:17 +02:00
dec05eba
ff01f69006 Cleanup 2025-04-04 20:36:51 +02:00
dec05eba
6910009e07 Fix region capture on hyprland with multiple monitors 2025-04-04 20:29:32 +02:00
dec05eba
8065ede251 rc-lookahead 0 2025-04-04 12:57:02 +02:00
dec05eba
baf0434854 Remove -preset and -multipass, replace with -tune performance|quality 2025-04-04 12:48:34 +02:00
dec05eba
0deb41afe1 Correct error message for preset 2025-04-04 01:47:19 +02:00
dec05eba
752e773fb7 Add -preset and -multipass options for higher quality video encoding on nvidia 2025-04-04 01:41:01 +02:00
dec05eba
12dd2cd3e1 Optimize compute shaders 2025-04-04 01:15:07 +02:00
dec05eba
33467cb7f4 m 2025-04-01 01:05:18 +02:00
dec05eba
1a61c64e3f Usage text 2025-04-01 01:04:24 +02:00
dec05eba
8feb94f518 Fix incorrect region when monitor is rotated 2025-03-30 23:00:54 +02:00
dec05eba
6acd65a9c2 Remove -high-performance-encoding, always force enable it 2025-03-30 22:29:49 +02:00
dec05eba
56e2a82474 Fix cursor rotated background in compute shader on wayland 2025-03-30 22:11:33 +02:00
dec05eba
3e3d8a179f Fix incorrect region for region capture after compute shader change 2025-03-30 18:11:25 +02:00
dec05eba
9599834d9c 5.3.4 2025-03-30 16:42:26 +02:00
dec05eba
d37688e4c2 Compute shader cleanup 2025-03-30 16:06:01 +02:00
dec05eba
3b617ddc53 Cleanup 2025-03-30 15:17:37 +02:00
dec05eba
ad26bc77db Fix incorrect compute size when scaling image 2025-03-30 13:46:06 +02:00
dec05eba
74865fad78 Highp rgb shader 2025-03-30 12:57:47 +02:00
dec05eba
82ec8e9630 Change quality parameters for 'very_high' (default) quality 2025-03-30 05:52:42 +02:00
dec05eba
7502f1ebbc GL_READ_WRITE -> GL_WRITE_ONLY 2025-03-30 05:13:44 +02:00
dec05eba
9e61479c9c Add -high-performance-encoding option to improve encoding performance (on amd) 2025-03-30 05:11:31 +02:00
dec05eba
bb58870a94 Compute shader cleanup 2025-03-30 05:02:32 +02:00
dec05eba
eb9761af1a Compute shader: nvidia: render full image (incorrect dispatch size) 2025-03-30 04:54:36 +02:00
dec05eba
96ca048856 Compute shader: add support for external texture, color component swapping (bgr to rgb) 2025-03-30 04:47:30 +02:00
dec05eba
c679b2fdb6 Use sampler2D for alpha blending compute shader instead of output image2D 2025-03-30 03:36:39 +02:00
dec05eba
b8a521a785 Reapply "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"
This reverts commit f85a7ab205.
2025-03-29 15:38:05 +01:00
dec05eba
f85a7ab205 Revert "WIP: use compute shader instead of graphics shader for better performance (especially on amd)"
This reverts commit a41a32cb90.
2025-03-29 15:37:53 +01:00
dec05eba
a41a32cb90 WIP: use compute shader instead of graphics shader for better performance (especially on amd) 2025-03-29 13:29:10 +01:00
dec05eba
634a563bc0 Use highp instead of mediump 2025-03-19 10:51:19 +01:00
dec05eba
8e0b20df62 m 2025-03-18 23:03:22 +01:00
dec05eba
d2ab24121d Test broadcom (raspberry pi) support 2025-03-18 21:54:12 +01:00
dec05eba
22c76fb8c3 Ffmpeg changes the api YET AGAIN, breaking recording on nvidia 2025-03-16 00:48:38 +01:00
dec05eba
1280a5ed0c Fix application audio not working correctly after a recent update 2025-03-15 13:22:42 +01:00
dec05eba
190c775a08 Fix screenshot of window not working after latest change 2025-03-14 08:54:12 +01:00
dec05eba
5d87dbd075 texture filter change 2025-03-13 22:38:28 +01:00
dec05eba
b0de8588f2 Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time 2025-03-13 22:34:29 +01:00
dec05eba
f63409bdd7 nvfbc region capture work 2025-03-13 01:50:36 +01:00
dec05eba
af54684103 Fix screenshot with region not working correctly for some sizes and possibly crashing 2025-03-13 01:38:26 +01:00
dec05eba
92492db788 Add region capture with -w region -region WxH+X+Y 2025-03-13 00:18:28 +01:00