After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796464 - msdk: mjpeg decoding fail with error message "gst_msdkdec_init_decoder:<msdkmjpegdec0> Init failed"
msdk: mjpeg decoding fail with error message "gst_msdkdec_init_decoder:<msdkm...
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 789886
 
 
Reported: 2018-05-31 02:14 UTC by zj,wang
Modified: 2018-06-27 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zj,wang 2018-05-31 02:14:25 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
  • #0 poll
    at ../sysdeps/unix/syscall-template.S line 84
  • #1 ??
    from /lib/x86_64-linux-gnu/libglib-2.0.so.0
  • #2 g_main_loop_run
  • #3 gst_bus_poll
  • #4 event_loop
  • #5 main

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
Comment 1 zj,wang 2018-05-31 02:44:43 UTC
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
Comment 2 sreerenj 2018-06-04 23:15:25 UTC
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.
Comment 3 zj,wang 2018-06-05 07:14:25 UTC
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
Comment 4 sreerenj 2018-06-27 21:47:12 UTC
Closing as won't fix.