AutoClip Desktop v1.6.7
English · 中文
English
Highlights
- Fixed Sign in with ChatGPT (Beta) connection tests, settings save readiness, and Studio generation failures (#771, #773, #772, #759): repaired SSE UTF-8 decoding,
JOSEErrortoken verification, accurate upstream error classification (network_error/stream_interrupted/ 403 / 404), OAuth save persistence, and live account model discovery in Settings - Hardened Google Gemini 404 & 503 resilience: official Gemini text, vision, and connection tests now automatically fall back across
gemini-2.5-*,gemini-3.*, andgemini-3-flash-previewon retired-model 404s and active clip-job 503 overload spikes (including chained 404 → 503 fallback togemini-3.5-flash-lite) - Fixed Ollama local 404/400 failures &
cover_framevision storms: classified Ollama'smodel '...' not found404 asMODEL_NOT_FOUND(unlocking automatic fallback to pulled local models), stripped top-levelreasoning_effortand retried local HTTP 400 non-stream, capped localcover_framethumbnails, added acover_framecircuit breaker, and auto-substituted vision-unsupported 400 preset models (e.g. APIMartdeepseek-v4-flash) - Integrated community fixes for Final Cut Pro FCPXML 1.10 schema order (
#770, thanks@Deeeeex), macOSHeiti SCChinese subtitle rendering hang (#778, fixes#777, thanks@pedroberaldo87), Korean Hangul full-width caption wrapping (#776, thanks@jasonkim9068), and DashScope ASR/v1URL normalization
Fixes & Improvements
- Sign in with ChatGPT (SIWC) Transport, Save Readiness & Live Models (#771, #773, #772, #759): Switched
openai_responses_transport.pySSE parsing to explicit UTF-8 byte decoding (iter_lines(decode_unicode=False)) withbudget_watchand cancellation checkpoints, handledresponse.done, objectdelta,output_text.done, andfailed/incompleteterminal events, caughtJOSEErrorinverify_id_token, kept freshly refreshed access tokens usable during transient JWKS outages, mapped all SIWC transport error codes away fromunknown, recognized connectedoauth_statusinconnectionReady/persistableConnection, and enabled livechatgpt_subscriptionmodel discovery with a Refresh action inProviderDetail. - Clip-Finder Window Splitting, Retries, 5xx/Transport Classification, Proxy Parity & Atomic Reload: Automatically bisected oversized (
HTTP 413/ context-length400) or output-truncated (finish_reason=length/max_tokens) clip-finder windows and skipped safety-blocked windows in multi-window runs; separated transport retries (up to 3 exponential-backoff retries) from format repairs (2 attempts) and let multi-window transient exhaustion drop only the failed window while preserving surviving clips; classified all HTTP 5xx (including Cloudflare 520–524 HTML and 529 JSON), HTML200proxy pages (bad_endpoint), Gemini safety/empty-candidate responses (ModelResponseInvalid), and real transport/socket exceptions (httpx.TransportError,requests.RequestException,OSError,[WinError 10054], malformed SSE) accurately; added production direct-without-proxy retry matching validation; madeLLMManagerhot-reload atomic, exposedinit_error_typeto distinguish provider initialization errors from missing API keys, allowed unclassifiedunknownprobe warnings without hard-blocking generation, and unified local concurrency (workers() == 1) viais_local_modelfor LAN/IPv6 Ollama. - Gemini 404 & 503 Resilience: Added shared bounded
gemini_fallback_candidates()acrossGeminiProvider.call(), Studiovision_call(), andprovider_validation._validate_resolved()coveringgemini-2.5-*,gemini-3.*, andgemini-3-*(gemini-3-flash-preview) 404s, active clip-job 503 overloads, chained 404 → 503 recovery, and in-session remembering of 404 fallback models so subsequent chunks skip repeated 404 probes. - Ollama 404/400 & Vision Cover-Frame Hardening: Matched
model ... not foundHTTP 404 asUpstreamErrorType.MODEL_NOT_FOUNDinupstream_errors.py; stripped top-levelreasoning_effortand added single non-stream 400 fallback for local URLs inOpenAIProvider.call()andintelligence.vision_call(); classified vision HTTP 400 rejections asvision_unsupportedwith preset auto-substitution; capped localcover_framecandidates to 3×256px thumbnails and added a 10-minute(base_url, model)circuit breaker incover_design.py. - Job Orchestration, Visual/Timeline Resilience, Render & Updater Hardening: Relaxed the legacy 4-step timeline
min_clip_secfloor when strict filtering drops all candidates; dropped individual out-of-bounds visual highlights instead of discarding the whole batch and keptscanhighlights when denserefinetimes out; capped LLM boundary refinement toAUTO_RENDER_LIMIT, obeyed local concurrency, and degraded to sentence bounds on step timeout; prevented transient progress-write lock errors from aborting healthy renders; movedconfirm_projectpreflight checks outsidestore.lock; auto-retried transient render failures (e.g. WindowsWinError 32file locks) once before settling aspartial; recognized transcribedmetadata/*.srton resume (and cleared it on fresh redo); degraded subtitle translation 300s step timeouts to original captions; reportedtimeline_emptyinstead ofcompletedwhen manual content slicing yields zero drafts; added bundledNotoSansSC-Medium.ttffont fallback,ffprobevideo-stream tail clamping, full HTML overlay exception downgrade toclassic, overlong hook ellipsis truncation,preflightduration fallback, unified retryable atomic renames, safe temp-dir cleanup, working WhisperHF_HUB_DOWNLOAD_TIMEOUT/HF_HUB_ETAG_TIMEOUT, and desktop updater deferral while generation/render jobs are active. - DashScope Cloud ASR URL Normalization: Normalized custom DashScope URLs ending in
/v1before appending/api/v1incloud_transcription.pyto prevent/v1/api/v1HTTP 404s. - FCPXML 1.10 DTD Compliance (PR #770, thanks
@Deeeeex): Reordered<asset-clip>children inbackend/services/studio/nle_export.pyto match the FCPXML 1.10 schema (<adjust-transform>before<marker>and<title>). - macOS
Heiti SCSubtitle Fallback, Redesigned Drag-to-Applications DMG & Smoke Verification (PR #778, fixes #777, thanks@pedroberaldo87): Replaced the nonexistentSTHeitifont family withHeiti SCin macOS subtitle fallback configuration, enabled real CJK subtitle rendering (subtitles=True) inscripts/verify_macos_bundle.py, and redesigned the macOS DMG installer with a Calm Premium Retina (@2x) drag-to-Applicationslayout, custom volume icon, and deterministic.DS_Storeicon alignment. - Korean Hangul Caption Layout Width (PR #776, thanks
@jasonkim9068): Counted precomposed Hangul syllables as full-width cells incaption_layout.pyso Korean and mixed Korean/Latin lines wrap within the line limit. - Release Tooling Guardrail: Extended
scripts/bump_version.pyto keepserver.json,mcpb/manifest.json, andmcpb/pyproject.tomlsynchronized and verified in--check.
Download & Install
| Platform | File | First Launch |
|---|---|---|
| macOS 15+ (Apple Silicon) | AutoClip.Desktop_1.6.7_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.7_x64-setup.exe
| Unsigned: SmartScreen → More info → Run anyway |
| CLI / MCP (Python 3.11+) | autoclip-1.6.7-cli-mcp.zip / autoclip_mcp-1.6.7-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-mcpto install and start the MCP server, andnpx skills add zhouxiaoka/autoclipto 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 attachedbuild-provenance.jsonbefore running (Windows:Get-FileHash AutoClip.Desktop_1.6.7_x64-setup.exe -Algorithm SHA256; macOS:shasum -a 256 AutoClip.Desktop_1.6.7_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
- Known issues & status: #96 · Bug reports: Issue Templates · Ideas & usage: Discussions
中文
更新要点
- 修复 ChatGPT 订阅登录(Beta)连接测试、设置保存与成片失败(#771、#773、#772、#759):修复 SSE 流 UTF-8 解码与事件解析、
JOSEError令牌校验、network_error/stream_interrupted/403/404 错误精准归类、OAuth 连接保存就绪判定,并支持在设置页直接刷新展示账号可用模型列表 - 全面加固 Google Gemini 404 与 503 自动回退:官方 Gemini 文本、视觉与连接测试现已覆盖
gemini-2.5-*、gemini-3.*与gemini-3-flash-preview下线 404 及剪辑任务期间 503 过载回退(支持 404 → 503 链式继续回退至gemini-3.5-flash-lite) - 修复 Ollama 本地 404/400 失败与
cover_frame视觉重复刷错:修复 Ollamamodel '...' not found404 误报为bad_base_url的问题(解锁连接测试自动切换本机已拉取模型);剥离顶层reasoning_effort并对本地 400 增加非流式重试;为cover_frame增加(base_url, model)熔断器与本机候选图上限,并在预设模型视觉 400 不支持时自动切换同服务商视觉模型(解决 APIMartdeepseek-v4-flash高频 400) - 合入社区修复:Final Cut Pro FCPXML 1.10 子元素顺序(PR #770,感谢
@Deeeeex)、macOS 中文字幕STHeiti→Heiti SC卡死修复(PR #778,修复 #777,感谢@pedroberaldo87)、韩文音节全角字幕换行宽度(PR #776,感谢@jasonkim9068),以及 DashScope 云端转写/v1地址规范化
修复与改进
- ChatGPT 订阅登录(SIWC)流式传输、保存就绪与实时模型列表(#771、#773、#772、#759):将
openai_responses_transport.py改为显式 UTF-8 字节流解码并接入budget_watch与取消检查点,补全response.done、对象delta、output_text.done及failed/incomplete终态处理;在verify_id_token中捕获JOSEError且在 JWKS 短暂不可达时不阻断已刷新令牌;全量映射 SIWC 传输错误码避免落入unknown;在前端connectionReady/persistableConnection中识别已连接 OAuth 状态;并在设置页接入实时模型发现与刷新按钮。 - 挑片窗口二分、重试、5xx/传输异常分类、代理直连一致与热重载原子性:在挑片遇到上下文超限(
413/超长400)或输出截断(finish_reason=length/max_tokens)时自动将窗口二分续跑,多窗口遇到内容拦截跳过单窗保留其余片段;将挑片传输重试(最多 3 次指数退避)与格式修复(2 次)解耦计数,多窗口瞬时失败只丢该窗口保留其余成功片段;精准归类全部 5xx(含 Cloudflare 520–524 HTML 与 529 JSON)、HTML200错页(bad_endpoint)、Gemini 内容拦截/空候选(ModelResponseInvalid)及真实传输/断流异常;为生产 OpenAI/Gemini 请求补齐坏代理直连回退;将LLMManager热重载改为先建后换,暴露init_error_type区分初始化异常与缺密钥,未分类unknown探测告警不再永久阻断生成,并统一用is_local_model判定本地并发(内网/IPv6 Ollama 并发=1)。 - Gemini 404 与 503 自动回退:在
GeminiProvider.call()、Studiovision_call()与provider_validation._validate_resolved()中接入统一的gemini_fallback_candidates()回退策略,覆盖gemini-2.5-*、gemini-3.*、gemini-3-flash-preview404、剪辑任务 503 过载、404 → 503 链式回退,并记住 404 回退成功后的模型避免后续分片重复踩 404。 - Ollama 404/400 与
cover_frame视觉保护:在upstream_errors.py中将model ... not found404 识别为MODEL_NOT_FOUND;剥离顶层reasoning_effort并对本地地址 400 补齐一次非流式重试;将模型视觉 400 拒收归类为vision_unsupported并对预设模型自动替换同服务商视觉模型;在cover_design.py中对本地模型限缩至 3 张 256px 缩略图并加入 10 分钟(base_url, model)熔断器。 - 任务编排、视觉/时间线兜底、渲染与自动更新防中断加固:旧版 4 步时间线全被过滤时自动放宽最短时长下限;视觉高光按条剔除越界候选并在精扫超时时保留粗扫结果;边界精修按
AUTO_RENDER_LIMIT收敛、遵守本地并发并在步骤超时后降级为句界对齐;渲染进度写入遇锁超时不再中断健康成片;confirm_project释放全局锁后再做外部探测;渲染遇到瞬时文件锁(WinError 32等)在结算为partial前自动重试一次;断点续跑同时识别转写写入metadata/*.srt的字幕并在“从头重做”时清理;渲染期翻译 300s 步骤超时降级保留原字幕;手动内容切片零草稿准确报错timeline_empty;补齐内置NotoSansSC-Medium.ttf字体兜底、ffprobe视频流尾部裁切、HTML 覆盖层全量异常降级经典渲染、超长开头文案自动截断省略号、preflight时长探测兜底、产物改名重试、临时目录安全清理、WhisperHF_HUB_DOWNLOAD_TIMEOUT/HF_HUB_ETAG_TIMEOUT生效修复,以及存在制作中项目时延迟弹出桌面自动更新并禁用一键重启。 - DashScope 云端转写 URL 规范化:在
cloud_transcription.py中去除末尾/v1后再拼接/api/v1,避免拼出/v1/api/v1404。 - FCPXML 1.10 节点顺序修复(PR #770,感谢
@Deeeeex):按 FCPXML 1.10 DTD 规范调整nle_export.py中<asset-clip>子元素顺序(<adjust-transform>位于<marker>与<title>之前)。 - macOS
Heiti SC字幕字体回退、全新 Retina 拖入安装 DMG 与冒烟验证(PR #778,修复 #777,感谢@pedroberaldo87):将 macOS 字幕默认回退字体从不存在的STHeiti替换为系统内置Heiti SC,在scripts/verify_macos_bundle.py中开启真实中文字幕渲染验证,并全新设计了 macOS DMG 安装界面(@2xRetina 引导背景、精排左右卡片与箭头动线、Applications快捷入口与自定义卷标图标)。 - 韩文全角字幕换行宽度修复(PR #776,感谢
@jasonkim9068):在caption_layout.py中将预组合韩文音节按全角宽度计算,修复韩文及韩英混排字幕超宽溢出。 - 发版版本号同步防呆:扩展
scripts/bump_version.py,同步更新并校验server.json、mcpb/manifest.json与mcpb/pyproject.toml。
下载与安装
| 平台 | 文件 | 首次打开 |
|---|---|---|
| macOS 15 及以上(Apple Silicon) | AutoClip.Desktop_1.6.7_aarch64.dmg
| 双击一次。若被拦截:系统设置 → 隐私与安全性 → 仍要打开(Apple) |
| 较旧的 macOS(Apple Silicon) | 同上 | 未公证:右键应用 → 打开 |
| Windows 10/11 x64 | AutoClip.Desktop_1.6.7_x64-setup.exe
| 未签名:SmartScreen → 更多信息 → 仍要运行 |
| CLI / MCP(Python 3.11+) | autoclip-1.6.7-cli-mcp.zip / autoclip_mcp-1.6.7-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.7_x64-setup.exe -Algorithm SHA256;macOS:shasum -a 256 AutoClip.Desktop_1.6.7_aarch64.dmg)。 - 首次体验与转写:安装后若项目列表为空,可点首页「用示例项目看看效果」(内置离线示例,无需 API Key)。没有字幕的视频首次会下载本地转写组件(约 220 MB,国内网络约 15 分钟);装不上或太慢时,可在「设置 → 默认模型 → 语音转字幕」改用百炼云端转写(音频会上传到云端),导入被拦住时可直接点「改用云端转写」。
反馈
- 已知问题与当前状态:#96 · 能复现的故障走 Issue 模板 · 想法与用法走 Discussions