Hi, I am fairly new to Gstreamer. I am running my program in a WSL environment with Python on windows. I want to handle multiple RTSP streams (50+) and send their frames to their respective KAFKA topics.
What’s the preferred methodology to handle such use case? Each message sent to kafka topic should be a json message with the frame encoding and its timestamp.
I narrowed down to the cli command that i am running. It seems like the pipeline isnt able to access the rtsp frames. Here’s my command along wit error:
gst-launch-1.0 rtspsrc location=rtsp://<user>:<password>@<ip_address>/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink
[1] 13964
[2] 13965
[3] 13966
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://hail:Hail%401234@172.16.1.229:554/cam/realmonitor?channel=1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Not found
Additional debug info:
../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Not Found (404)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
!: command not found
[1] Exit 1 gst-launch-1.0 rtspsrc location=rtsp://<user>:<password>@<ip>/cam/realmonitor?channel=1
[2]- Done subtype=0
[3]+ Done unicast=true