addedInput schema / $defs / TextSpan
Added value: +{
+ "properties": {
+ "bold": {
+ "type": "boolean"
+ },
+ "color": {
+ "type": "string"
+ },
+ "first_word": {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "italic": {
+ "type": "boolean"
+ },
+ "last_word": {
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "size": {
+ "description": "Of frame height",
+ "maximum": 1,
+ "minimum": 0.005,
+ "type": "number"
+ },
+ "underline": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "first_word",
+ "last_word"
+ ],
+ "type": "object"
+}
changedInput schema / $defs / TextStyle / properties / highlight / anyOf
Previous value: -[
- {
- "properties": {
- "color": {
- "type": "string"
- },
- "mode": {
- "enum": [
- "none",
- "fill",
- "word",
- "karaoke",
- "pop"
- ],
- "type": "string"
- }
- },
- "required": [
- "mode",
- "color"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "mode": {
+ "description": "Needs caption word timings. karaoke: each word takes color as it is spoken and keeps it; fill: likewise, sweeping across each word; word: only the word being spoken; pop: that word, growing a little",
+ "enum": [
+ "none",
+ "fill",
+ "word",
+ "karaoke",
+ "pop"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "mode",
+ "color"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedInput schema / $defs / TextStyle / properties / max_lines
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 20,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "At most this many lines at once: longer text shows in turn, a screenful at a time, each from its first word (by word timing, or by length without it). Lines are broken here, by the font, balanced in length; null shows it all at once"
+}
addedInput schema / $defs / TextStyle / properties / max_width / description
Added value: +"Of frame width: longer text wraps onto more lines, balanced in length"
addedInput schema / properties / in_clip / properties / segments / items / properties / spans
Added value: +{
+ "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow",
+ "items": {
+ "$ref": "#/$defs/TextSpan"
+ },
+ "maxItems": 500,
+ "type": "array"
+}
addedInput schema / properties / segments / items / properties / spans
Added value: +{
+ "description": "Style part of the text: each span restyles words first_word to last_word (from 0: the timed words, or the text split at spaces), e.g. one word in yellow",
+ "items": {
+ "$ref": "#/$defs/TextSpan"
+ },
+ "maxItems": 500,
+ "type": "array"
+}