gst-launch "properties of properties" syntax
Tim Müller
tim at centricular.com
Mon Oct 12 16:21:07 PDT 2015
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
More information about the gstreamer-devel
mailing list