OutputStream

Video stream utility used to output video content to file system.

Constructors

this
this()

Default initialization.

Destructor

~this
~this()

Destructor of the stream - closes the stream.

Members

Functions

close
void close()

Close the output stream.

open
bool open(in string filepath, in OutputDefinition props = OutputDefinition())

Open the video stream.

writeFrame
bool writeFrame(Image image)

Write given image as new frame of the image.

Properties

codec
auto codec [@property getter]

Codec of the stream.

frameCount
auto frameCount [@property getter]

Current frame count of the output stream.

frameRate
auto frameRate [@property getter]

Frame rate of the stream.

height
auto height [@property getter]

Height of the frame image.

isOpen
isOpen [@property getter]

Check if stream is open.

width
auto width [@property getter]

Width of the frame image.

Meta