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
  framerate: {
    framerate_denominator: 1,
    framerate_numerator: 1,
  },
  source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMI",
  time_delta: 1,
}

If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#convert_608_to_708String

Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.

Returns:

  • (String)


7197
7198
7199
7200
7201
7202
7203
7204
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 7197

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :framerate,
  :source_file,
  :time_delta)
  SENSITIVE = []
  include Aws::Structure
end

#framerateTypes::CaptionSourceFramerate

Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.



7197
7198
7199
7200
7201
7202
7203
7204
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 7197

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :framerate,
  :source_file,
  :time_delta)
  SENSITIVE = []
  include Aws::Structure
end

#source_fileString

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

Returns:

  • (String)


7197
7198
7199
7200
7201
7202
7203
7204
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 7197

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :framerate,
  :source_file,
  :time_delta)
  SENSITIVE = []
  include Aws::Structure
end

#time_deltaInteger

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

Returns:

  • (Integer)


7197
7198
7199
7200
7201
7202
7203
7204
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 7197

class FileSourceSettings < Struct.new(
  :convert_608_to_708,
  :framerate,
  :source_file,
  :time_delta)
  SENSITIVE = []
  include Aws::Structure
end