Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 5.19 KB

File metadata and controls

46 lines (35 loc) · 5.19 KB

subkt / myaa.subkt.tasks / Mux / Track

Track

inner class Track : Filterable (source)

Represents a single track read from the source file.

Types

Name Summary
TrackInfo inner class TrackInfo
Stores information extracted from the source track.

Constructors

Name Summary
<init> Track(sourceTrack: MkvTrack)
Represents a single track read from the source file.

Properties

Name Summary
aspectRatio val aspectRatio: Property<Double>
Sets the aspect ratio of this track, specified as a floating point value.
compression val compression: Property<Mux.CompressionType>
Sets the compression type for this track. Must be one of CompressionType.ZLIB, CompressionType.MPEG4P2 or CompressionType.NONE.
default val default: Property<Boolean>
If true, set this track to be a default track.
defaultDuration val defaultDuration: Property<Mux.TrackDuration>
Forces the default duration or FPS for the track. Value must be a TrackDuration instance, e.g.:
delay val delay: Property<Long>
Sets the delay of the track in milliseconds.
displayDimensions val displayDimensions: Property<Mux.Dimensions>
Sets the display dimensions of this track, specified as a Dimensions object, e.g.:
forced val forced: Property<Boolean>
If true, set this track to be a forced track.
id val id: Long
The ID of this track.
include val include: Property<Boolean>
Whether to include this track in the output file. Defaults to true.
lang val lang: Property<String>
Sets the language of this track.
name val name: Property<String>
Sets the name of this track.
sourceTrack val sourceTrack: MkvTrack
Raw track info from mkvmerge.
stretch val stretch: Property<Double>
Value to multiply the timestamps by. E.g. a value of 2 makes the track twice as long.
sync val sync: Provider<String>
track val track: Mux.Track.TrackInfo
A TrackInfo instance providing information about the source track.
trackOrder val trackOrder: Property<Int>
The order of this track in the muxed file. Tracks will be sorted by the values specified for this property.

Functions

Name Summary
toString fun toString(): String