Commit Graph

569 Commits

Author SHA1 Message Date
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
dec05eba
dae68d382e Fix for ffmpeg 7.1 2024-09-18 13:47:58 +02:00
dec05eba
824db79882 Constant framerate tweaking 2024-09-18 12:27:41 +02:00
dec05eba
41bd6cee63 Use async_depth option on vaapi for much better encoding performance 2024-09-18 11:15:10 +02:00
dec05eba
69088303c0 Fix mixed audio messed up because of sleep in mutex lock 2024-09-16 23:31:53 +02:00
dec05eba
c9d83e9ae4 Fallback to non-hdr for portal capture 2024-09-16 23:31:53 +02:00
dec05eba
25b7b4e84e Pure vaapi capture (for capture target) and opengl composition for cursor only when capturing window and portal as well, clear background on resize for monitor capture 2024-09-16 23:31:53 +02:00
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