buffbears / Weatherscan

Weatherscan Simulator orginally made by /u/AnonChickenWalker. Maintained by Goldblazez (BuffBears).
https://weatherscan.me
129 stars 32 forks source link

Headless output to ffmpeg? #33

Closed devenator closed 1 year ago

devenator commented 2 years ago

Hi,

does someone know an easy way to render this to a videostream? I searched long, but all solutions eighter are OBS, which requires X11, or uses something like phantomjs to generate jpeg's, which is unusable for Weatherscan...

Cellivar commented 1 year ago

Could you use XVFB and connect to it from ffmpeg? Or whatever else you're using.

https://gist.github.com/akutz/66c1ab27f0d26ff2e33a

https://stackoverflow.com/a/67092653/1309423