[gstreamer-bugs] [Bug 564437] New: rtpjpegdepay was unable to handle frame dimensions greater thant 2040

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 13 18:59:40 PST 2008


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=564437

  GStreamer | gst-plugins-good | Ver: HEAD CVS
           Summary: rtpjpegdepay was unable to handle frame dimensions
                    greater thant 2040
           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: luc.deschenaux at freesurf.ch
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.23/2.24
   GNOME milestone: Unspecified


Please describe the problem:
The frame dimensions are coded on 8 bits in the rtp payload, so the maximum
frame dimension was 255*8=2040.

To overcome this, the frame dimensions, when > 2040, are passed as SDP media
arguments, "x-dimensions" or "x-width" and "x-height", like for live555
protocol, and the rtp payload dimension is set to 0. 

rtspsrc must put in the caps those attributes and the jpeg depayloader must use
them when the rtp payload dimension is set to 0.



Steps to reproduce:
1. set your camera to 2048x1536 resolution or any dimension > 2040
2. gst-launch rtspsrc location=rtsp://cam ! rtpjpegdepay ! jpegdec !
autovideosink
3. 


Actual results:
jpegdec complains about NULL frame size

Expected results:
display frames up to maximum jpeg frame dimensions (has to be fixed in
gstjpegdec.c where it is told MAX_WIDTH=4096, which is false)

Does this happen every time?
yes

Other information:
other sdp media or session attributes beginning with "x-", or registered
attributes from http://www.iana.org/assignments/sdp-parameters could also be
copied in caps, maybe with a prefix like 'a-' for registered ones to avoid
collision with caps attributes names


-- 
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=564437.




More information about the gstreamer-bugs mailing list