Skip to content

Instantly share code, notes, and snippets.

@kazqvaizer
Created November 22, 2022 09:05
Show Gist options
  • Save kazqvaizer/321740b861c09f5af8568f2522710695 to your computer and use it in GitHub Desktop.
Save kazqvaizer/321740b861c09f5af8568f2522710695 to your computer and use it in GitHub Desktop.
Launch all necessary for screen cast with yourself
#!/bin/bash
mplayer -ontop -noborder -geometry 300x300+80+750 -vf mirror,crop=240:240:30:0 -vo gl2 -msglevel all=0 -tv width=300:height=300:device=/dev/video0 tv:// &
simplescreenrecorder --start-hidden &>/dev/null &
sleep 3
wmctrl -r MPlayer -b add,sticky
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment