Screen Recording

Techie stuff. High quality, efficient, free, open-source. And it works.

Check out a proven PulseAudio setup first.

sudo apt install ffmpeg
#!/bin/bash
# file screenCaputure.sh
case $1 in
  "w") ffmpeg -f pulse -ac 2 -i recording.monitor -video_size 1318x740 -framerate 30 -f x11grab -i :0.0+47,27 -i ~/Videos/Logo_hoch_100x103px.png -filter_complex "overlay=W-w-30:H-h-30" -c:v libx264 -crf 23 -preset veryfast -c:a aac -b:a 128k -y -loglevel quiet ~/Videos/$2;;
  "f") ffmpeg -f pulse -ac 2 -i recording.monitor -video_size 1366x768 -framerate 30 -f x11grab -i :0.0+0,0 -i ~/Videos/Logo_hoch_100x103px.png -filter_complex "overlay=W-w-30:H-h-30" -c:v libx264 -crf 23 -preset veryfast -c:a aac -b:a 128k -y -loglevel quiet ~/Videos/$2;;
esac

If you copy the script to ~/bin, just call:

screenCaputure.sh w video_001.mp4

You may wanna read more about video editing and PulseAudio:

Veröffentlicht am
Kategorisiert in ubuntu Verschlagwortet mit