-
Notifications
You must be signed in to change notification settings - Fork 232
/
azure.mgmt.media.models.LiveEventEncoding.yml
134 lines (104 loc) · 4.64 KB
/
azure.mgmt.media.models.LiveEventEncoding.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
### YamlMime:PythonClass
uid: azure.mgmt.media.models.LiveEventEncoding
name: LiveEventEncoding
fullName: azure.mgmt.media.models.LiveEventEncoding
module: azure.mgmt.media.models
inheritances:
- azure.mgmt.media._serialization.Model
summary: Specifies the live event type and optional encoding settings for encoding
live events.
constructor:
syntax: 'LiveEventEncoding(*, encoding_type: str | _models.LiveEventEncodingType
| None = None, preset_name: str | None = None, stretch_mode: str | _models.StretchMode
| None = None, key_frame_interval: timedelta | None = None, **kwargs)'
keywordOnlyParameters:
- name: encoding_type
description: 'Live event type. When encodingType is set to PassthroughBasic or
PassthroughStandard, the service simply passes through the incoming video and
audio layer(s) to
the output. When encodingType is set to Standard or Premium1080p, a live encoder
transcodes the
incoming stream into multiple bitrates or layers. See
[https://go.microsoft.com/fwlink/?linkid=2095101](https://go.microsoft.com/fwlink/?linkid=2095101)
for more information. This property cannot be
modified after the live event is created. Known values are: "None", "Standard",
"Premium1080p",
"PassthroughBasic", and "PassthroughStandard".'
types:
- <xref:str>
- <xref:azure.mgmt.media.models.LiveEventEncodingType>
- name: preset_name
description: 'The optional encoding preset name, used when encodingType is not
None.
This value is specified at creation time and cannot be updated. If the encodingType
is set to
Standard, then the default preset name is ''Default720p''. Else if the encodingType
is set to
Premium1080p, the default preset is ''Default1080p''.'
types:
- <xref:str>
- name: stretch_mode
description: 'Specifies how the input video will be resized to fit the desired
output
resolution(s). Default is None. Known values are: "None", "AutoSize", and "AutoFit".'
types:
- <xref:str>
- <xref:azure.mgmt.media.models.StretchMode>
- name: key_frame_interval
description: 'Use an ISO 8601 time value between 0.5 to 20 seconds to specify
the output fragment length for the video and audio tracks of an encoding live
event. For
example, use PT2S to indicate 2 seconds. For the video track it also defines
the key frame
interval, or the length of a GoP (group of pictures). If this value is not
set for an
encoding live event, the fragment duration defaults to 2 seconds. The value
cannot be set for
pass-through live events.'
types:
- <xref:datetime.timedelta>
variables:
- description: 'Live event type. When encodingType is set to PassthroughBasic or
PassthroughStandard, the service simply passes through the incoming video and
audio layer(s) to
the output. When encodingType is set to Standard or Premium1080p, a live encoder
transcodes the
incoming stream into multiple bitrates or layers. See
[https://go.microsoft.com/fwlink/?linkid=2095101](https://go.microsoft.com/fwlink/?linkid=2095101)
for more information. This property cannot be
modified after the live event is created. Known values are: "None", "Standard",
"Premium1080p",
"PassthroughBasic", and "PassthroughStandard".'
name: encoding_type
types:
- <xref:str>
- <xref:azure.mgmt.media.models.LiveEventEncodingType>
- description: 'The optional encoding preset name, used when encodingType is not None.
This
value is specified at creation time and cannot be updated. If the encodingType
is set to
Standard, then the default preset name is ''Default720p''. Else if the encodingType
is set to
Premium1080p, the default preset is ''Default1080p''.'
name: preset_name
types:
- <xref:str>
- description: 'Specifies how the input video will be resized to fit the desired output
resolution(s). Default is None. Known values are: "None", "AutoSize", and "AutoFit".'
name: stretch_mode
types:
- <xref:str>
- <xref:azure.mgmt.media.models.StretchMode>
- description: 'Use an ISO 8601 time value between 0.5 to 20 seconds to specify the
output fragment length for the video and audio tracks of an encoding live event.
For example,
use PT2S to indicate 2 seconds. For the video track it also defines the key frame
interval, or
the length of a GoP (group of pictures). If this value is not set for an encoding
live event,
the fragment duration defaults to 2 seconds. The value cannot be set for pass-through
live
events.'
name: key_frame_interval
types:
- <xref:datetime.timedelta>