FileInput Class
Wraps GStreamer's filesrc element — reads encoded media from a path on disk. More...
Declaration
Included Headers
Base class
| class | Node |
Public Constructors Index
| FileInput (std::string path) | |
|
Construct with the filesystem path to read from. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| std::string | user_label () const override |
|
User-facing label for this Node. More... | |
| InputRole | input_role () const override |
|
Role this Node plays as a stream source. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| std::string | backend_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... | |
| const std::string & | path () const |
Private Member Attributes Index
| std::string | path_ |
Description
Wraps GStreamer's filesrc element — reads encoded media from a path on disk.
Typical placement: first Node in a Session that processes a video / image file.
Usage:
Definition at line 31 of file FileInput.h.
Public Constructors
FileInput()
| explicit |
Construct with the filesystem path to read from.
Definition at line 34 of file FileInput.h.
Public Member Functions
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 54 of file FileInput.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 49 of file FileInput.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 56 of file FileInput.h.
input_role()
| inline |
Role this Node plays as a stream source.
Definition at line 45 of file FileInput.h.
kind()
| inline |
Type label for this Node kind.
Definition at line 37 of file FileInput.h.
path()
| inline |
The path this FileInput was constructed with.
Definition at line 59 of file FileInput.h.
user_label()
| inline |
User-facing label for this Node.
Definition at line 41 of file FileInput.h.
Private Member Attributes
path_
|
Definition at line 64 of file FileInput.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.