Lurker News
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 (198) 45 threads

Earlier comments
az09mugen#
Same here, I get a 404 from github. The said link is at the bottom of the submitted npmjs page.
naikrovek3 replies#
Small English nitpick:

> ff slow down video.mp4 by 2x
How do you slow something down by 2x? x is a multiplier. 2 is a number greater than 1. Multiplying by a number greater than 1 makes the result LARGER.
If you’re talking about “stretch movie duration to 2x”, say that instead.
Saying something is 2x smaller or 2x shorter or 2x cheaper doesn’t make sense. 2x what? What is the unit of “cheap” or “short” or “small”?
How much is “1 slow down”? How many “slow down” are in the movie where you want twice as many of them? Doesn’t make sense does it? So how can something be slowed by 2x? That also doesn’t make sense.
I know what is trying to be said. I know what is meant. Please just say it right. Things like throw us autistic people for a freaking loop, man. This really rustles our jimmies.
Language is for communicating. If we aren’t all on the same page about how to say stuff, you spend time typing and talking and writing and reading and your message doesn’t make it across the interpersonal language barrier.
I don’t want to see people wasting their time trying to communicate good ideas with bad phrasing. I want people to be able to say what they mean and move on.
I also don’t want to nitpick things like this, but I don’t want phrases like “slow down by 2x” to be considered normal English, either, because they aren’t.

jimbobthrowawy#
Reminds me of a thing Steve Mould mentioned in a video about a claim in a book "The temperature outside an aeroplane is six times colder than the temperature inside a freezer."

https://www.youtube.com/watch?v=C91gKuxutTU - Stand-up comedy routine about bad science

nulltype#
Isn’t it somewhat common to say something like “slow this down by a factor of 2”?
metadope1 reply#
> Small English nitpick:

> 2x? x is a multiplier.
Translation of English is often problematic because of the multiple valid interpretations of simple words, and concepts that have many synonyms.
The solution here is to use arithmetic to supercede English. It may then become apparent that what is meant is x as a denominator.
Translate x into 'times', and then think of 'times' not as strictly multiplication but instead as an iteration (which, after all, is what multiplication is), and that might get you closer to what is meant, which is a standard arithmetic inversion of multiplication to division.
> Saying something is 2x smaller or 2x shorter or 2x cheaper doesn’t make sense
It does, if you do the inversion. Something 2 times smaller is half (1/2) as big.
Two ways of saying the same thing is half the fun of learning English!

naikrovek#
“x” is a multiplier in your first example, and an inversion in your second?

Pick one.
Or just phrase things correctly to begin with.

imglorp#
Sometimes English is not swell as a specification format.

> ff trim video.mp4 from 0:30 to 1:00
Does this mean I keep the indicated section or does it mean I throw it away?
And many other examples of English sucking at ambiguity when precision matters. Maybe this is a corollary of " naming things is hard ".

karmakaze#
I would definitely use an LLM, to see what the suggested options do and tweak them.

Using a different package name could be helpful. I searched for ezff docs and found a completely different Python library. Also ez-ffmpeg turns up a Rust lib which looks great if calling from Rust.

Load more comments