Commit Graph

451 Commits

Author SHA1 Message Date
dec05eba
27a57e5053 Add vp8 and vp9 to --list-supported-video-codecs 2024-07-06 01:44:58 +02:00
dec05eba
6141fda5e2 Add support for vp8 and vp9 (experimental) 2024-07-06 01:43:50 +02:00
dec05eba
48cd80f24e Add encoder option to systemd service file 2024-07-05 18:57:06 +02:00
dec05eba
d53fcfcf6e Update error message 2024-07-05 12:14:06 +02:00
dec05eba
6c5acf2da6 Use GL_TEXTURE_EXTERNAL_OES for cursor texture on kms nvidia 2024-07-05 12:00:01 +02:00
dec05eba
a5720df10f Nicer window focus transition for padding handling 2024-07-05 11:55:56 +02:00
dec05eba
56e9d15e0f Fix capture incorrect alignment with cpu encoding for some window sizes 2024-07-05 11:34:34 +02:00
dec05eba
b9fa7f2fa2 Separate video encoding method from capture method
With this instead of kms_cuda/kms_vaapi/kms_software and
xcomposite_cuda/xcomposite_vaapi/xcomposite_software there
is now only kms and xcomposite.
2024-07-05 10:33:47 +02:00
dec05eba
62d61fda12 Add support for software video encoding with '-encoder cpu' option, currently h264 only 2024-07-04 01:35:03 +02:00
dec05eba
ea7b58d7f9 ammend 2024-06-28 16:37:44 +02:00
dec05eba
6598e09efa Use low latency mode if output is being piped (/dev/stdout as output), do not do audio delay compensation if output is being piped 2024-06-28 16:30:00 +02:00
dec05eba
d2e1606f57 Minor reorder 2024-06-23 01:39:07 +02:00
dec05eba
4c88f8f379 Default to h264 video codec because amd driver is shit with padding and for better compatibility with software 2024-06-23 01:34:38 +02:00
dec05eba
a2082c50a5 revert temp 2024-06-23 01:05:06 +02:00
dec05eba
d21ada4b19 temp 2024-06-23 01:02:40 +02:00
dec05eba
df83c8a602 Fix audio recording (channel layout) for ffmpeg 7 2024-06-22 03:36:23 +02:00
dec05eba
46da55b1ea fm content: make sure to capture frame on damage and then no damage after fps frame timeout 2024-06-21 23:01:00 +02:00
dec05eba
fab9fc9993 Error if -fm content is used on wayland or not window capture 2024-06-21 22:27:39 +02:00
dec05eba
ab78e56872 Add -fm 'content' option to match fps to captured content, only x11 window capture currently supported 2024-06-21 22:18:23 +02:00
dec05eba
4bfb095f8d Update usage doc, clearify variable framerate with -f option 2024-06-19 19:49:39 +02:00
dec05eba
b3acabbf34 AMD: align av1 to extra padding because of hardware bug 2024-06-19 00:05:23 +02:00
dec05eba
3e2e2444d9 Properly cut out cursor outside video area when dealing with hevc amd padding 2024-06-14 02:05:54 +02:00
dec05eba
e43934e2d2 Remove video_alignment_padding variable, replace with putting capture content in the center with frame resolution and capture resolution diff 2024-06-10 18:41:05 +02:00
dec05eba
adbd5d9766 Take amd hevc video alignment padding into consideration to move video content to center of video with black bars on all sides instead of only right/bottom 2024-06-10 17:51:09 +02:00
dec05eba
55266f2a68 Wayland: match montitor by name before trying to match by place 2024-06-10 17:14:25 +02:00
dec05eba
f02f5a9d00 Re-enable intel arc fix (but only for intel systems) 2024-06-10 16:55:47 +02:00
dec05eba
e4832f3d64 Revert "Fix screen capture on intel arc gpu (on x11 and wayland)"
This reverts commit f8453bcaa4.
2024-06-10 16:44:04 +02:00
dec05eba
c17a717326 Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing glitched video output on right/bottom side 2024-06-10 12:44:40 +02:00
dec05eba
3f0a58a1e6 Do not require a valid drm plane to capture a window on amd/intel x11 2024-06-10 12:28:53 +02:00
dec05eba
f8453bcaa4 Fix screen capture on intel arc gpu (on x11 and wayland) 2024-06-09 23:35:48 +02:00
dec05eba
c6e718a905 Use vaapi header fourcc instead of define 2024-06-09 19:30:51 +02:00
dec05eba
b02adc576c Correctly no audio delay if m3u8 2024-06-08 20:31:35 +02:00
dec05eba
ac2add6f04 Force non av1 video codec for hls and aac, force aac for flv 2024-06-03 10:11:49 +02:00
dec05eba
9b8464a0a6 Clearify -a empty string behavior 2024-05-30 20:16:31 +02:00
dec05eba
0d558a36af Fix recording freeze on nvidia when __GL_SYNC_TO_VBLANK is set to 1 2024-05-30 01:26:25 +02:00
dec05eba
fe690fa38a Make gopm a float, rename it to keyint (keyframe interval) 2024-05-30 00:21:45 +02:00
dec05eba
e572073bdc Add extra replay cut time depending on gopm 2024-05-21 22:09:18 +02:00
dec05eba
fee6441bc5 Allow setting gop multiplication to reduce file size 2024-05-21 22:02:59 +02:00
dec05eba
42d9ebd3c7 Do not force constant framerate for live streams 2024-05-20 00:55:24 +02:00
dec05eba
dda2de856c Support av1 webm (force opus audio for .webm files) 2024-05-19 23:58:53 +02:00
dec05eba
133c3a22b9 Better audio sync for 60 fps 2024-05-13 19:27:09 +02:00
dec05eba
0288b94ecf shit 2024-05-13 10:20:58 +02:00
dec05eba
e965da23c8 More audio/video delay compensation 2024-05-13 09:02:58 +02:00
dec05eba
357df7ce53 Fix mpegts and flv: dont use audio delay if .ts or .flv 2024-05-11 20:59:12 +02:00
dec05eba
16d273e6b4 record audio frames for empty audio track again 2024-05-11 02:59:13 +02:00
dec05eba
952aa1bf51 Change nvidia h264 quality options 2024-05-11 02:07:15 +02:00
dec05eba
cd7aa77bf5 Re-enable opus and make it default (test) 2024-05-10 23:39:43 +02:00
dec05eba
f1eb893493 Proper strncpy null termination 2024-05-09 16:17:38 +02:00
dec05eba
447b5d0f0b Improve quality for av1 hdr 2024-05-07 23:50:14 +02:00
dec05eba
2a7e34478f Increase quality (bitrate) when using hdr, to compensate for requiring more bits per pixel 2024-05-07 22:21:02 +02:00