[gst-devel] mjpeg rtpjpegpay udpsink

Mailing List SVR lists at svrinformatica.it
Wed Feb 17 17:56:25 CET 2010


Hi,

I have an mjpeg stream, I can use this pipeline to send it as rtp over udp:

gst-launch -v souphttpsrc location=http://192.168.2.17/mjpeg.cgi ! 
multipartdemux ! rtpjpegpay ! udpsink port=1234 host=127.0.0.1

here are the caps:

/GstPipeline:pipeline0/GstRtpJPEGPay:rtpjpegpay0.GstPad:sink: caps = 
image/jpeg
/GstPipeline:pipeline0/GstUDPSink:udpsink0.GstPad:sink: caps = application/x-
rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, 
payload=(int)96, ssrc=(guint)180429896, clock-base=(guint)2309346727, seqnum-
base=(guint)56240

and I can use this pipeline to see the video:

gst-launch -v playbin uri=file:///home/nicola/stream.sdp

where stream.sdp is

v=0
c=IN IP4 127.0.0.1
t=0
m=video 1234 RTP/AVP 96
a=rtpmap:96 JPEG/90000

but the same sdp doesn't work in vlc, it seems good looking at the caps but 
surely something is missing,

any hints?

thanks
Nicola








More information about the gstreamer-devel mailing list