nvdec: Plugin stops at initialization phase
Hello everyone,
I want to use the NVDEC plugin with Windows 10 and gstreamer-1.16 and built the whole release with cerbero without any obvious problems.
As I try to use the plugin in a test pipeline I only get the following output and the pipeline just stops:
gst-launch-1.0.exe videotestsrc ! x264enc ! nvdec ! gldownload ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
0:00:00.177311900 25056 00000000030F3660 WARN d3dvideosink d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo> Window HWND already set to: 0
0:00:00.238117600 25056 00000000030F3660 DEBUG nvdec gstnvdec.c:390:gst_nvdec_start:<nvdec0> creating CUDA context
I think the plugin crashes at line 391 (nvdec->cuda_context = g_object_new (gst_nvdec_cuda_context_get_type (), NULL);
)
My System:
- Windows 10 Pro (Version 10.0.17763 Build 17763)
- NVIDIA GeForce GTX 1070 (Driver Version: 430.64)
- I tried it with several CUDA versions (10.1, 10.0, 9.2) and the 'NVIDIA Video Codec SDK' 8.2.16
Is there anything I am doing wrong or should do differently for the plugin to work?
I think in the discussion of Merge Request !153 (merged) a similar problem was described, as I also can't get NVENC to run?
Best regards and thanks for your effort on the whole project!