Commit Graph

331 Commits

Author SHA1 Message Date
dec05eba
6141fda5e2 Add support for vp8 and vp9 (experimental) 2024-07-06 01:43:50 +02:00
dec05eba
d53fcfcf6e Update error message 2024-07-05 12:14:06 +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
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
3e2e2444d9 Properly cut out cursor outside video area when dealing with hevc amd padding 2024-06-14 02:05:54 +02:00
dec05eba
f02f5a9d00 Re-enable intel arc fix (but only for intel systems) 2024-06-10 16:55:47 +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
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
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
dec05eba
f90b274720 Cleanup, clear bg on init 2024-05-03 19:38:36 +02:00
dec05eba
3143358c3b Change nvidia preset to default (p4), which improves encoding performance a lot on certain gpus (and fixes 4k60fps encoding on those cards) 2024-04-27 01:25:38 +02:00
dec05eba
4b28221a77 Mention gsync 2024-04-25 14:22:54 +02:00
dec05eba
984d10caff Show flatpak run command in help menu 2024-04-22 10:41:51 +02:00
dec05eba
b1cc1ee09a Include audio human readable name (description) when using incorrect audio device 2024-04-17 18:44:17 +02:00
dec05eba
11b507c13e h264>hevc 2024-04-16 22:24:53 +02:00
dec05eba
38cb7f04ae Audio delay, change depending on fps 2024-04-16 20:47:26 +02:00
dec05eba
4695d954d5 shit and poop 2024-04-16 20:09:20 +02:00
dec05eba
d877deec3c info 2024-04-16 18:39:29 +02:00
Stoppedpuma
d066dfc645 Increase audio bitrate for all codecs
Increases AAC to 160kbps, increases Opus and FLAC to 128kbps.
Remove step from TODO.
2024-04-16 18:12:08 +02:00
dec05eba
8c43a25543 Remove audio compenstation 2024-04-16 18:11:29 +02:00
dec05eba
7e239c8aa2 Test latency comp 2024-04-15 20:30:41 +02:00
dec05eba
b554628099 Revert "Testing audio latency compensation"
This reverts commit 2692a7d22c.
2024-04-14 00:53:15 +02:00
dec05eba
2692a7d22c Testing audio latency compensation 2024-04-14 00:02:47 +02:00
dec05eba
24c13ceaab Use correct audio read timeout 2024-04-13 02:00:35 +02:00
dec05eba
bc55369230 Set audio timeout to a low value again 2024-04-13 01:46:31 +02:00