diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 53d5388..c24b881 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -34,6 +34,7 @@ pulseaudio `# for sound` \ alsa-base `# for sound` \ pavucontrol `# for audio control` \ pasystray `# for audio control` \ +libnvidia-compute-545 `# for mpv + nvidia` \ iputils-ping `# ping etc.` \ xfe `# classic file manager` \ surf `# suckless lightweight browser` \ diff --git a/record_screen.sh b/record_screen.sh new file mode 100755 index 0000000..1a6c198 --- /dev/null +++ b/record_screen.sh @@ -0,0 +1,7 @@ +#!/bin/bash +ffmpeg \ +-f x11grab -framerate 30 -video_size 1920x1080 -i :0 `# this is screen` \ +-f v4l2 -framerate 30 -video_size 640x480 -i /dev/video0 `# this is camera` \ +-f alsa -i default `# this is audio` \ +-filter_complex "[0][1]overlay=main_w-overlay_w-2:main_h-overlay_h-2[v]" -map [v] -map 2 `# this is for placing camera in bottom right corner. IDK how it works` \ +video.mp4 # ouput file