NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gst-nvdssr.h File Reference

Detailed Description

NVIDIA DeepStream: Smart recording API

Definition in file gst-nvdssr.h.

Go to the source code of this file.

Data Structures

struct  NvDsSRInitParams
 Holds initializtion paramerters required to create NvDsSRContext. More...
 
struct  NvDsSRContext
 Holds information about smart record instance. More...
 
struct  NvDsSRRecordingInfo
 Hold information about video recorded. More...
 

Typedefs

typedef struct NvDsSRRecordingInfo NvDsSRRecordingInfo
 Hold information about video recorded. More...
 
typedef gpointer(* NvDsSRCallbackFunc )(NvDsSRRecordingInfo *info, gpointer userData)
 
typedef guint32 NvDsSRSessionId
 
typedef struct NvDsSRInitParams NvDsSRInitParams
 Holds initializtion paramerters required to create NvDsSRContext. More...
 
typedef struct NvDsSRContext NvDsSRContext
 Holds information about smart record instance. More...
 

Enumerations

enum  NvDsSRContainerType {
  NVDSSR_CONTAINER_MP4,
  NVDSSR_CONTAINER_MKV
}
 Specifies container types. More...
 
enum  NvDsSRStatus {
  NVDSSR_STATUS_OK,
  NVDSSR_STATUS_INVALID_VAL,
  NVDSSR_STATUS_INVALID_OP,
  NVDSSR_STATUS_ERROR,
  NVDSSR_STATUS_CUSTOM1 = 100,
  NVDSSR_STATUS_CUSTOM2 = 101,
  NVDSSR_STATUS_CUSTOM3 = 102
}
 Specifies API return status. More...
 

Functions

NvDsSRStatus NvDsSRCreate (NvDsSRContext **ctx, NvDsSRInitParams *params)
 Creates the instance of smart record. More...
 
NvDsSRStatus NvDsSRStart (NvDsSRContext *ctx, NvDsSRSessionId *sessionId, guint startTime, guint duration, gpointer userData)
 Starts the video recording. More...
 
NvDsSRStatus NvDsSRStop (NvDsSRContext *ctx, NvDsSRSessionId sessionId)
 Stops the previously started recording. More...
 
NvDsSRStatus NvDsSRDestroy (NvDsSRContext *ctx)
 Destroys the instance of smart record. More...