Generated Computers
Locals: an Apple Silicon engine that runs local LLMs up to 3x faster. A product of Generated Computers.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Cloud FFmpeg CLI — process video/audio files via FFHub.io API
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗English · 中文 · 日本語 · Português · Deutsch
Cloud FFmpeg CLI — process video/audio files via FFHub.io API. No local FFmpeg installation required.
npm install -g ffhub
Or run directly:
npx ffhub -i https://example.com/video.mp4 -c:v libx264 output.mp4
# Save your API key
ffhub config YOUR_API_KEY
# Or use environment variable
export FFHUB_API_KEY=YOUR_API_KEY
Get your API key at ffhub.io. Signing up grants 100 credits, once; after that you top up with one-time credit packs (no subscription).
Use the same FFmpeg arguments you already know:
# Compress video
ffhub -i https://example.com/video.mp4 -c:v libx264 -crf 28 output.mp4
# Convert format
ffhub -i https://example.com/video.mov -c:v libx264 -c:a aac output.mp4
# Extract audio
ffhub -i https://example.com/video.mp4 -vn -c:a libmp3lame output.mp3
# Trim video
ffhub -i https://example.com/video.mp4 -ss 00:00:10 -to 00:00:30 -c copy clip.mp4
# Resize to 720p
ffhub -i https://example.com/video.mp4 -vf scale=-1:720 output.mp4
# Create GIF
ffhub -i https://example.com/video.mp4 -ss 5 -t 3 -vf "fps=10,scale=480:-1" output.gif
Local files are automatically uploaded:
ffhub -i ./my-video.mp4 -c:v libx264 output.mp4
ffhub -i ~/Downloads/recording.mov -vn output.mp3
When a task finishes, the result is streamed into the directory you ran the command from,
with a progress bar. Existing files are never overwritten — if output.mp4 is already
there, the new file is saved as output-2.mp4, then output-3.mp4, and so on. Ctrl+C
cancels a download: the partial file is deleted and the CLI prints a curl command you can
use to fetch it later.
# Current account and credit balance
ffhub whoami
# 10 most recent tasks
ffhub list
# Filter by status (pending, running, succeeded, failed) and change the count
ffhub list --status=failed --limit=20
# A single task — if it has already finished, its output is downloaded again
ffhub status <task_id>
ffhub -i video.mp4 -c:v libx264 output.mp4
│
├─ Detect local file → upload to FFHub cloud
├─ Submit FFmpeg command to API
├─ Poll progress until complete
└─ Download the output into the current directory
| Command | Description |
|---|---|
ffhub [ffmpeg args] | Submit an FFmpeg task, then download the output |
ffhub whoami | Show the current account and credit balance |
ffhub list [--status=X] [--limit=N] | List recent tasks (10 by default); ffhub ls is an alias |
ffhub status <id> | Check a task and download its output if it is ready |
ffhub config <key> | Save API key to ~/.ffhub/config.json |
ffhub config | Show current API key (masked) |
ffhub help | Show help (-h / --help work too) |
ffhub --version | Print the CLI version (-v works too) |
MIT