Package-level declarations

Types

Link copied to clipboard
class AudioTrackInfo(val codec: TrackCodec, val sampleRate: Int, val channelCount: Int, val bitrate: Bitrate?)

The audio track of a source.

Link copied to clipboard

A codec filmstrip recognizes.

Link copied to clipboard

A color space, as far as both platforms agree on one.

Link copied to clipboard

A hint about what a byte buffer contains, which names the file the buffer is written to.

Link copied to clipboard
sealed interface FrameResult

A single frame rendered through a composition's effect chain.

Link copied to clipboard

An HDR transfer function.

Link copied to clipboard
sealed interface ImageSource

A still image, either composited over video as a watermark or shown on the timeline in its own right.

Link copied to clipboard
class MediaInfo(val duration: Duration, val video: VideoTrackInfo?, val audio: AudioTrackInfo?, val isExportable: Boolean)

Everything filmstrip can learn about a source without decoding it.

Link copied to clipboard
sealed interface MediaSink

Defines where a media file should be exported to.

Link copied to clipboard
sealed interface MediaSource

Something to read media from.

Link copied to clipboard

The Android form, wrapping a Bitmap.

The Apple form, wrapping a CGImage.

A decoded frame, owned by the caller.

The JVM form, wrapping a BufferedImage.

The browser form, holding an RGBA snapshot rather than a live frame.

Link copied to clipboard
sealed interface ProbeResult

The result of probing a source.

Link copied to clipboard
class TrackCodec(val name: String, val kind: CodecKind)

What a track is encoded with, both as the platform spells it and as filmstrip recognizes it.

Link copied to clipboard
class VideoTrackInfo(val codedSize: Size, val displaySize: Size, val rotationDegrees: Int, val pixelAspectRatio: Float, val frameRate: Float?, val codec: TrackCodec, val bitDepth: Int?, val colorSpace: ColorSpace, val hdrTransfer: HdrTransfer?, val bitrate: Bitrate?)

The video track of a source.