4 ms·
Ask HN: Lisp Based Video Editing?
Hi HN,
I've an assignment to make a instruction video in my class. I'd like to try out creating the video with a programming language. I remember that one I saw a lisp based video creation/editing/animation software here on HN.
My internet searches in the last hour only yielded https://lang.video. What I search is pretty similar. However it had a very beautiful UI and could be used/tested directly in the browser.
I loved that software and I remember that the creator(s) also made a small game, a text editor for macOS and some other stuff. Each application was minimalistic and themeable with the same theme-specification, also created by them.
Sadly I don't remember the name and can't find it in my notes or with my internet search engines.
Does anyone know the one I seek or other video editing programming languages or DSLs?
- totetsu 6y agoDid you search HN comments?
- emaro 6y agoYes, I did.
- CinematicStudio 6y agoI'm curious why you'd actually want to go through the pain of using a programming language to do this. I think there's a reason why this isn't popular -- video editing is insanely hard if you want something non trivial, and basically doing this in a programming language is sort of doing Assembly compared to doing C#.
- emaro 6y agoYeah, I'm aware, that this is probably not the most effective way. I'm mainly curious and now I've an opportunity to try it. Chances are, that I return to classic graphical video editing if it doesn't work. I think an instruction video could be possible to 'code', because you can build it with basic shapes, animations and text--if you want to explain something, you need to keep it simple anyway.
- brudgers 6y agoThere’s ffmpeg. It’s scriptable, mature and robust. I think KdenLive generates scripts and then renders from them. Most programming language support for video editing is a wrapper around it.
- CinematicStudio 6y agoI agree you need to keep it simple, for sure. But if you don't have a WhatYouSeeIsWhatYouGet editor, you'll need to regenerate your video countless times until you get it right. That's the only issue I have with it - but clearly, if you wanna do it like this, suit yourself :D As a side note, I'm working on a video editor, and what I'm working on now, is the ability to add shapes (amongst other things :D) and have an insanely easy way to animate them.
- brudgers 6y agoDon’t know what you saw, but it sounds like Racket. And indeed there is this https://docs.racket-lang.org/video@video/index.html https://docs.racket-lang.org/video@video/index.html I googled “racket video editor” and it popped top.
- kleer001 6y agoYou can use any programming language you like to control ffmpeg. Is that what you mean? https://www.youtube.com/watch?v=HwzRZ3360nQ https://www.youtube.com/watch?v=HwzRZ3360nQ
- psyklic 6y agoMany creative coding libraries directly support (or have extensions for) exporting your animation to a video. For example you may want to look at Processing, Nannou (Rust), openFrameworks (C++), and Cinder (C++). Many of these also support audio and playing back other videos in your animation.
- marttt 6y agoNot sure if this is what you're after, but there's also blind by the suckless.org community: https://tools.suckless.org/blind/ https://tools.suckless.org/blind/