[gstreamer-bugs] [Bug 503288] New: rtph264pay does not split multiple NAL units in incoming buffer

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Dec 12 08:50:16 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=503288

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: rtph264pay does not split multiple NAL units in incoming
                    buffer
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: webregbox at yahoo.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.17/2.18
   GNOME milestone: Unspecified


Please describe the problem:
When the incoming GstBuffer (h264 byte stream) contains multiple NAL units, the
payloader only scans for the first NAL start code and packages the entire
buffer for transmission as a single RTP frame. This can cause interoperability
problem at the receiving end if the client does not support H264 byte stream
decoding.

Steps to reproduce:
1. gst-launch videotestsrc ! x264enc byte-stream=1 bitrate=500 key-int-max=50 !
rtph264pay ! filesink location=/tmp/x264.rtp
2. Examine the x264.rtp. Some of the NAL's are embedded in the same RTP frame 

Actual results:
If the payloader correctly splits all the NAL units, each NAL should have its
own RTP frame. This is not so in the file recorded by the above pipeline.
x264enc generates SPS/PPS NALs at each IDR interval and they are packaged in
the same GstBuffer (3 NALs in one GstBuffer - SPS, PPS and the IDR I slice)

Expected results:
The payloader should split the GstBuffer at the NAL start code boundary and
send each NAL in its own RTP frame.

Does this happen every time?
No.

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=503288.




More information about the Gstreamer-bugs mailing list