gst-rtsp-server get/set pad from/to factory
Alexis Gougerot
agougerot at linkcareservices.com
Thu Feb 16 07:39:33 PST 2012
Hi,
I'm running a rtsp server to proxy some rtsp feed for other devices. Thing
is I have to write to the disk at the same time but in chunks of 15mn.
It's quite a problem for me because I do not want to have multiple
connections on the source device (an ip cam). I'd like to make one
connection to my input , and serve the "handle" to my different
pipelines/functions.
With tee, I could filesink and stream at the same time but I can't slice my
file like I'd like to.
I figured out I could use fdsink or appsink , do my dirty work , and get
the content back with appsrc or fdsrc. But then I don't know how to pass
objects instead of a raw gst-launch string to MediaFactory.set_launch().
And inversely, I can't find how to extract the rtspsrc pad from the same
MediaFactory instance. I couldn't find any MediaFactory.get_element_by_name
(for example)...
So, to recap:
- How to extract a gstElement from a MediaFactory ?
- How to add a gstElement instead of a string to a MediaFactory ?
- When the multifilesink size-limit property will (or not) be included in
the framework as it would make my life so much easier on this one ?
I'm using GStreamer 0.10.35, gst-rtsp-server 0.10.8.
Thanks for the attention,
--
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120216/c7054cff/attachment-0001.htm>
More information about the gstreamer-devel
mailing list