Show HN: Revideo – Create Videos with Code
61–70 of 81 posts
Re: Show HN: Revideo – Create Videos with Code
#62I love mucking around with canvases and videos, so I will certainly be checking this out! On a selfish note, as a canvas library developer/maintainer, I do have questions around your choice of Motion Canvas: what attracted you to that library in particular (I'm assuming it's the Editor, but could be wrong)? On a broader note, my main interest in canvas+video center around responsive, interactive and accessible video…
Given that our goal is mainly to let developers build their own editors, the Motion Canvas editor is not that important for us - we only use it for previewing code changes, so merely projecting the canvas without any of the remaining editor interface would also be sufficient.
I also agree that interactivity is super important. We have not yet started to work on this, but something we definitely need to make easier with the Revideo player is building drag-and-drop editing features (i.e. moving elements around on the canvas to modify their position).
Re: Show HN: Revideo – Create Videos with Code
#63How to build a simple video editor like spilt video like that
To learn how you would build a template for video splitting, feel free to check out this example: https://github.com/redotvideo/examples/tree/main/stitching-v.... It shows how you can render and concatenate videos for desired timestamps (e.g. show only second 5 to 10 of a video)
Re: Show HN: Revideo – Create Videos with Code
#64Looks nice! Might want to disable pixel snapping for the text resizing since it yanks a little bit (Firefox on Mac at least). I made an experiment in a similar style a while ago, but I decided it was too difficult to keep going as a "tiny" side project so never really released anything beyond a demo that you can see here: https://francisco.io/demo/terminal/
Just checked out the demo, nice work!
Re: Show HN: Revideo – Create Videos with Code
#65Re: Show HN: Revideo – Create Videos with Code
#66When text-to-code capabilities of LLMs become more mature, libraries like these are going to create a lot of novel uses cases and opportunities.
Re: Show HN: Revideo – Create Videos with Code
#67I’ve struggled to find a pure client-side encoder that is as fast, lightweight and high quality (in terms of lossiness) as what I had going with mp4-h264[1]. I suspended the project out of legal concern but it seems like the patents are finally starting to run their course, and it might be worth exploring it again. I’ve been able to use it to stream massive 8k near-pixel-perfect MP4s for generative art (where quality is more important than file size), compared to WebCodecs which always left me with a too-lossy result.
Re: Show HN: Revideo – Create Videos with Code
#68Does Revideo equivalent with Pymovie or it has some advantages?
Re: Show HN: Revideo – Create Videos with Code
#69Looks great. How are you encoding the video into MP4? Ffmpeg with wasm? Or WebCodecs? I’ve struggled to find a pure client-side encoder that is as fast, lightweight and high quality (in terms of lossiness) as what I had going with mp4-h264[1]. I suspended the project out of legal concern but it seems like the patents are finally starting to run their course, and it might be worth exploring it again. I’ve been able to…
Re: Show HN: Revideo – Create Videos with Code
#70Great idea. When text-to-code capabilities of LLMs become more mature, libraries like these are going to create a lot of novel uses cases and opportunities.
As you mentioned, letting LLMs generate high-quality Revideo code is probably not yet possible, but something I believe could make a lot of sense is using LLMs to choose parameters for your video. Video parameters can get as complex as you like in Revideo (any JSON object is accepted), so you could build a very flexible template that lets you define pretty much any video by using a "universal" JSON representation (essentially, this would be a list of elements such as audio files, videos, images, texts, along with attributes describing the timing, position, etc. of the element)
Letting the LLM generate input variables for your template instead of the code would at least allow you to do type checking and ensure that there are no bugs in your video code - however, I still doubt that the resulting video will be of high quality, LLMs are probably not yet smart enough for this.