os/+arch/bin/rec: use default sound device

This commit is contained in:
Henrik Lissner 2017-09-23 22:49:42 +02:00
parent 138a41454c
commit 2f08502689
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -5,6 +5,6 @@
read -r X Y W H G ID < <(slop -f "%x %y %w %h %g %i") read -r X Y W H G ID < <(slop -f "%x %y %w %h %g %i")
dest=${1:-$(mktemp -t recXXX.webm)} dest=${1:-$(mktemp -t recXXX.webm)}
ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa "$dest" ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y "$dest"
# vim:set ft=sh: # vim:set ft=sh: