diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-03-22 10:12:02 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-03-26 19:04:51 +0200 |
commit | 0e5e547c21176b2d9c4b0a4ef790d78781ac0a31 (patch) | |
tree | 7f3fb2a746716e4064a1341dc1d31024cf37d329 | |
parent | 5d80bd886c1489a1a97b8982517d53e9b259f988 (diff) |
Smaller dependency list for ubuntu, full dependency list for readme
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | install_ubuntu.sh | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -32,9 +32,9 @@ You can also install gpu screen recorder ([the gtk gui version](https://git.dec0 # Dependencies ## AMD/Intel -`libglvnd (which provides libgl and libegl), mesa, ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter), libx11, libxcomposite, libpulse, libva.so`. +`libglvnd (which provides libgl and libegl), mesa, ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter), libx11, libxcomposite, libxrandr, libpulse, libva`. ## NVIDIA -`libglvnd (which provides libgl and libegl), ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter), libx11, libxcomposite, libpulse, libcuda.so`. Additionally, you need to have `libnvidia-fbc.so.1` installed when using nvfbc and `libXNVCtrl.so.0` when using the `-oc` option. +`libglvnd (which provides libgl and libegl), ffmpeg (libavcodec, libavformat, libavutil, libswresample, libavfilter), libx11, libxcomposite, libxrandr, libpulse, libnvidia-compute libnvidia-encode`. Additionally, you need to have `libnvidia-fbc1` installed when using nvfbc and `libxnvctrl0` when using the `-oc` option. # How to use Run `scripts/interactive.sh` or run gpu-screen-recorder directly, for example: `gpu-screen-recorder -w $(xdotool selectwindow) -c mp4 -f 60 -a "$(pactl get-default-sink).monitor" -o test_video.mp4` then stop the screen recorder with Ctrl+C, which will also save the recording. You can change -w to -w screen if you want to record all monitors or if you want to record a specific monitor then you can use -w monitor-name, for example -w HDMI-0 (use xrandr command to find the name of your monitor. The name can also be found in your desktop environments display settings).\ diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 4f47ff0..d776c93 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -9,6 +9,6 @@ set -e apt-get -y install build-essential\ libswresample-dev libavformat-dev libavcodec-dev libavutil-dev libavfilter-dev\ libglvnd-dev libx11-dev libxcomposite-dev libxrandr-dev\ - libpulse-dev libva-dev libxnvctrl0 libnvidia-compute libnvidia-encode libnvidia-fbc1 + libpulse-dev libva2 libxnvctrl0 libnvidia-compute libnvidia-encode libnvidia-fbc1 ./install.sh |