GSTREAMER TUTORIAL 5 unable to build pipeline: syntax error

Sebastian Dröge sebastian at centricular.com
Mon Jun 27 08:41:23 UTC 2016


On Sa, 2016-06-25 at 03:31 -0700, Tooght wrote:
> Hi friend.
> I have problem.I make to raspberry pi with android  project. I trying
> gstreamer tutorial 5 but I get the "unable to build pipeline: syntax
> erro"
> error.
> 
> tutorial-5.c
> 
> data->pipeline = gst_parse_launch("udpsrc port=8554
> caps=\"application/x-rtp, media=video, clock-rate=90000, encoding-
> name=H264,
> sprop-parameter-
> sets=\\\"J2QAFKwrQLj/LwDxImo\\\\=\\\\,KO4fLA\\\\=\\\\=\\\"\",
> payload=96\" ! rtph264depay ! avdec_h264 ! videoconvert !
> autovideosink
> sync=false", &error);

The problem here is the sprop-parameter-sets caps field. Such fields
often fail to be parsed in gst_parse_launch() unfortunately.

Try setting the caps explicitly on the udpsrc element via
g_object_set() and gst_caps_from_string() instead for the time being.

-- 

Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160627/46bf8fbc/attachment.sig>


More information about the gstreamer-devel mailing list