Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Making a React Video Editor Agent-Friendly with Timeline Markers and MCP

Описание и применение

Внедрение структурированных маркеров времени в Timeline Studio позволяет агентам читать и изменять видеоаннотации без перекодирования, улучшая автоматизацию редактирования.

Задача

Video editors need to embed actionable annotations (cuts, chapters, ranges, notes) directly in project files so agents can read, modify, and plan edits without re-encoding media.

Результат

Persistent, inspectable timeline markers enable agents to programmatically manage video editing tasks, reducing manual UI work and avoiding unnecessary re‑encoding.

Рабочий процесс

  • Define annotation types (marker, chapter, range, note) with absolute timestamps.
  • Serialize annotations in the .timeline project under timelineMarkers.
  • Expose CLI commands (project.inspect, marker.inspect, marker.add, marker.update, marker.delete).
  • Implement MCP adapter that calls the same CLI runner.
  • Use a shared command engine for validation, edits, and semantic diff.
  • Agents construct JSON plans with schemaVersion, project path, baseRevision, operations, and output path.
  • CLI/MCP execute the plan, applying diffs to produce a new .timeline project.
  • Editor UI updates to reflect changes without re‑encoding media.

Доказательства

I recently added persistent timeline markers to Timeline Studio, the open-source browser video editor I maintain, and exposed them through its CLI, MCP adapter, and Agent Skill.

Источник

Annotations do not contribute to rendered media duration.

Источник

  • Дата записи: 2026-09-15T02:00:39.395Z