Skip to content

docs(desktop): document the captions track and presets - #697

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-696-20260919-1812
Sep 19, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-696-20260919-1812

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the captions feature of content projects in desktop.md, from the implementation on inference-gateway/desktop@main rather than the issue body alone (the export moved on since inference-gateway/desktop#288).

  • Timeline contract: a captions track in the sample JSON, the captions track kind, and a field table for style, position, x/y and the clip fields id, start, end, text, words. One track per timeline; caption clips carry no src or status.
  • New Captions section: the four presets (classic, bold, highlight, karaoke) with which two need words, the editor (lane header preset select, + at the playhead, in-place text editing, drag/double-click placement, "Speak this"), and the video-editing skill rules for where caption text comes from and how it is chunked.
  • Export: rewritten to match the code. The desktop composes every frame with the renderer the preview uses and hands raw pixels to ffmpeg, so captions and cards are part of the picture and there is no video filter at all. A sidecar export/<stem>.srt is written when the timeline has captions.
  • Troubleshooting: the real ffmpeg prerequisite (adelay/amix/apad plus libx264/aac, with the error text the app shows) and Highlight/Karaoke falling back to a plain line without words.

Differences from the issue body

The issue asks for a libass prerequisite and an .ass burn-in. That is no longer what ships: backend/src/timeline.rs states there is no ASS file and no libass any more, and frontend/lib/export.ts pipes canvas frames into ffmpeg. The troubleshooting entry covers the ffmpeg error that actually occurs instead.

Two adjacent statements were corrected because captions made them contradictory: the export no longer scales/pads/overlays in ffmpeg, and a VP9 .webm card now loses its alpha in the export too, not just the preview (same renderer).

Validated with bun run lint:md, bun run format:check and bun run build.

Closes #696

@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit eb8b7c1 into main Sep 19, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-696-20260919-1812 branch September 19, 2026 18:19
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 22, 2026
## [0.9.14](0.9.13...0.9.14) (2026-09-22)

### 📚 Documentation

* add music 400 error and fix elevenlabs music model id ([#714](#714)) ([33136ab](33136ab))
* add sdks.md to generated list and note pre-commit hook in AGENTS.md ([#687](#687)) ([60d6563](60d6563))
* add voice cloning section to audio api ([#612](#612)) ([713d474](713d474))
* askuserquestion is available in all modes ([#673](#673)) ([b7fd49d](b7fd49d))
* **cli:** document chat-capable model picker filter and empty opt-in exclude_models default ([#611](#611)) ([9110f45](9110f45))
* **cli:** document per-step token_usage custom event in ag-ui headless stream ([#701](#701)) ([e4d6178](e4d6178))
* **cli:** document reset disk-space totals ([#695](#695)) ([5a22260](5a22260)), closes [#694](#694)
* **cli:** drop hardcoded version pin from cli page ([#622](#622)) ([5bce552](5bce552))
* **cli:** rename per-mode prompts to mode adjustments ([#624](#624)) ([182e594](182e594))
* condense AGENTS.md ([#596](#596)) ([d7ba57f](d7ba57f))
* correct ENABLE_VISION behavior description ([#652](#652)) ([f14929d](f14929d))
* correct inverted VISION_ENABLED stripping behavior ([#667](#667)) ([1e94197](1e94197))
* desktop browser use via opentask extension ([#677](#677)) ([f10affe](f10affe))
* **desktop:** document fps, clip framing and trims ([#699](#699)) ([8cbeeee](8cbeeee))
* **desktop:** document the captions track and presets ([#697](#697)) ([eb8b7c1](eb8b7c1))
* document ~/.infer/auth.json key fallback ([#645](#645)) ([1bb807b](1bb807b))
* document ~/.infer/tmp media dirs and auth.yaml ([#691](#691)) ([9f7e0b2](9f7e0b2))
* document ag-ui RUN_FINISHED result keys ([#674](#674)) ([32db136](32db136))
* document AUTH_OIDC_AUDIENCE and new auth examples ([#668](#668)) ([c9918bc](c9918bc))
* document auto-with-judge mode and judge.yaml ([#634](#634)) ([9c97fbd](9c97fbd))
* document content projects and overlay cards ([#685](#685)) ([40f12c9](40f12c9))
* document desktop text-to-speech and voice samples ([#658](#658)) ([07b3c3d](07b3c3d))
* document elevenlabs music models in /v1/models ([#716](#716)) ([4aa2f42](4aa2f42))
* document go sdk CreateSpeech audio api ([#614](#614)) ([ca50daa](ca50daa))
* document INFER_MODEL for generated infer.yml ([#655](#655)) ([acdeba7](acdeba7)), closes [#654](#654)
* document language field on /v1/audio/speech ([#629](#629)) ([2e760eb](2e760eb))
* document local/qwen3-tts speech engine ([#627](#627)) ([37ed950](37ed950))
* document model selector capability tabs and view-only rows ([#640](#640)) ([01971fa](01971fa))
* document POST /v1/audio/music ([#713](#713)) ([50a005f](50a005f))
* document RequestApproval judge escalation tool ([#636](#636)) ([954014a](954014a))
* document rust adk tool.<name> tracing spans ([#683](#683)) ([1097c2f](1097c2f))
* document the /reset chat shortcut ([#690](#690)) ([52b6120](52b6120))
* document the /videos operations and the audio avatar extension ([#711](#711)) ([0dc901b](0dc901b))
* document the audio speech endpoint ([#608](#608)) ([f28a448](f28a448))
* document the elevenlabs speech provider ([#706](#706)) ([1412999](1412999))
* document the POST /audio/sfx operation ([#708](#708)) ([8e9b2ab](8e9b2ab))
* document tool.<name> spans in typescript adk ([#682](#682)) ([65b6e35](65b6e35))
* document voice_sample samples-library fallback ([#659](#659)) ([511cdd5](511cdd5))
* drop duplicate judge mode nav entry ([#686](#686)) ([95cd0b0](95cd0b0))
* **github-action:** document enable-git-hooks and hooks-path inputs ([#598](#598)) ([59e0e76](59e0e76)), closes [#597](#597)
* **github-action:** point infer-action snippets at [@main](https://github.com/main) and fix drifted input defaults ([#617](#617)) ([bcc5e19](bcc5e19))
* link sfx and music sdk gaps to tracking issues ([#715](#715)) ([d755eb3](d755eb3))
* mark llamacpp speech as work in progress ([#653](#653)) ([5e00bb6](5e00bb6))
* move gateway binary and logs to home dir ([#603](#603)) ([b4e9e09](b4e9e09))
* note all ollama cloud models are subscription-gated ([#639](#639)) ([0557904](0557904))
* note tts engine validation skipped when disabled ([#631](#631)) ([dc0c6a4](dc0c6a4))
* rename enable_images env var to images_enabled ([#649](#649)) ([3b54fd6](3b54fd6))
* rename ENABLE_IMAGES to IMAGES_ENABLED ([#644](#644)) ([638b00c](638b00c))
* rename ENABLE_VISION to VISION_ENABLED and record deprecation ([#662](#662)) ([c249426](c249426))
* **sdks:** add python create_speech audio api section ([#621](#621)) ([19a1985](19a1985))
* **sdks:** add rust create_speech audio api section ([#619](#619)) ([81b3e5f](81b3e5f))
* **sdks:** add typescript createSpeech audio api section ([#620](#620)) ([0960e21](0960e21))
* update conversation storage to home-dir layout ([#601](#601)) ([3b7e505](3b7e505))
* update go version references to 1.26.7 ([#648](#648)) ([1efd6fd](1efd6fd))
* use --user in infer skills install examples ([#693](#693)) ([2754254](2754254))

### 🔧 Miscellaneous

* **deps-dev:** bump @types/node from 26.4.0 to 26.4.1 in the bun group ([#664](#664)) ([62b36a7](62b36a7))
* **deps-dev:** bump the bun group with 2 updates ([#675](#675)) ([6da6ef3](6da6ef3))
* **deps-dev:** bump the bun group with 3 updates ([#604](#604)) ([e744776](e744776))
* **deps-dev:** bump the bun group with 3 updates ([#702](#702)) ([db1855e](db1855e))
* **deps:** bump claude-code 2.1.238 -> 2.1.245 ([#641](#641)) ([a578783](a578783))
* **deps:** bump claude-code 2.1.245 -> 2.1.266 ([#678](#678)) ([9983390](9983390))
* **deps:** bump infer CLI v0.183.0 -> v0.192.0 ([#679](#679)) ([a4d333e](a4d333e))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.14 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Desktop: captions track and the caption preset catalogue

1 participant