Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

HlsGroupSettings

import type { HlsGroupSettings } from "https://aws-api.deno.dev/v0.4/services/mediaconvert.ts?docs=full";

Settings related to your HLS output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html. When you work directly in your JSON job specification, include this object and any required children when you set Type, under OutputGroupSettings, to HLS_GROUP_SETTINGS.

interface HlsGroupSettings {
AdditionalManifests?: HlsAdditionalManifest[] | null;
AdMarkers?: HlsAdMarkers[] | null;
AudioOnlyHeader?: HlsAudioOnlyHeader | null;
BaseUrl?: string | null;
CaptionLanguageMappings?: HlsCaptionLanguageMapping[] | null;
CaptionLanguageSetting?: HlsCaptionLanguageSetting | null;
CaptionSegmentLengthControl?: HlsCaptionSegmentLengthControl | null;
ClientCache?: HlsClientCache | null;
CodecSpecification?: HlsCodecSpecification | null;
Destination?: string | null;
DestinationSettings?: DestinationSettings | null;
DirectoryStructure?: HlsDirectoryStructure | null;
Encryption?: HlsEncryptionSettings | null;
ImageBasedTrickPlay?: HlsImageBasedTrickPlay | null;
ImageBasedTrickPlaySettings?: HlsImageBasedTrickPlaySettings | null;
ManifestCompression?: HlsManifestCompression | null;
ManifestDurationFormat?: HlsManifestDurationFormat | null;
MinFinalSegmentLength?: number | null;
MinSegmentLength?: number | null;
OutputSelection?: HlsOutputSelection | null;
ProgramDateTime?: HlsProgramDateTime | null;
ProgramDateTimePeriod?: number | null;
SegmentControl?: HlsSegmentControl | null;
SegmentLength?: number | null;
SegmentLengthControl?: HlsSegmentLengthControl | null;
SegmentsPerSubdirectory?: number | null;
StreamInfResolution?: HlsStreamInfResolution | null;
TargetDurationCompatibilityMode?: HlsTargetDurationCompatibilityMode | null;
TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | null;
TimedMetadataId3Period?: number | null;
TimestampDeltaMilliseconds?: number | null;
}

§Properties

§
AdditionalManifests?: HlsAdditionalManifest[] | null
[src]

By default, the service creates one top-level .m3u8 HLS manifest for each HLS output group in your job. This default manifest references every output in the output group. To create additional top-level manifests that reference a subset of the outputs in the output group, specify a list of them here.

§
AdMarkers?: HlsAdMarkers[] | null
[src]

Choose one or more ad marker types to decorate your Apple HLS manifest. This setting does not determine whether SCTE-35 markers appear in the outputs themselves.

§
AudioOnlyHeader?: HlsAudioOnlyHeader | null
[src]

Ignore this setting unless you are using FairPlay DRM with Verimatrix and you encounter playback issues. Keep the default value, Include (INCLUDE), to output audio-only headers. Choose Exclude (EXCLUDE) to remove the audio-only headers from your audio segments.

§
BaseUrl?: string | null
[src]

A partial URI prefix that will be prepended to each output in the media .m3u8 file. Can be used if base manifest is delivered from a different URL than the main .m3u8 file.

§
CaptionLanguageMappings?: HlsCaptionLanguageMapping[] | null
[src]

Language to be used on Caption outputs

§
CaptionLanguageSetting?: HlsCaptionLanguageSetting | null
[src]

Applies only to 608 Embedded output captions. Insert: Include CLOSED-CAPTIONS lines in the manifest. Specify at least one language in the CC1 Language Code field. One CLOSED-CAPTION line is added for each Language Code you specify. Make sure to specify the languages in the order in which they appear in the original source (if the source is embedded format) or the order of the caption selectors (if the source is other than embedded). Otherwise, languages in the manifest will not match up properly with the output captions. None: Include CLOSED-CAPTIONS=NONE line in the manifest. Omit: Omit any CLOSED-CAPTIONS line from the manifest.

§
CaptionSegmentLengthControl?: HlsCaptionSegmentLengthControl | null
[src]

Set Caption segment length control (CaptionSegmentLengthControl) to Match video (MATCH_VIDEO) to create caption segments that align with the video segments from the first video output in this output group. For example, if the video segments are 2 seconds long, your WebVTT segments will also be 2 seconds long. Keep the default setting, Large segments (LARGE_SEGMENTS) to create caption segments that are 300 seconds long.

§
ClientCache?: HlsClientCache | null
[src]

Disable this setting only when your workflow requires the #EXT-X-ALLOW-CACHE:no tag. Otherwise, keep the default value Enabled (ENABLED) and control caching in your video distribution set up. For example, use the Cache-Control http header.

§
CodecSpecification?: HlsCodecSpecification | null
[src]

Specification to use (RFC-6381 or the default RFC-4281) during m3u8 playlist generation.

§
Destination?: string | null
[src]

Use Destination (Destination) to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.

§
DestinationSettings?: DestinationSettings | null
[src]

Settings associated with the destination. Will vary based on the type of destination

§
DirectoryStructure?: HlsDirectoryStructure | null
[src]

Indicates whether segments should be placed in subdirectories.

§
Encryption?: HlsEncryptionSettings | null
[src]

DRM settings.

§
ImageBasedTrickPlay?: HlsImageBasedTrickPlay | null
[src]

Specify whether MediaConvert generates images for trick play. Keep the default value, None (NONE), to not generate any images. Choose Thumbnail (THUMBNAIL) to generate tiled thumbnails. Choose Thumbnail and full frame (THUMBNAIL_AND_FULLFRAME) to generate tiled thumbnails and full-resolution images of single frames. MediaConvert creates a child manifest for each set of images that you generate and adds corresponding entries to the parent manifest. A common application for these images is Roku trick mode. The thumbnails and full-frame images that MediaConvert creates with this feature are compatible with this Roku specification: https://developer.roku.com/docs/developer-program/media-playback/trick-mode/hls-and-dash.md

§
ImageBasedTrickPlaySettings?: HlsImageBasedTrickPlaySettings | null
[src]

Tile and thumbnail settings applicable when imageBasedTrickPlay is ADVANCED

§
ManifestCompression?: HlsManifestCompression | null
[src]

When set to GZIP, compresses HLS playlist.

§
ManifestDurationFormat?: HlsManifestDurationFormat | null
[src]

Indicates whether the output manifest should use floating point values for segment duration.

§
MinFinalSegmentLength?: number | null
[src]

Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.

§
MinSegmentLength?: number | null
[src]

When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.

§
OutputSelection?: HlsOutputSelection | null
[src]

Indicates whether the .m3u8 manifest file should be generated for this HLS output group.

§
ProgramDateTime?: HlsProgramDateTime | null
[src]

Includes or excludes EXT-X-PROGRAM-DATE-TIME tag in .m3u8 manifest files. The value is calculated as follows: either the program date and time are initialized using the input timecode source, or the time is initialized using the input timecode source and the date is initialized using the timestamp_offset.

§
ProgramDateTimePeriod?: number | null
[src]

Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.

§
SegmentControl?: HlsSegmentControl | null
[src]

When set to SINGLE_FILE, emits program as a single media resource (.ts) file, uses #EXT-X-BYTERANGE tags to index segment for playback.

§
SegmentLength?: number | null
[src]

Specify the length, in whole seconds, of each segment. When you don't specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control (SegmentLengthControl) to specify whether the encoder enforces this value strictly. Use Segment control (HlsSegmentControl) to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.

§
SegmentLengthControl?: HlsSegmentLengthControl | null
[src]

Specify how you want MediaConvert to determine the segment length. Choose Exact (EXACT) to have the encoder use the exact length that you specify with the setting Segment length (SegmentLength). This might result in extra I-frames. Choose Multiple of GOP (GOP_MULTIPLE) to have the encoder round up the segment lengths to match the next GOP boundary.

§
SegmentsPerSubdirectory?: number | null
[src]

Number of segments to write to a subdirectory before starting a new one. directoryStructure must be SINGLE_DIRECTORY for this setting to have an effect.

§
StreamInfResolution?: HlsStreamInfResolution | null
[src]

Include or exclude RESOLUTION attribute for video in EXT-X-STREAM-INF tag of variant manifest.

§
TargetDurationCompatibilityMode?: HlsTargetDurationCompatibilityMode | null
[src]

When set to LEGACY, the segment target duration is always rounded up to the nearest integer value above its current value in seconds. When set to SPEC\_COMPLIANT, the segment target duration is rounded up to the nearest integer value if fraction seconds are greater than or equal to 0.5 (>= 0.5) and rounded down if less than 0.5 (

§
TimedMetadataId3Frame?: HlsTimedMetadataId3Frame | null
[src]

Specify the type of the ID3 frame (timedMetadataId3Frame) to use for ID3 timestamps (timedMetadataId3Period) in your output. To include ID3 timestamps: Specify PRIV (PRIV) or TDRL (TDRL) and set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH). To exclude ID3 timestamps: Set ID3 timestamp frame type to None (NONE).

§
TimedMetadataId3Period?: number | null
[src]

Specify the interval in seconds to write ID3 timestamps in your output. The first timestamp starts at the output timecode and date, and increases incrementally with each ID3 timestamp. To use the default interval of 10 seconds: Leave blank. To include this metadata in your output: Set ID3 timestamp frame type (timedMetadataId3Frame) to PRIV (PRIV) or TDRL (TDRL), and set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).

§
TimestampDeltaMilliseconds?: number | null
[src]

Provides an extra millisecond delta offset to fine tune the timestamps.