Add -fm 'content' option to match fps to captured content, only x11 window capture currently supported

This commit is contained in:
dec05eba
2024-06-21 22:18:23 +02:00
parent 4bfb095f8d
commit ab78e56872
12 changed files with 214 additions and 41 deletions

2
TODO
View File

@@ -131,3 +131,5 @@ Flac is disabled because the frame sizes are too large which causes big audio/vi
Add 10-bit capture option. This is good because it reduces banding and quality in very dark areas while reducing the file size compared to doing the same thing with 8-bits.
Enable b-frames.
Support vfr matching games exact fps all the time. On x11 use damage tracking, on wayland? maybe there is drm plane damage tracking. But that may not be accurate as the compositor may update it every monitor hz anyways. On wayland maybe only support it for desktop portal + pipewire capture.