gst-plugins-bad nvdec element doesn't work

Борис bumatov at
Tue Jun 16 07:13:50 UTC 2020

Hi! Thank you very much for your answer. What about version:

system: gstreamer version 1.16.2, win10 x64, compiler msvc 2015 x64

I did like you said, and changed pipeline like this:

filesrc location=D:/test_nvdec/jumanji.mp4 ! qtdemux ! h264parse !
nvdec ! gldownload ! videoconvert ! appsink sync = false

But there are still errors, something wrong with cuda... Do you have any
idea how to resolve this

0:00:00.167429000 24124 000002E149570940 WARN nvdec gstnvdec.c:58:cuda_OK:
CUDA call failed: CUDA_ERROR_INVALID_HANDLE, invalid resource handle

0:00:00.167571000 24124 000002E149570940 WARN nvdec
gstnvdec.c:1010:gst_nvdec_drain:<nvdec0> parser failed

0:00:00.330955000 24124 000002E149570940 WARN glbasefilter
error: glGetString not defined or returned invalid value

0:00:00.331173000 24124 000002E149570940 WARN basetransform
Subclass failed to decide allocation

0:00:00.331488000 24124 000002E149570940 WARN GST_PADS
gstpad.c:4231:gst_pad_peer_query:<nvdec0:src> could not send sticky events

0:00:00.360713000 24124 000002E149570940 ERROR nvdec
gstnvdec.c:1054:gst_nvdec_decide_allocation:<nvdec0> failed to create
OpenGL context

0:00:00.378002000 24124 000002E149570940 WARN videodecoder
gstvideodecoder.c:3783:gst_video_decoder_negotiate_pool:<nvdec0> Subclass
failed to decide allocation

0:00:00.378244000 24124 000002E149570940 WARN nvdec
gstnvdec.c:819:handle_pending_frames:<nvdec0> failed to negotiate with

0:00:00.378474000 24124 000002E149570940 WARN qtdemux
qtdemux.c:6605:gst_qtdemux_loop:<qtdemux0> error: Internal data stream

0:00:00.378600000 24124 000002E149570940 WARN qtdemux
qtdemux.c:6605:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason
not-negotiated (-4)

(gametrack_modules.exe:24124): GStreamer-CRITICAL **: 10:07:54.808:
gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(gametrack_modules.exe:24124): GStreamer-CRITICAL **: 10:07:54.808:
gst_bus_have_pending: assertion 'GST_IS_BUS (bus)' failed

(gametrack_modules.exe:24124): GStreamer-CRITICAL **: 10:07:54.808:
gst_object_unref: assertion 'object != NULL' failed

(gametrack_modules.exe:24124): GStreamer-CRITICAL **: 10:07:54.808:
gst_element_send_event: assertion 'GST_IS_ELEMENT (element)' failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list