gst-launch "properties of properties" syntax

Sepehr Laal sepehr.laal at heliosinteractive.com
Mon Oct 12 16:24:41 PDT 2015


Thanks so much! Works great. I am using 1.6.
For some reason I failed to read the part in documentation where it says
properties can be only of types "integer, float, boolean, and string". I
was trying to construct a GstElement in place and pass it to video-sink
property of playbin.

On Mon, Oct 12, 2015 at 4:21 PM, Tim Müller <tim at centricular.com> wrote:

> On Mon, 2015-10-12 at 15:49 -0700, Sepehr Laal wrote:
>
> Hi,
>
> > I have been trying out different syntaxes since yesterday but I
> > cannot figure this out. Basically I want to set name and caps
> > properties of appsink in playbin pipeline and launch it via gst
> > -launch. For example (not working):
> >
> > gst-launch playbin uri=/path/to/vid.mp4 video
> > -sink=appsink,name=appsink0,caps=video/x
> > -raw,width=3840,height=2160,format=RGB
> >
> > How do I properly set the caps and name parameters for appsink in the
> > playbin above?
>
> gst-launch-1.0 playbin uri=file:///path/to/video.mp4 video
> -sink="appsink name=appsink0 caps=video/x
> -raw,width=3840,height=2160,format=RGB"
>
> (To be sure, this will not work with older 0.10 versions, but with 1.x
> it should work.)
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151012/a6c80756/attachment-0001.html>


More information about the gstreamer-devel mailing list