Commit Graph

569 Commits

Author SHA1 Message Date
dec05eba
3ac17b99a0 App audio capture: remove gsr-app-sink
Connect application/device audio directly to gsr recording node.
This fixes an issue for some users where gsr-app-sink got selected by
default as an output device.

Dont wait until audio node first receives audio before recording audio
from the device. This might fix audio/video desync issue when recording
from microphone for example.
2025-12-07 18:10:18 +01:00
dec05eba
cedf3ae7d7 Use the audio argument as the name of the audio track 2025-12-05 00:18:26 +01:00
dec05eba
2d551e7b1f Proper fallback for vulkan video 2025-11-23 14:40:54 +01:00
dec05eba
72c548c19e Fix -fallback-cpu-encoding not working properly 2025-11-23 01:36:00 +01:00
dec05eba
eba5f3f43d Allow hevc/av1 flv for recent ffmpeg 2025-11-19 20:26:37 +01:00
dec05eba
02c7a0bcce Fix region capture not always working on wayland if monitor is rotated (incorrect region detected) 2025-11-19 02:29:56 +01:00
dec05eba
ab5988a2bb Dont scale image frame to padding in video 2025-11-18 02:52:11 +01:00
dec05eba
a3e1b2a896 comment 2025-11-16 20:47:07 +01:00
dec05eba
80f0e483a4 screenshot: improve jpeg very high quality to 91 (enables yuv444 instead of yuv420) 2025-11-16 18:58:57 +01:00
dec05eba
739fd9cd72 Replay: attempt to fix audio desync when using multiple audio tracks 2025-11-16 17:42:30 +01:00
dec05eba
d34a1036ef color_conversion: remove unused alpha_blending parameter 2025-11-14 03:43:25 +01:00
dec05eba
9e59f5f5cd Disable overclocking if set and gpu supports CUDA_DISABLE_PERF_BOOST 2025-11-08 13:35:30 +01:00
dec05eba
96c62f2db2 Set CUDA_DISABLE_PERF_BOOST to workaround p2 power level issue. Required nvidia driver >= 580.105.08 2025-11-05 00:57:58 +01:00
dec05eba
e623145de8 Force QP mode when capturing with software encoder and attempting to use vbr 2025-10-27 19:02:00 +01:00
dec05eba
7d4a4068ff Add -fallback-cpu-encoding option to use cpu encoding (x264) if gpu encoding is not available on the system 2025-10-24 11:51:10 +02:00
dec05eba
57ac400eab Show better error on vaapi init failure 2025-10-22 10:21:11 +02:00
dec05eba
f9f0074f29 Update for ffmpeg 8: remove hevc vaapi padding (black bars), fix garbage output (workaround ffmpeg 8 issue) 2025-10-05 12:57:58 +02:00
dec05eba
3c5514480c Remove use of libavcodec/defs.h (fix compile on old ffmpeg) 2025-09-29 10:07:08 +02:00
dec05eba
8cf1a98c33 Codec resolution check: treat 0, 0 as no limit
Some devices such as Intel Xeon E3-1200 don't report max video
resolution. In such cases assume there is no limit and instead let
ffmepg (vaapi) fail when recording, if the resolution isn't supported.
2025-09-23 17:33:44 +02:00
dec05eba
2c22782ca0 Dont use glGetTexLevelParameteriv, it's only available in opengl es 3.1 2025-09-21 03:19:56 +02:00
dec05eba
a4c227c43e Dont initialize damage tracker if not enabled 2025-09-21 00:35:25 +02:00
dec05eba
ade714d417 Output error if compiled without app audio support and attempting to use app audio 2025-09-10 21:27:09 +02:00
dec05eba
9386dd4c96 Revert "Use pipewire audio routing to merge audio when possible (this fixes out of sync audio when using multiple audio inputs for some users)"
This reverts commit 59d16899ab.
2025-09-10 21:24:34 +02:00
dec05eba
fcb45b82f2 Re-add portal damage tracking (-fm content) 2025-09-06 01:24:54 +02:00
dec05eba
59d16899ab Use pipewire audio routing to merge audio when possible (this fixes out of sync audio when using multiple audio inputs for some users) 2025-09-06 00:18:12 +02:00
LinuxUserGD
f3fb8c4a93 main: check if glibc is defined
musl libc doesn't implement M_MMAP_THRESHOLD
2025-09-03 18:19:15 +02:00
dec05eba
5a93d292ea Call -sc script on screenshot as well, only save screenshot if no error 2025-08-24 21:07:58 +02:00
dec05eba
b500704008 Add plugin support (-p option) 2025-08-14 14:57:51 +02:00
dec05eba
9a8fd312e0 Add error checks for video capture resolution since some users are retarded 2025-08-07 19:46:49 +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
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
1ab2c066b4 Remove swap buffer call 2025-06-06 23:46:11 +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
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
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