<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:10pt; font-weight:400; font-style:normal;">In data lunedì 25 maggio 2009 20:28:19, Tim-Philipp Müller ha scritto:<br>
: > On Sat, 2009-05-23 at 09:00 +0200, MailingList SVR wrote:<br>
> <br>
> > this pipeline works just fine so I decided to assemble it as python<br>
> > code, here is the relevant portion:<br>
> > <br>
> > self.pipeline = gst.Pipeline("rtsp-pipeline")<br>
> > source=gst.element_factory_make("rtspsrc","rtsp-source")<br>
> > source.set_property("location","rtsp://<rtspip>")<br>
> > source.set_property("latency",100)<br>
> > destination=gst.element_factory_make("udpsink")<br>
> > destination.set_property("host","<destinationhost>")<br>
> > destination.set_property("port",5000)<br>
> > self.pipeline.add(source,destination)<br>
> > gst.element_link_many(source,destination)<br>
> ><br>
> > but this code does't work, there is an error in linking source with<br>
> > destination:<br>
> ><br>
> > gst.LinkError: failed to link rtsp-source with udpsink0<br>
> <br>
> rtspsrc has 'dynamic pads' which will only appear once the data starts<br>
> flowing through the pipeline. You might find this helpful:<br>
> <br>
> http://www.jonobacon.org/2006/11/03/gstreamer-dynamic-pads-explained/<br>
> <br>
> (also the application development manual).<br>
> <br>
> FWIW, there's also gst.parse_launch(....)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Yes works fine with gst.parse_launch<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>thanks<br>
Nicola<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> <br>
> Cheers<br>
> -Tim<br>
> <br>
> <br>
> <br>
> ------------------------------------------------------------------------------<br>
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT<br>
> is a gathering of tech-side developers & brand creativity professionals. Meet<br>
> the minds behind Google Creative Lab, Visual Complexity, Processing, & <br>
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian<br>
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com <br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> gstreamer-devel@lists.sourceforge.net<br>
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>
> <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>