GNOME Bugzilla – Bug 792448
smoothstreaming: fix H264 CodecPrivateData parsing, need to skip NALU type when using gst_h264_parse_sps()
Last modified: 2018-11-03 14:17:23 UTC
Created attachment 366694 [details] smoothstreaming-fix-H264-CodecPrivateData-parsing-ne.patch gstmssmanifest.c use function _gst_mss_stream_add_h264_codec_data() to parse the H264CodecPrivateData. But gst_h264_video_calculate_framerate() might get an incorrect framerate, because SPS NALU type(0x67) was forgot to skip by using gst_h264_parse_sps() to do the parsing.
Created attachment 366698 [details] [review] 0002-smoothstreaming-fix-H264-CodecPrivateData-parsing-ne.patch Sorry, there was a typo in 00001-smoothstreaming-fix-H264-CodecPrivateData-parsing-ne.patch, 0x67 is only one byte. Please use 0002-smoothstreaming-fix-H264-CodecPrivateData-parsing-ne.patch instead.
For more detail, try to visit following page. gst-launch-1.0 playbin uri=http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.ism/Manifest When resolution change to 358x208, incorrect framerate will introduce "Internal data stream error". <QualityLevel Index="5" Bitrate="477000" FourCC="H264" MaxWidth="368" MaxHeight="208" CodecPrivateData="000000016764000DAC2CA505C6EFFC10000FED48303032000007D200017700C04003A3A0003A3A7F8C718080074740007474FF18E1DA1225160000000168E9093525" />
-- 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/648.