mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
FFmpeg options for swaygrab
This commit is contained in:
parent
cd08e9160e
commit
8d54a6746c
2 changed files with 20 additions and 4 deletions
|
|
@ -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
|
||||
-------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue