From 1ce7d89aed20caa5d79fad5fb4e9d3a17571da6d Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Sun, 26 Nov 2023 21:15:24 -0800 Subject: [PATCH] Improve README --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cf686ee0..32c94a6b 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,8 @@ tt convert -i -o * `"imsc_writer": JSON object`: IMSC Writer configuration options (see below) * `"stl_reader": JSON object`: STL Reader configuration options (see below) * `"vtt_writer": JSON object`: WebVTT Writer configuration options (see below) + * `"srt_writer": JSON object`: SRT Writer configuration options (see below) + * `"scc_reader": JSON object`: SCC Reader configuration options (see below) Example: @@ -207,6 +209,17 @@ Default: `false` Default: `true` +### SCC Reader configuration + +#### text_align + +`"text_align" : "auto" | "left" | "center" | "right"` + +Specifies the text alignment. `"auto"` means the reader will use heuristics to determine +text alignment. + +Default: `"auto"` + ### Library The overall architecture of the library is as follows: @@ -281,7 +294,7 @@ Automated testing is provided by the script at `scripts/ci.sh` #### Local -Run `./scripts/ci.sh` +Run `PYTHONPATH=src/main/python ./scripts/ci.sh` #### GitHub actions