Class: Aws::MediaConvert::Types::FileSourceSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::FileSourceSettings
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-mediaconvert/types.rb
Overview
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, 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
-
#byte_rate_limit ⇒ String
Choose whether to limit the byte rate at which your SCC input captions are inserted into your output.
-
#convert_608_to_708 ⇒ String
Specify whether this set of input captions appears in your outputs in both 608 and 708 format.
-
#convert_paint_to_pop ⇒ String
Choose the presentation style of your input SCC captions.
-
#framerate ⇒ Types::CaptionSourceFramerate
Ignore this setting unless your input captions format is SCC.
-
#source_file ⇒ String
External caption file used for loading captions.
-
#time_delta ⇒ Integer
Optional.
-
#time_delta_units ⇒ String
When you use the setting Time delta to adjust the sync between your sidecar captions and your video, use this setting to specify the units for the delta that you specify.
Instance Attribute Details
#byte_rate_limit ⇒ String
Choose whether to limit the byte rate at which your SCC input captions are inserted into your output. To not limit the caption rate: We recommend that you keep the default value, Disabled. MediaConvert inserts captions in your output according to the byte rates listed in the EIA-608 specification, typically 2 or 3 caption bytes per frame depending on your output frame rate. To limit your output caption rate: Choose Enabled. Choose this option if your downstream systems require a maximum of 2 caption bytes per frame. Note that this setting has no effect when your output frame rate is 30 or 60.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#convert_608_to_708 ⇒ String
Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose 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.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#convert_paint_to_pop ⇒ String
Choose the presentation style of your input SCC captions. To use the same presentation style as your input: Keep the default value, Disabled. To convert paint-on captions to pop-on: Choose Enabled. We also recommend that you choose Enabled if you notice additional repeated lines in your output captions.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#framerate ⇒ Types::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. 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.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#source_file ⇒ String
External caption file used for loading captions. Accepted file extensions are ‘scc’, ‘ttml’, ‘dfxp’, ‘stl’, ‘srt’, ‘xml’, ‘smi’, ‘webvtt’, and ‘vtt’.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#time_delta ⇒ Integer
Optional. Use this setting when you need to adjust the sync between your sidecar captions and your video. For more information, see docs.aws.amazon.com/mediaconvert/latest/ug/time-delta-use-cases.html. Enter a positive or negative number to modify the times in the captions file. For example, type 15 to add 15 seconds to all the times in the captions file. Type -5 to subtract 5 seconds from the times in the captions file. You can optionally specify your time delta in milliseconds instead of seconds. When you do so, set the related setting, Time delta units to Milliseconds. Note that, when you specify a time delta for timecode-based caption sources, such as SCC and STL, and your time delta isn’t a multiple of the input frame rate, MediaConvert snaps the captions to the nearest frame. For example, when your input video frame rate is 25 fps and you specify 1010ms for time delta, MediaConvert delays your captions by 1000 ms.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |
#time_delta_units ⇒ String
When you use the setting Time delta to adjust the sync between your sidecar captions and your video, use this setting to specify the units for the delta that you specify. When you don’t specify a value for Time delta units, MediaConvert uses seconds by default.
5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 |
# File 'lib/aws-sdk-mediaconvert/types.rb', line 5059 class FileSourceSettings < Struct.new( :byte_rate_limit, :convert_608_to_708, :convert_paint_to_pop, :framerate, :source_file, :time_delta, :time_delta_units) SENSITIVE = [] include Aws::Structure end |