How to save metadata from REDIS in deepstream-4?

Please provide complete information as applicable to your setup.

GPU : NVIDIA titan x
Deepstream sdk 5.1 triton (docker)

Hi, I am a developer working on deepstream field

I want to store metadata extracted from deepstream in redis database

I thought of two ways

  1. Receive metadata from kafka topic and send it to redis
  2. Receive and store metadata directly from redis

As a result of trying through deepstream-test4, receiving metadata with kafka was successful, but receiving with redis failed due to lack of data.

So, I hope you can tell me how to get metadata from redis in deepstream-test4.

I ran the redis server in the local environment and ran the deepstream-test4 in the docker deepstream.

this is my command line
./deepstream-test4-app -i /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.h264 -p /opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_redis_proto.so --conn-str=“localhost;6379”

and here is cfg_redis.txt
[message-broker]
#hostname=localhost
port=6379
streamsize=10000
payloadkey=metadata
consumergroup=mygroup
consumername=myname
#share-connection = 1

looking forward to your kind reply…

We will check it internally.

You do not need to do like this,

  • Receive metadata from kafka topic and send it to redis

you can send the payload directly to redis broker, anything error you met, please paste your log for analysis.

1 Like

thank you!!!