ark::image::VideoEncodingStage

Defined in header “ark/image/stages/video_encoding_stage.hh”.


This stage will pull in camera images and encode them into a video (defined by configuration). The video can then (optionally) be uploaded to a remote location during shutdown.

Methods

  • VideoEncodingStage(std::string name)
    Constructor.

  • ~VideoEncodingStage()
    Destructor, defined in the source file for unique_ptr cleanup.

  • void initialize(pipeline::StageInterface & interface)
    Called from the executor when we are initialized.

  • void finalize()
    Called from the executor when finalize is requested.

  • const VideoEncodingStatistics & statistics()
    Retrieves the current statistics from this stage. Primarily used for testing.