aboutsummaryrefslogtreecommitdiff
path: root/swaygrab/swaygrab.1.txt
diff options
context:
space:
mode:
authorDavid Blajda <blajda@hotmail.com>2017-06-17 20:41:09 -0400
committerDavid Blajda <blajda@hotmail.com>2017-06-17 22:14:39 -0400
commit8d54a6746c1a441008692f7264fd0a03b25aada8 (patch)
tree100fcee028eaacb58700fb925a3297c96b327cc7 /swaygrab/swaygrab.1.txt
parentcd08e9160e1ccfa52262d74104a4cd58ae26f818 (diff)
FFmpeg options for swaygrab
Diffstat (limited to 'swaygrab/swaygrab.1.txt')
-rw-r--r--swaygrab/swaygrab.1.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/swaygrab/swaygrab.1.txt b/swaygrab/swaygrab.1.txt
index b2c6389a..1da56db8 100644
--- a/swaygrab/swaygrab.1.txt
+++ b/swaygrab/swaygrab.1.txt
@@ -48,6 +48,13 @@ Options
*-f, --focused*::
Capture only the currently focused container.
+Environment Variables
+---------------------
+swaygrab reads the following environment variables.
+
+*SWAYGRAB_FFMPEG_OPTS*::
+ Pass additional arguments to FFmpeg when starting a capture.
+
Examples
--------
@@ -57,6 +64,10 @@ swaygrab output.png::
swaygrab -c -o HDMI-A-1 output.webm::
Capture a webm of HDMI-A-1.
+SWAYGRAB_FFMPEG_OPTS="-f alsa -i pulse" swaygrab -c::
+ Capture the focused output and encode audio from the default recording
+ device.
+
Authors
-------