leonid-shevtsov / headless

Create a virtual X screen from Ruby, record videos and take screenshots.
http://leonid.shevtsov.me/en/headless
MIT License
968 stars 113 forks source link

add draw_mouse support #65

Closed atzorvas closed 8 years ago

atzorvas commented 9 years ago

... (and likely partial support for similar provider devices)

this one did the work for me. and seems to support all "devices" for at least x11grab and gdigrab

https://www.ffmpeg.org/ffmpeg-devices.html draw_mouse is supported as gdigrab-device and x11grab-device

consider this also: adding support for more complicate ffmpeg tasks/switches/options, could be easier with a custom command, lets say { :video => { :cmd => "..ffmpeg custom command here.." } }

atzorvas commented 9 years ago

also you can add cache: bundle to .travis.yml in order to load faster :)

atzorvas commented 9 years ago

also solves #63

leonid-shevtsov commented 8 years ago

I finally got around to merging this. There were some conflicts, so I fixed in a separate PR #82 - closing this one.