aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-03-31 23:37:39 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-21 14:40:36 +0200
commite223556b5de2b7eebd995ac61ddd99a3b1f1ac6d (patch)
treea276c9e1de879ea56f85813d41c6950de8525218
parent19dfa524d4bd2963531868c141af635fe31c3efd (diff)
Rename to gpu screen recorder
-rw-r--r--README.md2
-rw-r--r--project.conf4
-rw-r--r--src/main.cpp2
-rwxr-xr-xtwitch-stream.sh2
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 6bf921b..dac725e 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Hardware screen recorder
+# 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.
diff --git a/project.conf b/project.conf
index 5187ddb..651def6 100644
--- a/project.conf
+++ b/project.conf
@@ -1,5 +1,5 @@
[package]
-name = "hardware-screen-recorder"
+name = "gpu-screen-recorder"
type = "executable"
version = "0.1.0"
platforms = ["posix"]
@@ -22,4 +22,4 @@ xdamage = "1"
# TODO: Remove this dependency, this is needed right now for glfwMakeContextCurrent
glfw3 = "3"
-alsa = "1" \ No newline at end of file
+alsa = "1"
diff --git a/src/main.cpp b/src/main.cpp
index 49e651c..682b90a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -433,7 +433,7 @@ static void close_video(AVStream *video_stream, AVFrame *frame) {
int main(int argc, char **argv) {
if (argc < 4) {
- fprintf(stderr, "usage: hardware-screen-recorder <window_id> <container_format> <fps>\n");
+ fprintf(stderr, "usage: gpu-screen-recorder <window_id> <container_format> <fps>\n");
return 1;
}
diff --git a/twitch-stream.sh b/twitch-stream.sh
index 3c10544..d4da530 100755
--- a/twitch-stream.sh
+++ b/twitch-stream.sh
@@ -1,4 +1,4 @@
#!/bin/sh
[ "$#" -ne 3 ] && echo "usage: twitch-stream.sh <window_id> <fps> <livestream_key>" && exit 1
-sibs build --release && ./sibs-build/linux_x86_64/release/hardware-screen-recorder "$1" h264 "$2" | ffmpeg -i pipe:0 -c:v copy -f flv "rtmp://live.twitch.tv/app/$3"
+sibs build --release && ./sibs-build/linux_x86_64/release/gpu-screen-recorder "$1" h264 "$2" | ffmpeg -i pipe:0 -c:v copy -f flv "rtmp://live.twitch.tv/app/$3"