Revert changes to dmenurecord (#774)

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.
This commit is contained in:
Vlad Doster authored and GitHub committed 2020-07-26 06:56:11 -04:00
1 parent 0a5afc8767
commit d2dfd16fbe
1 file changed
+2 -2
+2 -2
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 pulseaudio -i default \ -f alsa -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 pulseaudio -i default \ -f alsa -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