bitmovin_api_sdk.encoding.encodings.streams.captions.cea.srt package
Subpackages
Submodules
bitmovin_api_sdk.encoding.encodings.streams.captions.cea.srt.srt_api module
- class bitmovin_api_sdk.encoding.encodings.streams.captions.cea.srt.srt_api.SrtApi(**kwargs)[source]
Bases:
BaseApi
- create(encoding_id: string_types, stream_id: string_types, srt_to_cea608708_caption: SrtToCea608708Caption, **kwargs: dict) SrtToCea608708Caption [source]
Embed SRT captions as 608/708 into Stream
- Parameters
encoding_id (string_types, required) – Id of the encoding.
stream_id (string_types, required) – Id of the stream.
srt_to_cea608708_caption (SrtToCea608708Caption, required) – The SRT captions to be embedded as 607/708 into Stream
- Returns
Caption resource
- Return type
- delete(encoding_id: string_types, stream_id: string_types, captions_id: string_types, **kwargs: dict) BitmovinResponse [source]
Delete SRT captions as 608/708 from Stream
- Parameters
encoding_id (string_types, required) – Id of the encoding.
stream_id (string_types, required) – Id of the stream.
captions_id (string_types, required) – Id of the caption.
- Returns
Id of the caption
- Return type
- get(encoding_id: string_types, stream_id: string_types, captions_id: string_types, **kwargs: dict) SrtToCea608708Caption [source]
Embed SRT captions as 608/708 Details
- Parameters
encoding_id (string_types, required) – Id of the encoding.
stream_id (string_types, required) – Id of the stream.
captions_id (string_types, required) – Id of the caption.
- Returns
Caption
- Return type
- list(encoding_id: string_types, stream_id: string_types, query_params: SrtToCea608708CaptionListQueryParams = None, **kwargs: dict) SrtToCea608708Caption [source]
List SRT captions as 608/708 from Stream
- Parameters
encoding_id (string_types, required) – Id of the encoding.
stream_id (string_types, required) – Id of the stream.
query_params (SrtToCea608708CaptionListQueryParams) – Query parameters
- Returns
List of caption configurations
- Return type