Deepsream python: Encoder Error

I recently installed deepstream 5.0 and python binding.
I tried to run the deepstream_ssd_parser, but I got this message:

Creating Encoder
Unable to create Encoder
If the following error is encountered:
/usr/lib/aarch64-linux-gnu/ cannot allocate memory in static TLS block
Preload the offending library:
export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/
Traceback (most recent call last):
File “”, line 458, in
File “”, line 363, in main
encoder.set_property(“bitrate”, 2000000)
AttributeError: ‘NoneType’ object has no attribute ‘set_property’

I appreciate it if anyone can help me to solve it.

I believe this is your setup issue. Please provide your setup info like below?

• Hardware Platform: NVIDIA T4
• DeepStream Version: 5.0
• TensorRT Version: 7
• NVIDIA GPU Driver Version 440

Fortunately, I fixed it.
Many thanks

1 Like

How did you fixed it ? I am the samme issue. please Help me

1 Like

can you tell us how did you fix it?

I still face the same problem. can you help me please