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

video recording with audio #66

Closed atzorvas closed 8 years ago

atzorvas commented 9 years ago

here is a "dirty" commit just to get the job done asap.

do we need audio recording? I find it usefull, well at least for the particular use case of mine

https://github.com/atzorvas/headless/commit/f8cc361bfe6b52167302080ae82df0384057fac0

leonid-shevtsov commented 8 years ago

But this can be accomplished with the :extra recorder option, as in

Headless.new(video: { extra: %w(-acodec libmp3lame -ar 44100 -ab 128k -threads 0) }

Closing since it's been a year, please reopen if you have any questions.