gre / gl-react

gl-react – React library to write and compose WebGL shaders

Home Page:https://gl-react-cookbook.surge.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Output to video

gfpacheco opened this issue · comments

I'm sorry I couldn't find a better place to ask this question, but I hope you could point me in the right direction.

I'm using react-native-ffmpeg to concatenate images and videos into one big video.

Next, I want to add some fancy transitions between them, and found ffmpeg-gl-transition but I couldn't find a build that works on ReactNative (or natively for that matter).

Then I saw this project, and it seems to do everything I want, except it outputs to the screen instead of a video file.

Is there any way to output the render to a video file? Or do you see a way for me to try and make it work?

Hi, i'm on the same problem. Did you find a solution?

I don't think there is an easy way yet to do this. You might need to go a bit lower level (like write some specific JavaScript code that would do this, as it would need to run "offline" not using React rendering I feel) and maybe even lower level than that if you need better performance (like native code)