A Ruby gem to video record and take screenshots of your desktop or specific application window. Works on Windows, Linux, and macOS.
selenium-webdriver
gem (#85)ffprobe
execution up to three times if the first try raises Errno::EAGAIN
.
Hopefully fixes #79.ScreenRecorder
as top level module. FFMPEG
is not directly
exposed anymore.ScreenRecorder::Desktop
and ScreenRecorder::Window
classes to make the usage (parameters) simpler.opts
Hash. This means
at least Ruby 2.0.0 is required.framerate:
is now to be passed through the advanced
Hash.ffmpeg
if it takes more than 10s to quit (#60).ScreenRecorder.ffmpeg_binary=()
was not properly defined.ScreenRecorder::Titles#fetch
will now raise NotImplementedError
when used in a
Linux or a macOS environment. Only works on Windows.input
value on Linux is now :0
.ffmpeg
arguments through the advanced
Hash. See example here.ffmpeg
process to make sure the
recording does not stop silently because of an error. Prints the error
from the log if the process exists unexpectedly.childprocess
gem
to manage the ffmpeg
process. This requires the ffi
gem to be
installed on Windows. See childprocess#132
for more information.ScreenRecorder::Window.fetch_title
as an alias for ScreenRecorder::Titles.fetch
.
The Titles
class will be removed in version 2.0.