struct NvDsSRInitParams

Holds initializtion paramerters required to create NvDsSRContext.

Public Members

NvDsSRCallbackFunc callback

callback function gets called once recording is complete

NvDsSRContainerType containerType

recording video container, MP4 / MKV

guint width

optional, recording video width, 0 means no transcode

guint height

optional, recording video height, 0 means no transcode

gchar *fileNamePrefix

recorded file name prefix

gchar *dirpath

store recorded file under directory path

guint defaultDuration

default recording duration in seconds

guint videoCacheSize

size of video cache in seconds.