frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
85•josharsh•2h ago
I built a CLI tool that lets you do common video/audio operations without remembering ffmpeg syntax.

Instead of: ffmpeg -i video.mp4 -vf "fps=15,scale=480:-1:flags=lanczos" -loop 0 output.gif

You write: ff convert video.mp4 to gif

More examples: ff compress video.mp4 to 10mb ff trim video.mp4 from 0:30 to 1:00 ff extract audio from video.mp4 ff resize video.mp4 to 720p ff speed up video.mp4 by 2x ff reverse video.mp4

There are similar tools that use LLMs (wtffmpeg, llmpeg, ai-ffmpeg-cli), but they require API keys, cost money, and have latency.

Ez FFmpeg is different: - No AI – just regex pattern matching - Instant – no API calls - Free – no tokens - Offline – works without internet

It handles ~20 common operations that cover 90% of what developers actually do with ffmpeg. For edge cases, you still need ffmpeg directly.

Interactive mode (just type ff) shows media files in your current folder with typeahead search.

npm install -g ezff

Comments

HelloUsername•2h ago
The one good usecase I've found for AI chatbots, is writing ffmpeg commands. You can just keep chatting with it until you have the command you need. Some of them I save as an executable .command, or in my .txt note.
Tempest1981•2h ago
One that older AI struggled with was the "bounce" effect: play from 0:00 to 0:03, then backwards from 0:03 to 0:00, then repeat 5 times.
Terr_•1h ago
As pessimistic about it as I am, I do think LLMs have a place in helping people turn their text description into formal directives. (Search terms, command-line, SQL, etc.)

... Provided that the user sees what's being made for them and can confirm it and (hopefully) learn the target "language."

Tutor, not a do-for-you assistant.

eviks•1h ago
The "provided" isn't provided, of course, especially the learning part, that's not what you'd turn to AI for vs more reliable tutoring alternatives
left-struck•50m ago
I agree apart from the learning part. The thing is unless you have some very specific needs where you need to use ffmpeg a lot, there’s just no need to learn this stuff. If I have to touch it once a year I have much better things to spend my time learning than ffmpeg command
beepbooptheory•1h ago
But doesnt something like this interface kind of show the inefficiency of this? Like we can all agree ffmpeg is somewhat esoteric and LLMs are probably really great at it, but at the end of the day if you can get 90% of what you need with just some good porcelain, why waste the energy spinning up the GPU?
imiric•57m ago
Because the porcelain is purpose built for a specific use case. If you need something outside of what its author intended, you'll need to get your hands dirty.

And, realistically, compute and power is cheap for getting help with one-off CLI commands.

pixelpoet•31m ago
Requiring the installation of a massive kraken like node.js and npm to run a commandline executable hardly screams efficiency...
Tempest1981•1h ago
I was surprised that macOS (QuickTime/Preview, iMovie) can't read .mp4 files. Not sure if it was due to H.265 or the audio codec. I tried using ffmpeg to convert to .mov but that also failed to open, since I guess MOV is just another container format.

Is there an easier way?

codegladiator•1h ago
vlc
felixfoertsch•1h ago
IMHO the de-facto video player for macOS is [IINA](https://iina.io/).
trvz•40m ago
That exists, but it’s still VLC.
wging•34m ago
It's based on mpv, not vlc.
kiicia•46m ago
MP4 is container, not format, so if you have unsupported format packed into MP4 container it won’t be played. Example is trying to play AV1 video codec on devices with M2 chip or older. It won’t play. But it will play on devices with M3 chip and newer. Easiest solution is to use other player so that you can watch any MP4 file but with software decoding where hardware decoding is not available. Examples of such players are MPV or VLC.
mmahemoff•1h ago
Very cool idea since ffmpeg is one of those tools that has a few common tasks but most users would need to look up the syntax every time to implement them (or make an alias). In line with the ease of use motivation, you might consider supporting tab completion.
dllu•1h ago
When converting video to gif, I always use palettegen, e.g.

    ffmpeg -i input.mp4 -filter_complex "fps=15,scale=640:-2:flags=lanczos,split[a][b];[a]palettegen=reserve_transparent=off[p];[b][p]paletteuse=dither=sierra2_4a" -loop 0 output.gif
See also: this blog post from 10 years ago [1]

[1] https://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html

CrossVR•1h ago
I've been thinking of integrating pngquant as an ffmpeg filter, it would make it possible to generate even better pallettes. That would get ffmpeg on par with gifski.
Kwpolska•1h ago
GitHub repo link returns 404.
eviks•1h ago
That's the problem ideally solved by typed data, i.e., some UI where instead of trying to memorize whether it's thumb/s/nails you can read the closed list of alternatives, read contextual help and pick one
my_brain_saying•56m ago
This is why we have fish tab completions. Does exactly that; list of possible commands with contextual help. Fish rules.
eviks•44m ago
Yeah, no, that's a pale imitation that only addresses the one specific example given. But, like, how would you even know what target formats are supported? Break the flow and look it up or simply read the drop-down list? The free type-any-text interface with poor helpers is the worst in accessibility

Which format is the default if no argument is given?

Or more complicated contextual knowledge - if you cut 1sec of a video file, does fish autocomplete to tell you whether the video is reencoded or cut (otherwise) losslessly

Also, what does fish complete to on Windows?

vithalreddy•1h ago
Can't access the githup repo https://github.com/josharsh/ezff
bdbdbdb•56m ago
Sometimes an idea comes along thats so obvious it makes me angry. I have been struggling with ffmpeg commands for over well a decade. All the time I wasted googling and creating scripts so I wouldn't have to regoogle and this could have existed literally from day one
petterroea•49m ago
Somehow it seems ffmpeg has become the "Can it run crysis" of UX design
spullara•48m ago
I have a little script that I use on the CLI to do this kind of stuff (calls an LLM to figure out how to do CLI stuff) but you can just as easily now use any of the coding agents.
pdyc•34m ago
interesting approach, i solved similar problem by creating visual tool to generate ffmpeg commands but its not the same(it cant do conversion etc.)

I like that you took no AI approach, i am looking for something like this i.e. understanding intent and generating command without using AI but so far regex based approaches have proved to be inadequate. I also tried indexing keywords and creating index of keywords with similar meaning that improved the situation a bit but without something heavy like bert its always a subpar experience.

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
86•josharsh•2h ago•26 comments

Mruby: Ruby for Embedded Systems

https://github.com/mruby/mruby
37•nateb2022•5d ago•10 comments

How uv got so fast

https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
930•zdw•17h ago•311 comments

AI Police Reports: Year in Review

https://www.eff.org/deeplinks/2025/12/ai-police-reports-year-review
133•hn_acker•3d ago•77 comments

Exe.dev

https://exe.dev/
233•achairapart•11h ago•116 comments

Always bet on text (2014)

https://graydon2.dreamwidth.org/193447.html
226•jesseduffield•12h ago•114 comments

Langjam-Gamejam Devlog: Making a language, compiler, VM and 5 games in 52 hours

https://github.com/Syn-Nine/gar-lang/blob/main/DEVLOG.md
47•suioir•5d ago•3 comments

QNX Self-Hosted Developer Desktop

https://devblog.qnx.com/qnx-self-hosted-developer-desktop-initial-release/
158•transpute•9h ago•85 comments

Experts explore new mushroom which causes fairytale-like hallucinations

https://nhmu.utah.edu/articles/experts-explore-new-mushroom-which-causes-fairytale-hallucinations
395•astronads•18h ago•210 comments

The best things and stuff of 2025

https://blog.fogus.me/2025/12/23/the-best-things-and-stuff-of-2025.html
263•adityaathalye•3d ago•28 comments

Package managers keep using Git as a database, it never works out

https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html
639•birdculture•22h ago•364 comments

Publishing your work increases your luck

https://github.com/readme/guides/publishing-your-work
130•magoghm•10h ago•43 comments

More dynamic cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
45•0928374082•5h ago•8 comments

Researchers develop a camera that can focus on different distances at once

https://engineering.cmu.edu/news-events/news/2025/12/19-perfect-shot.html
53•gnabgib•3d ago•17 comments

One million (small web) screenshots

https://nry.me/posts/2025-10-09/small-web-screenshots/
106•squidhunter•4d ago•10 comments

Some Junk Theorems in Lean

https://github.com/James-Hanson/junk-theorems-in-lean
8•saithound•3d ago•0 comments

How Lewis Carroll computed determinants (2023)

https://www.johndcook.com/blog/2023/07/10/lewis-carroll-determinants/
183•tzury•16h ago•45 comments

SIMD City: Auto-Vectorisation

https://xania.org/202512/20-simd-city
44•brewmarche•6d ago•8 comments

CloudFlare is ruining the internet (for me)

https://www.slashgeek.net/2016/05/17/cloudflare-is-ruining-the-internet-for-me/
26•nomilk•1h ago•17 comments

Show HN: Witr – Explain why a process is running on your Linux system

https://github.com/pranshuparmar/witr
329•pranshuparmar•19h ago•52 comments

T-Ruby is Ruby with syntax for types

https://type-ruby.github.io/
129•thunderbong•14h ago•99 comments

Inside the proton, the ‘most complicated thing you could possibly imagine’

https://www.quantamagazine.org/inside-the-proton-the-most-complicated-thing-imaginable-20221019/
49•tzury•8h ago•7 comments

Toys with the highest play-time and lowest clean-up-time

https://joannabregan.substack.com/p/toys-with-the-highest-play-time-and
390•surprisetalk•14h ago•227 comments

LearnixOS

https://www.learnix-os.com
236•gtirloni•22h ago•92 comments

Moravec's Paradox and the Robot Olympics

https://www.physicalintelligence.company/blog/olympics
61•beklein•3d ago•7 comments

Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

https://github.com/valdanylchuk/xcc700
127•isitcontent•20h ago•23 comments

Ask HN: What did you read in 2025?

235•kwar13•22h ago•335 comments

Parasites plagued Roman soldiers at Hadrian's Wall

https://arstechnica.com/science/2025/12/study-roman-soldiers-battled-parasites-at-hadrians-wall/
68•sipofwater•1w ago•44 comments

My insulin pump controller uses the Linux kernel. It also violates the GPL

https://old.reddit.com/r/linux/comments/1puojsr/the_device_that_controls_my_insulin_pump_uses_the/
428•davisr•15h ago•188 comments

Drawing with zero-width characters

https://zw.swerdlow.dev
107•benswerd•16h ago•30 comments