ultrafastmov 0.1.0 → 0.1.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.
@@ -1490,7 +1490,7 @@ export interface StackNode {
1490
1490
  export interface ClipCameraParams {
1491
1491
  /** clip seconds. Default: document duration. */
1492
1492
  duration?: Param<number>;
1493
- /** face worker output, inline as JSON text or a file: {sourceWidth, sourceHeight, fps, frames: [{frame, faces: [{id, x, y, w, h, talk, focus}]}], shots: [{startFrame, endFrame, protect, cinematicScope}]} */
1493
+ /** face tracks, inline as JSON text or a file: {sourceWidth, sourceHeight, fps, frames: [{frame, faces: [{id, x, y, w, h, talk, focus}]}], shots: [{startFrame, endFrame, protect, cinematicScope}]}; omit it and the clip's faces, who is talking and its cuts are tracked from the footage (`ultrafast faces` writes the same). Default: tracked from src. */
1494
1494
  faces?: Param<string>;
1495
1495
  /** 0..1. Default: 1. */
1496
1496
  opacity?: Param<number>;
@@ -1529,8 +1529,10 @@ export interface CaptionsParams {
1529
1529
  max_lines?: Param<number>;
1530
1530
  /** 0..1. Default: 1. */
1531
1531
  opacity?: Param<number>;
1532
- /** center of the caption block. Default: [w/2, 0.72 h]. */
1532
+ /** center of the caption block (moved into `safe` if it would cross it). Default: [w/2, 0.72 h]. */
1533
1533
  position?: Param<number | [number, number]>;
1534
+ /** area pages stay inside: auto is clear of the social apps' buttons and captions on a vertical frame (what `review --safe social` checks) and a 4% margin otherwise; none places them exactly at position. Default: auto. */
1535
+ safe?: Param<"auto" | "social" | "margin" | "none">;
1534
1536
  /** px. Default: 6.5% of the short side. */
1535
1537
  size?: Param<number>;
1536
1538
  /** words already spoken. Default: color. */
@@ -1,2 +1,2 @@
1
1
  /** This package's version (also in package.json). */
2
- export declare const VERSION = "0.1.0";
2
+ export declare const VERSION = "0.1.1";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  /** This package's version (also in package.json). */
5
- exports.VERSION = "0.1.0";
5
+ exports.VERSION = "0.1.1";
@@ -1490,7 +1490,7 @@ export interface StackNode {
1490
1490
  export interface ClipCameraParams {
1491
1491
  /** clip seconds. Default: document duration. */
1492
1492
  duration?: Param<number>;
1493
- /** face worker output, inline as JSON text or a file: {sourceWidth, sourceHeight, fps, frames: [{frame, faces: [{id, x, y, w, h, talk, focus}]}], shots: [{startFrame, endFrame, protect, cinematicScope}]} */
1493
+ /** face tracks, inline as JSON text or a file: {sourceWidth, sourceHeight, fps, frames: [{frame, faces: [{id, x, y, w, h, talk, focus}]}], shots: [{startFrame, endFrame, protect, cinematicScope}]}; omit it and the clip's faces, who is talking and its cuts are tracked from the footage (`ultrafast faces` writes the same). Default: tracked from src. */
1494
1494
  faces?: Param<string>;
1495
1495
  /** 0..1. Default: 1. */
1496
1496
  opacity?: Param<number>;
@@ -1529,8 +1529,10 @@ export interface CaptionsParams {
1529
1529
  max_lines?: Param<number>;
1530
1530
  /** 0..1. Default: 1. */
1531
1531
  opacity?: Param<number>;
1532
- /** center of the caption block. Default: [w/2, 0.72 h]. */
1532
+ /** center of the caption block (moved into `safe` if it would cross it). Default: [w/2, 0.72 h]. */
1533
1533
  position?: Param<number | [number, number]>;
1534
+ /** area pages stay inside: auto is clear of the social apps' buttons and captions on a vertical frame (what `review --safe social` checks) and a 4% margin otherwise; none places them exactly at position. Default: auto. */
1535
+ safe?: Param<"auto" | "social" | "margin" | "none">;
1534
1536
  /** px. Default: 6.5% of the short side. */
1535
1537
  size?: Param<number>;
1536
1538
  /** words already spoken. Default: color. */
@@ -1,2 +1,2 @@
1
1
  /** This package's version (also in package.json). */
2
- export declare const VERSION = "0.1.0";
2
+ export declare const VERSION = "0.1.1";
@@ -1,2 +1,2 @@
1
1
  /** This package's version (also in package.json). */
2
- export const VERSION = "0.1.0";
2
+ export const VERSION = "0.1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultrafastmov",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "TypeScript client for ultrafast, the GPU video engine: render, frame, sheet, check, review, estimate and upload",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "homepage": "https://ultrafast.mov",