Nvjpegdec ! nvdrmvideosink

Is it even possible to use nvjpegdec and nvdrmvideosink? With mp4 files nvdrmvideosink works fine. But if I run for example this: gst-launch-1.0 filesrc location=./1.jpg ! nvjpegdec ! nvdrmvideosink -e
It will fail with this debug log:

Setting pipeline to PAUSED …
Pipeline is PREROLLING …
nvbuf_utils: nvbuffer Payload Type not supported
NvBufferGetParamsEx Failed
Failed to get buffer parameters from fd
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
Additional debug info:
…/gstreamer-1.18.6/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
cannot close gem buffer
Cannot close bo
Freeing pipeline …

(gst-launch-1.0:2271): GStreamer-CRITICAL **: 01:22:29.573:
Trying to dispose element nvdrmvideosink0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(gst-launch-1.0:2271): GStreamer-CRITICAL **: 01:22:29.574:
Trying to dispose element nvjpegdec0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(gst-launch-1.0:2271): GStreamer-CRITICAL **: 01:22:29.575:
Trying to dispose element filesrc0, but it is in PAUSED instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(gst-launch-1.0:2271): GStreamer-CRITICAL **: 01:22:29.575:
Trying to dispose element pipeline0, but it is in READY instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

gst-launch-1.0 filesrc location=./1.jpg ! jpegparse ! nvv4l2decoder ! nvdrmvideosink

Glad to know you found the solution, thanks for the sharing!

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