Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set nvstreammux properties #55

Open
Rakhi-Pundir opened this issue May 27, 2024 · 0 comments
Open

Unable to set nvstreammux properties #55

Rakhi-Pundir opened this issue May 27, 2024 · 0 comments

Comments

@Rakhi-Pundir
Copy link


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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant