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
74•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•1h 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•1h 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•32m 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•50m 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•40m 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•14m 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•22m ago
That exists, but it’s still VLC.
wging•17m ago
It's based on mpv, not vlc.
kiicia•28m 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•55m 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•58m 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•38m ago
This is why we have fish tab completions. Does exactly that; list of possible commands with contextual help. Fish rules.
eviks•27m 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•44m ago
Can't access the githup repo https://github.com/josharsh/ezff
bdbdbdb•39m 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•31m ago
Somehow it seems ffmpeg has become the "Can it run crysis" of UX design
spullara•30m 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•16m 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.

Tourism Crisis Hits the United States in 2025 as International Visitor Plunge

https://www.travelandtourworld.com/news/article/tourism-crisis-hits-the-united-states-in-2025-as-...
1•mindracer•1m ago•0 comments

You can't design software you don't work on

https://www.seangoedecke.com/you-cant-design-software-you-dont-work-on/
1•todsacerdoti•2m ago•0 comments

What condition one in Antarctica looks like [video]

https://www.youtube.com/shorts/Cq7GB1vp5dw
1•keepamovin•3m ago•0 comments

Aged care centre confronts racism with cultural celebrations

https://www.abc.net.au/news/2025-12-25/aged-care-centre-starts-cultural-celebrations-to-address-r...
1•Tomte•3m ago•0 comments

Claude Code Auto Improve

https://github.com/Polandia94/auto-improvement
1•polandia94•7m ago•1 comments

Hanuman Chalisa English

https://hanuman-chalisa-bhajan.blogspot.com/2010/01/shri-hanuman-chalisa-english.html
1•janebush08•11m ago•0 comments

Rilmenidine extends lifespan and healthspan in Caenorhabditis elegans

https://onlinelibrary.wiley.com/doi/10.1111/acel.13774
2•manidoraisamy•18m ago•0 comments

Show HN: Stripe default config often bypasses AVS

https://ghostaudit.io/
3•fitzz•18m ago•1 comments

Arcan 0.7.1 – Minutes to Midnight

https://arcan-fe.com/2025/12/27/arcan-0-7-1-minutes-to-midnight/
1•todsacerdoti•18m ago•0 comments

Show HN: Learn how to make your first open source pull request on GitHub

https://github.com/firstcontributions/first-contributions
3•sudo_bangbang•20m ago•0 comments

How to Get a Scholarship Without Ielts or Toefl (International Students)

https://grantjobsandscholarship.blogspot.com/2025/12/how-to-get-scholarship-without-ielts-or.html
1•frankchidera900•20m ago•0 comments

Ask HN: What's your health/fitness/wellness routine?

1•akhilnchauhan•23m ago•0 comments

Reasoning tools knowledgebase of thinking patterns from various domains

https://github.com/dvdarkin/reasoning-tools
1•dvdarkin•25m ago•1 comments

Show HN: Snapalabra – A daily exercise for learning new vocabulary

2•detectivestory•27m ago•0 comments

Dev-db: TypeScript-first mock database generator with realistic data in seconds

https://github.com/calvin-kimani/dev-db
1•kimanicalvin•28m ago•0 comments

Show HN: An AI pipeline to find anomalies in FDA medical device reports

https://maude-analysis.onrender.com/
2•smugesh•30m ago•0 comments

Show HN: AgentCmds – A directory of slash commands for AI agents

https://agentcmds.work/
2•ho_ba•38m ago•1 comments

Progressive disclosure is essential as AI capabilities grow, so does complexity

https://1984.design/psychology-of-design/progressive-disclosure/
1•kaizenb•38m ago•0 comments

GNU Taler v1.3 Released

https://www.taler.net/en/news/2025-13.html
5•midzer•40m ago•0 comments

My web framework is 1 py file, my CRM is 1 shell script, SQLite the 1 dependency

https://github.com/danielfalbo/prev.py/blob/main/prev.py
1•danielfalbo•41m ago•0 comments

Map of my personal data infrastructure (2021)

https://beepb00p.xyz/myinfra.html
1•Tomte•42m ago•0 comments

Before Electric Vehicles Became Political, There Was the Toyota Prius

https://www.nytimes.com/2025/12/27/business/electric-vehicles-poilitics-republicans-conservatives...
3•fleahunter•50m ago•0 comments

Maia Chess

https://www.maiachess.com/
1•plaguna•50m ago•0 comments

The US Must Stop Underestimating Drone Warfare

https://www.wired.com/story/the-us-must-stop-underestimating-drone-warfare/
1•fleahunter•51m ago•2 comments

Stop the slop by disabling AI features in Chrome

https://www.theregister.com/2025/12/26/disable_ai_features_chrome/
1•abdelhousni•53m ago•0 comments

AI's trillion-dollar opportunity: Context graphs

https://foundationcapital.com/context-graphs-ais-trillion-dollar-opportunity/
1•Arindam1729•54m ago•0 comments

Formulaic Delimiters in the Iliad and the Odyssey

https://glthr.com/formulaic-delimiters-in-the-iliad-and-the-odyssey
1•glth•1h ago•1 comments

Russian drones, missiles pound Ukraine ahead of Zelenskiy-Trump meeting

https://www.reuters.com/world/europe/russian-drones-missiles-pound-ukraine-before-zelenskiy-trump...
1•JamesAdir•1h ago•1 comments

Real 2025 PostgreSQL cryptojacking incident and AI-assisted recovery

https://substack.com/inbox/post/182685208
1•levelZero•1h ago•1 comments

Spotify leak: why so many 2-minute songs

https://writingcosmo.substack.com/p/the-2m-peak
2•tsterin•1h ago•0 comments