# Class ElementaryStream (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.2 1.14.0 1.13.1 1.12.5 1.11.0 1.10.1 1.9.1 1.8.2 1.7.0 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.1 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

    ElementaryStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Encoding of an input file such as an audio, video, or text
track. Elementary streams must be packaged before
mapping and sharing between different output formats.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `key` | `str` A unique key for this elementary stream. |
| `video_stream` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.VideoStream` Encoding of a video stream. This field is a member of `oneof`_ `elementary_stream`. |
| `audio_stream` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.AudioStream` Encoding of an audio stream. This field is a member of `oneof`_ `elementary_stream`. |
| `text_stream` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.TextStream` Encoding of a text stream. For example, closed captions or subtitles. This field is a member of `oneof`_ `elementary_stream`. |