UDP Streaming in SDK

Emmett Palaima epalaima at berklee.edu
Mon Oct 24 22:39:23 UTC 2016


Hi, I'm trying to use Gstreamer SDK to recieve a UDP stream, I have it
working via the command line, but I can't seem to find any documentation on
how to use it within the SDK.

I assume it would just be a matter of setting the source correctly, I was
looking for a way to change:

data.source = gst_element_factory_make ("uridecodebin", "source");

and

g_object_set (data.source, "uri", "
http://docs.gstreamer.com/media/sintel_trailer-480p.webm", NULL);

Is this the correct way of doing this? Thanks!

Command Line Mac:
gst-launch-1.0 udpsrc port=5001 ! application/x-rtp, payload=96 !
rtpjitterbuffer ! rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false
text-overlay=false

Command Line Raspberry Pi:
raspivid -t 999999 -b 2000000 -o - | gst-launch-1.0 -e -vvv fdsrc !
h264parse ! rtph264pay pt=96 config-interval=5 ! udpsink host=(MAC's IP
Address) port=5000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161024/5818cd33/attachment.html>


More information about the gstreamer-devel mailing list