msdkh264dec corrupted very bad for video contains multiple SPS and multiple PPS
Submitted by Lim Siew Hoon
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?
Gstreamer framework 1.12.2 version
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):