Created
March 30, 2018 20:50
-
-
Save dende/f5f738c3816d294791d3f040eb46503f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myrecordwebcam(){ | |
nohup avconv -f video4linux2 -thread_queue_size 512 -r 30 -video_size 1280x720 -input_format mjpeg -i /dev/video1 -f alsa -thread_queue_size 512 -i plughw:U0x46d0x823,0 -ar 22050 -ab 128k$ | |
} | |
alias rwc=myrecordwebcam | |
mystopwebcam(){ | |
killall avconv | |
} | |
alias swc=mystopwebcam | |
myopen(){ | |
xdg-open "$1" >/dev/null 2>/dev/null | |
} | |
alias op=myopen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment