aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 279b8dea90589a2362970084147199e11f5ad2ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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!