Skip to content

Unable to set nvstreammux properties #55

Description

@Rakhi-Pundir

TypeError Traceback (most recent call last)
/root/deepstream_python_apps/notebooks/deepstream_launchpad.ipynb Cell 27 line 1
12 sys.exit(1) # Exit the script if streammux creation failed
14 # Set streammux properties
---> 15 streammux.set_property('width', 1920)
16 streammux.set_property('height', 1080)
17 streammux.set_property('batch-size', 4) # Example value for number_sources

File ~/anaconda3/envs/gst/lib/python3.8/site-packages/pgi/obj.py:75, in Object.set_property(self, name, value)
69 """set_property(property_name: str, value: object)
70
71 Set property property_name to value.
72 """
74 if not hasattr(self.props, name):
---> 75 raise TypeError("Unknown property: %r" % name)
76 setattr(self.props, name, value)

TypeError: Unknown property: 'width'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions