ark::image::VideoEncoder
Defined in header “ark/image/video_encoder.hh”.
This class can be used to consume images and emit an encoded video stream to an output path. The type of container is dependent on the extension given.
Methods
-
VideoEncoder(VideoEncodingConfiguration config)
Constructor. Initializes a new video encoder. -
~VideoEncoder()
Destructor, cleans up resources. Invokes close() for you. -
VideoEncoder()
Disable copies. -
VideoEncoder & operator=()
-
void encode(const Image & image)
Encodes a camera image, adding it to this video stream. -
void close()
Closes the encoder, finalizing encoding.