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?
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]>:
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
OK, but why would you need such an event?
On 05/23/2018 09:22 PM, Robson Ferreira
wrote:
--
Mathieu Duponchelle · https://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Robson Ferreira
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 <[hidden email]>:
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
What do these appropriate functions need to do? In playbin,
about-to-finish is
usually used to queue the next uri, but you shouldn't need to do that with a timeline? Anyway, you should be able to determine when a clip is about to finish using the position of the pipeline and the start of your clips. On 05/23/2018 09:24 PM, Robson Ferreira
wrote:
--
Mathieu Duponchelle · https://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hmm... Ok. Thanks :) 2018-05-23 16:28 GMT-03:00 Mathieu Duponchelle <[hidden email]>:
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Robson Ferreira
You can always monitor the position and duration of the GESTimeline using these functions:
Then you can call a function when position approaches duration (within some tolerance). On Wed, May 23, 2018 at 12:24 PM, Robson Ferreira <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
You could also check the nlecomposition `NleCompositionUpdateStart` custom message on the bus check `reason == EOS` on the structure, in that case it means a clip (well technically a stack in NLE terms) just ended and the next one is being prepared to start. Note that you will get one message per track. Regards, Thibault On Wed, May 23, 2018 at 9:34 PM, David Ing <[hidden email]> wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |