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 ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
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://10.0.1.15:8554/test 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=127.0.0.1 port=5000
Rx: gst-launch-1.0.exe udpsrc port=5000 !
application/x-rtp,encoding-name=JPEG ! rtpjpegdepay ! jpegdec !
autovideosink
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://10.0.1.15:8554/test 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/_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel