Commit Graph

505 Commits

Author SHA1 Message Date
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
dec05eba
f1b4979365 Fix incorrect color format in x11 cursor (bgr instead of rgb) 2024-11-09 02:45:20 +01:00
dec05eba
0686b924de Prepare for pipewire audio routing 2024-11-08 18:40:33 +01:00
dec05eba
ab662f1ed5 Change libx264 preset to veryfast and tune to film 2024-11-07 16:34:24 +01:00
dec05eba
74d30f16ad Set buffer size 2024-11-05 17:49:49 +01:00
dec05eba
35390796cd usage 2024-11-05 09:31:32 +01:00
dec05eba
70b9e3d6ff Revert bitrate calculation 2024-11-05 09:23:39 +01:00
dec05eba
953953eac7 m 2024-11-05 01:45:15 +01:00
dec05eba
aac9b9cde7 Fix incorrect bitrate calculation for constant bitrate 2024-11-05 01:08:56 +01:00
dec05eba
258f690a89 Update issues link 2024-11-01 09:18:27 +01:00
dec05eba
05c74e5a77 Mention the new UI 2024-10-27 23:11:11 +01:00
dec05eba
112640282d Add option to change output resolution (-s) 2024-10-26 20:58:00 +02:00
dec05eba
768f1bd61e Fix shadow variable 2024-10-22 18:45:18 +02:00
dec05eba
7428f9ffee Allow recording virtual audio devices that have forward slash (/) in the name 2024-10-22 18:39:01 +02:00
dec05eba
62509a4b60 nixos fix: look for gsr-kms-server in PATH if not found in same directory as gpu-screen-recorder 2024-10-19 00:48:04 +02:00
dec05eba
eb602b9b53 4.2.2: AMD IS SHIT 2024-10-16 01:07:58 +02:00
dec05eba
19d77b8a96 Enable low latency encoding mode on amd (only available on amd since mesa version mesa 24.1.4) 2024-10-16 00:35:18 +02:00
dec05eba
a5895b775d appendum 2024-10-12 11:58:56 +02:00
dec05eba
2c4b077f43 Better frametimes when recording is too slow 2024-10-12 11:49:31 +02:00
dec05eba
9248663666 Better frame timing when frame encoding time overflows 2024-10-12 01:12:15 +02:00
dec05eba
fff68b8a18 More frame timing 2024-10-12 00:59:40 +02:00
dec05eba
037f5b3e5b Add back better frame timing for smoother video 2024-10-11 23:52:54 +02:00
dec05eba
935a7b892e Rename video encoder cuda to video encoder nvenc 2024-10-09 18:32:26 +02:00
dec05eba
0a8d176ab6 Usage 2024-10-07 23:28:20 +02:00
dec05eba
35c98148f3 usage 2024-10-07 23:26:31 +02:00
dec05eba
5d7933b0c9 Replace -bitrate with -q for constant bitrate (-bm cbr) 2024-10-07 22:30:11 +02:00
dec05eba
67bb47a355 More constant bitrate 2024-10-07 18:19:53 +02:00
dec05eba
ef6d265c85 Make -ab and -vb in kbps 2024-10-07 01:09:25 +02:00
dec05eba
d17bc3912d Add constant bitrate mode (-bm cbr with and -vb option) 2024-10-07 00:56:24 +02:00
dec05eba
793d4839f5 Support hevc vulkan, fix vulkan encoding for all resolutions, disable vulkan encoding for now until drivers and ffmpeg work properly 2024-10-03 12:42:17 +02:00
dec05eba
07a843747c Comment out vulkan includes for now 2024-10-01 23:10:20 +02:00
dec05eba
4f709f0fa6 Rename codec query cuda to codec query nvenc 2024-10-01 18:30:11 +02:00
dec05eba
720a4e2919 Support gpus that only support low power encoding mode (Intel Arc A380) 2024-10-01 18:28:06 +02:00
dec05eba
0eb9ce003d Cleanup rc 2024-09-29 04:56:25 +02:00
dec05eba
ebc8c69bac Add vulkan video encoding option (-k h264_vulkan). WIP, not fully hardware accelerated yet 2024-09-27 03:03:09 +02:00