Unhandled error with rtpjpegdepay and rtspserver

glenne glenne at engel.org
Fri Nov 3 23:50:34 UTC 2017

When I try to use jpeg with the gstreamer rtspserver, I get an error:

    Progress: (open) Retrieving media info
    ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unhandled error
    Additional debug info:
    gstrtspsrc.c(5625): gst_rtspsrc_send ():
    Service Unavailable (503)
    ERROR: pipeline doesn't want to preroll.

RTSP Tx: ksvideosrc device-index=0 ! videoconvert ! jpegenc ! rtpjpegpay
Rx: gst-launch-1.0.exe rtspsrc location=rtsp:// latency=0
! rtpjpegdepay ! jpegdec ! autovideosink

This works without using rtspserver:
Tx:  gst-launch-1.0.exe ksvideosrc device-index=0 ! videoconvert ! jpegenc !
rtpjpegpay ! udpsink host= port=5000
Rx: gst-launch-1.0.exe udpsrc port=5000 !
application/x-rtp,encoding-name=JPEG ! rtpjpegdepay ! jpegdec !

I can sucessfully encode and decode an h.264 encoded stream via these
pipelines so the rtspserver is working OK:
TX: videoconvert ! x264enc  bitrate=1000  ! video/x-h264,profile=baseline !
queue ! rtph264pay pt=96
RX: rtspsrc location=rtsp:// latency=0 ! rtph264depay !
avdec_h264 ! videoconvert ! autovideosink

Any suggestions on how to use and/or debug rtpjpegpay/rtpjpegdepay with an
rtspserver would be greatly appreciated.

Sent from: http://gstreamer-devel.966125.n4.nabble.com/

More information about the gstreamer-devel mailing list