pipeline does not re-enter playing after some play-pause cycle

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

pipeline does not re-enter playing after some play-pause cycle

alessand01
This post was updated on .
Hi all,
I'm working on a gstreamer application written in c++. I have two different pipelines streaming two video sources through two UDPsink. If I run the application the streaming works without problems for at least 1 hour. But if try to pause and play the two videos, after a while on of the two pipeline does not enter the PLAYING state and the 'gst_element_get_state' (called after 'gst_element_set_state') returns the GST_STATE_CHANGE_ASYNC value and it mantains the PAUSED state.
The PLAY-PAUSE switch is made internally the application, using the 'gst_element_set_state' function, once with GST_STATE_PAUSE and one with GST_STATE_PLAYING.

I'm working on this problem during the last two days without any progress... Please someone help me!

Thanks!

EDIT:
I forgot to say that after every PAUSED, before set the PLAYING, I change the udpsink port value.
And then.. it works for about 10 cycle, and after the PLAYING can't be entered!

Reply | Threaded
Open this post in threaded view
|

Re: pipeline does not re-enter playing after some play-pause cycle

alessand01
can somebody help me?
Reply | Threaded
Open this post in threaded view
|

Re: pipeline does not re-enter playing after some play-pause cycle

Vivia Nikolaidou
Hi,

Can you send some debug logs? You can run your program with the
following environment variables:

GST_DEBUG="*:6" GST_DEBUG_NO_COLOR=1

Redirect error output to a file, compress that file and send it.

Thanks!

On 18 October 2016 at 18:56, alessand01 <[hidden email]> wrote:

> can somebody help me?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/pipeline-does-not-re-enter-playing-after-some-play-pause-cycle-tp4679667p4680105.html
> Sent from the GStreamer-devel mailing list archive at 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: pipeline does not re-enter playing after some play-pause cycle

Mikl
In reply to this post by alessand01
Hi,

Are you waiting for GST_MESSAGE_ASYNC_DONE event on a bus after pause/play  to continue doing anything else?

Mikl
Reply | Threaded
Open this post in threaded view
|

Re: pipeline does not re-enter playing after some play-pause cycle

alessand01
Thank you Vivia and Mikl,
I'm not waiting for the the GST_MESSAGE_ASYNC_DONE event, and as a newbie I don't know how to wait for that. I will do some researches, and if I can't resolve the issue I will come back here to ask help (posting the debug output as Vivia has suggested!)

Thank you guys!!
Reply | Threaded
Open this post in threaded view
|

Re: pipeline does not re-enter playing after some play-pause cycle

Mikl

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