NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/apps/apps-common/includes/deepstream_streammux.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef _NVGSTDS_STREAMMUX_H_
14 #define _NVGSTDS_STREAMMUX_H_
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  // Struct members to store config / properties for the element
26  gint pipeline_width;
27  gint pipeline_height;
28  gint buffer_pool_size;
29  gint batch_size;
30  gint batched_push_timeout;
31  gint compute_hw;
32  gboolean sort_batch;
33  gboolean buffer_cache;
34  gint buffer_cache_timeout;
35  gint num_surface_per_frame;
36  gint interpolation_method;
37  guint64 frame_duration;
38  guint gpu_id;
39  guint nvbuf_memory_type;
40  gboolean live_source;
41  gboolean enable_padding;
42  gboolean is_parsed;
43  gboolean attach_sys_ts_as_ntp;
44  gchar* config_file_path;
45  gboolean sync_inputs;
46  guint64 max_latency;
47  gboolean frame_num_reset_on_eos;
48  gboolean frame_num_reset_on_stream_reset;
49  gboolean async_process;
50  gboolean no_pipeline_eos;
51  gboolean use_nvmultiurisrcbin;
52  gboolean extract_sei_type5_data;
53  gboolean extract_sei_sim_time;
54  gboolean align_first_buffer;
55  guint sync_inputs_ntp;
56  guint failsafe_flush_count;
57  gboolean drop_backward_sei;
59 
60 // Function to create the bin and set properties
61 gboolean
62 set_streammux_properties (NvDsStreammuxConfig *config, GstElement *streammux);
63 
64 #ifdef __cplusplus
65 }
66 #endif
67 
68 #endif /* _NVGSTDS_DSEXAMPLE_H_ */
set_streammux_properties
gboolean set_streammux_properties(NvDsStreammuxConfig *config, GstElement *streammux)
NvDsStreammuxConfig
Definition: sources/apps/apps-common/includes/deepstream_streammux.h:23