Go to the source code of this file.
Typedefs | |
typedef void * | NvDst_Handle_NvMultiUriSrcCreator |
Enumerations | |
enum | NvDsMultiUriMode { NVDS_MULTIURISRCBIN_MODE_VIDEO, NVDS_MULTIURISRCBIN_MODE_AUDIO } |
Functions | |
gboolean | find_source (NvDst_Handle_NvMultiUriSrcCreator apiHandle, guint sourceId) |
API to check if sourceId related source exist. More... | |
gboolean | set_nvuribin_dec_prop (NvDst_Handle_NvMultiUriSrcCreator apiHandle, guint sourceId, guint drop_frame_interval_val) |
API to set drop-frame-interval value on nvv4l2decoder of nvmultiurisrcbin instance. More... | |
NvDst_Handle_NvMultiUriSrcCreator | gst_nvmultiurisrcbincreator_init (gchar *binName, NvDsMultiUriMode mode, GstDsNvStreammuxConfig *muxConfig) |
Initialize the API for nvmultiurisrcbin creation Note: nvmultiurisrcbin is a collection of DeepStream plugins viz: nvurisrcbin X N -> nvstreammux. More... | |
gboolean | gst_nvmultiurisrcbincreator_add_source (NvDst_Handle_NvMultiUriSrcCreator apiHandle, GstDsNvUriSrcConfig *sourceConfig) |
API to add a source/stream into the nvmultiurisrcbin instance A new instance of nvurisrcbin will be created for this stream and be linked with appropriate sink pad of the nvstreammux instance. More... | |
gboolean | gst_nvmultiurisrcbincreator_remove_source (NvDst_Handle_NvMultiUriSrcCreator apiHandle, guint sourceId) |
API to remove a source/stream from the nvmultiurisrcbin instance The corresponding nvurisrcbin will be unlinked from nvstreammux and removed from the parent nvmultiurisrcbin instance. More... | |
GstElement * | gst_nvmultiurisrcbincreator_get_bin (NvDst_Handle_NvMultiUriSrcCreator apiHandle) |
Get the nvmultiurisrcbin GstBin User may: a) add this Bin/Element into their pipeline and b) link the bin's src pad to downstream element Note: This bin's src pad capability will be same as nvstreammux src pad capability. More... | |
GstPad * | gst_nvmultiurisrcbincreator_get_source_pad (NvDst_Handle_NvMultiUriSrcCreator apiHandle) |
API to procure the source pad ("src") of this nvmultiurisrcbin instance Note: User may link the bin's src pad to downstream element Note: This src pad is the nvstreammux instance's src pad. More... | |
gboolean | gst_nvmultiurisrcbincreator_sync_children_states (NvDst_Handle_NvMultiUriSrcCreator apiHandle) |
void | gst_nvmultiurisrcbincreator_deinit (NvDst_Handle_NvMultiUriSrcCreator apiHandle) |
Deinit the nvmultiurisrcbin creator API Note: If this bin was added to a parent pipeline instance, Use this API before calling gst_object_unref on the pipeline object. More... | |
GstDsNvUriSrcConfig * | gst_nvmultiurisrcbincreator_get_source_config (NvDst_Handle_NvMultiUriSrcCreator apiHandle, gchar const *uri, gchar const *sensorId) |
API to procure the source config for a particular sensor. More... | |
GstDsNvUriSrcConfig * | gst_nvmultiurisrcbincreator_src_config_dup (GstDsNvUriSrcConfig *sourceConfig) |
API to create duplicate of GstDsNvUriSrcConfig. More... | |
void | gst_nvmultiurisrcbincreator_src_config_free (GstDsNvUriSrcConfig *config) |
API to free GstDsNvUriSrcConfig object obtained with API: gst_nvmultiurisrcbincreator_src_config_dup. More... | |
GstDsNvUriSrcConfig * | gst_nvmultiurisrcbincreator_get_source_config_by_sensorid (NvDst_Handle_NvMultiUriSrcCreator apiHandle, gchar const *sensorId) |
API to procure the source config for a particular sensor. More... | |
gboolean | gst_nvmultiurisrcbincreator_get_active_sources_list (NvDst_Handle_NvMultiUriSrcCreator apiHandle, guint *count, GstDsNvUriSrcConfig ***configs) |
API to procure the list of sources. More... | |
void | gst_nvmultiurisrcbincreator_src_config_list_free (NvDst_Handle_NvMultiUriSrcCreator apiHandle, guint count, GstDsNvUriSrcConfig **configs) |
API to destroy the memory allocation for list of sources procured with API: gst_nvmultiurisrcbincreator_get_active_sources_list() More... | |
typedef void* NvDst_Handle_NvMultiUriSrcCreator |
Definition at line 34 of file gst-nvmultiurisrcbincreator.h.
enum NvDsMultiUriMode |
Enumerator | |
---|---|
NVDS_MULTIURISRCBIN_MODE_VIDEO | |
NVDS_MULTIURISRCBIN_MODE_AUDIO |
Definition at line 36 of file gst-nvmultiurisrcbincreator.h.
gboolean find_source | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
guint | sourceId | ||
) |
API to check if sourceId related source exist.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | sourceId | sourceId information of the stream |
gboolean gst_nvmultiurisrcbincreator_add_source | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
GstDsNvUriSrcConfig * | sourceConfig | ||
) |
API to add a source/stream into the nvmultiurisrcbin instance A new instance of nvurisrcbin will be created for this stream and be linked with appropriate sink pad of the nvstreammux instance.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | sourceConfig | New stream/source configuration information |
void gst_nvmultiurisrcbincreator_deinit | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle | ) |
Deinit the nvmultiurisrcbin creator API Note: If this bin was added to a parent pipeline instance, Use this API before calling gst_object_unref on the pipeline object.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
gboolean gst_nvmultiurisrcbincreator_get_active_sources_list | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
guint * | count, | ||
GstDsNvUriSrcConfig *** | configs | ||
) |
API to procure the list of sources.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in/out] | count The number of streams added to this bin using API gst_nvmultiurisrcbincreator_add_source() | |
[in/out] | configs An array of configs of size count [transfer-full] Please free this configs array using API gst_nvmultiurisrcbincreator_src_config_list_free() API gst_nvmultiurisrcbincreator_add_source() |
GstElement* gst_nvmultiurisrcbincreator_get_bin | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle | ) |
Get the nvmultiurisrcbin GstBin User may: a) add this Bin/Element into their pipeline and b) link the bin's src pad to downstream element Note: This bin's src pad capability will be same as nvstreammux src pad capability.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
GstDsNvUriSrcConfig* gst_nvmultiurisrcbincreator_get_source_config | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
gchar const * | uri, | ||
gchar const * | sensorId | ||
) |
API to procure the source config for a particular sensor.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | uri | The uri string (need to exactly match details provided with gst_nvmultiurisrcbincreator_add_source() |
[in] | sensorId | The sensorId string (need to exactly match details provided with gst_nvmultiurisrcbincreator_add_source() |
GstDsNvUriSrcConfig* gst_nvmultiurisrcbincreator_get_source_config_by_sensorid | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
gchar const * | sensorId | ||
) |
API to procure the source config for a particular sensor.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | sensorId | The sensorId string (need to exactly match details provided with gst_nvmultiurisrcbincreator_add_source() |
GstPad* gst_nvmultiurisrcbincreator_get_source_pad | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle | ) |
API to procure the source pad ("src") of this nvmultiurisrcbin instance Note: User may link the bin's src pad to downstream element Note: This src pad is the nvstreammux instance's src pad.
Thus, the src pad GstCaps capability will be same as nvstreammux src pad capability
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
NvDst_Handle_NvMultiUriSrcCreator gst_nvmultiurisrcbincreator_init | ( | gchar * | binName, |
NvDsMultiUriMode | mode, | ||
GstDsNvStreammuxConfig * | muxConfig | ||
) |
Initialize the API for nvmultiurisrcbin creation Note: nvmultiurisrcbin is a collection of DeepStream plugins viz: nvurisrcbin X N -> nvstreammux.
[in] | binName | A name to the nvmultiurisrcbin instance |
[in] | mode | The bin's mode can either be video-only or audio-only |
[in] | muxConfig | The nvstreammux config to use within nvmultiurisrcbin |
gboolean gst_nvmultiurisrcbincreator_remove_source | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
guint | sourceId | ||
) |
API to remove a source/stream from the nvmultiurisrcbin instance The corresponding nvurisrcbin will be unlinked from nvstreammux and removed from the parent nvmultiurisrcbin instance.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | sourceId | stream/source ID matching the provided source configuration information |
GstDsNvUriSrcConfig* gst_nvmultiurisrcbincreator_src_config_dup | ( | GstDsNvUriSrcConfig * | sourceConfig | ) |
API to create duplicate of GstDsNvUriSrcConfig.
void gst_nvmultiurisrcbincreator_src_config_free | ( | GstDsNvUriSrcConfig * | config | ) |
API to free GstDsNvUriSrcConfig object obtained with API: gst_nvmultiurisrcbincreator_src_config_dup.
void gst_nvmultiurisrcbincreator_src_config_list_free | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
guint | count, | ||
GstDsNvUriSrcConfig ** | configs | ||
) |
API to destroy the memory allocation for list of sources procured with API: gst_nvmultiurisrcbincreator_get_active_sources_list()
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | count | The size of configs array |
[in] | configs | array of configs returned by API gst_nvmultiurisrcbincreator_get_active_sources_list() API gst_nvmultiurisrcbincreator_add_source() |
gboolean gst_nvmultiurisrcbincreator_sync_children_states | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle | ) |
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
gboolean set_nvuribin_dec_prop | ( | NvDst_Handle_NvMultiUriSrcCreator | apiHandle, |
guint | sourceId, | ||
guint | drop_frame_interval_val | ||
) |
API to set drop-frame-interval value on nvv4l2decoder of nvmultiurisrcbin instance.
[in] | apiHandle | The nvmultiurisrcbincreator API handle returned by init |
[in] | sourceId | sourceId information of the stream |
[in] | drop_frame_interval_val | dec-frame-interval value to be used to set on the nvv4l2decoder |