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 793864 - [gstreamer-msdk-master][SKL] the dumped file of one mpeg2 decoding case has garbage and the ssim value is lower than standard
[gstreamer-msdk-master][SKL] the dumped file of one mpeg2 decoding case has g...
Status: RESOLVED FIXED
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-02-27 02:55 UTC by zj,wang
Modified: 2018-05-31 06:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
99-110 frame pic decoded via gst and yami (36.05 KB, image/png)
2018-02-27 02:55 UTC, zj,wang
Details
decoding stream (193.47 KB, application/octet-stream)
2018-02-27 03:18 UTC, zj,wang
Details

Description zj,wang 2018-02-27 02:55:44 UTC
Created attachment 368987 [details]
99-110 frame pic decoded via gst and yami

Test Env:
============================================
Platform:               SKL
Arch:          		x86_64
CentOS Linux release    7.3.1611 (Core)
Kernel:			4.4.0 
libva			MediaServerStudioEssentials2017R3.tar.gz (libva 
                        1.67.0.pre1)
media_driver		MediaServerStudioEssentials2017R3.tar.gz 16.5.2.64009-
                        ubit
gstreamer               master branch 91798e16cc09420163684d13779f13f374164ea2
gst-bad 		master branch 1c81bf4bdc67b518d6b3bbc22398c17fe8ced1da


Reproduce Steps:
============================================
1. build enc as above lists
2. gst-launch-1.0 -q filesrc location=/media/yami_mpeg2/att_mismatch_att.bits.mpeg2 '!' mpegvideoparse '!' msdkmpeg2dec '!' videoconvert '!' video/x-raw,format=I420 '!' filesink location=att_mismatch_att.bits.mpeg2.yuv
3. python ./ssim.py 32 32 132 0 0 att_mismatch_att.bits.mpeg2.yuv /media/mpeg2_yuv/att_mismatch_att.bits.mpeg2_32x32.I420 -f I420
3. Y_MIN_SSIM=0.853846930261  <= 99
4. observe the dumped yuv file, finding that it has garbage.

uploaded the compared picture between gst-decoding and yamidecoding
Comment 1 zj,wang 2018-02-27 03:18:01 UTC
Created attachment 368990 [details]
decoding stream
Comment 2 Fei 2018-02-27 06:27:45 UTC
Compare gst-msdk decode yuv and yamidecode yuv file, picture get from gst-msdk appear some noise after 100 frame in bottom right corner. This may cause the ssim too low.
Comment 3 zj,wang 2018-05-31 06:42:05 UTC
This issue cannot be duplicated with commit 0bdcf51baf77926b4f29c01a2fdf133c13aad62e, so close it