|
gstreamer
|
Typedefs | |
| using | gstreamersMap = std::unordered_map<std::string, std::shared_ptr<GStreamer>> |
Functions | |
| std::shared_ptr< const gstreamersMap > | gstreamersMapPtr (const std::shared_ptr< GOptions > &gopts, int thread_id) |
| Create a per-thread map of streamer instances based on configured outputs. | |
| vector< GStreamerDefinition > | getGStreamerDefinition (const std::shared_ptr< GOptions > &gopts) |
| Parse gstreamer output definitions from options. | |
| GOptions | defineOptions () |
| Contribute gstreamer options to the global option set. | |
| using gstreamer::gstreamersMap = std::unordered_map<std::string, std::shared_ptr<GStreamer>> |
Definition at line 437 of file gstreamer.h.
| GOptions gstreamer::defineOptions | ( | ) |
The returned GOptions aggregates:
Definition at line 38 of file gstreamer_options.cc.
| std::vector< GStreamerDefinition > gstreamer::getGStreamerDefinition | ( | const std::shared_ptr< GOptions > & | gopts | ) |
This reads the "gstreamer" option node and creates a list of GStreamerDefinition objects. Each entry is expected to contain:
format : plugin format token.filename : base output filename (without extension).type : output type token (defaults to "event" when omitted).| gopts | Options container. |
Definition at line 16 of file gstreamer_options.cc.
|
inline |
This helper is intended to run inside a worker thread. It:
thread_id (appends "_t<id>" to the base filename).Note:
| gopts | Options container. |
| thread_id | Worker thread id used to specialize output names. |
Definition at line 456 of file gstreamer.h.