roman_44 Posted January 12, 2016 Share Posted January 12, 2016 Hi everybody! I need to convert Babylon.JS animation to video file with at least FullHD resolution and .... !!!on server side!!! I wrote code which already works locally on my mac, but now I need to deploy this rendering stuff. My flow is this: I have NodeJS server. When the server gets appropriate request, it starts real browser window on my mac, load scene, start animation with speed of 1 frame per second and every second I run screenshot function from babylon tools which finally give me canvas element with picture and I run this: var dataToSend = screenshotCanvas.toDataURL('image/png'); then I send dataToSend back to node and store it somewhere in filesystem. After all animation finishes server takes sequence of files and make video file with some node libraries. At this point I have my video file with big resolution. But now I need to deploy this kinda rendering engine somewhere and problem is that I need to run real browser window in order to get pictures from babylon.js animation. So I cannot use headless browser because they all are not supporting webGL. I have to run real browser window. And I think this is also doable. My question is this: is it possible to get what I need any other way? Maybe you have some hints for me, or already done same tasks. Thank you! Will appreciate any advice!!! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.