Go to file
dec05eba 2b4aeb90f3 wip
2020-06-21 14:41:11 +02:00
include blabla 2020-03-29 17:48:17 +02:00
src wip 2020-06-21 14:41:11 +02:00
.clang-format format code 2020-03-30 17:38:55 +02:00
.gitignore first 2020-01-08 13:34:55 +01:00
LICENSE Update LICENSE 2020-03-30 21:40:41 +02:00
project.conf Rename to gpu screen recorder 2020-06-21 14:40:36 +02:00
README.md Update readme with correct binary name 2020-06-21 14:41:08 +02:00
twitch-stream.sh Rename to gpu screen recorder 2020-06-21 14:40:36 +02:00

gpu screen recorder

This is a screen recorder that has minimal impact on system performance by recording a window using the GPU only, similar to shadowplay on windows.

This project is still early in development.

Performance

When recording a 4k game, fps drops from 30 to 7 when using OBS Studio, however when using this screen recorder the fps remains at 30.

Example

gpu-screen-recorder 0x1c00001 mp4 60 > test_video.mp4

Requirements

X11, Nvidia (cuda)

TODO

  • Scale video when the window is rescaled.
  • Use the sound source in src/sound.cpp to record audio and mux it with ffmpeg to the final video.
  • 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!