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 796853 - msdk: msdkmjpegdec fail.
msdk: msdkmjpegdec fail.
Status: RESOLVED OBSOLETE
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:
 
 
Reported: 2018-07-23 05:57 UTC by Fei
Modified: 2018-11-03 14:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
image (270.38 KB, image/jpeg)
2018-07-23 06:15 UTC, Fei
  Details
patch for this issue. (4.87 KB, patch)
2018-07-23 06:18 UTC, Fei
none Details | Review
patch for this issue. (4.92 KB, patch)
2018-07-23 06:20 UTC, Fei
none Details | Review

Description Fei 2018-07-23 05:57:10 UTC
$ gst-launch-1.0 filesrc location=0795image04_1280x1024.jpg ! jpegparse !  msdkmjpegdec  ! msdkvpp ! glimagesink

0:00:00.038675694 29386      0x1a76050 ERROR                msdkdec gstmsdkdec.c:409:gst_msdkdec_init_decoder:<msdkmjpegdec0> Init failed (undeveloped feature)
0:00:00.038692225 29386      0x1a76050 ERROR                msdkdec gstmsdkdec.c:824:gst_msdkdec_negotiate:<msdkmjpegdec0> Failed to renegotiation
Comment 1 Fei 2018-07-23 06:15:30 UTC
Created attachment 373117 [details]
image
Comment 2 Fei 2018-07-23 06:18:42 UTC
Created attachment 373118 [details] [review]
patch for this issue.
Comment 3 Fei 2018-07-23 06:20:49 UTC
Created attachment 373119 [details] [review]
patch for this issue.
Comment 4 sreerenj 2018-08-15 10:21:10 UTC
(In reply to Fei from comment #1)
> Created attachment 373117 [details]
> image

This image is correctly decoded and displayed in my KBL with git master of iHD driver, msdk and gstreamer-vaapi.

Is this a platform or MediaSDK version specific issue?
Comment 5 Fei 2018-08-20 07:49:43 UTC
(In reply to sreerenj from comment #4)
> (In reply to Fei from comment #1)
> > Created attachment 373117 [details]
> > image
> 
> This image is correctly decoded and displayed in my KBL with git master of
> iHD driver, msdk and gstreamer-vaapi.
> 
> Is this a platform or MediaSDK version specific issue?

I guess not. MSDK does some more logic for several platforms include SKL but not for KBL. And JPEGChromaFormat is used in this part, but its value was overlapped incorrect by decode-order's value in gst-msdk.

It's really amazing that KBL can success decode jpeg with the wrong param. But it should need this patch to correct it.
Comment 6 GStreamer system administrator 2018-11-03 14:28:43 UTC
-- 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/756.