Skip to content

TypeError: GObject.__init__() takes exactly 0 arguments (2 given) #10

@Kracozebr

Description

@Kracozebr

Try to run your code on Jetson Xavier and get the error, that can not understand:

Traceback (most recent call last):
  File "run.py", line 10, in <module>
    run_pipeline(args.source_uri)
  File "/mnt/ext/deepstream-python/deepstream/app/core.py", line 15, in run_pipeline
    output_format="mp4",
  File "/mnt/ext/deepstream-python/deepstream/app/pipeline.py", line 106, in __init__
    self._create_elements()
  File "/mnt/ext/deepstream-python/deepstream/app/pipeline.py", line 357, in _create_elements
    self.sink_bin = self._create_mp4_sink_bin()
  File "/mnt/ext/deepstream-python/deepstream/app/pipeline.py", line 284, in _create_mp4_sink_bin
    mp4_sink_bin.add_pad(Gst.GhostPad("sink", nvvidconv3.get_static_pad("sink")))
TypeError: GObject.__init__() takes exactly 0 arguments (2 given)

It's hard to understand why this error occurs, any suggestions ?

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