Skip to main content

VideoTrackSelect Class

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

Declaration

class simaai::neat::VideoTrackSelect { ... }

Included Headers

#include <VideoTrackSelect.h>

Base class

classNode

Public Constructors Index

VideoTrackSelect (int video_pad_index=0)

Construct selecting video pad video_pad_index (default 0). More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

std::stringbackend_fragment (int node_index) const override

GStreamer fragment this Node emits. More...

std::vector< std::string >element_names (int node_index) const override

Deterministic element names this Node will create. More...

intvideo_pad_index () const

Which video pad index this Node selects. More...

Private Member Attributes Index

intidx_ = 0

Description

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

Use after FileInput for MP4 / MOV containers.

Definition at line 25 of file VideoTrackSelect.h.

Public Constructors

VideoTrackSelect()

simaai::neat::VideoTrackSelect::VideoTrackSelect (int video_pad_index=0)
explicit

Construct selecting video pad video_pad_index (default 0).

Definition at line 28 of file VideoTrackSelect.h.

Public Member Functions

backend_fragment()

std::string simaai::neat::VideoTrackSelect::backend_fragment (int node_index)

GStreamer fragment this Node emits.

Definition at line 40 of file VideoTrackSelect.h.

caps_behavior()

NodeCapsBehavior simaai::neat::VideoTrackSelect::caps_behavior ()
inline

Whether the Node negotiates static or dynamic caps.

Definition at line 35 of file VideoTrackSelect.h.

35 NodeCapsBehavior caps_behavior() const override {
36 return NodeCapsBehavior::Dynamic;
37 }

element_names()

std::vector< std::string > simaai::neat::VideoTrackSelect::element_names (int node_index)

Deterministic element names this Node will create.

Definition at line 42 of file VideoTrackSelect.h.

kind()

std::string simaai::neat::VideoTrackSelect::kind ()
inline

Type label for this Node kind.

Definition at line 31 of file VideoTrackSelect.h.

31 std::string kind() const override {
32 return "VideoTrackSelect";
33 }

video_pad_index()

int simaai::neat::VideoTrackSelect::video_pad_index ()
inline

Which video pad index this Node selects.

Definition at line 45 of file VideoTrackSelect.h.

45 int video_pad_index() const {
46 return idx_;
47 }

Private Member Attributes

idx_

int simaai::neat::VideoTrackSelect::idx_ = 0

Definition at line 50 of file VideoTrackSelect.h.

50 int idx_ = 0;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.