(ConsolePipelineTester.exe:6464): GStreamer-CRITICAL **: UDPSRC AUDIO PIPELINE: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed

Tim Müller tim at centricular.com
Thu Aug 25 15:28:47 UTC 2016


On Thu, 2016-08-25 at 08:02 -0700, mapcol wrote:

Hi,

> // patterns
> const char* pattern_1 = "udpsrc port=5521 ! \"application/x-rtp,
> media=(string)audio, payload=(int)96, clock-rate=(int)90000,
> encoding-name=(string)L16\" !  rtpjitterbuffer ! rtpL16depay !
> decodebin !
> audioconvert ! audioresample ! autoaudiosink";
> 
> ...
> But I get the following error on the conosle:
> 
> *(ConsolePipelineTester.exe:6464): GStreamer-CRITICAL **:
> gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
> Pipeline correct*

Does this pipeline work from gst-launch-1.0.exe?

I suspect what happens is that this is gst_parse_launch() reporting a
syntax error in a rather confusing way.

The \"...\" bits surrounding the rtp caps are usually only needed when
using a shell to make sure it's all one single argument, but it's not
needed if you have a pipeline string.

Try removing these quotes from the string, and get rid of the spaces
after the commas.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list