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
dec05eba
5f3a14d3f6
Rename window_wayland to wayland and window_x11 to x11
2025-03-05 18:07:52 +01:00
dec05eba
d9eb44fae0
Audio device capture: make default output/input switch recording source the default output/input is changed in the audio server
2025-02-26 18:08:00 +01:00
dec05eba
a60fa9b68d
Higher jpeg quality, we can afford that
2025-02-24 21:40:20 +01:00
dec05eba
d12f312bc1
Change jpeg quality parameters
2025-02-24 01:30:16 +01:00
dec05eba
ce4a8574f8
Make it possible to stop screenshot with sigint
2025-02-22 13:20:36 +01:00
dec05eba
000da7d640
Make image output lossy (use stb image writer), also significantly improves performance for jpeg
2025-02-22 01:05:29 +01:00
dec05eba
fe4cd2bb0e
Make fps option (default to 60)
2025-02-21 20:32:28 +01:00
dec05eba
a8b26621d4
Only show codec warning for image output
2025-02-16 14:29:06 +01:00
dec05eba
1b5cde0789
Support taking a screenshot (-o image.jpg/image.png)
2025-02-16 14:21:17 +01:00
dec05eba
62bbdd7c30
Revert kde plasma 6.2 hdr workaround code
2025-02-15 16:57:37 +01:00
dec05eba
e869b55878
Revert hdr color fix. It looked better for fullscreen hdr games before
2025-02-13 01:05:37 +01:00
dec05eba
d217aec053
Minor -sc fix for flatpak
2025-02-10 18:07:10 +01:00
dec05eba
d088586296
Make plasmashell check work in flatpak
2025-02-10 17:04:31 +01:00
dec05eba
a3b9b89a7f
Attempt to fix incorrect hdr colors on kde plasma 6.2
2025-02-09 06:51:22 +01:00
dec05eba
2ee6c9dc92
Fix crash when trying to capture hdr and it fails
...
Also move replay buffer frames reset to right after saving instead when
the save has finished.
2025-02-08 19:30:43 +01:00
dec05eba
7babffaa01
Improve argument parsing
2025-02-07 23:47:39 +01:00
dec05eba
4ac5da0c1c
m
2025-02-06 01:57:20 +01:00
dec05eba
1cb9066dbb
Increase replay max allowed duration to 3 hours
2025-02-06 01:56:17 +01:00
Alex Murkoff
31ca53540a
fix: proper cleanup for init_filter_graph
2025-01-28 19:45:00 +01:00
dec05eba
450bc0ac4a
Dont normalize audio for mixed audio. This matches app audio|device audio mix, fixes mic audio being decreased
2025-01-25 19:54:33 +01:00
dec05eba
6e545c7ca0
-overlay-replay > -restart-replay-on-save
2025-01-24 10:06:09 +01:00
dec05eba
802067d1df
-overlapping-replay > -overlap-replay
2025-01-24 00:29:57 +01:00
dec05eba
b55096544b
Add version to --info output
2025-01-23 23:56:19 +01:00
dec05eba
e87ade6ee3
Add -overlapping-replay option to clear replay buffer after a save
2025-01-23 23:52:31 +01:00
dec05eba
b68400ca20
Add -gl-debug option to make it easier to debug user issues that cant easily be reproduced
2025-01-16 22:55:20 +01:00
dec05eba
43d353b7b4
Unset DRI_PRIME as well when gpu offloading cant be used
2025-01-08 17:17:33 +01:00
dec05eba
fbaa73bfc7
Prefix program arguments error with error:
2024-12-31 10:40:07 +01:00
dec05eba
2c51e8630d
Exit with exit code 50 if invalid audio device. Exit with exit code 51 if invalid monitor
2024-12-26 15:21:47 +01:00
dec05eba
c1048a3d20
Make '-w screen' capture the first monitor on nvidia x11 as well to make it work like amd, intel and nvidia wayland. Keep screen-direct for all monitors, that is gsync compatible
2024-12-26 13:49:20 +01:00
dec05eba
a006261ade
Fix --list-capture-options with card path not working on x11 nvidia because x11 nvidia doesn't use dri
2024-12-09 01:57:10 +01:00
dec05eba
d138a1fe73
Add card path to --info, add card path and vendor to --list-capture-options if known to speed up the command
2024-12-08 02:52:58 +01:00
dec05eba
c259a19b9d
Refactor windowing from egl to window_x11/window_wayland, yolo
2024-12-08 02:17:41 +01:00
dec05eba
175ed79b06
Fix virtual sink not destroyed if gsr is forcefully killed (use pipewire to create the virtual sink instead of pulseaudio)
2024-12-06 12:53:44 +01:00
dec05eba
00b132c7b4
Remove incorrect references to -aa and -aai
2024-12-05 17:48:21 +01:00
dec05eba
51265d3536
--help improvement
2024-11-29 18:36:11 +01:00
dec05eba
0ae3c1f827
Repurpose '/' in audio argument to set the audio track name, not the recording node name in pulseaudio/pipewire. This also now allows setting audio track name when recording application audio
2024-11-28 11:42:39 +01:00
dec05eba
c2cd9c3473
Print --help to stdout instead of stderr
2024-11-28 10:42:23 +01:00
dec05eba
d472d8d41e
Dont allow running the program as the root user
2024-11-24 22:52:12 +01:00
dec05eba
41b3136797
Only report monitors when /dev/dri/cardN is available (its not available on linux mint for some reason with prime setup)
2024-11-22 18:13:01 +01:00
dec05eba
8e94d6a696
Dont run any pipewire if audio server is not pipewire (fix freeze on linux mint 21.3 pulseaudio system in flatpak)
2024-11-22 17:36:23 +01:00
dec05eba
dcc1bf1e2a
Remove GSR_APP_AUDIO macro use when not needed
2024-11-22 00:14:33 +01:00
dec05eba
cbf4cba5a9
Allow recording app audio with -a, deprecate -aa and -aai
...
Use -a "app:brave" instead of -aa "brave".
Use -a "app-inverse:brave" instead of -aai "brave".
This now allows merging audio devices and app audio into the same audio
track.
2024-11-20 19:09:42 +01:00
dec05eba
62ff649204
--info also verify pipewire connection for app audio
2024-11-17 13:16:42 +01:00
dec05eba
0ee68146a7
Disable application audio recording on pulseaudio
2024-11-17 01:12:12 +01:00
dec05eba
c2ae721dca
--info: output if app audio is supported (if compiled with it and pipewire server)
2024-11-16 17:20:02 +01:00
dec05eba
c8fdf2f174
Fix build without app_audio build option
2024-11-11 00:18:10 +01:00
dec05eba
c11306c5fd
Add --list-capture-options option
2024-11-11 00:06:29 +01:00
dec05eba
4240f0e334
Add -aa and -aai options to record audio only from selected applications
...
Use the --list-application-audio option to list available applications
to record from.
2024-11-10 23:54:39 +01:00