{"by":"lucemia51","descendants":41,"id":44123098,"kids":[44124976,44123606,44128505,44147208,44123296,44125242,44125555,44127989,44128213,44123169,44124042,44123580,44123733,44123287,44123236,44124279],"score":342,"text":"Hi HN,<p>I built typed-ffmpeg, a Python package that lets you build FFmpeg filter graphs with full type safety, autocomplete, and validation. It’s inspired by ffmpeg-python, but addresses some long-standing issues like lack of IDE support and fragile CLI strings.<p>What’s New in v3.0:\n •  Source filter support (e.g. color, testsrc, etc.)\n •  Input stream selection (e.g. [0:a], [1:v])\n •  A new interactive playground where you can:\n • Build filter graphs visually\n • Generate both FFmpeg CLI and typed Python code\n • Paste existing FFmpeg commands and reverse-parse them into graphs<p>Playground link: <a href=\"https:&#x2F;&#x2F;livingbio.github.io&#x2F;typed-ffmpeg-playground&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;livingbio.github.io&#x2F;typed-ffmpeg-playground&#x2F;</a>\n(It’s open source and runs fully in-browser.)<p>The internal core also supports converting CLI → graph → typed Python code. This is useful for building educational tools, FFmpeg IDEs, or visual editors.<p>I’d love feedback, bug reports, or ideas for next steps. If you’ve ever struggled with FFmpeg’s CLI or tried to teach it, this might help.<p>Thanks!\n— David (maintainer)","time":1748492591,"title":"Show HN: Typed-FFmpeg 3.0–Typed Interface to FFmpeg and Visual Filter Editor","type":"story","url":"https://github.com/livingbio/typed-ffmpeg"}