gst-rtsp-server get/set pad from/to factory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gst-rtsp-server get/set pad from/to factory

Alexis Gougerot
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel