constexpr const char * GSTREAMER_LOGGER
Logger category name used by gstreamer components.
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.
constexpr const char * to_string(randomModel m) noexcept
Utility struct describing one configured output for the gstreamer module.
int tid
Thread id used to specialize rootname; negative means "not specialized".
GStreamerDefinition(std::string f, std::string n, std::string t)
Construct from explicit fields.
GStreamerDefinition(const GStreamerDefinition &other, int t)
Construct a per-thread variant of an existing definition.
std::string rootname
Base filename (without extension), possibly specialized by thread id.
std::string type
Semantic output type token (e.g. "event" or "stream").
std::string gstreamerPluginName() const
Return the plugin library / object name used by the dynamic loader.
std::string format
Output format token used to select a plugin.
GStreamerDefinition()=default
Default constructor producing an empty definition.