Rename to gpu screen recorder
This commit is contained in:
parent
19dfa524d4
commit
e223556b5d
@ -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,
|
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.
|
similar to shadowplay on windows.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hardware-screen-recorder"
|
name = "gpu-screen-recorder"
|
||||||
type = "executable"
|
type = "executable"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
platforms = ["posix"]
|
platforms = ["posix"]
|
||||||
|
@ -433,7 +433,7 @@ static void close_video(AVStream *video_stream, AVFrame *frame) {
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
if (argc < 4) {
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
[ "$#" -ne 3 ] && echo "usage: twitch-stream.sh <window_id> <fps> <livestream_key>" && exit 1
|
[ "$#" -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user