FFmpeg options for swaygrab

This commit is contained in:
David Blajda 2017-06-17 20:41:09 -04:00
parent cd08e9160e
commit 8d54a6746c
2 changed files with 20 additions and 4 deletions

View file

@ -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
-------