<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, <br>
rtspsrc source pads are "sometimes" pad.<br>
<br>
Therefore you have to connect a GstElement : "pad-added" signal on
rtspsrc, and link downstream in call back.<br>
<br>
Aurelien<br>
<br>
José Luis a écrit :
<blockquote
cite="mid:2de9bf90909250029j979f747q12d38b97000df7e1@mail.gmail.com"
type="cite">Hi!<br>
<br>
This is my first mail to this list, and I'm using Gstreamer directly on
C only few days ago.<br>
<br>
I'm trying to use the rtspsrc element to show a RTSP stream from a IP
camera. On my first try, I used gst-launch tool to see that it's
possible to construct this pipeline:<br>
<br>
$ gst-launch-0.10 rtspsrc location="uri_of_my_cam" ! decodebin !
xvimagesink<br>
<br>
and it works fine! But, when I tried the same inside a program... I
create the 3 elements, add it to the pipeline and then I linked it
between.<br>
<br>
It hink my problem was the use of decodebin, but I read some examples
on the documentation and I'm using it in the right way.<br>
<br>
When I output debug messages from the bus, I saw something strange:
gstreamer notify me that rtspsrc is not properly connected to
decodebin. I read some documentation about rtspsrc and I found that
it's a GstBin, not a simply GstElement.<br>
<br>
Inside the rtspsrc bin would be a source pad, but I'm not sure how can
I use it. Is there any signal that notifies me about the creation of
the source pad? Have I ask to rtspsrc for a source pad?<br>
<br>
I had searched on Google for use-examples of rtspsrc, but I can't find
anything related.<br>
<br>
Actually, I'm using "playbin" to play the RTSP camera, but I want to
learn this kind of things!<br>
<br>
Thanks for your attention and excuse me, I'm not very good at English.<br>
<pre wrap="">
<hr size="4" width="90%">
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/devconf">http://p.sf.net/sfu/devconf</a></pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>