Porting IPv6 UDP stream to 1.x

Stefan Ott gst at desire.ch
Wed Apr 6 00:59:19 UTC 2016


Hi

I am trying to port a gstreamer-0.10 pipeline that I have been using
for a while to gstreamer-1.x but I can't seem to figure out the proper
syntax.

The pipeline is for a stream sent via UDP (RTP) to the IPv6 all-nodes
local multicast address (ff02::1). The old pipeline starts with

gst-launch-0.10 udpsrc port=4001 multicast-group=ff02::1%eth0 caps="${CAPS}" ! [..]

If I try the same command with gstreamer 1.x it complains:

$ gst-launch-1.0 udpsrc port=4001 multicast-group=ff02::1%eth0 caps="${CAPS}" ! fakesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not get/set settings from/on resource.
Additional debug info:
/tmp/portage/media-libs/gst-plugins-good-1.6.3/work/gst-plugins-good-1.6.3/gst/udp/gstudpsrc.c(1119): gst_udpsrc_open (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
bind failed: Error binding to address: Invalid argument
Setting pipeline to NULL ...
Freeing pipeline ...


So far I have been trying with all the combinations of the
multicast-group, multicast-iface, address, and auto-multicast
arguments that I could think of but without much success.

Can anyone tell me what is the right syntax to do this with gstreamer
1.x?

-- 
Stefan Ott
http://www.ott.net/


More information about the gstreamer-devel mailing list