XBUP - eXtensible Binary Universal Protocol - Documentation
[Up]

# Subtitles

This document is part of eXtensible Binary Universal Protocol project documentation. It contains description of format for storing subtitles and karaoke.

## Description

This format should provide way how to store text and probably other types of visual data as for presentation or multimedia running in time.

## Format for Subtitles

One of the direct use of text blocks is a format for storing subtitle data for audio and video files. In this area there are many applicable alternatives. For this format XBTS suffix is introduced.

### Basic Textual Subtitles

The simplest variant is to declare text only and time range for how long to display it, or you can use a suitable algorithm for generating text display time. This doesn't include any support for text location or effects.

Format for textual subtitles

- Sequence of times and text strings
  - Time Mark
    - String
    - …
  - Time Mark
    - String

#### Possible Extension

For the basic variant of the subtitle this might be one possible extension, which primarily provides additional meta information.

- Definition of the text meaning - This extension should allow to distinguish between spoken words and for example background sounds or scripts and so on.
- Identify the person speaking - This extension include person identification for spoken sentences.

### Graphical Subtitles

The following variant allows for basic text captions to define the font, font color, text placement or algorithms for positioning of the image or text.

### Subtitles in the Picture

The following extension allows to accurately place the optional text into view, as well as other objects.

#### Relations to Other Formats

This format allows the use of the following formats:

- Picture - Picture inserted into frame
- Picture Animation - Possible to change coordinates in time and to use various transformations
- Font - It is possible to use attached fonts

## XBTS Format

Concrete realization of the test format is XBTS. Defines the permitted ranges of blocks, available compression methods and supported functionality.

Homepage: http://xbup.org
License: GNU Free Documentation License (FDL)