MediaInfo
class MediaInfo(val duration: Duration, val video: VideoTrackInfo?, val audio: AudioTrackInfo?, val isExportable: Boolean)(source)
Everything filmstrip can learn about a source without decoding it.
Read it before planning an edit. Pair it with DeviceCapabilities to know whether this device can handle the source.
Constructors
Link copied to clipboard
constructor(duration: Duration, video: VideoTrackInfo?, audio: AudioTrackInfo?, isExportable: Boolean)
Properties
Link copied to clipboard
The audio track, or null when the source has none.
Link copied to clipboard
False for DRM-protected assets and anything else the platform refuses to export. Such a source can neither be exported nor previewed, so check it first.
Link copied to clipboard
The video track, or null when the source has none.