public class TextMuxing extends Muxing
Constructor and Description |
---|
TextMuxing() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getFilename()
Name of the output file (required)
|
Integer |
getStartOffset()
Offset of MPEG-TS timestamps in seconds.
|
int |
hashCode() |
void |
setFilename(String filename)
Name of the output file (required)
|
void |
setStartOffset(Integer startOffset)
Offset of MPEG-TS timestamps in seconds.
|
String |
toString() |
addOutputsItem, addStreamsItem, getAvgBitrate, getIgnoredBy, getMaxBitrate, getMinBitrate, getOutputs, getStreamConditionsMode, getStreams, setOutputs, setStreamConditionsMode, setStreams
getCreatedAt, getCustomData, getDescription, getModifiedAt, getName, putCustomDataItem, setCustomData, setDescription, setName
getId
public String getFilename()
public void setFilename(String filename)
filename
- Name of the output file (required)public Integer getStartOffset()
public void setStartOffset(Integer startOffset)
startOffset
- Offset of MPEG-TS timestamps in seconds. This only affects streams with [WebVttConfiguration](#/Encoding/PostEncodingConfigurationsSubtitlesWebVtt). If set, the X-TIMESTAMP-MAP will be added as described in the [HLS specification](https://datatracker.ietf.org/doc/html/rfc8216#section-3.5). For example, if set to 10 seconds, *X-TIMESTAMP-MAP=MPEGTS:900000,LOCAL:00:00:00.000* will be added after each *WEBVTT* header. The default for TextMuxing is that the X-TIMESTAMP-MAP will not be written. Important to note is that the default for `startOffset` for [TsMuxings](#/Encoding/PostEncodingEncodingsMuxingsTsByEncodingId) and [ProgressiveTsMuxings](#/Encoding/PostEncodingEncodingsMuxingsProgressiveTsByEncodingId) is 10 seconds. If the output of this muxing is used for HLS together with video/audio streams using TsMuxings and ProgressiveTsMuxings, this value should be set to the same `startOffset`.Copyright © 2024. All rights reserved.