Hi., today I am gonna show you simple script that I use to record my screen. Ffmeg is very usefull tool for video recording, editing, etc. Ffmpeg have a lot of options and one of them is recording screen with detailed options. Here is my script.
ffmpeg -f x11grab -r 25 -s 1600x900 -i :0.0+0,0 -acodec pcm_s16le -vcodec libx264 -threads 8 ~ismail/downloads/video_$(date +"%Y-%m-%d-%H-%M").mkv
-f x11grab option...