diff options
author | 2017-06-17 23:56:59 -0400 | |
---|---|---|
committer | 2017-06-17 23:56:59 -0400 | |
commit | 25b6adb7ac47c7444afeb8c801ce154863011d83 (patch) | |
tree | 100fcee028eaacb58700fb925a3297c96b327cc7 /swaygrab/swaygrab.1.txt | |
parent | Merge pull request #1238 from her001/backgrounds_dir (diff) | |
parent | FFmpeg options for swaygrab (diff) | |
download | sway-25b6adb7ac47c7444afeb8c801ce154863011d83.tar.gz sway-25b6adb7ac47c7444afeb8c801ce154863011d83.tar.zst sway-25b6adb7ac47c7444afeb8c801ce154863011d83.zip |
Merge pull request #1241 from Blajda/ffmpeg-opts
FFmpeg options for swaygrab
Diffstat (limited to 'swaygrab/swaygrab.1.txt')
-rw-r--r-- | swaygrab/swaygrab.1.txt | 11 |
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 | |||
48 | *-f, --focused*:: | 48 | *-f, --focused*:: |
49 | Capture only the currently focused container. | 49 | Capture only the currently focused container. |
50 | 50 | ||
51 | Environment Variables | ||
52 | --------------------- | ||
53 | swaygrab reads the following environment variables. | ||
54 | |||
55 | *SWAYGRAB_FFMPEG_OPTS*:: | ||
56 | Pass additional arguments to FFmpeg when starting a capture. | ||
57 | |||
51 | Examples | 58 | Examples |
52 | -------- | 59 | -------- |
53 | 60 | ||
@@ -57,6 +64,10 @@ swaygrab output.png:: | |||
57 | swaygrab -c -o HDMI-A-1 output.webm:: | 64 | swaygrab -c -o HDMI-A-1 output.webm:: |
58 | Capture a webm of HDMI-A-1. | 65 | Capture a webm of HDMI-A-1. |
59 | 66 | ||
67 | SWAYGRAB_FFMPEG_OPTS="-f alsa -i pulse" swaygrab -c:: | ||
68 | Capture the focused output and encode audio from the default recording | ||
69 | device. | ||
70 | |||
60 | Authors | 71 | Authors |
61 | ------- | 72 | ------- |
62 | 73 | ||