frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Geneva – CLI video editor and compositor with a native HTML/CSS engine

https://github.com/geneva-render/geneva
4•fbnt•4h ago

Comments

fbnt•4h ago
Hi everyone, this is Francesco (fbnt). Geneva is a CLI video editor: you describe an edit as JSON, write titles and graphics in plain HTML and CSS, and it renders everything in one pass, from a single binary, without chrome or filtergraphs.

I've been working with video encoding, subtitles and basically anything that is "layer things on top of videos" for many years now, and lately I started wondering if there was a more efficient way to do it without relying on the usual methods and libraries. Basically, every time you paint stuff over a video, you create the overlays with 'some' tool (something that generates cards as PNGs, or a headless browser for more complex animated designs.. or other techniques), and then use good old ffmpeg to merge the composition together, or eventually use ffmpeg's complex filtergraphs with all their quirks and limitations if you're desperate, but nobody does that anymore.

But what if ffmpeg could do proper composition, natively? That's probably a bit out of scope for them, so I set out to start rewriting ffmpeg's CLI in Rust with some extras.. because, why not. Of course, the codecs still comes from libav*, but everything above it is new: a planner that figure out the cheapest way to produce the output (frames with nothing drawn on them aren't re-encoded), a compositor with layers, keyframes, masks and transitions, and a layout engine for the part of CSS that is most commonly used: flexbox, gradients, shadows, clip paths, blend modes, and @keyframes played as written.

Now I have something that paints pretty animated graphics natively over videos very quickly, and without using playwright or chrominum. You can see some benchmarks here against two of the most common methods used to achieve this here: https://github.com/geneva-render/geneva/blob/main/docs/bench...

As you probably guessed, this was all written by Fable/Opus under my guidance. Just stating it plainly so you can decide whether to trust it or not. This is just the engine, and I have a couple of ideas on how to move it forward, but I'd like to hear some feedback before carrying on blindly, so feel free to reply here or get in touch.

Some rendered examples are in the repo and here: https://genevarender.com

Show HN: HN.watch – Videos of all Hacker News posts

https://hn.watch/
38•mrborgen•2h ago•10 comments

Show HN: PaperMono, e-ink fridge magnet shopping list with mobile web page

https://github.com/seamusc/papermono-shopping-list
86•seamus_c•7h ago•41 comments

Show HN: Open-source agent runtime using your ChatGPT or Claude subscription

https://github.com/noclickapp/noclick
2•dhruvyads•40m ago•0 comments

Show HN: Free alternative to graphics design giants

https://scissor.studio/
61•sia_xi•9h ago•26 comments

Show HN: I'm a dermatologist and I vibe coded a 3D biophysical skin model

https://www.drmagnuslynch.com/skin
3•sungam•50m ago•0 comments

Show HN: Hntui – A TUI for Hacker News

https://github.com/ahmd-sh/hntui
99•ahmd-sh•5h ago•53 comments

Show HN: Destroy Any Website with Stickman

https://destroy.spritefusion.com/
5•HugoDz•1h ago•3 comments

Show HN: Low Poly Earth – The whole planet in 3D, built from OpenStreetMap data

https://lowpolyearth.pages.dev/
4•blueblazin•1h ago•0 comments

Show HN: I built an idle game that rewards you for doomscrolling less

https://getisland.app/
4•ethanpronev•2h ago•3 comments

Show HN: Agentic Engineered Social Connections and Travel App

https://www.viamour.app
3•jaidarukiya•2h ago•2 comments

Show HN: Android-on-Device Harness – N8N Meets Tasker Meets AI

https://github.com/ankurCES/Mahout
2•ankurCES•2h ago•0 comments

Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi

https://loficities.com/
302•safaelmali•23h ago•129 comments

Show HN: Enterprise Postgres for AI and more, from prototype to production

https://www.pgedge.com/products/starfleet
4•bonesmoses•2h ago•0 comments

Show HN: Geneva – CLI video editor and compositor with a native HTML/CSS engine

https://github.com/geneva-render/geneva
4•fbnt•4h ago•1 comments

Show HN: OpenAPPA – open-source deterministic guardrails that don't break agents

https://www.openappa.com/
22•motakuk•4h ago•11 comments

Show HN: TinyAIArena watch AI agents battle it out

https://tinyaiarena.com/
116•hp6•1d ago•45 comments

Show HN: Kern Sandbox, run LLM-generated code locally, no cloud, no daemon

https://getkern.dev/guide/sandbox.html
2•realexweb•5h ago•1 comments

Show HN: Durable Actor Session Protocol

https://dasp-protocol.github.io/dasp/
16•mikehostetler•5h ago•4 comments

Show HN: Jev Plays Pokémon Red

https://jev-pokemon.vercel.app/
278•pancomplex•3d ago•122 comments

Show HN: Reladraw – A diagram language where you decide where to place things

https://github.com/reladraw/reladraw
399•jpwalsh234•2d ago•118 comments

Show HN: Redthread – autonomous LLM pentesting with proof-of-concept exploits

https://millenniums.ai/docs
2•bl014h•9h ago•0 comments

Show HN: Impressive hand detection AI algorithm

https://github.com/aryafarkhondeh/cp_hand_demo
3•sia_xi•9h ago•3 comments

Show HN: Cartopolis, interactive globe-sized 3D world

https://code.garage44.eu/jeroen/cartopolis
16•jvanveen•21h ago•6 comments

Show HN: A CC0 museum of retro 3D tricks you can paste into a page

https://3d-retro.com/
75•SouthWestAtlas•4d ago•14 comments

Show HN: Dodosend – a Fast keyboard first Gmail client

https://dodosend.com
5•trafargarlaw•11h ago•0 comments

Show HN: Ekselio – Loveable for finance workflows (local first)

https://www.gptbeyond.com/try?home=1
40•kdautaj•2d ago•12 comments

Show HN: Northstar web browser 1.0.11 released

7•roschdal•13h ago•0 comments

Show HN: A bookshelf of rare company documents and out-of-print tech books

https://rare-books.vercel.app
10•miletus•22h ago•0 comments

Show HN: Fusor – Like Vue, but the logic is Rust

https://fusor.build
6•andreespirela•19h ago•1 comments

Show HN: Jevdit – a social network moderated by Jev

https://jevdit.com
11•TN1ck•21h ago•1 comments