Commit Graph

812 Commits

Author SHA1 Message Date
dec05eba
1e62e654e2 Pipewire: support alpha textures again, do alpha blending and clear
background if fourcc is alpha.
2025-07-20 23:33:49 +02:00
dec05eba
4fb0dad3df Pipewire: dont attempt to use modifier if modifier is 0x0 2025-07-20 21:48:39 +02:00
dec05eba
bd91c664a6 Proper debug context setup 2025-07-07 17:27:57 +02:00
Er2
0794008e6f FreeBSD: Add support 2025-07-06 19:44:46 +02:00
dec05eba
469e234841 Remove unused variable 2025-06-28 18:13:29 +02:00
dec05eba
288adba81c Change frame timing logic to always match timestamp timeout 2025-06-28 18:09:38 +02:00
dec05eba
b9537941c9 Restart portal capture if it's paused for 3 seconds or more (can happen if returning from lock screen)
Remove dbus server, no longer needed. Just run dbus code directly.
2025-06-28 04:25:26 +02:00
dec05eba
f9e93467b2 Pipewire: fix transparent windows having incorrect color (disable RGBA video formats) 2025-06-23 12:41:28 +02:00
dec05eba
7d7f986668 Pipewire: dont remove first frame. This fixes window capture/unfocused monitor capture being black until its updated 2025-06-23 12:35:10 +02:00
dec05eba
0cf0a9abf5 Create egl3 context 2025-06-16 22:23:26 +02:00
dec05eba
bc58e382b7 EGL_OPENGL_ES_BIT->EGL_OPENGL_ES2_BIT 2025-06-16 20:57:59 +02:00
dec05eba
630c504241 Limit nvidia-smi to opensuse because it causes huge memory leak on ubuntu/debian. Add example toggle-recording.sh script 2025-06-12 14:42:04 +02:00
dec05eba
ca0be79344 Fix nvidia capture after switch to opengl es 2025-06-10 00:34:21 +02:00
dec05eba
53557133c2 Reapply "Fix screen and portal capture not working on some intel gpus"
This reverts commit 7f00ce22e7.
2025-06-10 00:32:51 +02:00
dec05eba
7f00ce22e7 Revert "Fix screen and portal capture not working on some intel gpus"
This reverts commit 3ba1dbda98.
2025-06-09 22:11:16 +02:00
dec05eba
3ba1dbda98 Fix screen and portal capture not working on some intel gpus 2025-06-09 22:07:52 +02:00
dec05eba
b0b1442a03 Swap flush and memory barrier 2025-06-07 11:51:49 +02:00
dec05eba
3b09cb7fd3 Disable cap_sys_nice which causes amd gpu crash for some people. Do glFlush instead of swapBuffers, which allows it to run at high fps anyways. Downside is that some games on kde plasma can start to stutter. Kde plasma issue? 2025-06-07 00:41:45 +02:00
dec05eba
1ab2c066b4 Remove swap buffer call 2025-06-06 23:46:11 +02:00
dec05eba
131209ddc0 Minor cleanup 2025-05-27 16:04:12 +02:00
dec05eba
b2487788c2 Fix build for newer ffmpeg 2025-05-27 08:14:00 +02:00
dec05eba
815350a5ca Support surround sound for application audio capture, support unlimited links 2025-05-26 17:57:51 +02:00
dec05eba
23fd8065b6 Consistent info/warning/error message structure 2025-05-26 16:33:06 +02:00
dec05eba
637d6ebfd6 Match gsr monitor name with wayland monitor name. Thanks info@leocodes 2025-05-25 19:07:59 +02:00
dec05eba
2b34c78459 Revert "temp test for cosmic"
This reverts commit 35222bafe2.
2025-05-15 19:48:25 +02:00
dec05eba
35222bafe2 temp test for cosmic 2025-05-15 19:17:04 +02:00
dec05eba
085d4632d2 Show warning for missing capability 2025-05-10 21:51:14 +02:00
dec05eba
e1992ae3be Revert "temp debug"
This reverts commit ce3203ebc7.
2025-05-10 18:38:58 +02:00
dec05eba
ce3203ebc7 temp debug 2025-05-10 18:33:35 +02:00
dec05eba
e3225bc628 Move dbus code to a separate process to allow gpu-screen-recorder to use cap_sys_nice for better recording performance on amd 2025-05-10 17:10:59 +02:00
dec05eba
811a14481d m 2025-05-05 14:00:10 +02:00
dec05eba
5cda6c0bf0 Fix incorrect replay duration saved for disk replay 2025-05-05 01:44:27 +02:00
dec05eba
3f18462af4 Change file extension of temporary replay data file from .mp4 to .gsr 2025-05-05 01:28:01 +02:00
dec05eba
a409f3b3c3 Fix replay to disk not working properly when restarting replay 2025-05-04 21:52:17 +02:00
dec05eba
36c74d3411 Add -replay-storage option to specify if temporary replay data should be stored in ram or disk 2025-05-04 21:24:07 +02:00
dec05eba
2ca5f3361c Dont list region capture option if not monitors are available for capture 2025-05-03 22:50:44 +02:00
dec05eba
200c32f08a m 2025-05-03 20:43:28 +02:00
dec05eba
0cdc359931 Fix audio capture not working with noisetorch if combined with another source with some audio devices. Remove the ability to set audio track name for now. If you need this, email me 2025-05-03 19:29:04 +02:00
dec05eba
39bc110a20 Fix h264 software encoding not working 2025-05-03 14:12:10 +02:00
dec05eba
b4bbed2402 Fix build issues on older ffmpeg (disable unused vulkan encoder for now), fix incorrect wayland protocol file 2025-04-25 11:14:40 +02:00
dec05eba
15176579cb Fix replay saving freeze, unable to save replay if audio is not provided 2025-04-23 19:11:58 +02:00
dec05eba
8bd17b0c9a Change replay recording filename prefix to Video 2025-04-22 20:21:08 +02:00
dec05eba
24ab0bd7aa 5.4.0 2025-04-22 18:46:20 +02:00
dec05eba
1fd30187fa Move encoding code from video encoder to encoder, since it also processes audio input 2025-04-22 00:07:20 +02:00
dec05eba
990d6ce6bf Fix crash on exit when replay recording, increase SIGRTMIN replay save by keyint time 2025-04-21 23:16:04 +02:00
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