Api Sandbox VideoWriter
class

VideoWriter

public sealed class VideoWriter

Allows the creation of video content by encoding a sequence of frames.

Properties

Name Type Description
Width Int32
Height Int32

Methods

virtual Void Dispose()

Dispose this recorder, the encoder will be flushed and video finalized.

Task FinishAsync()

Finish creating this video. The encoder will be flushed and video finalized.

Boolean AddFrame(ReadOnlySpan<Byte> data, TimeSpan? timestamp = null)
Boolean AddFrame(Bitmap bitmap, TimeSpan? timestamp = null)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.VideoWriter