[Bug 793787] [gstreamer-msdk-master][SKL] some cases mjpeg decoding fail with error message "jpegparse0: Internal data stream error".
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 9 22:06:03 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793787
--- Comment #5 from sreerenj <bsreerenj at gmail.com> ---
The issue is that jpeg parser is not reading the header and decoder is not
getting the width/height information from caps.
Providing width/height in capsfilter will fix the issue for conformance
testing.
eg:
gst-launch-1.0 filesrc location= 394939.jpg ! jpegparse ! image/jpeg,
width=500, height=330 ! msdkmjpegdec ! videoconvert ! ximagesink
The proper fix can be done in two ways:
1: Investigate why jpegparser is failing and get a fix in parser so that we
don't need to add anything in decoder side.
Pros: decoder code will be simple, no need to header parsing with msdk which
will help to avoid start-up(if any) delay.
Cons: always will have a tight dependency to parser.
2: Use MSDK routines to extract headers from jpeg stream without relying on
parser output. This requires changes in current decoder code flow.
Pros: No dependency on parser output
Cons: Will make the decoder implementation bit more complicated.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list