Skip to main content

VideoTrackSelect.h File

VideoTrackSelect Node — instantiate qtdemux and pick one video pad. More...

Included Headers​

#include "builder/Node.h" #include <memory> #include <vector>

Namespaces Index​

namespacesimaai
namespaceneat
namespacenodes

Classes Index​

classVideoTrackSelect

Creates a qtdemux element and selects a specific video pad (e.g., demux.video_0). More...

Description​

VideoTrackSelect Node — instantiate qtdemux and pick one video pad.

Bundles the demuxer and pad selection into one Node so an MP4 reader pipeline reads cleanly.

File Listing​

The file content with the documentation metadata removed is:

1
9#pragma once
10
11#include "builder/Node.h"
12
13#include <memory>
14#include <vector>
15
16namespace simaai::neat {
17
25class VideoTrackSelect final : public Node {
26public:
29
31 std::string kind() const override {
32 return "VideoTrackSelect";
33 }
35 NodeCapsBehavior caps_behavior() const override {
36 return NodeCapsBehavior::Dynamic;
37 }
38
40 std::string backend_fragment(int node_index) const override;
42 std::vector<std::string> element_names(int node_index) const override;
43
45 int video_pad_index() const {
46 return idx_;
47 }
48
49private:
50 int idx_ = 0;
51};
52
53} // namespace simaai::neat
54
55namespace simaai::neat::nodes {
57std::shared_ptr<simaai::neat::Node> VideoTrackSelect(int video_pad_index = 0);
58} // namespace simaai::neat::nodes

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.