Class: Azure::MediaServices::Mgmt::V2018_07_01::Models::MultiBitrateFormat

Inherits:
Format
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb

Overview

Describes the properties for producing a collection of GOP aligned multi-bitrate files. The default behavior is to produce one output file for each video layer which is muxed together with all the audios. The exact output files produced can be controlled by specifying the outputFiles collection.

Direct Known Subclasses

Mp4Format, TransportStreamFormat

Instance Attribute Summary collapse

Attributes inherited from Format

#filename_pattern

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMultiBitrateFormat

Returns a new instance of MultiBitrateFormat.



20
21
22
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb', line 20

def initialize
  @odatatype = "#Microsoft.Media.MultiBitrateFormat"
end

Instance Attribute Details

#odatatypeObject

Returns the value of attribute odatatype.



24
25
26
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb', line 24

def odatatype
  @odatatype
end

#output_filesArray<OutputFile>

entry in the list is a set of audio and video layer labels to be muxed together .

Returns:

  • (Array<OutputFile>)

    The list of output files to produce. Each



29
30
31
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb', line 29

def output_files
  @output_files
end

Class Method Details

.mapperObject

Mapper for MultiBitrateFormat class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/2018-07-01/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: '#Microsoft.Media.MultiBitrateFormat',
    type: {
      name: 'Composite',
      class_name: 'MultiBitrateFormat',
      model_properties: {
        filename_pattern: {
          client_side_validation: true,
          required: true,
          serialized_name: 'filenamePattern',
          type: {
            name: 'String'
          }
        },
        odatatype: {
          client_side_validation: true,
          required: true,
          serialized_name: '@odata\\.type',
          type: {
            name: 'String'
          }
        },
        output_files: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outputFiles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'OutputFileElementType',
                type: {
                  name: 'Composite',
                  class_name: 'OutputFile'
                }
            }
          }
        }
      }
    }
  }
end