mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-07 15:19:55 +09:00
Fix replay video/audio desync, fix dummy audio when dropping audio input, give each audio stream a new name so it can be replaced with pipewire graphs
This commit is contained in:
@@ -15,11 +15,11 @@ apt-get -y install build-essential nvidia-cuda-dev\
|
||||
libglew-dev libglfw3-dev\
|
||||
libpulse-dev
|
||||
|
||||
dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse-simple libswresample"
|
||||
dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse libswresample"
|
||||
includes="$(pkg-config --cflags $dependencies) -I/opt/cuda/targets/x86_64-linux/include"
|
||||
libs="$(pkg-config --libs $dependencies) /usr/lib/x86_64-linux-gnu/stubs/libcuda.so -ldl -pthread -lm"
|
||||
g++ -c src/sound.cpp -O2 $includes -DPULSEAUDIO=1
|
||||
g++ -c src/main.cpp -O2 $includes -DPULSEAUDIO=1
|
||||
g++ -c src/sound.cpp -O2 $includes
|
||||
g++ -c src/main.cpp -O2 $includes
|
||||
g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs
|
||||
install -Dm755 "gpu-screen-recorder" "/usr/local/bin/gpu-screen-recorder"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user