From 3b2346deb3700f602f57b5c634e08ccb67b2b94b Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sat, 25 Jul 2020 14:43:43 -0500 Subject: [PATCH] Revert changes to dmenurecord Seems that @drakenewell will need to provide more details about his issue. Someone commented that it broke for them which somewhat makes sense because alsa is lower level and might as well use it. --- .local/bin/dmenurecord | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord index 5d5e8518..49a2fbf8 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -33,7 +33,7 @@ screencast() { \ -framerate 60 \ -s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \ -i "$DISPLAY" \ - -f pulseaudio -i default \ + -f alsa -i default \ -r 30 \ -c:v h264 -crf 0 -preset ultrafast -c:a aac \ "$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" & @@ -72,7 +72,7 @@ webcam() { ffmpeg \ audio() { \ ffmpeg \ - -f pulseaudio -i default \ + -f alsa -i default \ -c:a flac \ "$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" & echo $! > /tmp/recordingpid