diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-07-24 18:21:21 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-07-24 18:21:21 +0200 |
commit | 061f885fc6e5d3a4f44e52dfb398dc7829c4479a (patch) | |
tree | ca7058bf395cd695a501a56d5a690666c31bd875 | |
parent | be69d51f25189dba52f0c0d97906e9d1af3986fd (diff) |
Add info about flatpak
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | twitch-stream.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ If you are running an Arch Linux based distro, then you can find gpu screen reco If you are running an Ubuntu based distro then run `install_ubuntu.sh` as root: `sudo ./install_ubuntu.sh`.\ On other distros you need to install dependencies manually and run `build.sh`. Dependencies: `glew glfw3 cuda ffmpeg libx11 libxcomposite libpulse-simple`.\ +If you use a distro that isn't user friendly, such as fedora, then you can also install gpu-screen-recorder-gtk with flatpak here: [gpu-screen-recorder-flatpak](https://git.dec05eba.com/gpu-screen-recorder-flatpak/about/) (Note: this install method is slow).\ Recording monitors requires a gpu with NvFBC support (note: this is not required when recording a single window!). Normally only tesla and quadro gpus support this, but by using [nvidia-patch](https://github.com/keylase/nvidia-patch) or [nvlax](https://github.com/illnyang/nvlax) you can do this on all gpus that support nvenc as well (gpus as old as the nvidia 600 series), provided you are not using outdated gpu drivers. # How to use diff --git a/twitch-stream.sh b/twitch-stream.sh index 28d0eb1..12928c9 100755 --- a/twitch-stream.sh +++ b/twitch-stream.sh @@ -2,4 +2,4 @@ [ "$#" -ne 3 ] && echo "usage: twitch-stream.sh <window_id> <fps> <livestream_key>" && exit 1 active_sink="$(pactl get-default-sink).monitor" -./gpu-screen-recorder -w "$1" -c flv -f "$2" -a "$active_sink" | ffmpeg -i pipe:0 -c:v copy -f flv -- "rtmp://live.twitch.tv/app/$3" +./gpu-screen-recorder -w "$1" -c flv -f "$2" -a "$active_sink" "rtmp://live.twitch.tv/app/$3" |