You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::FileSourceSettings

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

Overview

Note:

When making an API call, you may pass FileSourceSettings data as a hash:

{
  convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
  source_file: "__string",
  time_delta: 1,
}

Settings for File-based Captions in Source

Instance Attribute Summary collapse

Instance Attribute Details

#convert_608_to_708String

If set to UPCONVERT, 608 caption data is both passed through via the "608 compatibility bytes" fields of the 708 wrapper as well as translated into 708. 708 data present in the source content will be discarded.

Returns:

  • (String)


4428
4429
4430
4431
4432
4433
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4428

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :source_file,
  :time_delta)
  include Aws::Structure
end

#source_fileString

External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', and 'smi'.

Returns:

  • (String)


4428
4429
4430
4431
4432
4433
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4428

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :source_file,
  :time_delta)
  include Aws::Structure
end

#time_deltaInteger

Specifies a time delta in seconds to offset the captions from the source file.

Returns:

  • (Integer)


4428
4429
4430
4431
4432
4433
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 4428

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :source_file,
  :time_delta)
  include Aws::Structure
end