How to modify the deepstream-test3 python application to take jpeg stream as input?

Please provide complete information as applicable to your setup.

• Hardware Platform: T4 GPU
• DeepStream Version: 6.3
• NVIDIA GPU Driver Version: 530
• Issue Type: question
• Requirement details: I am using the sample application https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/tree/master/apps/deepstream-test3 which reads RTSP URL as source using uri_decode_bin and uses ghost pad for the source bin which will act as a proxy for the video decoder src pad. I want to create a similar setup for reading jpeg stream (example: http://92.110.185.114:8080/mjpg/video.mjpg). Can you please help me to find the suitable resource?

Just passing the URI as an argument should work. The example uses uridecodebin, so it will automatically select the correct elements to decode the JPEG stream. If this doesn’t work, you may need to manually switch out the uridecodebin for the correct elements:

urisourcebin uri=http://92.110.185.114:8080/mjpg/video.mjpg ! \
jpegparse ! nvv4l2decoder mjpeg=true ! nvvideoconvert ! ...
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.