popost 4.6.1 → 4.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +59 -3
- package/README.md +20 -7
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16335 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/list-cards.html +155 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/page-flip.html +163 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/assets/video/times.js +59 -0
- package/dist/cli.js +36667 -2526
- package/dist/index.js +36429 -2459
- package/dist/types/args.d.ts +2 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/providers/api.d.ts +9 -0
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +2 -1
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication-books.d.ts +2 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +52 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-kept.d.ts +10 -0
- package/dist/types/video/eval/readback-run.d.ts +58 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +60 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +164 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +56 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/times.d.ts +31 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +18 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +57 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/chunked.d.ts +29 -0
- package/dist/types/video/render/chunks.d.ts +39 -0
- package/dist/types/video/render/encode.d.ts +54 -0
- package/dist/types/video/render/index.d.ts +116 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +81 -0
- package/dist/types/video/render/shots.d.ts +11 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/books.d.ts +64 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +168 -0
- package/dist/types/video/replication/retiming.d.ts +16 -0
- package/dist/types/video/replication/review.d.ts +50 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +5 -0
- package/dist/types/video/retarget/index.d.ts +256 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +43 -0
- package/dist/types/video/retarget/takes.d.ts +66 -0
- package/dist/types/video/retarget/tempo.d.ts +42 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +46 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +53 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +54 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +82 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/cache.d.ts +10 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +42 -0
- package/dist/types/video/voice/index.d.ts +85 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +45 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/post-bundle.d.ts +2 -2
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +1 -1
- package/references/providers.md +5 -2
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +613 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +96 -0
- package/references/video-project.md +65 -0
- package/references/video-replication.md +305 -0
- package/references/video-scenes.md +416 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +222 -0
- package/references/video-step-0-machine.md +61 -0
- package/references/video-step-1-read.md +168 -0
- package/references/video-step-2-structure.md +24 -0
- package/references/video-step-3-content.md +117 -0
- package/references/video-step-4-lines.md +88 -0
- package/references/video-step-5-scenes.md +126 -0
- package/references/video-step-6-voice.md +53 -0
- package/references/video-step-7-deliver.md +92 -0
- package/references/video-templates.md +187 -0
- package/references/video-tools.md +562 -0
- package/references/video.md +140 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A template: the structure of a re-created reference, kept so that nobody needs the reference again, and a contract
|
|
3
|
+
* (slots) that says what may change and within which limits. A template is a directory of text files:
|
|
4
|
+
* template.json the structure (Template): canvas, shots, transitions, the caption band and its beats
|
|
5
|
+
* slots.json the contract (Slots): what fills each shot, how many characters each caption line holds
|
|
6
|
+
* TEMPLATE.md one screen for a model with a small context
|
|
7
|
+
* reference-text.json the reference's on-screen text by shot (ReferenceTextFile), when a reader read it: the
|
|
8
|
+
* reference's content, which template fill copies into the project's record (facts.ts) so that a
|
|
9
|
+
* check can tell the reference's words and numbers from the new video's
|
|
10
|
+
* evidence.json what the swap tests tried and scored (Evidence)
|
|
11
|
+
* A fill is a RetargetPlan (src/retarget): the same format a retarget takes, so a model learns one format.
|
|
12
|
+
*/
|
|
13
|
+
import type { CameraAim } from '../describe/aim';
|
|
14
|
+
import type { DroppedRole, LayerKind, Mark } from '../elements/types';
|
|
15
|
+
import type { Inset } from '../describe/inset';
|
|
16
|
+
import type { ShotLooks } from '../describe/kind';
|
|
17
|
+
import type { SpeechFacts } from '../describe/speech-kind';
|
|
18
|
+
import type { SoundFacts } from '../sound/reading';
|
|
19
|
+
import type { BarPlaces, WordPlace } from '../retarget/titles';
|
|
20
|
+
import type { CaptionLook } from '../text/types';
|
|
21
|
+
import type { Box, CameraRate, Canvas, Problem, TextStyle, TransitionSpec, Unrecovered } from '../types';
|
|
22
|
+
export declare const TEMPLATE_FORMAT = "popost-video-template";
|
|
23
|
+
export declare const SLOTS_FORMAT = "popost-video-template-slots";
|
|
24
|
+
export declare const TEMPLATE_VERSION = 1;
|
|
25
|
+
/** A card (a title and lines that enter one after another) needs about a second to be read. */
|
|
26
|
+
export declare const CARD_MIN_SECONDS = 1;
|
|
27
|
+
/** File names inside a template directory. */
|
|
28
|
+
export declare const FILES: {
|
|
29
|
+
readonly template: "template.json";
|
|
30
|
+
readonly slots: "slots.json";
|
|
31
|
+
readonly card: "TEMPLATE.md";
|
|
32
|
+
readonly text: "reference-text.json";
|
|
33
|
+
readonly evidence: "evidence.json";
|
|
34
|
+
};
|
|
35
|
+
/** What each shot of the reference shows, one line per shot: written by "template see", read by "plan". */
|
|
36
|
+
export declare const SHOTS_FILE = "shots.txt";
|
|
37
|
+
/** What filled a shot in the source, as far as the measurement tells: footage that keeps changing, a still picture, a flat colour. */
|
|
38
|
+
export type SourceKind = 'footage' | 'picture' | 'colour';
|
|
39
|
+
/** The kinds of shot fill a template slot can accept ("keep" needs the reference's footage, which a template does not have). */
|
|
40
|
+
/** What a fill may put into a shot; a scene (an HTML page of the project that draws the shot) fits every shot. */
|
|
41
|
+
export type FillKind = 'footage' | 'picture' | 'color' | 'card' | 'scene';
|
|
42
|
+
/** The change into a shot as the reference had it: a TransitionSpec without the keys a measurement does not give. */
|
|
43
|
+
export type TemplateTransition = Pick<TransitionSpec, 'transition' | 'frames' | 'direction' | 'mode' | 'via'>;
|
|
44
|
+
/** A layer of a shot as the reading of the frames saw it (elements.json): its box, its look, what it showed, how it moved. */
|
|
45
|
+
export interface TemplateLayer {
|
|
46
|
+
id: string;
|
|
47
|
+
kind: LayerKind;
|
|
48
|
+
box: Box;
|
|
49
|
+
look: string;
|
|
50
|
+
content?: string;
|
|
51
|
+
enters?: string;
|
|
52
|
+
moves?: string;
|
|
53
|
+
leaves?: string;
|
|
54
|
+
}
|
|
55
|
+
/** What the reading of the frames (src/video/elements) said of a shot, as the template keeps it. */
|
|
56
|
+
export interface TemplateElements {
|
|
57
|
+
/** The kind of picture, in the reader's generic words: a re-make keeps it and finds material of the new subject for it. */
|
|
58
|
+
layout: string;
|
|
59
|
+
job?: string;
|
|
60
|
+
/**
|
|
61
|
+
* full: read as full-frame footage or a recording (a screen or footage layer over most of the frame); designed: a
|
|
62
|
+
* ground or a frame with smaller pictures on it. Absent when the reading says neither clearly.
|
|
63
|
+
*/
|
|
64
|
+
frame?: 'full' | 'designed';
|
|
65
|
+
/** Layers whose look a re-make keeps. */
|
|
66
|
+
design: TemplateLayer[];
|
|
67
|
+
/** Places for the new subject, by id: what the reference showed there, which a re-make replaces with its own. */
|
|
68
|
+
content: TemplateLayer[];
|
|
69
|
+
/** The platform's and the author's layers: never re-made. Their words, as the text reader read them, are in reference-text.json. */
|
|
70
|
+
dropped: {
|
|
71
|
+
id: string;
|
|
72
|
+
kind: LayerKind;
|
|
73
|
+
role: DroppedRole;
|
|
74
|
+
content?: string;
|
|
75
|
+
}[];
|
|
76
|
+
/** The captions' style, and the style of the words drawn differently. */
|
|
77
|
+
captions?: {
|
|
78
|
+
base: string;
|
|
79
|
+
highlight?: string;
|
|
80
|
+
reveal?: string;
|
|
81
|
+
};
|
|
82
|
+
emphasis?: Mark[];
|
|
83
|
+
rebuild?: string;
|
|
84
|
+
/** An animation of this shot runs on across the cut into the next. */
|
|
85
|
+
runsOn?: true;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The change into a shot when the reading saw an effect no standard transition makes (an object that flies across and
|
|
89
|
+
* pulls the next picture in behind a curved edge). The engine makes a cut there, and a scene draws the effect: the
|
|
90
|
+
* shot's own scene ("this": a fill moves the cut to the effect's start, so the scene begins with it) or the scene of
|
|
91
|
+
* the shot before, whose animation runs on into this one ("before": the cut moves to the effect's end, so that scene
|
|
92
|
+
* runs on over this shot's first frames). Never a preset: what the measurement called it is kept only as "measured".
|
|
93
|
+
*/
|
|
94
|
+
export interface TemplateEffect {
|
|
95
|
+
transition: 'custom';
|
|
96
|
+
/** Its length on the template's clock: the measured span, or the reading's seconds where the measurement saw a cut. */
|
|
97
|
+
frames: number;
|
|
98
|
+
/** What happens frame by frame, as the reader wrote it. */
|
|
99
|
+
description: string;
|
|
100
|
+
/** The picture of its frames (describe's transitions/NN.jpg), relative to the template directory. */
|
|
101
|
+
picture?: string;
|
|
102
|
+
/** What the measurement labelled it ("slide cover right 25f"). */
|
|
103
|
+
measured: string;
|
|
104
|
+
by: 'this' | 'before';
|
|
105
|
+
}
|
|
106
|
+
export interface TemplateShot {
|
|
107
|
+
/** Length in frames at canvas.fps. */
|
|
108
|
+
frames: number;
|
|
109
|
+
/**
|
|
110
|
+
* The change into this shot, its frames as measured: a fill gets at most the length of the shorter of the two shots
|
|
111
|
+
* around it (retarget's rule). Absent on the first shot and for a hard cut.
|
|
112
|
+
*/
|
|
113
|
+
in?: TemplateTransition;
|
|
114
|
+
/** What filled it in the source (guessed from the measurement). */
|
|
115
|
+
source: SourceKind;
|
|
116
|
+
/** One line about the shot in the source. */
|
|
117
|
+
note: string;
|
|
118
|
+
/** The measured camera of a shot whose camera moved, in CameraRate units. */
|
|
119
|
+
camera?: CameraRate;
|
|
120
|
+
/** Where a clear zoom or pan of the source went (describe/aim.ts): a box of the canvas to aim a capture or a scene camera at. */
|
|
121
|
+
aim?: CameraAim;
|
|
122
|
+
/** What the shot most likely is, with the facts it rests on (describe/kind.ts); absent when the facts do not say. */
|
|
123
|
+
looks?: ShotLooks;
|
|
124
|
+
/** The share of its middle picture that is not ground, 0..1, as describe measured it (ShotMeasure.fill); absent when it did not. */
|
|
125
|
+
fill?: number;
|
|
126
|
+
/**
|
|
127
|
+
* Where the source laid words over the shot (its titles, retarget/titles.ts): the line's box and height as fractions
|
|
128
|
+
* of the canvas, on frames from .. to-1 counted from the shot's start. A fill's shots[k].words[j] is drawn in place j.
|
|
129
|
+
* The words themselves stay in reference-text.json.
|
|
130
|
+
*/
|
|
131
|
+
words?: WordPlace[];
|
|
132
|
+
/** What the reading of the frames said of the shot (elements.json), when there was one. */
|
|
133
|
+
elements?: TemplateElements;
|
|
134
|
+
/** The change into the shot is an effect of its own (then "in" is absent: the engine cuts, a scene draws it). */
|
|
135
|
+
effect?: TemplateEffect;
|
|
136
|
+
}
|
|
137
|
+
/** A shot of the reference the reading dropped whole (the platform's end card): left out, its time in the reference and why. */
|
|
138
|
+
export interface DroppedShot {
|
|
139
|
+
shot: number;
|
|
140
|
+
seconds: [number, number];
|
|
141
|
+
reason: string;
|
|
142
|
+
}
|
|
143
|
+
export interface TemplateCaptions {
|
|
144
|
+
/** The band the lines are set in, and their style, exactly as a fill produces them. */
|
|
145
|
+
box: Box;
|
|
146
|
+
style: TextStyle;
|
|
147
|
+
/**
|
|
148
|
+
* Where the source's caption lines sat: the median centre of their boxes and their median height, fractions of the
|
|
149
|
+
* canvas height. The band above is derived from these; a fill derives it again the same way.
|
|
150
|
+
*/
|
|
151
|
+
line: {
|
|
152
|
+
centre: number;
|
|
153
|
+
size: number;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* The beats of the source, in order (src/describe/beats.ts): a fill's captions[i] is the line of beat i, on frames
|
|
157
|
+
* start .. end-1. shown: false marks a beat the source only said (no caption on screen): a fill's line there is
|
|
158
|
+
* spoken and never drawn. Absent means shown, so templates saved before the flag existed load unchanged.
|
|
159
|
+
* speech: 'on-camera' marks a dialogue beat, whose words a visible person said: its line is said by the person of
|
|
160
|
+
* a generated clip (generate/dialogue.ts) and never read by a voice-over.
|
|
161
|
+
*/
|
|
162
|
+
beats: {
|
|
163
|
+
start: number;
|
|
164
|
+
end: number;
|
|
165
|
+
shown?: false;
|
|
166
|
+
speech?: 'on-camera';
|
|
167
|
+
}[];
|
|
168
|
+
/** The script most of the source's caption characters were written in. */
|
|
169
|
+
script: 'cjk' | 'latin';
|
|
170
|
+
/** What was behind the source's caption letters (text/look.ts); style above follows it, and so does a fill's. */
|
|
171
|
+
look?: CaptionLook;
|
|
172
|
+
}
|
|
173
|
+
export interface Template {
|
|
174
|
+
format: typeof TEMPLATE_FORMAT;
|
|
175
|
+
version: typeof TEMPLATE_VERSION;
|
|
176
|
+
name: string;
|
|
177
|
+
/** Where it came from: a label (never a file name of a private data set) and a content hash of the measurement. */
|
|
178
|
+
source: {
|
|
179
|
+
label: string;
|
|
180
|
+
measure: string;
|
|
181
|
+
fingerprint?: string;
|
|
182
|
+
};
|
|
183
|
+
canvas: Canvas;
|
|
184
|
+
/** Length in frames: the sum of the shots' lengths. */
|
|
185
|
+
frames: number;
|
|
186
|
+
shots: TemplateShot[];
|
|
187
|
+
captions?: TemplateCaptions;
|
|
188
|
+
/** The frame around the content that most of the source's shots showed (describe/inset.ts); absent when none was found. */
|
|
189
|
+
inset?: Inset;
|
|
190
|
+
/**
|
|
191
|
+
* The source's bar (sections laid on through the video, text/bar.ts): its words' places from the left and the word
|
|
192
|
+
* each shot marks (-1: none). A fill's "bar" gives the words. Absent when the source had none.
|
|
193
|
+
*/
|
|
194
|
+
bar?: BarPlaces;
|
|
195
|
+
/**
|
|
196
|
+
* The kind of the source's speech as it was confirmed (describe/speech-kind.ts): a voice-over belongs to a fill only
|
|
197
|
+
* when the kinds include narration. Absent in a template saved before the kinds existed, which is held to nothing.
|
|
198
|
+
*/
|
|
199
|
+
speech?: SpeechFacts;
|
|
200
|
+
/**
|
|
201
|
+
* What the source's sound is (sound/reading.ts): music or none, ambience, effects, and the default sound plan that
|
|
202
|
+
* follows (video-sound.md). Absent in a template saved before the sound was read: nothing is planned from it then.
|
|
203
|
+
*/
|
|
204
|
+
sound?: SoundFacts;
|
|
205
|
+
/** Shots of the reference left out because the reading dropped them whole; the last shot here is then the re-make's own closing. */
|
|
206
|
+
dropped?: DroppedShot[];
|
|
207
|
+
/**
|
|
208
|
+
* What was not recovered of the reference (types.ts, Unrecovered): describe's list and what the reader of the frames
|
|
209
|
+
* added, shots and changes numbered as in the reference. Carried into the project's record, for compare and the
|
|
210
|
+
* delivery notes. Absent when nothing was listed.
|
|
211
|
+
*/
|
|
212
|
+
unrecovered?: Unrecovered[];
|
|
213
|
+
}
|
|
214
|
+
/** How many characters a caption line may have. */
|
|
215
|
+
export interface Capacity {
|
|
216
|
+
/** All full-width characters (CJK, kana, hangul, full-width punctuation). */
|
|
217
|
+
cjk: number;
|
|
218
|
+
/** Ordinary Latin text with spaces. */
|
|
219
|
+
latin: number;
|
|
220
|
+
/** Lines the band holds at the style's size and line height. */
|
|
221
|
+
lines: number;
|
|
222
|
+
/** true: measured by laying out probe text in the real band with the real style in Chrome; false: estimated. */
|
|
223
|
+
measured: boolean;
|
|
224
|
+
method: string;
|
|
225
|
+
}
|
|
226
|
+
export interface ShotSlot {
|
|
227
|
+
/** The fill's JSON path. */
|
|
228
|
+
at: string;
|
|
229
|
+
frames: number;
|
|
230
|
+
seconds: number;
|
|
231
|
+
/** What filled it in the source; the first kind in accepts is the closest to it. */
|
|
232
|
+
source: SourceKind;
|
|
233
|
+
/** The fills it takes, the closest to the source first; "scene" is last and in every shot's list. */
|
|
234
|
+
accepts: FillKind[];
|
|
235
|
+
/**
|
|
236
|
+
* Footage must supply this much from its "in" at speed 1 so that it does not run out: the shot plus the half of the
|
|
237
|
+
* transition out of it that it is still seen in.
|
|
238
|
+
*/
|
|
239
|
+
footage: {
|
|
240
|
+
frames: number;
|
|
241
|
+
seconds: number;
|
|
242
|
+
};
|
|
243
|
+
/** One per place the source laid words on in the shot (TemplateShot.words), in order. */
|
|
244
|
+
words?: WordSlot[];
|
|
245
|
+
}
|
|
246
|
+
/** A place for laid-on words: shots[k].words[j]. */
|
|
247
|
+
export interface WordSlot {
|
|
248
|
+
at: string;
|
|
249
|
+
/** How long the words are on screen. */
|
|
250
|
+
seconds: number;
|
|
251
|
+
/** Characters one line holds at the source's size, estimated from the box (retarget/titles.ts wordBox). */
|
|
252
|
+
max: {
|
|
253
|
+
cjk: number;
|
|
254
|
+
latin: number;
|
|
255
|
+
};
|
|
256
|
+
/** What the source laid there, and its length in characters. */
|
|
257
|
+
example?: {
|
|
258
|
+
text: string;
|
|
259
|
+
chars: number;
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
export interface CaptionSlot {
|
|
263
|
+
at: string;
|
|
264
|
+
/** Frames start, end of the beat (end exclusive). */
|
|
265
|
+
beat: [number, number];
|
|
266
|
+
seconds: number;
|
|
267
|
+
max: {
|
|
268
|
+
cjk: number;
|
|
269
|
+
latin: number;
|
|
270
|
+
};
|
|
271
|
+
/** The source's own line (a caption's wording, or the recognised words of a beat it only said) and its length in characters. */
|
|
272
|
+
example?: {
|
|
273
|
+
text: string;
|
|
274
|
+
chars: number;
|
|
275
|
+
};
|
|
276
|
+
/** false: a beat the source only said; its line is spoken and not drawn. Absent: shown. */
|
|
277
|
+
shown?: false;
|
|
278
|
+
/** 'on-camera': a visible person said it; its line belongs to a generated clip's speech.lines, never to the voice-over. */
|
|
279
|
+
speech?: 'on-camera';
|
|
280
|
+
/** true: the reader or the recogniser was not sure of this beat (confidence under 0.6). */
|
|
281
|
+
unsure?: true;
|
|
282
|
+
/** About how many characters the source's speaker said in a beat this long (only with a transcript). */
|
|
283
|
+
spoken?: number;
|
|
284
|
+
}
|
|
285
|
+
export interface Slots {
|
|
286
|
+
format: typeof SLOTS_FORMAT;
|
|
287
|
+
version: typeof TEMPLATE_VERSION;
|
|
288
|
+
template: string;
|
|
289
|
+
shots: ShotSlot[];
|
|
290
|
+
captions?: {
|
|
291
|
+
box: Box;
|
|
292
|
+
size: number;
|
|
293
|
+
capacity: Capacity;
|
|
294
|
+
lines: CaptionSlot[];
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* A card fill (a title and lines on a ground) as a fill lays it out on this canvas: how many characters its title and
|
|
298
|
+
* each of its lines hold, and how many lines fit on the canvas. Absent when retarget makes no cards.
|
|
299
|
+
*/
|
|
300
|
+
card?: {
|
|
301
|
+
title: Capacity;
|
|
302
|
+
line: Capacity;
|
|
303
|
+
lines: number;
|
|
304
|
+
};
|
|
305
|
+
/** The source's bar: a word per place, from the left (fill "bar"), what it said there and about how long a word may be. */
|
|
306
|
+
bar?: {
|
|
307
|
+
at: 'bar';
|
|
308
|
+
words: {
|
|
309
|
+
max: {
|
|
310
|
+
cjk: number;
|
|
311
|
+
latin: number;
|
|
312
|
+
};
|
|
313
|
+
example?: {
|
|
314
|
+
text: string;
|
|
315
|
+
chars: number;
|
|
316
|
+
};
|
|
317
|
+
}[];
|
|
318
|
+
marked: number[];
|
|
319
|
+
};
|
|
320
|
+
voice: {
|
|
321
|
+
optional: true;
|
|
322
|
+
keys: string[];
|
|
323
|
+
note: string;
|
|
324
|
+
pace?: {
|
|
325
|
+
charactersPerSecond: number;
|
|
326
|
+
language: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
colours: {
|
|
330
|
+
optional: true;
|
|
331
|
+
keys: string[];
|
|
332
|
+
defaults: Record<string, string>;
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
export declare const TEXT_FORMAT = "popost-video-template-text";
|
|
336
|
+
/** reference-text.json: shots[k] is the text the reference showed in shot k, each line once, in the order it appeared. */
|
|
337
|
+
export interface ReferenceTextFile {
|
|
338
|
+
format: typeof TEXT_FORMAT;
|
|
339
|
+
version: typeof TEMPLATE_VERSION;
|
|
340
|
+
shots: string[][];
|
|
341
|
+
/** The words of the platform's and the author's layers (a watermark, an account line), as the text reader read them: a re-make never shows them. */
|
|
342
|
+
dropped?: string[];
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* What saveTemplate wrote, as loadTemplate reads it back: with the directory it was read from, and the reference's
|
|
346
|
+
* on-screen text by shot when the template keeps it.
|
|
347
|
+
*/
|
|
348
|
+
export interface TemplatePackage {
|
|
349
|
+
template: Template;
|
|
350
|
+
slots: Slots;
|
|
351
|
+
dir?: string;
|
|
352
|
+
text?: string[][];
|
|
353
|
+
dropped?: string[];
|
|
354
|
+
}
|
|
355
|
+
export type SwapStage = 'check' | 'fill' | 'project' | 'layout' | 'render' | 'measure' | 'done';
|
|
356
|
+
export interface FillEvidence {
|
|
357
|
+
name: string;
|
|
358
|
+
/** What the fill was: the kind of each shot's fill, and the characters of each caption line. */
|
|
359
|
+
tried: {
|
|
360
|
+
shots: string[];
|
|
361
|
+
captions: number[];
|
|
362
|
+
};
|
|
363
|
+
passed: boolean;
|
|
364
|
+
/** Where the fill stopped; 'done' when every step ran. */
|
|
365
|
+
stage: SwapStage;
|
|
366
|
+
reason: string;
|
|
367
|
+
/** Errors that stopped it (at most five). */
|
|
368
|
+
problems: Problem[];
|
|
369
|
+
/** The structure and transitions dimensions of the render against the template's own structure on the fill's clock. */
|
|
370
|
+
scores?: {
|
|
371
|
+
structure: number;
|
|
372
|
+
transitions: number;
|
|
373
|
+
detail: Record<string, number | string>;
|
|
374
|
+
};
|
|
375
|
+
frames?: number;
|
|
376
|
+
seconds: number;
|
|
377
|
+
}
|
|
378
|
+
export interface Evidence {
|
|
379
|
+
template: string;
|
|
380
|
+
measure: string;
|
|
381
|
+
/** A fill passes when every check passes and its structure score is at least the best fill's minus this. */
|
|
382
|
+
margin: number;
|
|
383
|
+
scale: number;
|
|
384
|
+
best: number;
|
|
385
|
+
fills: FillEvidence[];
|
|
386
|
+
seconds: number;
|
|
387
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A bar: words side by side in one row that stay on screen together through much of the video (the sections of a
|
|
3
|
+
* video, a menu), laid on in the edit, often with the current one marked by another colour or a plate. It is design
|
|
4
|
+
* text a re-make draws, not a watermark. A plain account mark is often words side by side too ("@name · platform"), so a
|
|
5
|
+
* row is a bar when the frames show the mark moving between its words (measureBars), or, with no mark found, when it
|
|
6
|
+
* has three or more words spread over most of the width (the reading alone, in cues.ts) and the picture under it
|
|
7
|
+
* changes while it stays; a row whose look never changes stays a watermark. The frames also say which word was marked
|
|
8
|
+
* when (BarInfo.highlighted).
|
|
9
|
+
*
|
|
10
|
+
* Only words the reader read as separate lines make a row; a bar read as one line ("Intro Setup Results") stays one
|
|
11
|
+
* cue and keeps the role the rules give it.
|
|
12
|
+
*/
|
|
13
|
+
import type { Runtime } from '../../runtime';
|
|
14
|
+
import type { Lab } from './frame';
|
|
15
|
+
import type { TextCue, TextTrack } from './types';
|
|
16
|
+
/** A word of a bar: its row (0 for the highest bar), its place in the row from the left, and how many words the row has. */
|
|
17
|
+
export interface BarInfo {
|
|
18
|
+
row: number;
|
|
19
|
+
at: number;
|
|
20
|
+
of: number;
|
|
21
|
+
/** Source frames (from, to) on which this word was the marked one, when the frames were looked at. */
|
|
22
|
+
highlighted?: [number, number][];
|
|
23
|
+
}
|
|
24
|
+
type Bare = Omit<TextCue, 'role'>;
|
|
25
|
+
/** Rows of two or more cues side by side, each from left to right, the highest row first. */
|
|
26
|
+
export declare const rowsOf: <T extends Bare>(cues: readonly T[]) => T[][];
|
|
27
|
+
/** A bar as describe and a re-make read it: its words from the left, and in each shot the word marked there (-1: none). */
|
|
28
|
+
export interface Bar {
|
|
29
|
+
words: TextCue[];
|
|
30
|
+
marked: number[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The bars of a track, the highest first. A shot's marked word is the one marked over more than half of the shot; a bar
|
|
34
|
+
* whose frames were not looked at marks none.
|
|
35
|
+
*/
|
|
36
|
+
export declare const barsOf: (cues: readonly TextCue[], shots: readonly {
|
|
37
|
+
start: number;
|
|
38
|
+
end: number;
|
|
39
|
+
}[]) => Bar[];
|
|
40
|
+
/** Shots by the word they mark, in runs: "Intro" shots 1-3, "Setup" shots 4-6 (shots counted from 1). */
|
|
41
|
+
export declare const markedText: (bar: Bar) => string;
|
|
42
|
+
/** Words a reader read apart that may be a bar without a mark: three or more in a row spread over this share of the width. */
|
|
43
|
+
export declare const MIN_BAR_WORDS = 3;
|
|
44
|
+
export declare const BAR_SPREAD = 0.5;
|
|
45
|
+
/** The share of the width a row spans, from its first word's left edge to its last word's right edge. */
|
|
46
|
+
export declare const spreadOf: (row: readonly Bare[]) => number;
|
|
47
|
+
/** A row that is a bar from the reading alone, until the frames say otherwise: three or more words, spread wide. */
|
|
48
|
+
export declare const wideRow: (row: readonly Bare[]) => boolean;
|
|
49
|
+
export declare const barWhy: (row: readonly Bare[], moves?: string[]) => string;
|
|
50
|
+
/**
|
|
51
|
+
* Which word of a row is marked at each look: the one whose box differs from every other word's by MARKED or more
|
|
52
|
+
* while the others are alike (within half of it), and whose colour is not weaker than theirs (one plain word among
|
|
53
|
+
* marked ones is not a mark); of two words, the one with the stronger colour when they differ by MARKED. -1 when no
|
|
54
|
+
* word, or more than one, stands out.
|
|
55
|
+
*/
|
|
56
|
+
export declare const markedAt: (looks: Lab[][]) => number[];
|
|
57
|
+
/**
|
|
58
|
+
* The track with its bars looked at in the frames: a row whose mark moves between its words is a bar, its words with
|
|
59
|
+
* the frames each was marked on; a wide row with no mark stays a bar only when the picture under it changes; any other
|
|
60
|
+
* row is a watermark (the role it has, or the one it gets back).
|
|
61
|
+
*/
|
|
62
|
+
export declare const measureBars: (rt: Runtime, video: string, track: TextTrack) => Promise<TextTrack>;
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** A small grey picture: w x h cells, row by row; NaN where a cell is left out. */
|
|
2
|
+
export interface Small {
|
|
3
|
+
w: number;
|
|
4
|
+
h: number;
|
|
5
|
+
grey: Float32Array;
|
|
6
|
+
}
|
|
7
|
+
export declare const SMALL_WIDTH = 64;
|
|
8
|
+
export declare const CHANGE_LEVEL = 10;
|
|
9
|
+
/**
|
|
10
|
+
* The small grey picture of an rgb24 frame of w x h, at most `width` cells wide; cells whose centre falls in `skip`
|
|
11
|
+
* (from and to, fractions of the height) are left out, so that a band that changes on its own (a bar's mark) or stays
|
|
12
|
+
* (a band laid over the picture) does not count.
|
|
13
|
+
*/
|
|
14
|
+
export declare const smallOf: (rgb: Uint8Array, w: number, h: number, o?: {
|
|
15
|
+
width?: number;
|
|
16
|
+
skip?: readonly [number, number];
|
|
17
|
+
}) => Small;
|
|
18
|
+
/** The share of the cells of two small pictures of one size that are off by `level` grey levels or more; a cell left out of either does not count. */
|
|
19
|
+
export declare const changedShare: (a: Small, b: Small, level?: number) => number;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type Frame, type Lab, type Rect, type Rgb, type Seen } from './frame';
|
|
2
|
+
/**
|
|
3
|
+
* The fill's core over the lines it was found on: the colour most lines agree on (within ΔE 10 of the median), and
|
|
4
|
+
* the share of lines that do. at[k] is the measured fill on line k; away is what surrounds the strokes.
|
|
5
|
+
*/
|
|
6
|
+
export declare const coreOf: (frames: Frame[], boxes: Rect[], at: (Lab | undefined)[], away: Lab) => {
|
|
7
|
+
rgb: Rgb;
|
|
8
|
+
lab: Lab;
|
|
9
|
+
share: number;
|
|
10
|
+
} | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* The far end of some seen colours from `away`: the median is moved to the quarter farthest from `away` among the
|
|
13
|
+
* colours near it, while a sixth of all of them or more are still near it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const farEnd: (seen: Seen[], away: Lab) => Seen | undefined;
|
|
16
|
+
/** A stroke this wide or wider, as a share of the reader's box height, is heavy (bold or heavier); thinner is regular. */
|
|
17
|
+
export declare const HEAVY_STROKE = 0.085;
|
|
18
|
+
/**
|
|
19
|
+
* How wide the strokes are: runs of pixels nearer the core than the surround (half contrast), across and down, no
|
|
20
|
+
* longer than a stroke can be; the median run of the thinner direction, over the lines, as a share of the box height.
|
|
21
|
+
*/
|
|
22
|
+
export declare const weightOf: (frames: Frame[], boxes: Rect[], core: Lab, away: Lab, lines?: number[]) => {
|
|
23
|
+
stroke: number;
|
|
24
|
+
weight: "heavy" | "regular";
|
|
25
|
+
} | undefined;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TextCue, TextSample, TextTrack } from './types';
|
|
2
|
+
/** Levenshtein distance, two rows. */
|
|
3
|
+
export declare const editDistance: (a: string, b: string) => number;
|
|
4
|
+
export declare const sameText: (a: string, b: string) => boolean;
|
|
5
|
+
type Bare = Omit<TextCue, 'role'>;
|
|
6
|
+
/**
|
|
7
|
+
* Words that stay on one line through much of the video, read in pieces: a reader splits a word's time where its look
|
|
8
|
+
* changes (a plate behind the marked word of a bar), reads neighbours as one line while neither is marked ("Setup
|
|
9
|
+
* Results"), drops a letter now and then ("Result"), and may place a marked word's box higher. Pieces at one place
|
|
10
|
+
* (boxes overlapping) with alike words are one word; a piece that holds two or more words side by side gives its time
|
|
11
|
+
* to each. Words make a line when their centres are within half a line and their sizes alike. When a line has two
|
|
12
|
+
* words or more, apart, each on screen for 80% of the line's time and the line for 40% of the video, its pieces are
|
|
13
|
+
* replaced by one cue per word: the reading seen most (the longer on a tie), the box nearest the line's centre, the
|
|
14
|
+
* line's whole time.
|
|
15
|
+
*/
|
|
16
|
+
export declare const mergeRowPieces: (cues: readonly Bare[], total: number) => Bare[];
|
|
17
|
+
/**
|
|
18
|
+
* samples: in frame order, every step frames. total: the video's frame count. A cue seen in a single sample with low
|
|
19
|
+
* confidence is dropped: one-off readings are mostly noise.
|
|
20
|
+
*/
|
|
21
|
+
export declare const buildCues: (samples: TextSample[], opts: {
|
|
22
|
+
step: number;
|
|
23
|
+
total: number;
|
|
24
|
+
fps: number;
|
|
25
|
+
}) => TextTrack;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Folding text for comparison: what a reader saw on screen and what a recogniser heard are compared after both are
|
|
3
|
+
* folded the same way. Recognisers often write Chinese speech in traditional characters while the captions of the same
|
|
4
|
+
* video are simplified (one development case: 0 of 3 to 4 of 10 characters of its real captions matched before
|
|
5
|
+
* folding). Folding both sides maps traditional characters to simplified ones and lower-cases Latin letters; a wrong
|
|
6
|
+
* or missing pair only merges or keeps apart two characters, on both sides alike.
|
|
7
|
+
*/
|
|
8
|
+
/** Traditional characters as simplified ones, Latin letters in lower case. */
|
|
9
|
+
export declare const fold: (text: string) => string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export type Rgb = [number, number, number];
|
|
2
|
+
export type Lab = [number, number, number];
|
|
3
|
+
export type Channel = 0 | 1 | 2;
|
|
4
|
+
export declare const CHANNELS: readonly Channel[];
|
|
5
|
+
export interface Rect {
|
|
6
|
+
x0: number;
|
|
7
|
+
y0: number;
|
|
8
|
+
x1: number;
|
|
9
|
+
y1: number;
|
|
10
|
+
}
|
|
11
|
+
export interface Frame {
|
|
12
|
+
w: number;
|
|
13
|
+
h: number;
|
|
14
|
+
rgb: Uint8Array;
|
|
15
|
+
lab: Float32Array;
|
|
16
|
+
}
|
|
17
|
+
/** A colour seen in a frame: its Lab for distances, its sRGB to report. */
|
|
18
|
+
export interface Seen {
|
|
19
|
+
lab: Lab;
|
|
20
|
+
rgb: Rgb;
|
|
21
|
+
}
|
|
22
|
+
export declare const median: (xs: number[]) => number;
|
|
23
|
+
export declare const r2: (v: number) => number;
|
|
24
|
+
export declare const clamp: (v: number, lo: number, hi: number) => number;
|
|
25
|
+
export declare const labOf: (f: Frame, i: number) => Lab;
|
|
26
|
+
export declare const rgbOf: (f: Frame, i: number) => Rgb;
|
|
27
|
+
export declare const seenAt: (f: Frame, i: number) => Seen;
|
|
28
|
+
export declare const inside: (f: Frame, x: number, y: number) => boolean;
|
|
29
|
+
export declare const grow: (r: Rect, d: number) => Rect;
|
|
30
|
+
/** Pixel indexes in outer and not in inner, inside the frame. */
|
|
31
|
+
export declare const ring: (f: Frame, inner: Rect, outer: Rect) => number[];
|
|
32
|
+
export declare const area: (f: Frame, r: Rect) => number[];
|
|
33
|
+
/** The per-channel median colour of some pixels. */
|
|
34
|
+
export declare const medianRgb: (f: Frame, idx: number[]) => Rgb;
|
|
35
|
+
export declare const spreadOf: (f: Frame, idx: number[], lab: Lab) => number;
|
|
36
|
+
export declare const labMedian: (xs: Lab[]) => Lab;
|
|
37
|
+
export declare const rgbMedian: (xs: Rgb[]) => Rgb;
|
|
38
|
+
/** Share of the colours within ΔE 15 of their median: 1 when they are one colour. Fewer than `least` is 0: too few to tell. */
|
|
39
|
+
export declare const consistency: (xs: Seen[], least?: number) => number;
|
|
40
|
+
/** The colour of the seen colours near their median, in sRGB. */
|
|
41
|
+
export declare const colourOf: (xs: Seen[]) => string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Frame, type Lab, type Rect } from './frame';
|
|
2
|
+
import { type Surround } from './letters';
|
|
3
|
+
import type { CaptionHighlight } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* What a highlight is compared with: the fill's colour on each line, its stroke pixels when they are known already,
|
|
6
|
+
* and what surrounds the fill (undefined for plain letters).
|
|
7
|
+
*/
|
|
8
|
+
export interface FillContext {
|
|
9
|
+
fill: (Lab | undefined)[];
|
|
10
|
+
px?: number[][];
|
|
11
|
+
around?: Lab;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Which characters of a line the highlight covers. ink: the columns of the line's letters (fill and highlight);
|
|
15
|
+
* lit: the columns of the highlight; gap: the least gap between two words, in pixels.
|
|
16
|
+
*/
|
|
17
|
+
export declare const litChars: (text: string, ink: number[], lit: number[], gap: number) => boolean[];
|
|
18
|
+
/** The highlight of the lines, when one is found; texts[k] is what the reader read on line k. */
|
|
19
|
+
export declare const highlightOf: (frames: Frame[], boxes: Rect[], texts: string[], ctx: FillContext, candidates: Surround[], around: Lab[][]) => CaptionHighlight | undefined;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text of a video: sample frames, have a reader read them, turn the lines into cues with roles.
|
|
3
|
+
*
|
|
4
|
+
* Reading is the slow part. By default every sampled frame (five a second) is read whole. With "every" above 1 it is
|
|
5
|
+
* done in two passes: one frame in "every" is read whole, which finds every text and, when the video has captions,
|
|
6
|
+
* the band they sit in; then the frames in between are read as a strip around that band, and text outside the band
|
|
7
|
+
* keeps the timing of the whole-frame pass; a video without captions is read at the coarse rate only.
|
|
8
|
+
*
|
|
9
|
+
* Measured on 2026-11-20 with the RapidOCR tool on a loaded 8-core machine, one 17.8 s 1280x720 video: whole frames
|
|
10
|
+
* 37 to 38 s; strips (30% of the frame, the least that reader still searches for lines in) 43 to 54 s, with one
|
|
11
|
+
* extra caption cue. That reader's cost is per picture, not per pixel, so strips do not pay and are off by default.
|
|
12
|
+
* What would pay is fewer pictures: finding the moments a caption changes from pixels and reading one frame per
|
|
13
|
+
* stretch. That is not built.
|
|
14
|
+
*/
|
|
15
|
+
import type { Runtime } from '../../runtime';
|
|
16
|
+
import type { OnStage } from '../progress';
|
|
17
|
+
import type { TextReader, TextSample, TextTrack } from './types';
|
|
18
|
+
export { buildCues } from './cues';
|
|
19
|
+
export { commandTextReader, textReaderCommand } from './reader-command';
|
|
20
|
+
export type { CaptionHighlight, CaptionLook, TextCue, TextLine, TextReader, TextRole, TextSample, TextTrack } from './types';
|
|
21
|
+
export interface ReadTextOptions {
|
|
22
|
+
/** Frames between samples of the caption band. Default: about a fifth of a second (6 at 30 fps). */
|
|
23
|
+
step?: number;
|
|
24
|
+
/** 1 (default): every sampled frame is read whole. Above 1: whole frames every "every" steps, caption strips between. */
|
|
25
|
+
every?: number;
|
|
26
|
+
/** Longer side of the pictures given to the reader. Default 1280: small text needs the pixels. */
|
|
27
|
+
maxSide?: number;
|
|
28
|
+
/** Told what is being done (taking frames out, the reader at work), for a progress line. */
|
|
29
|
+
onStage?: OnStage;
|
|
30
|
+
}
|
|
31
|
+
export interface TextReading {
|
|
32
|
+
samples: TextSample[];
|
|
33
|
+
step: number;
|
|
34
|
+
total: number;
|
|
35
|
+
fps: number;
|
|
36
|
+
whole?: number;
|
|
37
|
+
strips?: number;
|
|
38
|
+
}
|
|
39
|
+
/** A horizontal band of the frame: top and bottom as fractions of the height. */
|
|
40
|
+
export interface Band {
|
|
41
|
+
top: number;
|
|
42
|
+
bottom: number;
|
|
43
|
+
}
|
|
44
|
+
/** The band that holds the captions of a track, with some air above and below; undefined when there are fewer than three. */
|
|
45
|
+
export declare const captionBandOf: (track: TextTrack) => Band | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* One sample per fine frame. A frame read whole keeps its lines. A frame read as a strip gets the strip's lines
|
|
48
|
+
* (moved back into frame coordinates) plus, held from the last whole frame before it, the lines outside the band.
|
|
49
|
+
*/
|
|
50
|
+
export declare const mergeBandSamples: (whole: TextSample[], strips: TextSample[], band: Band) => TextSample[];
|
|
51
|
+
/**
|
|
52
|
+
* A strip must not be too flat: readers treat a very wide, low picture as one line of text and skip looking for
|
|
53
|
+
* lines in it (RapidOCR does above 8 to 1). The band is grown evenly until the strip is at most 6 to 1.
|
|
54
|
+
*/
|
|
55
|
+
export declare const readableBand: (band: Band, frameWidth: number, frameHeight: number) => Band;
|
|
56
|
+
/** Samples the video and has the reader read it: the raw lines, before any tracking. */
|
|
57
|
+
export declare const readSamples: (rt: Runtime, video: string, reader: TextReader, opts?: ReadTextOptions) => Promise<TextReading>;
|
|
58
|
+
/** Raw lines to cues. Kept apart from reading so that the rules can be re-run on saved samples at no cost. */
|
|
59
|
+
export declare const cuesOf: (r: TextReading) => TextTrack;
|
|
60
|
+
/**
|
|
61
|
+
* The track with its bars looked at in the frames (bar.ts: which word was marked when; two words in a row whose mark
|
|
62
|
+
* moves are a bar) and what is behind its caption lines' letters (look.ts), measured on the video's frames of those
|
|
63
|
+
* lines; without captions enough, the track without a caption look.
|
|
64
|
+
*/
|
|
65
|
+
export declare const withCaptionLook: (rt: Runtime, video: string, track: TextTrack) => Promise<TextTrack>;
|
|
66
|
+
/** Reads a video's text and returns the cues in source frames. */
|
|
67
|
+
export declare const readText: (rt: Runtime, video: string, reader: TextReader, opts?: ReadTextOptions) => Promise<TextTrack>;
|