ivsrealtime / Client / create_encoder_configuration
create_encoder_configuration#
- ivsrealtime.Client.create_encoder_configuration(**kwargs)#
Creates an EncoderConfiguration object.
See also: AWS API Documentation
Request Syntax
response = client.create_encoder_configuration( name='string', video={ 'width': 123, 'height': 123, 'framerate': ..., 'bitrate': 123 }, tags={ 'string': 'string' } )
- Parameters:
name (string) – Optional name to identify the resource.
video (dict) –
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps.
width (integer) –
Video-resolution width. Note that the maximum value is determined by
width
timesheight
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.height (integer) –
Video-resolution height. Note that the maximum value is determined by
width
timesheight
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.framerate (float) –
Video frame rate, in fps. Default: 30.
bitrate (integer) –
Bitrate for generated output, in bps. Default: 2500000.
tags (dict) –
Tags attached to the resource. Array of maps, each of the form
string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and “Tag naming limits and requirements”; Amazon IVS has no constraints on tags beyond what is documented there.(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'encoderConfiguration': { 'arn': 'string', 'name': 'string', 'video': { 'width': 123, 'height': 123, 'framerate': ..., 'bitrate': 123 }, 'tags': { 'string': 'string' } } }
Response Structure
(dict) –
encoderConfiguration (dict) –
The EncoderConfiguration that was created.
arn (string) –
ARN of the EncoderConfiguration resource.
name (string) –
Optional name to identify the resource.
video (dict) –
Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
width (integer) –
Video-resolution width. Note that the maximum value is determined by
width
timesheight
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.height (integer) –
Video-resolution height. Note that the maximum value is determined by
width
timesheight
, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.framerate (float) –
Video frame rate, in fps. Default: 30.
bitrate (integer) –
Bitrate for generated output, in bps. Default: 2500000.
tags (dict) –
Tags attached to the resource. Array of maps, each of the form
string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and “Tag naming limits and requirements”; Amazon IVS has no constraints on tags beyond what is documented there.(string) –
(string) –
Exceptions
ivsrealtime.Client.exceptions.ResourceNotFoundException
ivsrealtime.Client.exceptions.ValidationException
ivsrealtime.Client.exceptions.AccessDeniedException
ivsrealtime.Client.exceptions.InternalServerException
ivsrealtime.Client.exceptions.ServiceQuotaExceededException
ivsrealtime.Client.exceptions.ConflictException
ivsrealtime.Client.exceptions.PendingVerification