Set object property in gst-launch

Tim-Philipp Müller t.i.m at zen.co.uk
Wed May 29 15:22:59 PDT 2013


On Wed, 2013-05-29 at 15:47 -0600, Brendan Long wrote:

> Is it possible to set a property to an object in gst-launch? In my case,
> I want to set a particular sink for playbin. I tried this, but it
> doesn't work:
> 
> > gst-git gst-launch-1.0 aasink name=sink playbin
> > uri=file:///blah/blah/sintel_trailer-480p.ogv video-sink=sink.
> > 0:00:00.042929757  4294      0x1eee100 ERROR           GST_PIPELINE
> > ./grammar.y:695:priv_gst_parse_yyparse: specified empty bin "bin", not
> > allowed
> > 0:00:00.043074469  4294      0x1eee100 ERROR           GST_PIPELINE
> > ./grammar.y:940:priv_gst_parse_launch: Unrecoverable syntax error
> > while parsing pipeline bin.( sink. )
> > 0:00:00.043128945  4294      0x1eee100 ERROR           GST_PIPELINE
> > ./grammar.y:472:gst_parse_element_set: could not set property
> > "video-sink" in element "playbin0" to "sink."
> > WARNING: erroneous pipeline: could not set property "video-sink" in
> > element "playbin0" to "sink."

gst-launch-1.0 playbin uri=....  video-sink=aasink

should work (same for -0.10 + playbin2) with sufficiently recent
versions of GStreamer.

Cheers
 -Tim



More information about the gstreamer-devel mailing list