vector< GStreamerDefinition > getGStreamerDefinition(const std::shared_ptr< GOptions > &gopts)
Parse all configured gstreamer output definitions from the options container.
GOptions defineOptions()
Define the options contributed by the gstreamer module.
constexpr const char * GSTREAMER_LOGGER
Logger category name used by gstreamer components.
constexpr const char * to_string(randomModel m) noexcept
Lightweight description of one configured gstreamer output.
int tid
Worker thread id associated with this definition, or a negative value when not specialized.
GStreamerDefinition(std::string f, std::string n, std::string t)
Construct a definition from explicit field values.
GStreamerDefinition(const GStreamerDefinition &other, int t)
Construct a per-thread specialization from an existing definition.
std::string rootname
Base output filename without extension, optionally specialized by thread id.
std::string type
Semantic output type, typically "event" or "stream".
std::string gstreamerPluginName() const
Return the plugin library name expected by the dynamic loader.
std::string format
Output format token used to select the plugin implementation.
GStreamerDefinition()=default
Default constructor producing an empty definition.