# Class VideoStream (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

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

Video stream resource.

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** |
| `h264` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.VideoStream.H264CodecSettings` H264 codec settings. This field is a member of `oneof`_ `codec_settings`. |
| `h265` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.VideoStream.H265CodecSettings` H265 codec settings. This field is a member of `oneof`_ `codec_settings`. |
| `vp9` | `https://docs.cloud.google.com/python/docs/reference/transcoder/latest/google.cloud.video.transcoder_v1.types.VideoStream.Vp9CodecSettings` VP9 codec settings. This field is a member of `oneof`_ `codec_settings`. |

## Classes

### FrameRateConversionStrategy

    FrameRateConversionStrategy(value)

The conversion strategy for desired frame rate.

### H264CodecSettings

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

H264 codec settings.

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>

### H264ColorFormatHLG

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

Convert the input video to a Hybrid Log Gamma (HLG) video.

### H264ColorFormatSDR

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

Convert the input video to a Standard Dynamic Range (SDR)
video.

### H265CodecSettings

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

H265 codec settings.

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>

### H265ColorFormatHDR10

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

Convert the input video to a High Dynamic Range 10 (HDR10)
video.

### H265ColorFormatHLG

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

Convert the input video to a Hybrid Log Gamma (HLG) video.

### H265ColorFormatSDR

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

Convert the input video to a Standard Dynamic Range (SDR)
video.

### Vp9CodecSettings

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

VP9 codec settings.

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>

### Vp9ColorFormatHLG

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

Convert the input video to a Hybrid Log Gamma (HLG) video.

### Vp9ColorFormatSDR

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

Convert the input video to a Standard Dynamic Range (SDR)
video.