<div dir="ltr">Thanks again for taking the time to explain.<div><br></div><div>I've read the GESAsset documentation a few times. Even so I believed (incorrectly) that I should add Clips instead of assets. There wasn't really a good question there, just some stumbling trying to comprehend the API.</div><div><br></div><div>Setting the auto-transition to true worked great. Can I change the type of transition?</div><div><br></div><div><br></div><div>/Carl</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 1:09 PM, Thibault Saunier <span dir="ltr"><<a href="mailto:tsaunier@gnome.org" target="_blank">tsaunier@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Carl,<br>
<br>
Did you have a look at the GESAsset documentation:<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESAsset.html" rel="noreferrer" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/GESAsset.html</a><br>
it contains quite abit of information about the concept and what<br>
problem it solves.<br>
<br>
Most of the time you should just enable GESTimeline::auto-transition<br>
if you want to have transition in your timeline (instead of doing it<br>
by hand, and probably handle it wrong).<br>
<br>
I am not sure what you question is in that last mail? :)<br>
<br>
Regards,<br>
<br>
Thibault<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Aug 31, 2015 at 5:51 PM, Kovamees, Carl <<a href="mailto:ckovamees@novetta.com">ckovamees@novetta.com</a>> wrote:<br>
> Thanks Thibault,<br>
><br>
> I thought layers consisted of clips. Then I ran into assets and was trying<br>
> to understand the concept a little more. It seems like instead of adding<br>
> clips to the timeline, the samples I see now adds assets. Does it matter<br>
> which?<br>
><br>
> This is a part of a what I have working, but I haven't really seen asset<br>
> talked about to any extent.<br>
><br>
> ges_layer_add_asset (layer, GES_ASSET(ges_uri_clip_asset_request_sync(uri,<br>
> NULL)), 0, 0 * GST_SECOND, 6 * GST_SECOND, GES_TRACK_TYPE_UNKNOWN);<br>
> g_free (uri);<br>
><br>
> GESVideoTransition * transition = ges_video_transition_new();<br>
> GESAsset * transition = GES_ASSET(ges_asset_request(GES_TYPE_TRANSITION,<br>
> "crossfade", NULL));<br>
> ges_layer_add_asset (layer, GES_ASSET(transition), 4 * GST_SECOND, 0, 2 *<br>
> GST_SECOND, GES_TRACK_TYPE_UNKNOWN);<br>
><br>
> ges_layer_add_asset (layer, GES_ASSET(ges_uri_clip_asset_request_sync(uri2,<br>
> NULL)), 5 * GST_SECOND, 0, 5 * GST_SECOND, GES_TRACK_TYPE_UNKNOWN);<br>
> g_free (uri2);<br>
><br>
><br>
> /Carl<br>
><br>
> On Thu, Aug 27, 2015 at 5:19 PM, Thibault Saunier <<a href="mailto:tsaunier@gnome.org">tsaunier@gnome.org</a>><br>
> wrote:<br>
>><br>
>> Hello Carl,<br>
>><br>
>> The tests are not outdated but are not really good examples of how to<br>
>> use the API.<br>
>><br>
>> You can have a look at the ges-launch application but it is a bit<br>
>> big/complex these days.<br>
>><br>
>> The examples are outdated, we should really update them.<br>
>><br>
>> You can also have a look at little scripts such as<br>
>><br>
>> <a href="http://mathieuduponchelle.github.io/coding/2013/06/08/Fun-with-videomixer.html" rel="noreferrer" target="_blank">http://mathieuduponchelle.github.io/coding/2013/06/08/Fun-with-videomixer.html</a><br>
>> which might be helpful to understand.<br>
>><br>
>> Otherwize just ask any question you have :)<br>
>><br>
>> Regards,<br>
>><br>
>> Thibault Saunier<br>
>><br>
>> On Thu, Aug 27, 2015 at 10:42 PM, Carl Kovamees <<a href="mailto:ckovamees@novetta.com">ckovamees@novetta.com</a>><br>
>> wrote:<br>
>> > What's the best place for GES samples/tests to learn from? I looked in<br>
>> > gstreamer/gst-editing-services/tests and it seems a little outdated.<br>
>> ><br>
>> > /Carl<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > View this message in context:<br>
>> > <a href="http://gstreamer-devel.966125.n4.nabble.com/GES-samples-tests-tp4673376.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/GES-samples-tests-tp4673376.html</a><br>
>> > Sent from the GStreamer-devel mailing list archive at Nabble.com.<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><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><br>
><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><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><br>
</div></div></blockquote></div><br></div>