Commit Graph

541 Commits

Author SHA1 Message Date
dec05eba
4bcf976a71 Improve capture performance on amd/intel when using monitor capture: capture display frame using purely vaapi unless the monitor is rotated 2024-09-16 23:31:53 +02:00
dec05eba
f6f8fdb33c Portal: sync capture to frame update 2024-09-15 04:22:00 +02:00
dec05eba
f53d7b30b1 Allow recording at very low fps 2024-09-14 13:44:14 +02:00
dec05eba
14d5c42f5e Update usage 2024-09-14 12:13:45 +02:00
dec05eba
ba9aa1f39f Allow -fm content with monitor capture on x11 2024-09-14 03:52:06 +02:00
dec05eba
714561987e Properly damage if moving cursor
Only damage if cursor is inside the target area
2024-09-14 02:27:48 +02:00
dec05eba
8acb346382 Set update fps to video fps, on x11 sync video to damage tracking 2024-09-14 01:15:01 +02:00
dec05eba
992792fb1f Move amix to separate thread 2024-09-07 14:09:04 +02:00
dec05eba
2682df9e0f Portal: fix external texture 2024-09-06 13:28:35 +02:00
dec05eba
f756d5a0a7 Allow prime run with desktop portal 2024-09-06 12:42:02 +02:00
dec05eba
239f2010f5 Fix systemd service file 2024-09-05 23:39:17 +02:00
dec05eba
b7c5df3c4b Faster startup (faster video codec query), fix some video codec callback logic 2024-08-31 03:17:18 +02:00
dec05eba
b99539af57 Add --version command 2024-08-31 00:48:04 +02:00
dec05eba
1d7c1e7d14 Enable recording on steam deck with warning, use vbr on steam deck and add -bm bitrate mode option for qp or vbr 2024-08-31 00:26:22 +02:00
dec05eba
dfe2b17648 Prepare for video codec query, cleanup readme, add libva-drm as dependency 2024-08-29 22:22:46 +02:00
dec05eba
45a10baf5f Disable steam deck support at the moment because the driver is broken (ignores qp, capture tearing) 2024-08-20 15:28:37 +02:00
dec05eba
faf6ba69a0 Improve quality again 2024-08-20 15:23:49 +02:00
dec05eba
aee79749bd Also revert av1 quality 2024-08-20 01:37:28 +02:00
dec05eba
5ac1db7a65 Revert quality parameters, they were overkill 2024-08-20 01:35:32 +02:00
dec05eba
fa81e01663 Fix: hevc and av1 is always 10bits 2024-08-17 20:06:25 +02:00
dec05eba
eaef33640e --info and --list-audio-devices should separate key and value by a | instead of whitespace because audio device names can contain space if they are virtual 2024-08-17 20:00:51 +02:00
dec05eba
3ec93bcc41 Add hevc_10bit and av1_10bit options for 10bit color range, increase video quality (qp) 2024-08-17 19:55:09 +02:00
dec05eba
da4925b23e Allow capture of external monitors on a laptop with dedicated gpu (prime) on x11, fix cursor not visible on some wayland compositors (hyprland) with multiple monitors 2024-08-16 19:37:00 +02:00
dec05eba
f297a92e05 Create example start recording script 2024-08-15 19:53:07 +02:00
dec05eba
c1debaa838 Disable prime-run + portal for now 2024-08-15 12:08:16 +02:00
dec05eba
ffb8c6af3b Allow prime-run capture on laptop with external gpu when the iGPU
doesn't have any monitor to capture.
Fix prime-run desktop portal capture broken (fallback to external
texture).
Fallback to external texture in kms capture.
2024-08-15 08:09:23 +02:00
dec05eba
846241189e Add -portal-session-token-filepath option to specify where desktop portal session token is saved/restore 2024-08-08 01:45:35 +02:00
dec05eba
fbbeadfeb0 Enable prime-run on wayland 2024-08-04 00:21:44 +02:00
dec05eba
9560c47cfd Output h264_software in --info output if available 2024-08-03 17:37:02 +02:00
dec05eba
55d9250533 Fix build for older ffmpeg (hdr metadata) 2024-08-03 07:54:09 +02:00
dec05eba
dde9c3f12e Variable shadow fix 2024-08-02 00:27:57 +02:00
dec05eba
844a54b43b Allow using 'default_output' / 'default_input' as audio devices (-a option), add --list-audio-devices option 2024-08-02 00:14:01 +02:00
dec05eba
7e1be0192d Only show hdr codecs in info output if wayland 2024-08-01 05:22:32 +02:00
dec05eba
5e2a233d23 Disable prime-run for now until the option to select a gpu device is added 2024-07-26 17:48:11 +02:00
dec05eba
6be0324528 Info: error if invalid drm card 2024-07-26 11:32:59 +02:00
dec05eba
b1d8346ed9 Move glClear and glx/eglSwapBuffers from capture backends to main 2024-07-26 10:55:24 +02:00
dec05eba
af4f9b805a Fix variable shadow warnings 2024-07-25 13:58:10 +02:00
dec05eba
7d719a44c6 Fix hdr capture causing crash when in replay mode 2024-07-23 18:11:38 +02:00
dec05eba
7e07ad1b6e Output warning that -mf is deprecated 2024-07-23 15:10:31 +02:00
dec05eba
01f19ae9d2 Rename argument -mf to -df (keep -mf for backwards compatibility) 2024-07-23 15:07:49 +02:00
dec05eba
076aa600ba Output hdr options in --info as well 2024-07-23 13:42:11 +02:00
dec05eba
753b570d46 Update readme 2024-07-22 06:00:06 +02:00
dec05eba
f9a41041ec Fix HDR capture (HDR metadata is now correct). Note that HDR capture is only available on Wayland and when recording a monitor without the desktop portal option 2024-07-21 19:12:06 +02:00
dec05eba
9ca5847f6f Add missing include 2024-07-21 02:12:32 +02:00
dec05eba
51294af4c6 Fix portal being displayed as not supported 2024-07-20 13:14:59 +02:00
dec05eba
739fab83ba Update todo and minor usage info 2024-07-19 22:00:28 +02:00
dec05eba
e2d1aa2203 Disable desktop portal capture option on x11 since it doesn't seem to be hardware accelerated 2024-07-18 21:37:06 +02:00
dec05eba
705abeff30 vendor instead of gpu 2024-07-17 18:17:23 +02:00
dec05eba
57fdf3e7e6 Better info output 2024-07-17 18:04:22 +02:00
dec05eba
26deafd7db Include system info (x11 vs wayland) in --info output 2024-07-17 17:46:33 +02:00