GES samples/tests?

Kovamees, Carl ckovamees at novetta.com
Mon Aug 31 08:51:07 PDT 2015


Thanks Thibault,

I thought layers consisted of clips. Then I ran into assets and was trying
to understand the concept a little more. It seems like instead of adding
clips to the timeline, the samples I see now adds assets. Does it matter
which?

This is a part of a what I have working, but I haven't really seen asset
talked about to any extent.

ges_layer_add_asset (layer, GES_ASSET(ges_uri_clip_asset_request_sync(uri,
NULL)), 0, 0 * GST_SECOND, 6 * GST_SECOND, GES_TRACK_TYPE_UNKNOWN);
g_free (uri);

GESVideoTransition * transition = ges_video_transition_new();
GESAsset * transition = GES_ASSET(ges_asset_request(GES_TYPE_TRANSITION,
"crossfade", NULL));
ges_layer_add_asset (layer, GES_ASSET(transition), 4 * GST_SECOND, 0, 2 *
GST_SECOND, GES_TRACK_TYPE_UNKNOWN);

ges_layer_add_asset (layer, GES_ASSET(ges_uri_clip_asset_request_sync(uri2,
NULL)), 5 * GST_SECOND, 0, 5 * GST_SECOND, GES_TRACK_TYPE_UNKNOWN);
g_free (uri2);


/Carl

On Thu, Aug 27, 2015 at 5:19 PM, Thibault Saunier <tsaunier at gnome.org>
wrote:

> Hello Carl,
>
> The tests are not outdated but are not really good examples of how to
> use the API.
>
> You can have a look at the ges-launch application but it is a bit
> big/complex these days.
>
> The examples are outdated, we should really update them.
>
> You can also have a look at little scripts such as
>
> http://mathieuduponchelle.github.io/coding/2013/06/08/Fun-with-videomixer.html
> which might be helpful to understand.
>
> Otherwize just ask any question you have :)
>
> Regards,
>
> Thibault Saunier
>
> On Thu, Aug 27, 2015 at 10:42 PM, Carl Kovamees <ckovamees at novetta.com>
> wrote:
> > What's the best place for GES samples/tests to learn from? I looked in
> > gstreamer/gst-editing-services/tests and it seems a little outdated.
> >
> > /Carl
> >
> >
> >
> > --
> > View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/GES-samples-tests-tp4673376.html
> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> 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/20150831/9b0a43b5/attachment.html>


More information about the gstreamer-devel mailing list