intel / gstreamer-media-SDK

GNU Lesser General Public License v2.1
90 stars 53 forks source link

decoder != null error in mfxh264dec #187

Open aungthetnaing opened 3 years ago

aungthetnaing commented 3 years ago

vainfo libva info: VA-API version 1.6.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_1_6 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.6 (libva 2.6.0.pre1) vainfo: Driver version: Intel iHD driver - 19.3.1 vainfo: Supported profile and entrypoints VAProfileNone : VAEntrypointVideoProc VAProfileNone : VAEntrypointStats VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointFEI VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointFEI VAProfileH264High : VAEntrypointEncSliceLP VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointFEI VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD

gst-launch-1.0 filesrc location=11.h264 ! h264parse ! mfxh264dec ! fakesink sys:1: Warning: cannot register existing type 'GstStereo' sys:1: Warning: g_once_init_leave: assertion 'result != 0' failed

(gst-plugin-scanner:31049): GStreamer-CRITICAL **: 22:05:35.438: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed sys:1: Warning: cannot register existing type 'GstVideoAggregator' sys:1: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed sys:1: Warning: g_type_register_static: assertion 'parent_type > 0' failed

(gst-plugin-scanner:31049): GStreamer-CRITICAL **: 22:05:35.489: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed Setting pipeline to PAUSED ... libva info: VA-API version 1.6.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_1_6 libva info: va_openDriver() returns 0 Pipeline is PREROLLING ... Got context from element 'mfxdec_h264-0': gst.mfx.Aggregator=context, gst.mfx.Aggregator=(GstMfxTaskAggregator)NULL;

(gst-launch-1.0:31048): CRITICAL : 22:05:35.592: gst_mfx_decoder_flush: assertion 'decoder != NULL' failed ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: Internal data stream error.

(gst-launch-1.0:31048): CRITICAL : 22:05:35.592: gst_mfx_decoder_get_discarded_frame: assertion 'decoder != NULL' failed Additional debug info: ../libs/gst/base/gstbaseparse.c(3634): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH264Parse:h264parse0: streaming stopped, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ...