github zhouxiaoka/autoclip v1.6.5
AutoClip Desktop v1.6.5

pre-releaseone hour ago

AutoClip Desktop v1.6.5

English · 中文

English

Highlights

  • Added One-Click Tight Cut (Remove Pauses) in the Studio editor: automatically trims dead air and long pauses while protecting spoken captions and speaker-tracking framing, with 1-click undo
  • Upgraded Zero-Key Onboarding: surfaced Sign in with ChatGPT (no API key) and Local Ollama auto-detect (1-click connect) directly on the home setup card
  • Hardened local Whisper model downloads in mainland China with a direct ModelScope fallback source and socket stall timeouts so downloads no longer hang at 0% on xethub.hf.co redirects
  • Fixed Sign in with ChatGPT (Beta) timeout crashes, Gemini 2.5 Flash probes, "Street" lower third (#751), 4 Windows preview MP4s (yuv420p), title toggle (#742), subtitle numbers/sizing (#749/#750), Japanese landscape/SDK, Ollama qwen3.5/gemma4 400 retries (#752), and Docker self-hosting (#728–#731)

Fixes & Improvements

  • One-Click Tight Cut (Remove Pauses): Added POST /api/v1/studio/{project_id}/trim-silences and a Trim pauses control in the Studio editor settings panel; uses bundled FFmpeg silencedetect, protects spoken caption cues, preserves natural breathing padding (0.14s), rebases per-scene crop_track keyframes across split scenes, and supports 1-click restore.
  • Zero-Key Quick Start & First-Clip Activation: Added local-only GET /api/v1/settings/ollama/detect (800ms localhost probe filtering out embedding models and guarding <=8GB laptops against heavy >=7B local models) and surfaced 1-click local Ollama connection plus Sign in with ChatGPT (no API key) in both the first-run modal (FirstRunSetup) and ImportSetupCard; added AQ. Gemini and gsk_ Groq key prefix auto-detection with a 1-click Switch to provider button in ProviderFields; switched official Gemini default concurrency to sequential (1) with automatic 429 clip-job fallback to gemini-2.5-flash-lite; added coarse anonymous hardware tier telemetry (ram_tier, gpu_tier), automatic Top-3 first-pass rendering on <=8GB low-spec machines, background Whisper warmup after AI setup, VAD-off retry when local Whisper returns an empty transcript, a gentle rate-limited post-save GitHub Star prompt, and native openai.Timeout / openai.DefaultHttpxClient compatibility for httpx2 >= 2.17.
  • Whisper China Download Resilience (ModelScope Fallback): Added direct ModelScope (Systran/faster-whisper-*) download fallback into the standard local snapshot cache when huggingface.co is unreachable, plus bounded HF_HUB_DOWNLOAD_TIMEOUT / HF_HUB_ETAG_TIMEOUT to avoid indefinite xethub.hf.co 0-byte stalls.
  • Sign in with ChatGPT & Gemini 2.5 Flash Reliability: Fixed ChatGPTSubscriptionProvider passing a (connect, read) timeout tuple into _post_stream's nested tuple (which threw ValueError: Invalid timeout and caused analyze / timeout failures across Windows and macOS), plus mapped mid-stream read timeouts cleanly; set thinking_budget: 0 on official gemini-2.5-flash connection and trial probes so maxOutputTokens=16 is no longer exhausted by thinking tokens.
  • Full-Bleed Street Template & Windows Template Previews (#751): Updated the built-in Street (street) template from a top-1290px window with a solid black lower third to full-bleed 1080×1920 9:16 framing with a translucent bottom gradient scrim (automatically hidden when no caption or speaker label is shown), while preserving its 1.00 ↔ 1.22 punch-in rhythm; re-encoded streamer_split, gta_wasted, streamer_pip, and meme_setup preview MP4s from yuvj420p to standard TV-range yuv420p for reliable Windows WebView2 playback.
  • Subtitle Typography, Title Toggle & Export Sizing (#742 / #749 / #750, thanks @HEOJUNFO): Added an on/off toggle (Packaging.title_enabled) to hide burned opening/cover title cards and top headlines on card templates like podcast_dark while preserving cover artwork titles (#742); preserved commas and colons inside numbers and clock times (1,000,000, 10:30, 16:9) so they are never respaced or split mid-number (#749); aligned subtitle line budget and font size with the actual output frame including phone 90°/270° display rotation metadata, and bumped the caption cache key to _captions-v3 (#750).
  • Japanese & Local Ollama Reliability (#752): Extended Japanese language preservation (effective_audience_language) to youtube_long landscape exports and titles, added native Japanese labels (ja) and international fallback to ac-template-sdk.js; hardened Ollama qwen3/qwen3.5/gemma4 requests with OpenAI-compatible reasoning_effort: "none" alongside think: false (automatically stripping injected thinking fields on local HTTP 400 in both chat and vision calls) and stripped unclosed <think> tags in studio JSON decoding (#752); blocked pytest runs from uploading synthetic diagnostics cases to the production Cloudflare Worker.
  • Docker, Logging & Contributor Docs (#728 / #729 / #730 / #731 / #747, thanks @wqlC, @thanhhfishyu, @Zotixxx): Fixed Linux child_guard.py killing Whisper install subprocesses under Docker PID 1 (#728); preserved Uvicorn AccessFormatter tuple arguments during secret redaction (#729); served built web assets from FastAPI in mode="web" with corrected Docker Compose ports/healthchecks (#730); untracked runtime artifacts (backend/dump.rdb, backend/system_health_report.json, #731); added English contributing guide (CONTRIBUTING.en.md, #747).
  • Release Infrastructure: Integrated two-phase SignPath Foundation Windows Authenticode signing pipeline with post-signing Tauri updater .exe.sig re-signing in Desktop Build (enabled for test signing now, ready for production release signing once the SignPath production certificate is issued).

Download & Install

Platform File First Launch
macOS 15+ (Apple Silicon) AutoClip.Desktop_1.6.5_aarch64.dmg Double-click once. If blocked: System Settings → Privacy & Security → Open Anyway (Apple)
Older macOS (Apple Silicon) Same as above Unsigned / unnotarized: right-click app → Open
Windows 10/11 x64 AutoClip.Desktop_1.6.5_x64-setup.exe Unsigned: SmartScreen → More info → Run anyway
CLI / MCP (Python 3.11+) autoclip-1.6.5-cli-mcp.zip / autoclip_mcp-1.6.5-py3-none-any.whl Setup & model config included in ZIP; requires FFmpeg
  • Zero runtime prerequisites: Both desktop installers bundle portable Python and static FFmpeg. The Windows installer is per-user (no admin rights required) and downloads WebView2 automatically if missing.
  • Intel Mac / Linux: No desktop installer is provided; use Docker (DOCKER.md), uvx autoclip-mcp, or install the CLI from source (python -m pip install --no-deps .).
  • Quick CLI / MCP & Skill install: Run uvx autoclip-mcp to install and start the MCP server, and npx skills add zhouxiaoka/autoclip to install the skill.
  • Verification & code signing: Installers are not yet code-signed / notarized (#119) and are built publicly via GitHub Actions Desktop Build. Verify SHA-256 hashes against the attached build-provenance.json before running (Windows: Get-FileHash AutoClip.Desktop_1.6.5_x64-setup.exe -Algorithm SHA256; macOS: shasum -a 256 AutoClip.Desktop_1.6.5_aarch64.dmg). If a listed file is missing, that platform's build failed for this tag — check the Desktop Build workflow run.
  • First run & transcription: If your project list is empty, click Try Sample Project on the home screen (bundled offline, no API key required). Videos without subtitles download the local transcription component on first use (~220 MB, up to ~15 min on slow networks); if slow or blocked, switch to cloud transcription in Settings → Default Models → Speech to Subtitles.

Feedback


中文

更新要点

  • Studio 编辑页新增「一键去停顿(Tight Cut)」:自动剪掉口播中的长停顿与气口,智能避开说话字幕并同步跟随人物取景,支持一键还原
  • 首屏引导升级「免 API Key 极速开局」:直接露出「用 ChatGPT 订阅登录(免密钥)」与「本机 Ollama 自动发现一键连接」,大幅降低新用户首片门槛
  • 加固国内网络下本地 Whisper 模型下载:新增 魔搭 ModelScope 直连兜底源 与卡顿超时保护,彻底解决 hf-mirror 跳转 xethub.hf.co 卡在 0 字节的问题
  • 修复 ChatGPT 订阅分析超时崩溃、Gemini 2.5 Flash 探活失败、「街头快剪」纯黑下底(#751)、4 款 Windows 模板预览 yuv420p、画面标题开关(#742)、数字/时间断行与旋转字号(#749/#750)、日语横屏与 SDK、Ollama qwen3.5/gemma4 400 重试(#752)与 Docker 自托管(#728–#731)

修复与改进

  • 一键去停顿(Tight Cut):新增 POST /api/v1/studio/{project_id}/trim-silences 接口与 Studio 编辑页「一键去停顿」按钮;复用内置 FFmpeg silencedetect 检测长停顿,自动避开字幕说话区间并保留 0.14s 自然换气,切分镜头时同步重映射 crop_track 人物跟随关键帧,支持一键还原停顿。
  • 免 API Key 极速开局引导:新增纯本地 800ms 探测接口 GET /api/v1/settings/ollama/detect(自动过滤 embedding 模型并推荐对话模型),并在首页 ImportSetupCard 直接提供「一键连接本机 Ollama」与「用 ChatGPT 订阅登录(免密钥)」入口。
  • Whisper 国内下载防卡死(魔搭 ModelScope 兜底):当 huggingface.co 不可达时自动优先走 ModelScope 官方 Systran/faster-whisper-* 直连源写入标准离线缓存目录,同时补齐 HF_HUB_DOWNLOAD_TIMEOUT / HF_HUB_ETAG_TIMEOUT 防止 hf-mirror 跳转 xethub.hf.co 长时间卡在 0 字节。
  • ChatGPT 订阅通道与 Gemini 2.5 Flash 探活修复:修复 ChatGPTSubscriptionProvider 将 (connect, read) 超时二元组重复嵌套传入 requests.post 导致双端分析必现 Invalid timeout(analyze / timeout)的问题,并补齐流式读取超时捕获;为官方 gemini-2.5-flash 连接测试与试跑探测补齐 thinking_budget: 0,避免 maxOutputTokens=16 被默认思考耗尽导致测试连接失败。
  • 街头快剪全画幅优化与 Windows 模板预览修复(#751):内置「街头快剪(street)」模板由原先上方 1290px 窗口 + 下方纯黑底改为全画幅 1080×1920 铺底与底部半透明暗色渐变遮罩(无字幕或无说话人标签时自动隐藏遮罩),同时完整保留 1.00 ↔ 1.22 节奏推进;将 streamer_split、gta_wasted、streamer_pip、meme_setup 4 套模板预览视频由 yuvj420p 重编码为标准 yuv420p,解决 Windows WebView2 预览解码失败问题。
  • 字幕排版、画面标题开关与导出字号修复(#742 / #749 / #750,感谢 @HEOJUNFO):为模板成片新增「画面标题/片头」开关(Packaging.title_enabled),关闭后可隐藏 podcast_dark 等模板画面内压制的片头标题卡与顶部大标题,同时保留封面图标题(#742);修复数字与时间里的 , / : / :(如 1,000,000、10:30、16:9)被误判为断句符导致插空格或从数字中间换行的问题(#749);修复原画竖屏、layout=none 及手机 90°/270° 旋转视频导出时字幕行宽与字号未按实际输出画幅计算的问题,并将字幕缓存键升级为 _captions-v3(#750)。
  • 日语支持补全与本地 Ollama 稳定性(#752):将日语保留逻辑同步补齐至 youtube_long 横屏导出与标题生成,为共享模板 SDK(ac-template-sdk.js)新增日语标签(ja)与非中文国际兜底;为本地 Ollama qwen3/qwen3.5/gemma4 请求同时传入 OpenAI 兼容的 reasoning_effort: "none" 与 think: false(对话与视觉链路遇本地 HTTP 400 自动剥离思考参数重试一次),并在 Studio JSON 解析中兼容剥离未闭合的 <think> 标签(#752);在 pytest 环境下阻断诊断模块向线上 Cloudflare Worker 上报测试数据。
  • Docker 自托管、日志与贡献文档(#728 / #729 / #730 / #731 / #747,感谢 @wqlC、@thanhhfishyu、@Zotixxx):修复 Docker 容器 PID 1 环境下 child_guard.py 误杀 Whisper 安装子进程(#728);修复日志脱敏破坏 Uvicorn 访问日志五元组格式导致报错(#729);支持 mode="web" 直接托管前端构建产物并修正 Compose 端口与健康检查(#730);移除误跟踪的运行时文件(#731);新增英文贡献指南 CONTRIBUTING.en.md(#747)。
  • 发版与签名基础设施:在 Desktop Build 中接入 SignPath Foundation Windows 两阶段 Authenticode 代码签名流程与签名后 Tauri 更新器 .exe.sig 重签逻辑(现已可用于测试签名验证,待 SignPath 正式证书签发后一键开启正式版签名)。

下载与安装

平台 文件 首次打开
macOS 15 及以上(Apple Silicon) AutoClip.Desktop_1.6.5_aarch64.dmg 双击一次。若被拦截:系统设置 → 隐私与安全性 → 仍要打开(Apple)
较旧的 macOS(Apple Silicon) 同上 未公证:右键应用 → 打开
Windows 10/11 x64 AutoClip.Desktop_1.6.5_x64-setup.exe 未签名:SmartScreen → 更多信息 → 仍要运行
CLI / MCP(Python 3.11+) autoclip-1.6.5-cli-mcp.zip / autoclip_mcp-1.6.5-py3-none-any.whl ZIP 内含安装与模型配置说明,需 FFmpeg
  • 开箱即用:两个桌面包均内置便携 Python 与静态 FFmpeg,无需预装环境;Windows 安装包按用户安装,不需要管理员权限,缺 WebView2 会自动下载。
  • Intel Mac / Linux:目前没有桌面安装包,请使用 Docker(DOCKER.md)、uvx autoclip-mcp,或从源码安装(在仓库根目录执行 python -m pip install --no-deps .)。
  • 快捷安装 MCP / Skill:不下载 ZIP 时,可执行 uvx autoclip-mcp 安装并启动 MCP,npx skills add zhouxiaoka/autoclip 安装 skill。
  • 校验与签名说明:桌面包目前未购置代码签名 / Apple 公证(#119),均由公开 GitHub Actions Desktop Build 构建;运行前可在附件 build-provenance.json 核对安装包 SHA-256(Windows:Get-FileHash AutoClip.Desktop_1.6.5_x64-setup.exe -Algorithm SHA256;macOS:shasum -a 256 AutoClip.Desktop_1.6.5_aarch64.dmg)。
  • 首次体验与转写:安装后若项目列表为空,可点首页「用示例项目看看效果」(内置离线示例,无需 API Key)。没有字幕的视频首次会下载本地转写组件(约 220 MB,国内网络约 15 分钟);装不上或太慢时,可在「设置 → 默认模型 → 语音转字幕」改用百炼云端转写(音频会上传到云端),导入被拦住时可直接点「改用云端转写」。

反馈

Don't miss a new autoclip release

NewReleases is sending notifications on new releases.