@vestra-player/sdk 1.7.19 → 1.7.20

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.7.20
4
+
5
+ **Who must change: nobody.** A docs-only patch (a review follow-up of motion smoothing): no API change, `apiVersion` stays `vestra/1`, the API surface snapshot is unchanged.
6
+
7
+ - **`MotionState.sourceFps`** (player d9fb0fb0, `playback/motion.rs`): documented as what the player reports, the converter's input rate. It is measured after every other filter in the player's chain while the converter is out of it, so a plugin's rate-changing filter counts and a video deinterlaced by field reads twice its frame rate; until it is measured it is the container's frame rate, `null` while neither is known. `MotionState.active` (off until the input rate is measured), the `rate` reason, `WireMotionState.sourceFps` and `TestHost.motion.sourceFps` refer to it. The generated tables are unchanged; `llms.txt` changes only its version.
8
+
3
9
  ## 1.7.19
4
10
 
5
11
  **Who must change: nobody.** A new capability and member for the player's motion smoothing (player 0.8.1), which each GPU vendor's store plugin offers (user ruling 2026-11-12: AMD Motion Smoothing now, NVIDIA's later); `apiVersion` stays `vestra/1`; the API surface snapshot gains the new names.
Binary file
@@ -2269,7 +2269,7 @@ export declare class TestHost implements Transport {
2269
2269
  display: MotionReason | null;
2270
2270
  /** GPU rendering is still starting: a `rendering` reason then lets `set` keep the request. */
2271
2271
  renderingStarting: boolean;
2272
- /** The video's rate; `null`: not known yet (nothing is active). */
2272
+ /** The converter's input rate (`MotionState.sourceFps`); `null`: not known yet (nothing is active). */
2273
2273
  sourceFps: number | null;
2274
2274
  /** The measured output rate while active; `null`: twice `sourceFps`. */
2275
2275
  outputFps: number | null;
@@ -999,7 +999,7 @@ export type MotionMode = "off" | "double" | "display";
999
999
  * | `doubling` | A plugin's video filter already raises the frame rate (a `frameBlend` node, such as Frame Doubling); the two cannot run together. |
1000
1000
  * | `failed` | The converter stopped on this video; the message has its error. The next video tries again. |
1001
1001
  * | `overload` | The GPU could not keep up with this video, even with the faster motion search. The next video tries again. |
1002
- * | `rate` | The video's frame rate does not fit: outside 10–30 fps (the rates measured), doubled above the display's refresh rate, or (software rendering, Double) twice it is not the display's rate. |
1002
+ * | `rate` | The converter's input rate ({@link MotionState.sourceFps}: 25i deinterlaced by field reads 50) does not fit: outside 10–30 fps (the rates measured), doubled above the display's refresh rate, or (software rendering, Double) twice it is not the display's rate. |
1003
1003
  * | `format` | The video's format was not measured: 10-bit or deeper, or HDR. |
1004
1004
  * | `size` | The video is too large for this mode on this renderer: its width × height × the doubled rate is more than the player measured it keeps up with (on the reference laptop: software rendering up to 1080p at 30 fps, GPU rendering's Double up to 4K at 24 fps, Match Display up to 1080p on a 60 Hz display, counted at the display's refresh rate). The next video may fit. |
1005
1005
  *
@@ -1082,7 +1082,8 @@ export interface MotionState {
1082
1082
  /**
1083
1083
  * What the player does now, for this plugin or another one (the strongest
1084
1084
  * mode asked for that can work): `off` while nothing is asked, while a
1085
- * reason stands in the way, and while the video's rate is not known yet.
1085
+ * reason stands in the way, and until the input rate is measured
1086
+ * ({@link MotionState.sourceFps} may show the container's rate before).
1086
1087
  */
1087
1088
  readonly active: MotionMode;
1088
1089
  /** Why Double Frame Rate cannot work now; `null` while it can. */
@@ -1095,7 +1096,14 @@ export interface MotionState {
1095
1096
  * falls behind); `null` while off.
1096
1097
  */
1097
1098
  readonly searchMode: "native" | "performance" | null;
1098
- /** The video's frame rate, in frames a second; `null` while unknown. */
1099
+ /**
1100
+ * The converter's input rate, in frames a second: the rate after every
1101
+ * other filter in the player's chain, measured while the converter is
1102
+ * out of it. A plugin's filter that changes the rate counts, and a video
1103
+ * the player deinterlaces by field reads twice its frame rate (25i: 50).
1104
+ * Until it is measured, the container's frame rate; `null` while neither
1105
+ * is known.
1106
+ */
1099
1107
  readonly sourceFps: number | null;
1100
1108
  /** The converter's output rate as measured, in tenths; `null` while off. */
1101
1109
  readonly outputFps: number | null;
package/dist/wire.d.ts CHANGED
@@ -671,7 +671,7 @@ export interface WireMotionState {
671
671
  display: WireRenderingReason | null;
672
672
  /** The converter's motion search while it runs; `null` while off. */
673
673
  searchMode: "native" | "performance" | null;
674
- /** The video's frame rate; `null` while unknown. */
674
+ /** The converter's input rate (`MotionState.sourceFps`); `null` while unknown. */
675
675
  sourceFps: number | null;
676
676
  /** The converter's output rate, measured; `null` while off. */
677
677
  outputFps: number | null;
package/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Vestra Player SDK
2
2
 
3
- > @vestra-player/sdk 1.7.19: write plugins for Vestra Player in TypeScript (plugin API `vestra/1`). A plugin is a folder with `manifest.json` and an entry module whose default export `activate(plugin)` the player calls. The documentation is a tree of short pages read by path, like `go doc`: the same pages and API as https://vestrasys.github.io/vestra-player-sdk/.
3
+ > @vestra-player/sdk 1.7.20: write plugins for Vestra Player in TypeScript (plugin API `vestra/1`). A plugin is a folder with `manifest.json` and an entry module whose default export `activate(plugin)` the player calls. The documentation is a tree of short pages read by path, like `go doc`: the same pages and API as https://vestrasys.github.io/vestra-player-sdk/.
4
4
 
5
5
  ## Read the documentation
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vestra-player/sdk",
3
- "version": "1.7.19",
3
+ "version": "1.7.20",
4
4
  "description": "Plugin API types, test host and plugin CLI for Vestra Player (apiVersion vestra/1)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {