<div dir="ltr">Thanks so much! Works great. I am using 1.6.<div>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.<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 4:21 PM, Tim Müller <span dir="ltr"><<a href="mailto:tim@centricular.com" target="_blank">tim@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2015-10-12 at 15:49 -0700, Sepehr Laal wrote:<br>
<br>
Hi,<br>
<span class=""><br>
> I have been trying out different syntaxes since yesterday but I<br>
> cannot figure this out. Basically I want to set name and caps<br>
> properties of appsink in playbin pipeline and launch it via gst<br>
> -launch. For example (not working):<br>
><br>
> gst-launch playbin uri=/path/to/vid.mp4 video<br>
> -sink=appsink,name=appsink0,caps=video/x<br>
> -raw,width=3840,height=2160,format=RGB<br>
><br>
> How do I properly set the caps and name parameters for appsink in the<br>
> playbin above?<br>
<br>
</span>gst-launch-1.0 playbin uri=file:///path/to/video.mp4 video<br>
-sink="appsink name=appsink0 caps=video/x<br>
-raw,width=3840,height=2160,format=RGB"<br>
<br>
(To be sure, this will not work with older 0.10 versions, but with 1.x<br>
it should work.)<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888"> -Tim<br>
<br>
--<br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></font></span></blockquote></div>
</div></div></div>