From d4dd4f55070f87886aeb4b8a5ce7060049246704 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Sat, 25 Nov 2023 10:32:33 -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..db5ba3d2 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_alignment + +`"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