Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::H264Video
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb
Overview
Describes all the properties for encoding a video with the H.264 codec.
Instance Attribute Summary collapse
-
#complexity ⇒ H264Complexity
settings.
-
#layers ⇒ Array<H264Layer>
produced by the encoder.
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
-
#scene_change_detection ⇒ Boolean
at scene changes.
Attributes inherited from Video
#key_frame_interval, #stretch_mode
Attributes inherited from Codec
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for H264Video class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ H264Video
constructor
A new instance of H264Video.
Constructor Details
#initialize ⇒ H264Video
Returns a new instance of H264Video.
16 17 18 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 16 def initialize @odatatype = "#Microsoft.Media.H264Video" end |
Instance Attribute Details
#complexity ⇒ H264Complexity
settings. The default value is Balanced. Possible values include: ‘Speed’, ‘Balanced’, ‘Quality’
31 32 33 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 31 def complexity @complexity end |
#layers ⇒ Array<H264Layer>
produced by the encoder.
35 36 37 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 35 def layers @layers end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 20 def odatatype @odatatype end |
#scene_change_detection ⇒ Boolean
at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output video.
26 27 28 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 26 def scene_change_detection @scene_change_detection end |
Class Method Details
.mapper ⇒ Object
Mapper for H264Video class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.H264Video', type: { name: 'Composite', class_name: 'H264Video', model_properties: { label: { client_side_validation: true, required: false, serialized_name: 'label', type: { name: 'String' } }, odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, key_frame_interval: { client_side_validation: true, required: false, serialized_name: 'keyFrameInterval', type: { name: 'TimeSpan' } }, stretch_mode: { client_side_validation: true, required: false, serialized_name: 'stretchMode', type: { name: 'String' } }, scene_change_detection: { client_side_validation: true, required: false, serialized_name: 'sceneChangeDetection', type: { name: 'Boolean' } }, complexity: { client_side_validation: true, required: false, serialized_name: 'complexity', type: { name: 'String' } }, layers: { client_side_validation: true, required: false, serialized_name: 'layers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'H264LayerElementType', type: { name: 'Composite', class_name: 'H264Layer' } } } } } } } end |