> For the complete documentation index, see [llms.txt](https://textav.gitbook.io/textav-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://textav.gitbook.io/textav-components/captions/module-captions-composer-with-text-pre-segmentation-open-source.md).

# Module: captions composer (with text pre-segmentation) \[Open Source]

The idea is basically if you have a transcription Json ( for simplicity's sake let's assume in it's simplest form as an array of word objects with Start and end timecode attributes) how to create an srt where the lines/words are well spaced and timed appropriately, automatically . If that makes sense?

Could refactor this: <https://github.com/pietrop/srtParserComposer> on npm

Example

[concept map of module](https://docs.google.com/drawings/d/1y0v-jqZEa3u4NOdXLtPmJE1rFGY-dbQXvw-COQuWFQs/edit?usp=sharing)

or might be that using [Aeneas as described in this card](https://trello.com/c/6SWhxGTR) might be enough?

## BBC Specifications

<https://bbc.github.io/subtitle-guidelines/>

[BBC guidelines online\_sub\_editorial\_guidelines\_vs1\_1.pdf ](http://www.bbc.co.uk/guidelines/futuremedia/accessibility/subtitling_guides/online_sub_editorial_guidelines_vs1_1.pdf)

<http://www.bbc.co.uk/guidelines/futuremedia/accessibility/subtitling.shtml>

## C4 Specifications

[C4 specification pdf ](http://www.channel4.com/media/documents/corporate/foi-docs/SG_FLP.pdf)

## Aljazeera Specifications

[Link to trello card: Module: captions composer (with text pre-segmentation) \[Open Source\]](https://trello.com/c/Q5jClWkc)

### Labels

Node module, Extract from BBC Subtlelizer,
