[Bug 794837] cannot pass arguments to effects with ges-launch-1.0
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 30 16:40:20 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=794837
--- Comment #2 from Antonio Ospite <ao2 at ao2.it> ---
(In reply to Thibault Saunier from comment #1)
> This should rather have gone into the mailling list than a bug report as it
> is a question.
>
Maybe but I still feel that "something" is not quite how it should be :)
> What you want to use is:
>
> ges-launch-1.0 +test-clip smpte s=0 d=2 set-alpha 0.5 +test-clip blink
> s=0 d=2 +effect videocrop set-top 10
>
> Arguably your line should work but our parser is not smart enough and this
> command his how we imagine the feature.
>
What confused me was the fact that the help text says "The description of the
effect bin with a gst-launch-style pipeline description." The gst-launch-style
reference is maybe too optimistic for the time being.
And after my mind was set on "gst-launch-style" I overlooked the last line
which actually explains how to set properties.
>
> > Also the "d" property seems to be a duplicate and the "e" property seems broken too.
>
> What do you mean by that, the doc states:
>
> * d=, bin-description The description of the effect bin with a
> gst-launch-style pipeline description.
> * e=, element-name The name of the element to apply the effect on.
>
> So, `e=` is used to specify on what element (GESTimelineElement ie. clip
> most probably) the and `d=` is the bin description.
The bin description is already the first argument, so specifying "d" too gives
error:
$ ges-launch-1.0 +test-clip smpte s=0 d=2 +effect videocrop d=videocrop
set-bottom 50
ERROR: Could not create timeline because: Using short and long name at the same
time for property: bin-description, which one should I use?!
Maybe +effect should not have an explicit "d" property just like +clip does not
have an explicit property for the uri.
And about the "e" property, is it intended to be used like the following?
$ ges-launch-1.0 +test-clip smpte s=0 d=2 name=test0 +test-clip blink s=0 d=2
set-alpha 0.6 +effect videocrop e=test0 set-bottom 50
ERROR: Could not create timeline because: Unknown property in --effect:
element-name
Thanks,
Antonio
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list