GNOME Bugzilla – Bug 796464
msdk: mjpeg decoding fail with error message "gst_msdkdec_init_decoder:<msdkmjpegdec0> Init failed"
Last modified: 2018-06-27 21:47:12 UTC
Test Env: ============================================ Platform: APL/KBl/SKL Arch: x86_64 Linux release 16.04 Kernel: 4.12.0-rc2 libva https://github.com/01org/libva.gitb commit 3be72a5a110880f70626d7c3bed953cdde124b2 media_driver https://github.com/intel/media-driver commit 1c2b0615d749c45c07f9aee6586774816989c5b3 MediaSDK: https://github.com/Intel-Media-SDK/MediaSDK commit 7c2b069dce7bed268806f680412a2f3b09a52ce9 gst-bad master branch 0bdcf51baf77926b4f29c01a2fdf133c13aad62e Reproduce Steps: ============================================ take one case for example 1. build enc as above lists 2. gst-launch-1.0 filesrc location=/media/JPEG_RefCompare/0795image04_1152x864.jpg '!' jpegparse '!' msdkmjpegdec '!' videoconvert '!' video/x-raw,format=I420 '!' checksumsink2 frame-checksum=FALSE file-checksum=FALSE plane-checksum=FALSE dump-output=TRUE dump-location=./0795image04_1152x864.jpg.I420 3. error message as below Got context from element 'msdkmjpegdec0': gst.msdk.Context=context, gst.msdk.Context=(GstMsdkContext)"\(GstMsdkContext\)\ msdkcontext0"; Redistribute latency... 0:00:00.055560235 5939 0xd7bcf0 ERROR msdkdec gstmsdkdec.c:337:gst_msdkdec_init_decoder:<msdkmjpegdec0> Init failed (undeveloped feature) Caught SIGSEGV
+ Trace 238631
Failed cases decode_jpeg/0795image04_1152x864.jpg 10015.68 FAIL decode_jpeg/0795image04_1280x1024.jpg 10017.11 FAIL decode_jpeg/27022005_198.sized.jpg 10016.63 FAIL decode_jpeg/capture20.jpg 10016.81 FAIL decode_jpeg/capture21.jpg 10016.65 FAIL decode_jpeg/capture22.jpg 10016.60 FAIL
compare with mfx plugin, it will occurs different error message gst-launch-1.0 filesrc location=/media/JPEG_RefCompare/0795image04_1152x864.jpg '!' jpegparse '!' mfxjpegdec '!' videoconvert '!' video/x-raw,format=I420 '!' checksumsink2 frame-checksum=FALSE file-checksum=FALSE plane-checksum=FALSE dump-output=TRUE dump-location=./0795image04_1152x864.jpg.I420 error message ERROR: from element /GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0: No valid frames decoded before end of stream Additional debug info: gstvideodecoder.c(1161): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstMfxDec_jpeg:mfxdec_jpeg0: no valid frames found
This is an issue with Open source Media Driver. All jpeg samples are failing to decode with the media-driver. All works fine with MediaServerStudio2017 release. Could you please have a try? Please file a bug against the media-driver.
this issue can not be duplicated with close source MediaServerStudio2017, so it is a media-driver issue please refer to https://github.com/intel/media-driver/issues/178
Closing as won't fix.