<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I am also trying to write GES example, but few things are not clear for me.<br><br>Here's my sample code.<br><br><a href="http://pastebin.com/PxgYwVfv">http://pastebin.com/PxgYwVfv</a><br><br></div>if i comment out line 59, 60, I can see a video with text overlay.<br></div>but, this script causes an error as it is.<br><br>GstMessageError, gerror=(GError)NULL, debug=(string)"qtdemux.c\(5304\):\ gst_qtdemux_loop\ \(\):\ /GESPipeline:gespipeline0/GESTimeline:gestimeline0/GESVideoTrack:gesvideotrack0/NleComposition:video_nlecomposition0/GstBin:current-bin/NleSource:nlesource2/GstBin:videosrcbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin3/GstQTDemux:qtdemux1:\012streaming\ stopped\,\ reason\ not-linked";<br><br>Could you advise me?<br><br><br></div><div>And one more question<br><br></div><div>At line 53, it was commented out, but if I set in-point as zero, GES pipeline is stalled.<br></div><div>What "in-point" exactly is? <br><br></div>Thanks,<br></div>Justin<br><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 11:11 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">> 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.<br>
<br>
</span>You can do both, I think it is simpler to use assets in many cases (so<br>
you can 'introspect' the elements before using them).<br>
<span class=""><br>
> Setting the auto-transition to true worked great. Can I change the type of transition?<br>
<br>
</span>Sure, you should just retrieve the transition and set properties on it.<br>
<br>
Regards,<br>
<br>
Thibault Saunier<br>
<div class=""><div class="h5"><br>
On Wed, Sep 2, 2015 at 2:40 PM, Kovamees, Carl <<a href="mailto:ckovamees@novetta.com">ckovamees@novetta.com</a>> wrote:<br>
> Thanks again for taking the time to explain.<br>
><br>
> I've read the GESAsset documentation a few times. Even so I believed<br>
> (incorrectly) that I should add Clips instead of assets. There wasn't really<br>
> a good question there, just some stumbling trying to comprehend the API.<br>
><br>
> Setting the auto-transition to true worked great. Can I change the type of<br>
> transition?<br>
><br>
><br>
> /Carl<br>
><br>
> On Mon, Aug 31, 2015 at 1:09 PM, Thibault Saunier <<a href="mailto:tsaunier@gnome.org">tsaunier@gnome.org</a>><br>
> wrote:<br>
>><br>
>> Hello Carl,<br>
>><br>
>> Did you have a look at the GESAsset documentation:<br>
>><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>
>><br>
>> On Mon, Aug 31, 2015 at 5:51 PM, Kovamees, Carl <<a href="mailto:ckovamees@novetta.com">ckovamees@novetta.com</a>><br>
>> wrote:<br>
>> > Thanks Thibault,<br>
>> ><br>
>> > I thought layers consisted of clips. Then I ran into assets and was<br>
>> > 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,<br>
>> > 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>
>> > *<br>
>> > GST_SECOND, GES_TRACK_TYPE_UNKNOWN);<br>
>> ><br>
>> > ges_layer_add_asset (layer,<br>
>> > 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>
>> >><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<br>
>> >> > 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>
>> >> ><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>
><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></div></div></div></div></div></div></div>