GES 1.14 -- How to achieve crossfade

David Ing ding at panopto.com
Wed Feb 20 21:44:00 UTC 2019


Thibault, you said "Transitions happen between 2 overlapping clips".  Do
you mean two clips within the same layer?


Are you saying that this will achieve a 2-second crossfade from a --> b?

Layer 1:

GESSourceClip a

starts at 0 seconds
ends at 11 seconds

GESTransitionClip c

starts at 9 seconds

ends at 11 seconds

GESSourceClip b

starts at 9 seconds
ends at 20 seconds


On Wed, Feb 20, 2019 at 1:37 PM Thibault Saunier <saunierthibault at gmail.com>
wrote:

> Hello David,
>
> Transitions happen between 2 overlapping clips so you need to make sure
> clips overlap at the point where you add them.
>
> Alternatively, you can use the GESTimeline::auto-transition property to
> automatically create transitions when 2 clips overlap.
>
> Regards,
>
> Thibault
>
> On Wed, Feb 20, 2019, 17:47 David Ing <ding at panopto.com> wrote:
>
>> I am struggling to find a clean example for how to achieve a crossfade.
>>
>> I have a layer which contains two clips of type GESSourceClip:
>>
>> GESSourceClip a
>>
>> starts at 0 seconds
>> ends at 9.999999999 seconds
>>
>> GESSourceClip b
>>
>> starts at 10 seconds
>> ends at 20 seconds
>>
>>
>> Now I want a 2 second crossfade from "a" to "b" ... but how?
>>
>> Do I create a GESTransitionClip and insert it into the layer between "a"
>> and "b"?
>>
>> What about the timings.  Do I keep the timings for "a" and "b" unchanged,
>> but set the transition clip as follows?
>>
>>    - starts at 9 seconds
>>    - ends at 11 seconds
>>
>> Is it okay for the GESTransitionClip to overlap with GESSourceClip with
>> respect to time?
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190220/54dc84eb/attachment.html>


More information about the gstreamer-devel mailing list