SQLAlchemy Enum 只按成员名加载。SQLite 里对不上的值(已删除的 cancelled,或小写 value)会在结果处理器抛 LookupError,get_projects 整批失败。未知状态读成 failed、未知类型读成 default,启动时改写成当前枚举名。 Fixes #150 Fixes PYTHON-FASTAPI-D Co-authored-by: Kris K <zhouxiaoka@users.noreply.github.com>
12 KiB
FAQ and troubleshooting
简体中文 · Installation · README
Cost, models, and data
Is AutoClip free? Do I need an API key?
AutoClip itself stays free and open source under MIT. Cloud model providers bill their own usage; consult your provider for pricing, quotas, and model availability. Ollama / LM Studio presets need no cloud API key, but require downloaded models and suitable hardware. Local Whisper needs separate speech components and model files.
As of v1.3.2, overseas publishing needs your own Upload-Post account. Free and paid tiers, and daily caps for TikTok, YouTube, Instagram, and other platforms, follow Upload-Post’s own pages. They are not AutoClip promises.
Are videos uploaded? Can I work offline?
Editing stays on your device, and the video stays there too. Cloud language models receive transcript text. The finished clip leaves the machine only after you click Publish, and only to the platforms you connected. You can also download it without publishing. Usage analytics and error reporting depend on the version, build configuration, and settings; see the privacy notes. The Publish page is available in v1.3.2.
Once you have local footage, a local language model, and any required speech model, core local processing does not need a cloud model service. Video downloads, component installation, model downloads, and updates still need internet access. Local processing does not mean that every feature is offline.
What footage works best?
Analysis primarily uses transcripts, so interviews, podcasts, lectures, spoken commentary, and livestream recordings with clear speech are suitable. Music, sports action, and other primarily visual content may not have enough transcript information to identify highlights. There is no guaranteed clip count or quality.
For a first run, bring your own 3–5 minute clip with clear speech, preferably with an accurately timed .srt. Use a local file, Bilibili, or YouTube, and confirm that you have the right to use it. AutoClip does not host an official sample, and Releases do not include a sample zip or finished clips.
For a first clip, try Jackie Dowling | Stanford Energy Fellow (Stanford ENERGY). 示例·非托管·自担使用权 (example link, not hosted by AutoClip; you are responsible for usage rights).
Other examples are optional. Dialogue is mostly English; official captions or your own SRT/Whisper are optional.
- The State of Startups in 2026 (Y Combinator). 示例·非托管·自担使用权.
- Sam Altman on Astra, AGI, and the future of OpenAI. Sources Podcast, not an OpenAI channel. 示例·非托管·自担使用权.
Setup steps are in the installation guide; sticking points are in Discussion #128.
Installation and startup
Which file should I download?
In Releases, choose aarch64.dmg for Apple Silicon Mac or x64-setup.exe for Windows x64. Use Docker or CLI for Intel Mac / Linux. Check the actual release assets; Source code is not a desktop installer. Releases do not include an official sample video or finished clips.
For first-launch system warnings, see the installation guide and release notes. Routine Windows use does not require administrator privileges.
What if the app is blank or cannot connect to the backend?
- Exit fully and restart once, preserving your data directory.
- Check free disk space and note the exact error and failed stage.
- Desktop backend ports are managed by the launcher; inspect startup logs instead of assuming port 8000. Docker defaults to port 3000 for the web UI and 8000 for the API.
- In web mode, disable browser page translation and refresh if it was enabled.
- For Docker, run
docker compose psanddocker compose logs --tail=100 autoclip celery-worker; see the Docker guide.
Why does the model connection test fail?
Check that the provider, model name, API key, Base URL, and region match, and that your account has access to the model. Start Ollama / LM Studio and load the model first. Default endpoints are http://localhost:11434/v1 and http://localhost:1234/v1 respectively.
Inside Docker, localhost refers to the container. See the Docker guide for host model access. For proxy, TLS, or timeout errors, check the actual destination and network configuration. Never include a full API key in a report.
Subtitles, analysis, and export
What if I have no subtitles? Which format can I import?
Local file import accepts an optional .srt. Without usable subtitles, you need speech transcription: install the Whisper components and model in Settings first. CLI users can install faster-whisper. Convert other subtitle formats to accurately timed SRT rather than assuming every format is accepted.
Why were no clips generated?
Read the project error first, then check the failed stage:
| Stage | Check first |
|---|---|
| SUBTITLE | Empty subtitles, timing mismatch, or missing Whisper components/model |
| ANALYZE | Model connectivity, parseable output, and sufficient transcript content |
| Scoring | Whether candidates exist and the threshold is too high; try reducing it from 0.7 to 0.5 and processing again |
| EXPORT | FFmpeg availability, free disk space, and write permission on the output directory |
Check the CLI environment, then try a lower threshold:
autoclip doctor --provider ollama
autoclip run talk.mp4 --provider ollama --srt talk.srt --min-score 0.5 --json
Replace the filenames and provider with your actual setup. Without SRT, remove --srt talk.srt and prepare transcription first. Lowering the threshold changes selection; it does not guarantee clips. For a first check, use a clip you provide, or try Jackie Dowling | Stanford Energy Fellow above. You do not need to run every example. If usage is still unclear, continue in the first-clip Q&A. Reproducible bugs still belong in Issues.
Why is processing slow or using too much memory?
Identify whether downloading, transcription, model analysis, or FFmpeg export is slow. Try a short video, reduce concurrent jobs, try a smaller local model, and check free memory and disk space. Initial speech model downloads can take time. Before retrying, check whether the previous job is still running. There is no fixed processing time per hour of video.
Why does a YouTube / Bilibili download fail?
Check that the link opens in your browser and that your account has access. Configure platform login credentials when necessary. CLI / source users can check their yt-dlp version; desktop users should check for a newer release. You can also import a local file you are authorized to obtain. Do not send Cookies in issues or email.
How do source clips differ from publishing exports?
Clips are segments cut from the source video using time ranges. Publishing export applies a preset, such as vertical layout, burned-in subtitles, and title cards. After generating clips, run export and play the result to check it.
autoclip export PROJECT_ID --preset shorts
Replace PROJECT_ID with the actual project ID. Other presets include douyin, xiaohongshu, bilibili, and original; see the CLI / MCP reference (Chinese).
How does the v1.3.2 Publish page work?
Available in v1.3.2.
After clips are ready, open Publish on a clip. Overseas platforms and Bilibili share that page:
- Overseas platforms use your own Upload-Post account and the platforms you connected there: TikTok, Instagram, YouTube, Facebook, LinkedIn, X, Threads, Pinterest, Bluesky, Discord, Telegram, and Google Business, as available on that account.
- Bilibili is one account. Paste a Cookie once in Settings. It must include
SESSDATA,bili_jct, andDedeUserID.
Publish now or on a schedule. A Bilibili schedule must be more than two hours ahead. Title and description are optional and default to the clip title. Burned-in captions default on. The title card, about four seconds at the start, defaults on. Visibility defaults to private / self where the platform supports it. AutoClip promises that only for TikTok, YouTube, and Bilibili. You can download the file without publishing.
The project page shows publish history and a calendar, and can cancel a schedule that has not gone out. “Plan this week” is overseas only: it fills unpublished clips into Monday, Wednesday, and Friday at 09:00. It does not include Bilibili.
Aspect follows the accounts you send to. Vertical accounts render 9:16 without a 60-second cut. Bilibili alone renders landscape. LinkedIn or X alone keeps the original frame. Vertical and Bilibili in the same batch are rendered separately.
When you publish, a cover can be generated automatically so Bilibili does not reject an empty cover. Default cover and title-card details follow that release’s installer notes. Available in v1.3.2.
Updates, backups, and support
Where is my data? How do I back it up?
See the installation guide for desktop defaults. Docker uses the repository’s data/, logs/, and uploads/ bind mounts. Exit the app or stop services before backing up the database, project files, and settings; do not copy only the main SQLite file while jobs are running. Do not assume automatic backups exist, or delete source data to troubleshoot.
Project list fails after an upgrade
Desktop and Docker store project status and type in SQLite text columns. The service reads enum names (PENDING, KNOWLEDGE). A value the current version does not know fails the entire list. One known leftover is cancelled / CANCELLED, removed from the code earlier. Lowercase values such as pending also fail that lookup.
Starting with v1.3.3, startup rewrites those two columns. Project rows stay in place:
- A matching value becomes the enum name, for example
pending→PENDING - An unrecognized status, including
cancelled, becomesFAILED - An unrecognized project type becomes
DEFAULT
Reopen the app after upgrading and the project list should load. Rewritten projects show as failed or as the default type. To inspect before upgrading:
SELECT status, COUNT(*) FROM projects GROUP BY status;
SELECT project_type, COUNT(*) FROM projects GROUP BY project_type;
Where are known issues? How can I get help?
Check known issues and release notes first. Feature ideas and how you use AutoClip go to Discussions: welcome and categories, first-clip Q&A, and ideas. Reproducible bugs go to Issues. The board rules are in the community board (Chinese). If needed, send one email to christine_zhouye@163.com with:
- OS and CPU architecture, AutoClip version, and desktop / Docker / CLI mode.
- Model provider and name, video source and approximate duration, and whether subtitles were supplied.
- Reproduction steps, failed stage, and an error screenshot or relevant recent logs.
- API keys, Cookies, private paths, and private transcript text removed from the logs.
Maintained by an individual in their spare time. Response times vary; live support and one-to-one deployment assistance are not provided.