dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit c11f3736ac11806e5f1a83775d55794c01e56263
parent 7384b669d300253da2467d25e1f20c465038385b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 28 Oct 2020 08:32:22 +0100

adcast, screenrecord: max out mic volume before recording

Diffstat:
M.local/bin/adcast | 1+
M.local/bin/screenrecord | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.local/bin/adcast b/.local/bin/adcast @@ -4,6 +4,7 @@ lockfile=/tmp/adcast.pid pass="$(gpg2 -q -d ~/.password-store/ad-server/adamsgaard.dk-icecast-source.gpg)" startcast() { + sndioctl input.level=1.0 ffmpeg -f sndio -ac 2 -ar 44100 -i snd/0 \ -codec libmp3lame -f mp3 \ "icecast://source:${pass}@adamsgaard.dk:3232/live" >/dev/null 2>&1 & diff --git a/.local/bin/screenrecord b/.local/bin/screenrecord @@ -2,6 +2,7 @@ lockfile=/tmp/screenrecord.pid startrecording() { + sndioctl input.level=1.0 out="$HOME/tmp/screenrecord-$(date '+%Y-%m-%d_%H:%M:%S').mkv" ffmpeg -y \ -f x11grab \