Add ffmpeg capture to swaygrab (with limitations)

This needs to be multithreaded to have any sort of realistic expectation
of performance, due to issues with syncronous I/O.
This commit is contained in:
Drew DeVault 2015-11-27 14:21:38 -05:00
parent 89906f4ba1
commit 2ef7cf9e97
3 changed files with 115 additions and 14 deletions

View file

@ -31,6 +31,13 @@ Options
Use the specified socket path. Otherwise, swaymsg will ask sway where the
socket is (which is the value of $SWAYSOCK, then of $I3SOCK).
*-r, --rate* <rate>::
Specify a framerate (in frames per second). Used in combination with -c.
Default is 30. Must be an integer.
*--raw*::
Instead of invoking ImageMagick or ffmpeg, dump raw rgba data to stdout.
Examples
--------