6.2. Legacy DVB MPEG Decoder APIs

6.2.1. General Notes

This API has originally been designed for DVB only and is therefore limited to the Data Formats used in such digital TV-broadcastsystems.

To circumvent this limitations the more versatile V4L2 API has been designed. Which replaces this part of the DVB API.

Nevertheless there have been projects build around this API. To ensure compatibility this API is kept as it is.

Attention

Do not use this API in new drivers!

For audio and video use the V4L2 and ALSA APIs.

Pipelines should be set up using the Media Controller API.

Practically the decoders seem to be treated differently. The application typically knows which decoder is in use or it is specially written for one decoder type. Querying capabilities are rarely used because they are already known.

6.2.2. Data Formats

The API has been designed for DVB and compatible broadcastsystems. Because of that fact the only supported data formats are ISO/IEC 13818-1 compatible MPEG streams. The supported payloads may vary depending on the used decoder.

Timestamps are always MPEG PTS as defined in ITU T-REC-H.222.0 / ISO/IEC 13818-1, if not otherwise noted.

For storing recordings typically TS streams are used, in lesser extent PES. Both variants are commonly accepted for playback, but it may be driver dependent.

6.2.3. Table of Contents