Stop Googling ffmpeg commands.
ff convert video.mp4 to gifThat's it. No flags. No manuals. Just plain English.
npm install -g ezffRequires ffmpeg to be installed on your system.
Don't remember the syntax? Just type ff:
$ ff
ff — Plain English ffmpeg
? File path: video.mp4
? What do you want to do? › Convert format
? Convert to: › GIF
ffmpeg -i video.mp4 -vf fps=15,scale=480:-1:flags=lanczos -loop 0 -y video_output.gif
? Run it? › Yes
Done!Step-by-step. No memorization needed.
Already know what you want? Skip the prompts:
# Convert formats
ff convert video.mp4 to gif
ff convert video.mp4 to mp3
# Compress
ff compress video.mp4 to 10mb
# Trim
ff trim video.mp4 from 0:30 to 1:00
# Extract audio
ff extract audio from video.mp4
# Resize
ff resize video.mp4 to 1280x720
ff resize video.mp4 to 720p
# Speed
ff speed up video.mp4 by 2x
ff slow down video.mp4 by 2x
# Other operations
ff reverse video.mp4
ff mute video.mp4
ff rotate video.mp4 by 90
ff flip video.mp4 horizontal
ff thumbnail video.mp4 at 0:05
ff merge video1.mp4 and video2.mp4
ff video.mp4 grayscalePreview the ffmpeg command without executing:
$ ff convert video.mp4 to gif --dry-run
ffmpeg -i video.mp4 -vf fps=15,scale=480:-1:flags=lanczos -loop 0 -y video_output.gif"ff compress video.mp4 to 10mb"
↓
┌─────────────┐
│ Parser │ Extracts: action=compress, file=video.mp4, size=10mb
└─────────────┘
↓
┌─────────────┐
│ Builder │ Maps to: ffmpeg -i video.mp4 -crf 28 -preset medium ...
└─────────────┘
↓
┌─────────────┐
│ ffmpeg │ Executes the command
└─────────────┘
No AI. No API calls. Just pattern matching. Fast and offline.
Files are saved in the same directory with _output suffix:
video.mp4 → video_output.gif
- Node.js >= 16
- ffmpeg installed and in PATH
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt install ffmpeg
# Windows
choco install ffmpegMIT
PRs welcome. Keep it simple.
