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
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel