commit 390238d28112dccbd4fc829933bcdfd566f49973
parent ceb06a4b54b6767490751d3050f7d1834ca4ba1d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 24 Mar 2020 19:18:59 +0100
Add note on OpenBSD audio recording
Diffstat:
2 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/pages/004-screencasts.html b/pages/004-screencasts.html
@@ -54,10 +54,17 @@ else
fi
</code></pre>
+<p>I have bound the above script to the key binding Alt+r which
+makes it easy to start and stop recording in my X session.</p>
+
<p>On Linux systems, the sound driver <b>sndio</b> should be replaced
-by <b>alsa</b> in the above ffmpeg(1) command. I have bound the
-above script to the key binding Alt+r which makes it easy to start
-and stop recording in my X session.</p>
+by <b>alsa</b> in the above ffmpeg(1) command. Audio recording is
+disabled by default on OpenBSD, but can be permanently enabled with
+the following commands:</p>
+
+<pre><code># sysctl kern.audio.record=1
+# echo kern.audio.record=1 >> /etc/sysctl.conf
+</code></pre>
<p>On OpenBSD I can show the webcam video feed with the <a
href="https://man.openbsd.org/man1/video.1">video(1)</a> command.
diff --git a/pages/004-screencasts.txt b/pages/004-screencasts.txt
@@ -52,10 +52,16 @@ script serves the purpose of starting and stopping recording:
startrecording
fi
+I have bound the above script to the key binding Alt+r which makes
+it easy to start and stop recording in my X session.
+
On Linux systems, the sound driver sndio should be replaced by alsa
-in the above ffmpeg(1) command. I have bound the above script to
-the key binding Alt+r which makes it easy to start and stop recording
-in my X session.
+in the above ffmpeg(1) command. Audio recording is disabled by
+default on OpenBSD, but can be permanently enabled with the following
+commands:
+
+ # sysctl kern.audio.record=1
+ # echo kern.audio.record=1 >> /etc/sysctl.conf
On OpenBSD I can show the webcam video feed with the [2]video(1)
command. The following script toggles the video feed: