[Bug 705333] h264parse : broken bytestream/nal => avc/au conversion

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Aug 3 03:07:54 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=705333
  GStreamer | gst-libav | git

--- Comment #5 from Edward Hervey <bilboed at gmail.com> 2013-08-03 10:06:17 UTC ---
And it's a bit trickier in fact

The NALU received start with
AU_DELIMITER / SPS / PPS / SEI / Slice....

And then repeats of:
AU_DELIMITER / PPS / SEI / Slice .... 

And then back to the first sequence (with SPS and PPS)

So essentially the PPS is constantly sent before each frame ... and it might
change.

When that PPS changes, we send caps with new codec_data ... which end up
resetting the decoder ...

The problem is that the decoder will be starting decoding again from the middle
of a group of pictures (i.e. a non-reference Slice) and output garbage.

Maybe we should only update the codec_data is the *SPS* changed (and not the
PPS which will be sent anyway in stream).

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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