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

Class: Aws::MediaConvert::Types::TimecodeConfig

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 TimecodeConfig data as a hash:

{
  anchor: "__string",
  source: "EMBEDDED", # accepts EMBEDDED, ZEROBASED, SPECIFIEDSTART
  start: "__string",
  timestamp_offset: "__string",
}

Contains settings used to acquire and adjust timecode information from inputs.

Instance Attribute Summary collapse

Instance Attribute Details

#anchorString

If you use an editing platform that relies on an anchor timecode, use Anchor Timecode (Anchor) to specify a timecode that will match the input video frame to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). This setting ignores framerate conversion. System behavior for Anchor Timecode varies depending on your setting for Timecode source (TimecodeSource). * If Timecode source (TimecodeSource) is set to Specified Start (specifiedstart), the first input frame is the specified value in Start Timecode (Start). Anchor Timecode (Anchor) and Start Timecode (Start) are used calculate output timecode. * If Timecode source (TimecodeSource) is set to Start at 0 (zerobased) the first frame is 00:00:00:00. * If Timecode source (TimecodeSource) is set to Embedded (embedded), the first frame is the timecode value on the first input frame of the input.

Returns:

  • (String)


11623
11624
11625
11626
11627
11628
11629
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11623

class TimecodeConfig < Struct.new(
  :anchor,
  :source,
  :start,
  :timestamp_offset)
  include Aws::Structure
end

#sourceString

Use Timecode source (TimecodeSource) to set how timecodes are handled within this input. To make sure that your video, audio, captions, and markers are synchronized and that time-based features, such as image inserter, work correctly, choose the Timecode source option that matches your assets. All timecodes are in a 24-hour format with frame number (HH:MM:SS:FF). * Embedded (EMBEDDED) - Use the timecode that is in the input video. If no embedded timecode is in the source, the service will use Start at 0 (ZEROBASED) instead. * Start at 0 (ZEROBASED) - Set the timecode of the initial frame to 00:00:00:00. * Specified Start (SPECIFIEDSTART) - Set the timecode of the initial frame to a value other than zero. You use Start timecode (Start) to provide this value.

Returns:

  • (String)


11623
11624
11625
11626
11627
11628
11629
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11623

class TimecodeConfig < Struct.new(
  :anchor,
  :source,
  :start,
  :timestamp_offset)
  include Aws::Structure
end

#startString

Only use when you set Timecode Source (TimecodeSource) to Specified Start (SPECIFIEDSTART). Use Start timecode (Start) to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF).

Returns:

  • (String)


11623
11624
11625
11626
11627
11628
11629
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11623

class TimecodeConfig < Struct.new(
  :anchor,
  :source,
  :start,
  :timestamp_offset)
  include Aws::Structure
end

#timestamp_offsetString

Only applies to outputs that support program-date-time stamp. Use Time stamp offset (TimestampOffset) to overwrite the timecode date without affecting the time and frame number. Provide the new date as a string in the format "yyyy-mm-dd". To use Time stamp offset, you must also enable Insert program-date-time (InsertProgramDateTime) in the output settings.

Returns:

  • (String)


11623
11624
11625
11626
11627
11628
11629
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 11623

class TimecodeConfig < Struct.new(
  :anchor,
  :source,
  :start,
  :timestamp_offset)
  include Aws::Structure
end