GES about-to-finish

David Ing ding at panopto.com
Wed May 23 19:34:34 UTC 2018


You can always monitor the position and duration of the GESTimeline using
these functions:

   - gst_element_query_position
   - gst_element_query_duration

Then you can call a function when position approaches duration (within some
tolerance).

On Wed, May 23, 2018 at 12:24 PM, Robson Ferreira <robsonferreira at snews.tv>
wrote:

> and i need to know when a clip is about to end to execute the appropriate
> functions
>
> 2018-05-23 16:22 GMT-03:00 Robson Ferreira <robsonferreira at snews.tv>:
>
>> i`m trying to make a player and use the features of GES, like the clip
>> inpoint, duration to make a trimm, and make a playlist using the timeline
>> and layer
>>
>> 2018-05-23 16:06 GMT-03:00 Mathieu Duponchelle <mathieu at centricular.com>:
>>
>>> Not easily no, can you describe your use case?
>>>
>>> --
>>> Mathieu Duponchelle ยท https://www.centricular.com
>>>
>>>
>>> On 05/23/2018 09:04 PM, Robson Ferreira wrote:
>>>
>>> Is there a way to receive a event when a clip in a layer is about to
>>> finish? just like the about-to-finish signal on playbin?
>>>
>>> --
>>> [image: Marketing] <http://snews.tv/>
>>> *Robson Ferreira*
>>> Desenvolvedor Jr.
>>> robsonferreira at snews.tv
>>> +55 61 3044.7878
>>> snews.tv
>>>
>>> This message is intended exclusively for its addressee and may contain
>>> information that is confidential and protected by a professional privilege
>>> or whose disclosure is prohibited by law. Unauthorized use of such
>>> information is prohibited and subject to applicable penalties.
>>>
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://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
>>>
>>>
>>
>>
>> --
>> [image: Marketing] <http://snews.tv/>
>> *Robson Ferreira*
>> Desenvolvedor Jr.
>> robsonferreira at snews.tv
>> +55 61 3044.7878
>> snews.tv
>>
>> This message is intended exclusively for its addressee and may contain
>> information that is confidential and protected by a professional privilege
>> or whose disclosure is prohibited by law. Unauthorized use of such
>> information is prohibited and subject to applicable penalties.
>>
>
>
>
> --
> [image: Marketing] <http://snews.tv/>
> *Robson Ferreira*
> Desenvolvedor Jr.
> robsonferreira at snews.tv
> +55 61 3044.7878
> snews.tv
>
> This message is intended exclusively for its addressee and may contain
> information that is confidential and protected by a professional privilege
> or whose disclosure is prohibited by law. Unauthorized use of such
> information is prohibited and subject to applicable penalties.
>
> _______________________________________________
> 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/20180523/8d38687e/attachment-0001.html>


More information about the gstreamer-devel mailing list