Bus error creating nvjpegdec in C/C++ application

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson
• DeepStream Version
DeepStream 5.1
• JetPack Version (valid for Jetson only)
JetPack 4.5.1
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Appears to be a bug?
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

The following line of application code

nvjpegdec = gst_element_factory_make ("nvjpegdec", "jpeg-decoder");

Produces the following debug statements

0:00:00.076605881 17615   0x55a809e600 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element "nvjpegdec" named "jpeg-decoder"
0:00:00.077122402 17615   0x55a809e600 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstVideoDecoder@0x55a82b16b0> adding pad 'sink'
0:00:00.077237040 17615   0x55a809e600 INFO        GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstVideoDecoder@0x55a82b16b0> adding pad 'src'
Bus error (core dumped)

This seems to be identical to L4T 28.1 : Gstreamer 1.0 and BusError on nvjpegdec plugin

which was closed several years ago without a resolution

I’ve confirmed the below works…

gst-launch-1.0 filesrc location="sample_720p.jpg" ! nvjpegdec ! imagefreeze ! xvimagesink -e

Hi,
The nvjpegdec plugin is not supported in DeepStream SDK. Please try

... ! jpegparse ! nvv4l2decoder mjpeg=1 ! ...

Thanks for the quick response @DaneLLL … the above works well for my needs.