|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
24 namespace PerfMonitorDoc
26 constexpr
const char*
descr = R
"pydeepstream(Class for monitoring the framerate.)pydeepstream";
27 constexpr const char*
init = R
"pydeepstream(
28 Initialize the performance monitor.
30 :arg batch_size: *int*, Batch size of the pipeline
31 :arg interval: *int*, Interval to monitor performance.
32 :arg source_type: *str*, Type name of the source.
33 :arg show_name: *bool*, Whether to show the stream name in perf log.)pydeepstream";
34 constexpr const char*
apply = R
"pydeepstream(
35 Apply the performance monitor on a specific node(pad) within a pipeline.
37 :arg node: *:class:`Node`*, Node to apply the monitor.
38 :arg tips: *str*, Name of the pad.)pydeepstream";
39 constexpr const char*
pause = R
"pydeepstream(Pause the performance monitor.)pydeepstream";
40 constexpr const char*
resume = R
"pydeepstream(Resume the performance monitor.)pydeepstream";
42 Add a new stream to the monitor.
44 :arg source_id: *int*, Source ID of the stream.
45 :arg uri: *str*, URI of the stream.
46 :arg sensor_id: *str*, Sensor ID.
47 :arg sensor_name: *str*, Sensor name.)pydeepstream";
48 constexpr const char*
remove_stream = R
"pydeepstream(Remove a stream from the monitor given the source ID.)pydeepstream";
51 namespace EngineFileMonitorDoc
53 constexpr
const char*
descr = R
"pydeepstream(Class for monitoring the model engine file.)pydeepstream";
54 constexpr const char*
init = R
"pydeepstream(Initialize the engine file monitor from the inference :class:`Node` and model engine file path.)pydeepstream";
55 constexpr const char*
start = R
"pydeepstream(Start the engine file monitor.)pydeepstream";
56 constexpr const char*
stop = R
"pydeepstream(Stop the engine file monitor.)pydeepstream";
57 constexpr const char*
started = R
"pydeepstream(Whether the engine file monitor is started.)pydeepstream";
60 namespace AudioStreamInfoDoc
62 constexpr
const char*
descr = R
"pydeepstream(
63 Class for acquiring audio stream information.
65 :ivar codec: *str*, Audio codec information.
66 :ivar channels: *int*, Number of channels.
67 :ivar sampling_rate: *int*, Sampling rate of the audio stream.)pydeepstream";
70 namespace VideoStreamInfoDoc
72 constexpr
const char*
descr = R
"pydeepstream(
73 Class for acquiring video stream information.
75 :ivar codec: *str*, Video codec information.
76 :ivar width: *int*, Width of the video stream.
77 :ivar height: *int*, Height of the video stream.
78 :ivar framerate: *tuple*, Framerate of the video stream in the form of (numerator, denominator).)pydeepstream";
81 namespace MediaInfoDoc
83 constexpr
const char*
descr = R
"pydeepstream(
84 Class for acquiring media information.
86 :ivar live: *bool*, Indicator of live media.
87 :ivar duration: *int*, Duration of the media in nanoseconds.
88 :ivar streams: *list*, List of media streams.)pydeepstream";
89 constexpr const char*
discover = R
"pydeepstream(
90 Discover the media information from the given URI.
92 :arg uri: *str*, URI of the media.
93 :return: *:class:`MediaInfo`*, Media information.)pydeepstream";
constexpr const char * add_stream
constexpr const char * apply
constexpr const char * resume
constexpr const char * start
constexpr const char * pause
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * descr
constexpr const char * init
constexpr const char * started
constexpr const char * remove_stream
constexpr const char * init
constexpr const char * stop