playback over timeline

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

playback over timeline

Nelu
Hello,
  I use GESTimeline where I put a section of a video clip next to another
section of the same video. When I playback, when switching from one sequence
to another there is always a hesitation both in video playback but
especially in audio playback. Is it possible to use a buffering mechanism to
make playback smooth, without interruptions? Does anyone have any idea how
this can be done?
Thanks,
Nelu



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

Re: playback over timeline

Thibault Saunier-4
Hello,

What version do you use? Buffering is pretty big by default theses days. I would suggest you use 1.16 and if you still see the issue you can increase the queues after the tracks (we should probably add a way to simplify that but there is none so far).

Regards

- Thibault

Le mer. 15 juil. 2020 à 09:49, Nelu <[hidden email]> a écrit :
Hello,
  I use GESTimeline where I put a section of a video clip next to another
section of the same video. When I playback, when switching from one sequence
to another there is always a hesitation both in video playback but
especially in audio playback. Is it possible to use a buffering mechanism to
make playback smooth, without interruptions? Does anyone have any idea how
this can be done?
Thanks,
Nelu



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
Hi Thibault,
thank you for your answer.
I'm using GStreamer 1.16.1, is it recent enough ?
Any idea how can I "increase the queues after the tracks" ?  
just tell me what part of the documentation to study...

Thank you
Nelu




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

Re: playback over timeline

Thibault Saunier-4
Hello,

Yes 1.16.X is recent enough, I doubt the problem is the queue size tbh. Could you dot the pipeline[0] please?

There is no simple way to get access to the queues right now, you would need to recurse in the pipeline to find the queue elements and set their properties.

- Thibault


On Mon, Jul 20, 2020 at 7:50 AM Nelu <[hidden email]> wrote:
Hi Thibault,
thank you for your answer.
I'm using GStreamer 1.16.1, is it recent enough ?
Any idea how can I "increase the queues after the tracks" ? 
just tell me what part of the documentation to study...

Thank you
Nelu




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
Thank you Thibault,
there you have the .dot file.
Thanks,
Nelu



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

Re: playback over timeline

Thibault Saunier-4
Hi,

Looks like to forgot to attach the file :-)

- Thibault

On Tue, Jul 21, 2020 at 5:34 AM Nelu <[hidden email]> wrote:
Thank you Thibault,
there you have the .dot file.
Thanks,
Nelu



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
I'm sorry, there you have it:
38_297230000_player_PAUSED_PAUSED_last.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/38_297230000_player_PAUSED_PAUSED_last.dot>  



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

Re: playback over timeline

Thibault Saunier-4
Indeed the queues there haven't been tweaked for some reason,  this[0] is where we do it. Could you get a `GST_DEBUG=*ges*:5` log to see if it gives us any clue about why?

- Thibault



On Wed, Jul 22, 2020 at 9:21 AM Nelu <[hidden email]> wrote:
I'm sorry, there you have it:
38_297230000_player_PAUSED_PAUSED_last.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/38_297230000_player_PAUSED_PAUSED_last.dot



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
When run the application with : `GST_DEBUG=*ges*:5` I got this log .
GstLog.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/GstLog.txt>  
AppGstLog.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/AppGstLog.txt>  

GstLog.txt contains only debug from GStreamer
AppGstLog.txt contains also debug information from application, I was
thinking: maybe will be easy to identify which part of the code generates
problems...

Thanks you again Thibault



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

Re: playback over timeline

Nelu
Hi Thibault,

I'm sorry to bother you, did you have time to look over the files I sent to
you?

Thank you
Nelu



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

Re: playback over timeline

Thibault Saunier-4
Hello Nelu,

I checked quickly the logs and I can see that the code path where we set queues size isn't entered, I have to say I don't know why, I have never seen that issue before, and I would need to be able to reproduce to investigate, you can ping me on IRC so I can help you investigate yourself.

- Thibault

On Thu, Aug 6, 2020 at 5:21 AM Nelu <[hidden email]> wrote:
Hi Thibault,

I'm sorry to bother you, did you have time to look over the files I sent to
you?

Thank you
Nelu



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
In reply to this post by Thibault Saunier-4
Hi Thibault,

I still have problems with video play: it hesitates when switching from one
clip to another or with a few frames before the end of the video. Can you
please check if play buffering is enabled?

player_PAUSED_PAUSED.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/player_PAUSED_PAUSED.dot>  
player_PAUSED_PAUSED.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/player_PAUSED_PAUSED.dot>  


Thanks,
Nelu




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

Re: playback over timeline

Thibault Saunier-4
Hello,

It looks like it doesn't no.

- Thibault

On Mon, Dec 7, 2020 at 9:05 AM Nelu <[hidden email]> wrote:
Hi Thibault,

I still have problems with video play: it hesitates when switching from one
clip to another or with a few frames before the end of the video. Can you
please check if play buffering is enabled?

player_PAUSED_PAUSED.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/player_PAUSED_PAUSED.dot
player_PAUSED_PAUSED.dot
<http://gstreamer-devel.966125.n4.nabble.com/file/t379355/player_PAUSED_PAUSED.dot


Thanks,
Nelu




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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: playback over timeline

Nelu
Thank you Thibault.
One more thing I want to try: I will simplify the pipeline to a minimum,
then add components one by one and check which one creates problems. Could
you tell me what should I check in the .dot file, you said something about
"this[0]" ??  or something to tell me that playback buffering is enabled?

Thanks,
Nelu



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel