Class: Aws::MediaConvert::Types::Container

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

The container of your media file. This information helps you understand the overall structure and details of your media, including format, duration, and track layout.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bit_rate ⇒ Integer

The overall bit rate of your media file, in bits per second. This is derived from the file size and duration as (file size in bytes * 8) / duration in seconds.

Returns:

  • (Integer)


3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3654

class Container < Struct.new(
  :bit_rate,
  :duration,
  :format,
  :start_timecode,
  :tracks)
  SENSITIVE = []
  include Aws::Structure
end

#duration ⇒ Float

The total duration of your media file, in seconds.

Returns:

  • (Float)


3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3654

class Container < Struct.new(
  :bit_rate,
  :duration,
  :format,
  :start_timecode,
  :tracks)
  SENSITIVE = []
  include Aws::Structure
end

#format ⇒ String

The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM, MXF, Wave, AVI, MPEG-TS, MPEG-PS, MP3, FLAC, ASF (Windows Media / WMA), OGG, 3GP, 3G2, AAC (raw ADTS), AC-3, or Enhanced AC-3 (E-AC-3). Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.

Returns:

  • (String)


3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3654

class Container < Struct.new(
  :bit_rate,
  :duration,
  :format,
  :start_timecode,
  :tracks)
  SENSITIVE = []
  include Aws::Structure
end

#start_timecode ⇒ String

The start timecode of the media file, in HH:MM:SS:FF format (or HH:MM:SS;FF for drop frame timecode). Note that this field is null when the container does not include an embedded start timecode.

Returns:

  • (String)


3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3654

class Container < Struct.new(
  :bit_rate,
  :duration,
  :format,
  :start_timecode,
  :tracks)
  SENSITIVE = []
  include Aws::Structure
end

#tracks ⇒ Array<Types::Track>

Details about each track (video, audio, or data) in the media file.

Returns:



3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3654

class Container < Struct.new(
  :bit_rate,
  :duration,
  :format,
  :start_timecode,
  :tracks)
  SENSITIVE = []
  include Aws::Structure
end