content_​characteristics_​amd

Version: v2025-01-13Includes use: Yes

Behavior name: Content Characteristics

Specifies characteristics of the delivered content. Akamai uses this information to optimize your metadata configuration, which may result in better origin offload and end-user performance.

Related behaviors:

Note: This behavior is customized for a specific product set. Use the List available behaviors operation to determine the set available to you.

Default behavior

These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.

data "akamai_property_rules_builder" "content_characteristics_amd" {
  rules_v2025_02_18 {
    name     = "Content Characteristics"
    comments = "Specifies characteristics of the delivered content."
    behavior {
    content_characteristics_amd {
      smooth = true
      dash = true
      segment_size_hds = "UNKNOWN"
      catalog_size = "UNKNOWN"
      segment_size_hls = "UNKNOWN"
      popularity_distribution = "UNKNOWN"
      segment_duration_hds = "SEGMENT_DURATION_6S"
      hds = true
      segment_size_smooth = "UNKNOWN"
      segment_duration_smooth = "SEGMENT_DURATION_2S"
      segment_duration_dash = "SEGMENT_DURATION_6S"
      segment_size_dash = "UNKNOWN"
      content_type = "HD"
      segment_duration_hls = "SEGMENT_DURATION_10S"
      hls = true
    }
  }
}
"behaviors": [
  {
    "name": "contentCharacteristicsAMD",
    "options": {
      "smooth": true,
      "dash": true,
      "segmentSizeHDS": "UNKNOWN",
      "catalogSize": "UNKNOWN",
      "segmentSizeHLS": "UNKNOWN",
      "popularityDistribution": "UNKNOWN",
      "segmentDurationHDS": "SEGMENT_DURATION_6S",
      "hds": true,
      "segmentSizeSmooth": "UNKNOWN",
      "segmentDurationSmooth": "SEGMENT_DURATION_2S",
      "segmentDurationDASH": "SEGMENT_DURATION_6S",
      "segmentSizeDASH": "UNKNOWN",
      "contentType": "HD",
      "segmentDurationHLS": "SEGMENT_DURATION_10S",
      "hls": true
    }
  }
]

Options

Option Description
catalog_size
Optimize based on the total size of the content library delivered. Value is one of:
  • SMALL. Less than 100Gb.. MEDIUM. 100Gb-1Tb.. LARGE. 1-100Tb.. EXTRA_LARGE. More than 100Tb.. OTHER. Customize the value.. UNKNOWN. Defer this optimization.
  • content_type
    Optimize based on the quality of media content. Value is one of:
    • SDM. Standard definition
    • HD. High definition
    • ULTRA_HD. Ultra high definition
    • OTHER. More than one level of quality
    • UNKNOWN. Defer this optimization.
    popularity_distribution
    Optimize based on the content's expected popularity. Value is one of:
    • LONG_TAIL. A low volume of requests over a long period.
    • ALL_POPULAR. A high volume of requests over a short period.
    • OTHER. Customize the value.
    • UNKNOWN. Defer this optimization.
    hls
    Enable delivery of HLS media.
    segment_duration_hls
    Specifies the duration of individual segments. Value is one of:
    • SEGMENT_DURATION_2S. 2 seconds.
    • SEGMENT_DURATION_4S. 4 seconds.
    • SEGMENT_DURATION_6S. 6 seconds.
    • SEGMENT_DURATION_8S. 8 seconds.
    • SEGMENT_DURATION_10S. 10 seconds.
    • OTHER. Customize the value.
    segment_duration_hls_custom
    Customizes the number of seconds for the segment.
    segment_size_hls
    Specifies the size of the media object retrieved from the origin. Value is one of:
    • LESS_THAN_1MB. Less than 1Mb.
    • ONE_MB_TO_TEN_MB. 1-10Mb.
    • TEN_MB_TO_100_MB. 10-100Mb.
    • GREATER_THAN_100MB. More than 100Mb.
    • UNKNOWN. Defer this optimization.
    • OTHER. Sizes straddle these ranges.
    hds
    Enable delivery of HDS media.
    segment_duration_hds
    Specifies the duration of individual fragments. Value is one of:
    • SEGMENT_DURATION_2S. 2 seconds.
    • SEGMENT_DURATION_4S. 4 seconds.
    • SEGMENT_DURATION_6S. 6 seconds.
    • SEGMENT_DURATION_8S. 8 seconds.
    • SEGMENT_DURATION_10S. 10 seconds.
    • OTHER. Customize the value.
    segment_duration_hds_custom
    Customizes the number of seconds for the fragment.
    segment_size_hds
    Specifies the size of the media object retrieved from the origin. Value is one of:
    • LESS_THAN_1MB. Less than 1Mb.
    • ONE_MB_TO_TEN_MB. 1-10Mb.
    • TEN_MB_TO_100_MB. 10-100Mb.
    • GREATER_THAN_100MB. More than 100Mb.
    • UNKNOWN. Defer this optimization.
    • OTHER. Customize the value.
    dash
    Enable delivery of DASH media.
    segment_duration_dash
    Specifies the duration of individual segments. Value is one of:
    • SEGMENT_DURATION_2S. 2 seconds.
    • SEGMENT_DURATION_4S. 4 seconds.
    • SEGMENT_DURATION_6S. 6 seconds.
    • SEGMENT_DURATION_8S. 8 seconds.
    • SEGMENT_DURATION_10S. 10 seconds.
    • OTHER. Customize the value.
    segment_duration_dash_custom
    Customizes the number of seconds for the segment.
    segment_size_dash
    Specifies the size of the media object retrieved from the origin. Value is one of:
    • LESS_THAN_1MB. Less than 1Mb.
    • ONE_MB_TO_TEN_MB. 1-10Mb.
    • TEN_MB_TO_100_MB. 10-100Mb.
    • GREATER_THAN_100MB. More than 100Mb.
    • UNKNOWN. Defer this optimization.
    • OTHER. Sizes that straddle these ranges.
    smooth
    Enable delivery of Smooth media.
    segment_duration_smooth
    Specifies the duration of individual fragments. Value is one of:
    • SEGMENT_DURATION_2S. 2 seconds.
    • SEGMENT_DURATION_4S. 4 seconds.
    • SEGMENT_DURATION_6S. 6 seconds.
    • SEGMENT_DURATION_8S. 8 seconds.
    • SEGMENT_DURATION_10S. 10 seconds.
    • OTHER. Customize the value.
    segment_duration_smooth_custom
    Customizes the number of seconds for the fragment.
    segment_size_smooth
    Specifies the size of the media object retrieved from the origin. Value is one of:
    • LESS_THAN_1MB. Less than 1Mb.
    • ONE_MB_TO_TEN_MB. 1-10Mb.
    • TEN_MB_TO_100_MB. 10-100Mb.
    • GREATER_THAN_100MB. More than 100Mb.
    • UNKNOWN. Defer this optimization.
    • OTHER. Sizes straddle these ranges.