GES about-to-finish

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

GES about-to-finish

Robson Ferreira
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Mathieu Duponchelle
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Robson Ferreira
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Mathieu Duponchelle
OK, but why would you need such an event?

On 05/23/2018 09:22 PM, Robson Ferreira wrote:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Mathieu Duponchelle · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Robson Ferreira
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]>:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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.




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Mathieu Duponchelle
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:
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]>:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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.




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Mathieu Duponchelle · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Robson Ferreira
Hmm... Ok. Thanks :)

2018-05-23 16:28 GMT-03:00 Mathieu Duponchelle <[hidden email]>:
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:
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]>:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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.




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Mathieu Duponchelle · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

David Ing
In reply to this post by Robson Ferreira
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 <[hidden email]> 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 <[hidden email]>:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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.




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GES about-to-finish

Thibault Saunier-4
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:
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 <[hidden email]> 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 <[hidden email]>:
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]>:
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?

--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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.




--
Marketing
Robson Ferreira 
Desenvolvedor Jr. 
[hidden email] 
+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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel