GES: Questions related to the new "gessrc" element
Philippe Normand
phil at base-art.net
Fri Aug 2 09:57:57 UTC 2019
On Thu, 2019-08-01 at 09:00 -0700, David Ing wrote:
> I am famliar with the GES Launch command which loads a timeline file
> in
> xges format. The syntax is something like this:
>
> ges-launch-1.0 --load=MY_FILE.xges
>
>
> My first question is:
>
> Now I am wondering if there is a similar kind of command using GST
> Launch (
> *gst*-launch-1.0). Specifically I am wondering if this is now
> possible via
> the new "gessrc" element.
>
>
> My second question is:
>
> I am wondering how the "gessrc" element is supposed to be used.
>
> The reason I ask is: I have some C++ code which builds a GstPipeline
> which
> contains a GESTimeline. Now I wonder if it is better to put a GESSrc
> inside of the GstPipeline (where the GESSrc contains the
> GESTimeline).
gessrc seems to fit with your use-case indeed.
Set the playbin uri to ges:// and in the source-setup signal handler
set the timeline property on the element, as demonstrated in this C
example:
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/blob/master/examples/c/gessrc.c
Philippe
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list