gpu-screen-recorder/README.md

30 lines
1.2 KiB
Markdown
Raw Normal View History

2020-03-31 21:37:39 +00:00
# gpu screen recorder
2020-03-30 19:46:40 +00:00
This is a screen recorder that has minimal impact on system performance by recording a window using the GPU only,
2020-03-30 15:22:57 +00:00
similar to shadowplay on windows.
2020-04-01 17:25:16 +00:00
The output is an h264 encoded video with aac audio.
2020-03-30 15:22:57 +00:00
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.
2020-04-23 14:56:36 +00:00
# Installation
gpu screen recorder can be built using [sibs](https://github.com/DEC05EBA/sibs) or if you are running Arch Linux, then you can find it on aur under the name gpu-screen-recorder-git (`yay -S gpu-screen-recorder-git`).
2020-04-01 14:17:49 +00:00
# Example
2020-04-04 12:54:12 +00:00
Run `interactive.sh` or run `gpu-screen-recorder -w 0x1c00001 -c mp4 -f 60 -a bluez_sink.00_18_09_8A_07_93.a2dp_sink.monitor > test_video.mp4`
2020-04-02 22:21:51 +00:00
# Demo
[![Click here to watch a demo video on youtube](https://img.youtube.com/vi/n5tm0g01n6A/0.jpg)](https://www.youtube.com/watch?v=n5tm0g01n6A)
2020-04-01 14:17:49 +00:00
2020-03-30 15:22:57 +00:00
# Requirements
2020-04-02 21:50:14 +00:00
X11, Nvidia (cuda), alsa or pulseaudio
2020-03-30 15:22:57 +00:00
# TODO
2020-03-31 18:02:18 +00:00
* Scale video when the window is rescaled.
2020-03-30 15:22:57 +00:00
* 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.
2020-03-30 19:46:40 +00:00
* Clean up the code!