I’ve tried using uridecodebin too and it does not work with mjpeg stream.
Here’s the image I generated by running the pipeline :
uridecodein uri="$RTSP_PATH" ! autovideosink
It uses rtpjpegdepay and nvjpegdec for jpeg streams but still results in error. Then I also tried to set boolean property “Deepstream” for nvjpegdec to true which claims to support jpeg format but still fails with uridecodebin.
I am trying to copy what uridecodebin does. Thats the reason I am trying to set manual bin just like uridecodebin with rtspsrc, rtpjpegdepay and jpegdec(/nvjpegdec) but the main problem seems in not able to link rtspsrc to rtpjpegdepay for some unknown reason even when it is linked from new_pad added signal comming from rtspsrc.
- Rtspsrc and rtpjpegdepay pads capabilities also match.
- I’ve even tried to apply caps filter after rtspsrc element with “application/x-rtp”.
- Also tried to add queue after rtspsrc elemenet.
Nothing seems to work!
How come it is possible to work in command prompt and is also seen in the pipeline image, yet not link in the provided python code.
Am I missing something ?