yet another udpsink question from a new user
Tomaz Canabrava
tcanabrava at kde.org
Fri Feb 12 18:31:47 UTC 2016
On Fri, Feb 12, 2016 at 4:03 PM, Andres Gonzalez <andres.agoralabs at gmail.com
> wrote:
> Hi,
>
> I am very new with GStreamer myself, so take what I say with a grain of
> salt, but I thought I would at least offer a few comments in hopes that it
> will help you get going.
>
> I have seen many examples of, and many have commented about the how using a
> queue improves performance. So I would insert a queue element after your
> appsrc and before the videoconvert.
>
> Since you are using rtpmp4vpay, it appears you want an RTP stream, so I
> would then also use rtpbin to manage the RTP streams.
>
> These references were very helpful to me:
>
> https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp
>
> especially
>
> https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp/server-rtpaux.c
>
> That example showed me how to use an extra bin to contain video elements
> separate from audio elements. But it also shows how to connect to the
> rtpbin
> to get the RTCP streams going. It also shows how to configure the udpsink
> element.
>
> Another suggestion is to use the appsrc/appsink API for these elements.
> This
> was confusing to me at first, but there is a separate API for these so I
> would use them when you can.
>
> Another thing that was helpful to me was getting my GstBin working so I
> could get error messages and track state changes. So make sure in your code
> you can receive any error messages. The way you implement that of course
> depends on your use case and application but the regular tutorials show how
> to do that.
>
> -Andres
>
Thanks all, I'm testing here and will post my findings.
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/yet-another-udpsink-question-from-a-new-user-tp4675824p4675827.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160212/a6df0435/attachment.html>
More information about the gstreamer-devel
mailing list