@slidevideo/cli 0.3.0 → 0.3.1
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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/addons/slidevideo/geometry.ts +334 -1
- package/addons/slidevideo/global-top.vue +57 -6
- package/addons/slidevideo/preview.ts +242 -25
- package/assets/fonts/OFL-LICENSES.txt +95 -0
- package/assets/fonts/instrument-serif-latin-2.woff2 +0 -0
- package/assets/fonts/instrument-serif-latin-ext-1.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-latin-4.woff2 +0 -0
- package/assets/fonts/jetbrains-mono-latin-ext-3.woff2 +0 -0
- package/assets/fonts/plus-jakarta-sans-latin-6.woff2 +0 -0
- package/assets/fonts/plus-jakarta-sans-latin-ext-5.woff2 +0 -0
- package/dist/adapters/powerpoint-preview.d.ts +1 -1
- package/dist/adapters/powerpoint-preview.js +13 -2
- package/dist/adapters/powerpoint.js +91 -14
- package/dist/adapters/slidev-inspection.js +7 -2
- package/dist/annotation-paint.d.ts +195 -5
- package/dist/annotation-paint.js +1188 -2
- package/dist/annotations.d.ts +26 -2
- package/dist/annotations.js +1117 -29
- package/dist/captions.d.ts +6 -0
- package/dist/captions.js +320 -0
- package/dist/cli.js +40 -17
- package/dist/compositor.js +51 -3
- package/dist/contracts.d.ts +253 -14
- package/dist/pipeline.d.ts +6 -1
- package/dist/pipeline.js +66 -19
- package/dist/preview/contracts.d.ts +14 -0
- package/dist/preview/player.js +523 -33
- package/dist/preview/server.d.ts +1 -1
- package/dist/preview/server.js +124 -3
- package/dist/preview/view.d.ts +1 -1
- package/dist/preview/view.js +26 -7
- package/dist/run.d.ts +1 -0
- package/dist/run.js +20 -0
- package/dist/speech.d.ts +10 -1
- package/dist/speech.js +17 -1
- package/dist/stamp-fonts.d.ts +17 -0
- package/dist/stamp-fonts.js +202 -0
- package/dist/storyboard.js +60 -3
- package/dist/timing.d.ts +2 -0
- package/dist/timing.js +277 -11
- package/package.json +12 -1
- package/schemas/annotation-geometry.v1.json +111 -0
- package/schemas/schedule.v1.json +1672 -84
- package/schemas/storyboard.v1.json +3725 -85
- package/skills/slidevideo/SKILL.md +5 -5
- package/skills/slidevideo/references/decks.md +6 -4
- package/skills/slidevideo/references/production.md +12 -11
- package/skills/slidevideo/references/storyboard.md +268 -5
- package/tools/powerpoint/powerpoint.ps1 +155 -6
- package/tools/powerpoint/preview.ps1 +68 -1
package/dist/annotations.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AnnotationGeometry, Rectangle, Schedule, VideoOutput, VisualArtifact } from './contracts.js';
|
|
2
|
-
import { type HighlightEffect, type UnderlineEffect } from './annotation-paint.js';
|
|
2
|
+
import { type HighlightEffect, type LaserEffect, type SpotlightEffect, type StampEffect, type UnderlineEffect, type ZoomEffect } from './annotation-paint.js';
|
|
3
3
|
export type { AnnotationPaint } from './annotation-paint.js';
|
|
4
4
|
export type AppliedHighlightAnnotation = HighlightEffect & {
|
|
5
5
|
id: string;
|
|
@@ -13,7 +13,31 @@ export type AppliedUnderlineAnnotation = UnderlineEffect & {
|
|
|
13
13
|
end_frame: number;
|
|
14
14
|
geometry: AnnotationGeometry;
|
|
15
15
|
};
|
|
16
|
-
export type
|
|
16
|
+
export type AppliedSpotlightAnnotation = SpotlightEffect & {
|
|
17
|
+
id: string;
|
|
18
|
+
first_frame: number;
|
|
19
|
+
end_frame: number;
|
|
20
|
+
geometry: AnnotationGeometry;
|
|
21
|
+
};
|
|
22
|
+
export type AppliedZoomAnnotation = ZoomEffect & {
|
|
23
|
+
id: string;
|
|
24
|
+
first_frame: number;
|
|
25
|
+
end_frame: number;
|
|
26
|
+
geometry: AnnotationGeometry;
|
|
27
|
+
};
|
|
28
|
+
export type AppliedLaserAnnotation = LaserEffect & {
|
|
29
|
+
id: string;
|
|
30
|
+
first_frame: number;
|
|
31
|
+
end_frame: number;
|
|
32
|
+
geometry: AnnotationGeometry;
|
|
33
|
+
};
|
|
34
|
+
export type AppliedStampAnnotation = StampEffect & {
|
|
35
|
+
id: string;
|
|
36
|
+
first_frame: number;
|
|
37
|
+
end_frame: number;
|
|
38
|
+
geometry: AnnotationGeometry;
|
|
39
|
+
};
|
|
40
|
+
export type AppliedAnnotation = AppliedHighlightAnnotation | AppliedUnderlineAnnotation | AppliedSpotlightAnnotation | AppliedZoomAnnotation | AppliedLaserAnnotation | AppliedStampAnnotation;
|
|
17
41
|
export declare function annotationApplications(video: VideoOutput, schedule: Schedule, visual: VisualArtifact, audioOrigin: number): AppliedAnnotation[];
|
|
18
42
|
export declare function verifyAnnotations(file: string, base: string, baseFilter: string, applications: AppliedAnnotation[], video: VideoOutput, directory: string, output: string, overlayBounds?: (frame: number) => Rectangle[], sha256?: string): Promise<{
|
|
19
43
|
source: string;
|