Hi there. I'm thinking of creating a video creatio...
# compose
s
Hi there. I'm thinking of creating a video creation tool with Compose, similar to Remotion from React. I'm guessing Compose for Desktop connects to skiko somewhere and I'm hoping to render composables in a skiko layer that I'm in control of, which will then be exported into a video somehow. Has anyone tried something similar to this? Where should I look for the skiko rendering layer of compose, and is it completely internal or is it publicly usable?
z
I dont know how relevant this is, but you can use
runSkikoUiTest
and save images from the composable contents. Might be able to do much more with that?
z
idk about rendering to a custom skiko layer, but you could potentially use
GraphicsLayer
https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/layer/GraphicsLayer
j
Rendering to a video isn't much different than normal rendering
You'll basically just loop as long as you want, send a frame with the nano offset, save the output
s
Thank you for the help everyone! I've managed to build a small prototype with Jake's approach. 🙏