I got tired of fighting ffmpeg for basic video trimming, so I built clipflow
说明与用途
clipflow 通过管理 ffmpeg 简化视频剪辑,默认提供无损流复制,并在需要时支持帧精确剪辑,配备简洁的 Python API 和 CLI。
问题
Trimming large videos with ffmpeg is slow and error‑prone, especially when frame‑accurate cuts or lossless stream‑copy are required.
结果
clipflow trims a 10‑minute video in seconds with lossless stream‑copy, and only re‑encodes when requested, eliminating the 20‑minute re‑encode wall.
工作流
- Install clipflow via pip or Docker
- Use the CLI:
clipflow trim <input> <start>-<end> [options]or the Python API:clipflow.trim(...) - Specify
--compress highfor frame‑accurate cuts,--highlightto copy tohighlights/, and--aspect 9:16for cropping - Inspect metadata with
clipflow inspect <file>
证据
clipflow is a typed Python API and CLI for video clipping.
It auto‑downloads the binary on first use, caches it locally, and falls back to your system PATH if you already have it installed.
Lossless stream‑copy by default. Trimming a 10 GB file takes seconds with zero quality loss.
Highlights as a first‑class concept. In clipflow, you mark a clip with highlight=True. It automatically copies that slice to a highlights/ directory.
- 记录日期: 2026-10-07T04:41:14.863Z