how to set array type property from command line

Yogesh Tyagi yogesh.bit2006 at gmail.com
Wed Mar 19 05:32:57 PDT 2014


Hi,

I was trying to set array type propery from gst-launch in my plugin:

gst-launch filesrc location=history.ts  ! demux name=d ! mpeg2_viddec
! vidsink 'crop-window=[10,10]' d. ! audio_sink

"crop-window" takes two values but I am getting following error:

WARNING: erroneous pipeline: could not set property "crop-window" in
element "gstvidsink0" to "[10,10]"

What is the correct way to set array type property from command line?

Thanks,
Yogesh


More information about the gstreamer-devel mailing list