GNOME Bugzilla – Bug 793904
msdk: msdkvp8enc couldn't encode.
Last modified: 2018-03-28 23:08:19 UTC
[root@gst-msdk encode_vp8]# gst-launch-1.0 videotestsrc num-buffers=100 ! videoconvert ! video/x-raw,format=NV12 ! msdkvp8enc ! filesink location=test.vp8 Setting pipeline to PAUSED ... libva info: VA-API version 0.99.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_0_32 libva info: va_openDriver() returns 0 Pipeline is PREROLLING ... Got context from element 'msdkvp8enc0': gst.msdk.Context=context, gst.msdk.Context=(GstMsdkContext)"\(GstMsdkContext\)\ msdkcontext0"; 0:00:00.018067109 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) 0:00:00.018106810 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) 0:00:00.018468100 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) 0:00:00.018494625 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) 0:00:00.018536726 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error. Additional debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... 0:00:00.018559445 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) 0:00:00.018580397 1828 0xab0140 ERROR msdkvp8enc gstmsdkvp8enc.c:126:gst_msdkvp8enc_configure:<msdkvp8enc0> Media SDK Plugin load failed (the specified object is not found) Freeing pipeline ...
And seem also couldn't set profile: [root@gst-msdk encode_vp8]# gst-launch-1.0 videotestsrc num-buffers=100 ! videoconvert ! video/x-raw,format=NV12 ! msdkvp8enc ! video/x-vp8,profile=3 ! filesink location=test.vp8 0:00:00.015230636 1855 0x1f14440 ERROR GST_PIPELINE grammar.y:721:gst_parse_perform_link: could not link msdkvp8enc0 to filesink0, msdkvp8enc0 can't handle caps video/x-vp8, profile=(int)3 WARNING: erroneous pipeline: could not link msdkvp8enc0 to filesink0, msdkvp8enc0 can't handle caps video/x-vp8, profile=(int)3
This is a Msdk Issue. VP8 encoder seems to be brokn in Open source MSDK and in the msdk-community-edition-2017 release too. I'm closing this as "wontfix" from gst side