Interface HlsImageBasedTrickPlaySettings.Builder

    • Method Detail

      • intervalCadence

        HlsImageBasedTrickPlaySettings.Builder intervalCadence​(String 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.
        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HlsIntervalCadence, HlsIntervalCadence
      • intervalCadence

        HlsImageBasedTrickPlaySettings.Builder intervalCadence​(HlsIntervalCadence 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.
        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HlsIntervalCadence, HlsIntervalCadence
      • thumbnailHeight

        HlsImageBasedTrickPlaySettings.Builder thumbnailHeight​(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.
        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • thumbnailInterval

        HlsImageBasedTrickPlaySettings.Builder thumbnailInterval​(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.
        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • thumbnailWidth

        HlsImageBasedTrickPlaySettings.Builder thumbnailWidth​(Integer thumbnailWidth)
        Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.
        Parameters:
        thumbnailWidth - Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tileHeight

        HlsImageBasedTrickPlaySettings.Builder tileHeight​(Integer tileHeight)
        Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.
        Parameters:
        tileHeight - Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tileWidth

        HlsImageBasedTrickPlaySettings.Builder tileWidth​(Integer tileWidth)
        Number of thumbnails in each row of a tile image. Set a value between 1 and 512.
        Parameters:
        tileWidth - Number of thumbnails in each row of a tile image. Set a value between 1 and 512.
        Returns:
        Returns a reference to this object so that method calls can be chained together.