返回 html-video
capabilities.ts
根目录 / packages / adapter-hyperframes / src / capabilities.ts
1 import type { EngineCapabilities } from '@html-video/core';
2
3 /**
4 * Static capability declaration for Hyperframes.
5 * v0.1: hard-coded; v0.2 may detect upstream version and adjust.
6 */
7 export const capabilities: EngineCapabilities = {
8 paradigms: ['html-css-gsap'],
9 outputFormats: ['mp4', 'webm', 'webm-alpha', 'png-sequence'],
10 maxResolution: { width: 3840, height: 2160 },
11 alpha: true,
12 audio: 'multi',
13 subtitles: ['burn-in', 'sidecar'],
14 renderTarget: ['local-chromium', 'lambda'],
15 licensing: 'free-osi',
16 renderSpeedHint: {
17 resolution: '1080p',
18 durationSec: 10,
19 fps: 60,
20 estimatedRenderSec: 18,
21 },
22 bestFor: [
23 'social-shorts',
24 'product-marketing',
25 'logo-reveal',
26 'gsap-animations',
27 'ken-burns',
28 'text-card',
29 ],
30 weaknesses: ['no-react-ecosystem', 'limited-3d-without-three.js'],
31 };
32
32 lines TYPESCRIPT