Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

How can I receive metaconvert and jpegenc in one class?  #814

@dhaval-zala-aivid

Description

@dhaval-zala-aivid

Hii @nnshah1

{ "name": "staff-engm-det", "version": 2, "type": "GStreamer", "template": [ "rtspsrc udp-buffer-size=212992 name=\"source\" ", " ! queue ! rtph264depay ! h264parse ! video/x-h264 ", " ! tee name=t ! queue ! decodebin ! queue leaky=upstream ", " ! gvadetect ie-config=CPU_BIND_THREAD=NO model=\"{models[{{ input_model_0 }}][1][network]}\" model-proc=\"{models[{{ input_model_0 }}][1][proc]}\" name=\"detection\" threshold=0.40 ", " ! queue ! gvametaconvert add-empty-results=true name=\"metaconvert\" ! gvapython name=\"peoplecounting\" module=\"custom_transforms/staffEngmDet\" class=\"StaffEngagementTime\" ! queue ! gvametapublish name=\"destination\" ", " ! tee name = tt ! queue ! gvawatermark ! videoconvert ! jpegenc ! gvapython name=\"ImageCapture\" module=\"custom_transforms/staffEngmDet\" class=\"ImageCapture\" ", " ! queue ! appsink name=appsink t. ! queue ! splitmuxsink mux=\"mp4mux fragment-duration=1000\" max-size-time=300000000000 name=\"splitmuxsink\""], "description": "staff-engm-det Pipeline", "parameters": { "type": "object", "properties": { "inference-interval": { "element": "detection", "type": "integer", "minimum": 0, "maximum": 4294967295 }, "cpu-throughput-streams": { "element": "detection", "type": "string" }, "n-threads": { "element": "videoconvert", "type": "integer" }, "nireq": { "element": "detection", "type": "integer", "minimum": 1, "maximum": 64 }, "recording_prefix": { "type": "string", "element": { "name": "splitmuxsink", "property": "location" }, "default": "recording" } } } }

here is the pipeline that we are using where there are two python classes one which is StaffEngagementTime receives metaconvert and another class that is ImageCapture receives jpegenc to capture the image. How can I receive metaconvert and jpegenc in one class?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions