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 786879 - msdkh264dec corrupted very bad for video contains multiple SPS and multiple PPS
msdkh264dec corrupted very bad for video contains multiple SPS and multiple PPS
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.12.2
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 789886
 
 
Reported: 2017-08-28 02:54 UTC by Lim Siew Hoon
Modified: 2018-11-03 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
H264parse only send 1 sps and 1 pps. (3.27 KB, patch)
2017-08-28 02:55 UTC, Lim Siew Hoon
none Details | Review

Description Lim Siew Hoon 2017-08-28 02:54:45 UTC
We got 3 h264 video clips (each around 1.5GB) contain multiple SPS and multiple PPS plays with msdk plugin will cause video corrupted very bad. I chatted in GStreamer IRC before that original source of video highly coming from live stream video and the video tools transcode didn't handle well in mp4 file container. The customer directly downloads from web site done transcode to mp4 file container. They didn't provide us the link only video. 

Currently, we got the fix for this issue, but we are not sure the code fixed will lead to others issue or not. Can you guys provide a guide on how to make it become solid code fixed and maintain in gst-plugin-bad? 

Environment:
Gstreamer framework 1.12.2 version

command:
gst-launch-1.0 filesrc location=/home/test/Video/NEXT.mp4 ! qtdemux ! h264parse ! msdkh264dec ! videoconvert ! autovideosink

gst-play-1.0 /home/test/Video/NEXT.mp4 (with msdkh264dec with most higher ranking).

Next_short.mp4 Video clip (make the video short to around 33.5MB): 
https://drive.google.com/drive/folders/0B_VpqpF5WpBdQ3g2NFhnZTRBLWM?usp=sharing
Comment 1 Lim Siew Hoon 2017-08-28 02:55:51 UTC
Created attachment 358558 [details] [review]
H264parse only send 1 sps and 1 pps.
Comment 2 sreerenj 2018-06-27 23:50:03 UTC
Sorry for the long delay. From the first look, the patch doesn't make sense to me.

Both gst-vaapi and software decoder is working fine with the video sample too.
(convert to byte-stream format with capsfitler so that you can mimic the same behavior as msdk pipeline)

Does the stream contain multiple sps/pps or h264 inserting new one which is not in the stream?
If the stream has multiple sps/pps and gst-msdk fails to decode it, you should file a bug against MediaSDK IMHO.
Comment 3 GStreamer system administrator 2018-11-03 14:12:40 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/603.