GNOME Bugzilla – Bug 771008
nvh264enc Could not initialize supporting library once 3.rd the same stream opened
Last modified: 2018-11-03 13:55:06 UTC
Used stream : gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw ! nvh264enc ! h264parse ! video/x-h264,stream-format=byte-stream ! avdec_h264 ! videoconvert ! autovideosink. It works correct for 2 streams. Once I open another one the same stream, it dumps error messages: Setting pipeline to PAUSED ... libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 ERROR: Pipeline doesn't want to pause. Got context from element 'autovideosink0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL; ERROR: from element /GstPipeline:pipeline0/GstNvH264Enc:nvh264enc0: Could not initialize supporting library. Additional debug info: gstvideoencoder.c(1534): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstNvH264Enc:nvh264enc0: Failed to open encoder Setting pipeline to NULL ... Freeing pipeline ...
This is expected if you're not using a professional GPU series. Non-{Quadro,Tesla} GPUs can only process 2 streams concurrently.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/422.