Class ReplayVideo

Inheritance Relationships

Base Type

Class Documentation

class ReplayVideo : public dai::NodeCRTP<ThreadedHostNode, ReplayVideo>

Replay node, used to replay a file to a source node.

Public Functions

void run() override
std::filesystem::path getReplayMetadataFile() const
std::filesystem::path getReplayVideoFile() const
ImgFrame::Type getOutFrameType() const
std::tuple<int, int> getSize() const
float getFps() const
bool getLoop() const
ReplayVideo &setReplayMetadataFile(const std::filesystem::path &replayFile)
ReplayVideo &setReplayVideoFile(const std::filesystem::path &replayVideo)
ReplayVideo &setOutFrameType(ImgFrame::Type outFrameType)
ReplayVideo &setSize(std::tuple<int, int> size)
ReplayVideo &setSize(int width, int height)
ReplayVideo &setFps(float fps)
ReplayVideo &setLoop(bool loop)

Public Members

Output out = {*this, {"out", DEFAULT_GROUP, {{{DatatypeEnum::ImgFrame, false}}}}}

Output for any type of messages to be transferred over XLink stream

Default queue is blocking with size 8

Public Static Attributes

static constexpr const char *NAME = "ReplayVideo"