Hi all,
I’m trying to connect to a MJPEG encoded live HTTP stream using gstreamer’s nvjpegdec plugin on Jetson Orin Nano and Jetson Xavier NX. I have a couple gstreamer pipelines to do the testing with I420 (default with nvjpegdec), NV12 and RGBA formats. The problem is, once you run the below pipelines with I420 and NV12, the stream freeze after the first frame. If you run it with RGBA format, the stream flow is great but image output is red. I also inspected the hardware utilization (NVJPG0/NVJPG1) during the stream on all of the streams and it seems there is no problem with initialization either.
DEFAULT I420 - FROZEN
gst-launch-1.0 souphttpsrc location=http://31.160.161.51:8081/mjpg/video.mjpg do-timestamp=1 blocksize=4294967294 http-log-level=0 is-live=1 ! queue ! jpegparse ! nvjpegdec ! 'video/x-raw(memory:NVMM),format=I420' ! queue ! nvvidconv ! videoconvert ! queue ! xvimagesink sync=false
OPTIONAL NV12 - FROZEN
gst-launch-1.0 souphttpsrc location=http://31.160.161.51:8081/mjpg/video.mjpg do-timestamp=1 blocksize=4294967294 http-log-level=0 is-live=1 ! queue ! jpegparse ! nvjpegdec nv12output=1 ! 'video/x-raw(memory:NVMM),format=NV12' ! queue ! nvvidconv ! videoconvert ! queue ! xvimagesink sync=false
OPTIONAL RGBA - NOT FROZEN BUT RED IMAGE
gst-launch-1.0 souphttpsrc location=http://31.160.161.51:8081/mjpg/video.mjpg do-timestamp=1 blocksize=4294967294 http-log-level=0 is-live=1 ! queue ! jpegparse ! nvjpegdec rgbaoutput=1 ! 'video/x-raw(memory:NVMM),format=RGBA' ! queue ! nvvidconv ! videoconvert ! queue ! xvimagesink sync=false
Additionally I’m doing these tests on both JetPack 5.0.2 (r35.1.0) and JetPack 5.1.2 (r35.4.1) and it seems there is a bug in the latest version since the error doesn’t occur on the JetPack 5.0.2.


