Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Wire mainland DeepSeek into a SE Asia trade chatbot (realitypatch.net)
    —discuss
  2. Show HN: Enterprise Postgres for AI and more, from prototype to production (pgedge.com)
    —discuss
  3. Evade Reddit tracking, keep old.reddit.com layout permanently
    —discuss
  4. Why Juicero's Press Is So Expensive (2017) (bolt.io)
    —discuss
  5. Show HN: Online RTSP camera simulator for testing AI vision or VMS (illucam.com)
    —discuss
  6. Cory Doctorow says Hugging Face attack was just "a Python loop and a chatbot" (pluralistic.net)
    1comments
  7. Freelance Developer Pricing: The Framework That Stops the $11/HR Slide (misar.blog)
    —discuss
  8. AI agent startup Instinct raises $1B Series C at $10B valuation (reuters.com)
    —discuss
  9. Viral AI agent Instinct raises $1B Series C at a $10B valuation (techcrunch.com)
    —discuss
  10. Education Miracles [pdf] (columbia.edu)
    —discuss
  11. Work Diary Victory (plover.com)
    —discuss
  12. Show HN: LaunchPact – Get support for your Product Hunt launch (launchpact.io)
    —discuss
  13. Show HN: Free job-market dashboard – which skills and roles postings ask for (payanai.com)
    —discuss
  14. What if automating AI R&D triggers an intelligence explosion? (casp.ac)
    —discuss
  15. Partnership and economic drivers of Gambia men with foreign tourists (nih.gov)
    —discuss
  16. Resurrecting Midway's Ms Gorf – The Arcade Blogger (arcadeblogger.com)
    —discuss
  17. Age of Invention: Salt Syndicate, Part I (ageofinvention.xyz)
    —discuss
  18. Jensen Huang says AI distillation is 'competition.' (cnbc.com)
    2comments
  19. Debugging HTTP:Tiny Calls Deep Inside Your Stack (olafalders.com)
    —discuss
  20. Nvidia AI Agent Safety Stack (nvidia.com)
    1comments
  21. Show HN: Beside.nvim – Live preview in Neovim using leaf, glow or pandoc (github.com/mariocesar)
    —discuss
  22. MongoDB CEO resigns "effective immediately" to join Meta, stock drops 20% (reuters.com)
    1comments
  23. Bike light hacking: AAA to rechargeable lithium (tylerhext.com)
    1comments
  24. Nvidia boosts share buyback by record $150B (reuters.com)
    —discuss
  25. Show HN: Knotchy – Open untrusted links in a throwaway VM under the notch (github.com/aculix)
    —discuss
  26. Unlimited virtual cards for everyone, for free (twitter.com/aayan1405)
    —discuss
  27. Microsoft silent on paying "fair share" (arstechnica.com)
    —discuss
  28. Paramount/WBD merger conditions give the public "virtually nothing," judge told (arstechnica.com)
    —discuss
  29. Containers Are No Longer a Security Boundary (depthfirst.com)
    —discuss
  30. Leaving Them Behind (dbushell.com)
    —discuss

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

2 pointsby 1h agogithub.com
1 comments
1h agoHN ↗

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