Commit Graph

597 Commits

Author SHA1 Message Date
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
dec05eba
1aaa26d87e Move codec query from encoder to separate file 2024-09-26 16:08:26 +02:00
dec05eba
95e1971f8f Fix first frame is black 2024-09-21 16:38:15 +02:00
dec05eba
fb707aee6f Revert "frame test"
This reverts commit 048efbd851.
2024-09-21 16:16:37 +02:00
dec05eba
048efbd851 frame test 2024-09-21 16:12:39 +02:00
dec05eba
eddb07ac40 Revert recent time framing and performance changes as it affects slower devices badly 2024-09-21 15:43:19 +02:00
dec05eba
ff6d468713 4.1.9, Prepare for new hdr metadata alloc function and new preset values in ffmpeg 7.1 2024-09-20 23:01:47 +02:00
dec05eba
aef223d844 Remove damage tracking for now, better frame timing (deal with time error accumulation) 2024-09-20 02:20:42 +02:00
dec05eba
6e73e40bb1 r 2024-09-18 17:01:54 +02:00