sockfd missing for udpsrc in 1.1.90
Tim-Philipp Müller
t.i.m at zen.co.uk
Mon Sep 23 05:26:25 PDT 2013
On Mon, 2013-09-23 at 13:57 +0200, Peter Maersk-Moller wrote:
Hi,
> However gst-launch may be considered by its developers as mainly a
> debugging tool, however I'm sure it is used as an important
> application tool by thousands if not millions every day. It's highly
> scriptable and can be just a single command line as opposed to a
> python script with tens if not more likely hundreds of lines for the
> same task and of course the task of learning Python in addition to the
> learning gstreamers constraints, capabilities and formats.
You can use
pipeline = gst_parse_launch ("...", ..)
in code or from a script instead of calling gst-launch-1.0. If you use
gst-launch-1.0 for anything other than debugging, chances are some kind
of behavioural change will break you application sooner or later.
Cheers
-Tim
>
>
> On Mon, Sep 23, 2013 at 1:48 PM, Sebastian Dröge
> <slomo at circular-chaos.org> wrote:
> On Mo, 2013-09-23 at 13:37 +0200, Peter Maersk-Moller wrote:
> > Hi Sebastian.
> >
> >
> > Thanks for quick response. How can I (here xinetd) pass an
> already
> > opened udp socket to gst-launch using socket properties
> whatever that
> > is?
>
>
> You can't, but then gst-launch is only a debugging tool. You
> should not
> use it for your application, but instead write code in C or
> Python for
> example.
>
> There you could call for example:
> GSocket * s = g_socket_new_from_fd(0, NULL);
> g_object_set (udpsrc, "socket", s, NULL);
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list