Fix dmenurecord breakage (#773)

* Fixes breakage

Referencing issue

* Missed an alsa reference
This commit is contained in:
Vlad Doster 2020-07-25 13:33:31 -04:00 committed by GitHub
parent 50a442998b
commit 0a5afc8767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ screencast() { \
-framerate 60 \ -framerate 60 \
-s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \ -s "$(xdpyinfo | grep dimensions | awk '{print $2;}')" \
-i "$DISPLAY" \ -i "$DISPLAY" \
-f alsa -i default \ -f pulseaudio -i default \
-r 30 \ -r 30 \
-c:v h264 -crf 0 -preset ultrafast -c:a aac \ -c:v h264 -crf 0 -preset ultrafast -c:a aac \
"$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" & "$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" &
@ -72,7 +72,7 @@ webcam() { ffmpeg \
audio() { \ audio() { \
ffmpeg \ ffmpeg \
-f alsa -i default \ -f pulseaudio -i default \
-c:a flac \ -c:a flac \
"$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" & "$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" &
echo $! > /tmp/recordingpid echo $! > /tmp/recordingpid