Construct a new Video Recorder
instance. Typically done from inside Headless, but can be also created manually, and
even used separately from Headless’
Xvfb features.
- display - display number to capture
- dimensions - dimensions of the captured video
- options - available options:
- provider - either :ffmpeg or :libav; default is :libav - switch if your
system is provisioned with FFMpeg
- provider_binary_path - override path to ffmpeg / libav binary
- pid_file_path - override path to PID file, default is placed in /tmp
- tmp_file_path - override path to temp file, default is placed in /tmp
- log_file_path - set log file path, default is /dev/null
- codec - change ffmpeg codec, default is qtrle
- frame_rate - change frame rate, default is 30
- devices - array of device options - see www.ffmpeg.org/ffmpeg-devices.html
- extra - array of extra options to append to the FFMpeg command line