Package-level declarations

Types

Link copied to clipboard
class FrameEvent(val frame: ColorBuffer, val timeStamp: Double)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class MetadataContainer(val streams: List<MetadataStream>, val format: MetadataFormat)
Link copied to clipboard
@Serializable
data class MetadataFormat(val filename: String? = null, val size: Int? = null, val start_time: Double? = null, val duration: Double? = null, val bit_rate: Int? = null, val nb_streams: Int? = null)
Link copied to clipboard

A class to retrieve metadata, typically from video files, but compatible with any media accepted by ffprobe.

Link copied to clipboard
@Serializable
data class MetadataStream(val width: Int? = null, val height: Int? = null, val codec_type: String? = null, val codec_name: String? = null, val pix_fmt: String? = null, val bit_rate: Int? = null, val nb_frames: Int? = null, val sample_rate: Int? = null, val channels: Int? = null)
Link copied to clipboard
Link copied to clipboard

ScreenRecorder extension can be used to record to contents of a Program to a video

Link copied to clipboard
enum State : Enum<State>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Video player based on FFMPEG

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class VideoWriterProfile

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun ScreenRecorder.h264(configure: H264Profile.() -> Unit)
Link copied to clipboard
fun Program.loadVideo(fileOrUrl: String, mode: PlayMode = PlayMode.BOTH, configuration: VideoPlayerConfiguration = VideoPlayerConfiguration()): VideoPlayerFFMPEG

Load a video

Link copied to clipboard
fun loadVideoDevice(deviceName: String = VideoPlayerFFMPEG.defaultDevice(), mode: PlayMode = PlayMode.VIDEO, width: Int? = null, height: Int? = null, frameRate: Double? = null, configuration: VideoPlayerConfiguration = VideoPlayerConfiguration()): VideoPlayerFFMPEG