Add -s option to set record area size, fix workspace switch freezing recording on bspwm, make background black after resize

This commit is contained in:
dec05eba
2022-03-22 23:08:39 +01:00
parent 821cacf9ff
commit 36fd4516db
2 changed files with 48 additions and 20 deletions

View File

@@ -36,7 +36,6 @@ This gpu-screen-recorder keeps the window image on the GPU and sends it directly
FFMPEG only uses the GPU with CUDA when doing transcoding from an input video to an output video, and not when recording the screen when using x11grab. So FFMPEG has the same fps drop issues that OBS has.
# TODO
* Scale video when the window is rescaled.
* Support AMD and Intel, using VAAPI. cuda and vaapi should be loaded at runtime using dlopen instead of linking to those
libraries at compile-time.
* Clean up the code!