Class CmafImageBasedTrickPlaySettings

    • Method Detail

      • intervalCadence

        public final CmafIntervalCadence intervalCadence()
        The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.

        If the service returns an enum value that is not available in the current SDK version, intervalCadence will return CmafIntervalCadence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from intervalCadenceAsString().

        Returns:
        The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.
        See Also:
        CmafIntervalCadence
      • intervalCadenceAsString

        public final String intervalCadenceAsString()
        The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.

        If the service returns an enum value that is not available in the current SDK version, intervalCadence will return CmafIntervalCadence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from intervalCadenceAsString().

        Returns:
        The cadence MediaConvert follows for generating thumbnails. If set to FOLLOW_IFRAME, MediaConvert generates thumbnails for each IDR frame in the output (matching the GOP cadence). If set to FOLLOW_CUSTOM, MediaConvert generates thumbnails according to the interval you specify in thumbnailInterval.
        See Also:
        CmafIntervalCadence
      • thumbnailHeight

        public final Integer thumbnailHeight()
        Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.
        Returns:
        Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.
      • thumbnailInterval

        public final Double thumbnailInterval()
        Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.
        Returns:
        Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.
      • thumbnailWidth

        public final Integer thumbnailWidth()
        Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.
        Returns:
        Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.
      • tileHeight

        public final Integer tileHeight()
        Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.
        Returns:
        Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.
      • tileWidth

        public final Integer tileWidth()
        Number of thumbnails in each row of a tile image. Set a value between 1 and 512.
        Returns:
        Number of thumbnails in each row of a tile image. Set a value between 1 and 512.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)