Skip to content

[DOCS] Desktop: overlay track and the motion-cards catalogue #684

Closed

Description

@edenreich

Summary

inference-gateway/desktop#254 (closes inference-gateway/desktop#251) adds animated card overlays to content projects: an overlay track kind in <stem>.timeline.json, cards rendered from HTML with HyperFrames to ProRes 4444 MOV, a positioned preview in the timeline editor, ffmpeg compositing on export, and a bundled motion-cards skill with five templates.

Behavior to document:

  • Timeline contract: a track with "kind": "overlay" whose clips have src (a .mov with alpha under media/, or a VP9 .webm for export only), start, end, optional x, y, width, height as 0-1 fractions of the frame (top-left origin; width alone keeps the aspect ratio; none set means full frame width), and optional html naming the composition the card was rendered from.
  • Editor: overlay lanes sit above the video lane, show thumbnails, and their clips move, trim and delete like audio clips; the preview plays cards over the video inside their time range; Export is enabled when a timeline has overlay clips even without voice clips.
  • Export: each overlay is composited with ffmpeg (overlay, scale2ref, enable=between); the picture is re-encoded with libx264 only when overlays exist. The ffmpeg check now also requires the overlay filter.
  • Preview limitation: the webview drops the alpha of VP9 WebM, so cards must be .mov (ProRes 4444 or HEVC with alpha) to preview transparently.
  • Skill ~/.infer/skills/motion-cards/SKILL.md: prerequisites reported, not installed (Node 22+, npx hyperframes browser ensure for Chromium, ffmpeg with overlay); render command npx --yes hyperframes render -c cards/<id>.html --format mov -o media/<id>.mov; design tokens; sizing rules; the five templates (title, lower third, callout, step, bar chart); re-rendering via the clip's html.

Affected pages:

  • Desktop > Content projects > Timeline: add the overlay track to the contract section and the editor description.
  • Desktop > Content projects > Skills: add a motion-cards page next to video-editing with the catalogue and the prerequisites.
  • Desktop > Troubleshooting: "card shows a black background in the preview" (render to .mov), "Node.js 22+ is needed to render cards".

Source: inference-gateway/desktop#254 (.agents/skills/motion-cards/SKILL.md has the reference text).

Acceptance Criteria

  • The timeline contract page lists the overlay track and every clip field above.
  • A motion-cards skill page documents prerequisites, the render command, sizing rules and the five templates.
  • The troubleshooting page covers the WebM alpha limitation and the Node prerequisite.

Activity

  1. added
    documentation
    on Sep 16, 2026
  2. edenreich commented on Sep 16, 2026

    @edenreich
    ContributorAuthor

    Update from inference-gateway/desktop#254: the timeline also gained a resolution field ("WxH", default 1920x1080, also 1080x1920 and 1350x1350, picked with the Frame select in the editor). The export scales the recording to fit and pads it into that frame, always re-encodes, and writes to <project>/export/<output> instead of the project root. Overlay x/y/width/height are fractions of that frame.

  3. edenreich commented on Sep 16, 2026

    @edenreich
    ContributorAuthor

    Update: there is no separate motion-cards skill any more. The overlay contract, prerequisites, render step (--format mov) and placement rules live in an "Overlay cards" section of video-editing/SKILL.md; the card compositions themselves come from the catalog's hyperframes and motion-graphics skills (inference-gateway/skills#132). Please document infer skills install hyperframes motion-graphics as the setup step instead of a motion-cards page.

  4. edenreich commented on Sep 17, 2026

    @edenreich
    ContributorAuthor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 17, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 3m 59s —— View job • docs/issue-684-20260917-1313 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-684-20260917-1313?quick_pull=1&title=Issue%20%23684%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23684%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #685

    Content projects had no documentation in this repo at all (no "Content projects" section under Desktop, no timeline page), so the overlay work lands as a new content-projects.md page, registered in the nav and the Tools sidebar and linked from the Desktop page.

    • Gather context
    • Timeline contract: overlay track kind, clip fields (src, start, end, html, x, y, width, height as 0-1 fractions of the frame, top-left origin, width alone keeps aspect, none means full width), plus resolution and export/<output>
    • Overlay cards: prerequisites reported and not installed (infer skills install hyperframes motion-graphics, Node 22+, ffmpeg overlay filter, npx hyperframes browser ensure), the --format mov render command, sizing rules, the five card kinds
    • Editor and export: overlay lanes with thumbnails, positioned preview, Frame select, Export enabled with overlays and no voice clips, scale-and-pad + ffmpeg compositing
    • Troubleshooting: black card in preview (VP9 WebM alpha), Node 22+, missing overlay filter
    • bun run lint:md, bun run format:check, bun run build all pass
    • Committed and PR opened; roadmap item moved to QA

    Per the second issue update, no motion-cards page was created: the prerequisites, contract and render step live in this page's "Overlay cards" section, and the compositions are attributed to the catalog's hyperframes and motion-graphics skills.

    Not done: the five templates are listed with their typical placement, but their design tokens and markup are left to the motion-graphics skill rather than duplicated here.
    | Branch

  6. moved this from Todo to In progress in 2026on Sep 17, 2026
  7. moved this from In progress to QA in 2026on Sep 17, 2026
  8. moved this from QA to Done in 2026on Sep 17, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions