Skip to content

Instantly share code, notes, and snippets.

@dende

dende/.bash_aliases

Created Mar 30, 2018
Embed
What would you like to do?
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