gst_base_sink_wait_preroll

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

gst_base_sink_wait_preroll

zyukyunman
The pipeline structure I have proposed is described as

appsrc ->@@@@@@@@@@@@@@@@@@@@@@@@@-> queue -> fakesink
appsrc ->@nvstreammux--->nvconv--->demuxer@-> queue -> fakesink
appsrc ->@@@@@@@@@@@@@@@@@@@@@@@@@-> queue -> fakesink

However, when running, the pipeline always falls into a state that
"gst_base_sink_wait_preroll" in all "queue" elements is waiting all the
time. I am quite confused.
The part of gstream log are attached as follows.
how can i resolve this?



--
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: gst_base_sink_wait_preroll

Nicolas Dufresne-5


Le mar. 19 mars 2019 23 h 12, zyukyunman <[hidden email]> a écrit :
The pipeline structure I have proposed is described as

appsrc ->@@@@@@@@@@@@@@@@@@@@@@@@@-> queue -> fakesink
appsrc ->@nvstreammux--->nvconv--->demuxer@-> queue -> fakesink
appsrc ->@@@@@@@@@@@@@@@@@@@@@@@@@-> queue -> fakesink

However, when running, the pipeline always falls into a state that
"gst_base_sink_wait_preroll" in all "queue" elements is waiting all the
time. I am quite confused.
The part of gstream log are attached as follows.
how can i resolve this?

It means one of the sink never gets a buffer, and your pipeline is stuck in paused state.




--
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: gst_base_sink_wait_preroll

zyukyunman
Reply | Threaded
Open this post in threaded view
|

Re: gst_base_sink_wait_preroll

Nicolas Dufresne-5
Le mercredi 20 mars 2019 à 10:20 -0500, zyukyunman a écrit :
> but why  one of the sink never gets a buffer?and how can i resolve this?here
> is my code,thanks!

Do you keep pushing data on all of your appsrc ? Some element in there
could require more then 1 buffer from appsrc to produce data. I cannot
comment on the internal, as I don't think the deepstream GStreamer
element are Open Source. If those element only produce data on specific
events (something found in the stream, you are the expert here), there
you could also disable the pre-roll for these specific sink (see async
property). But if this is not the case, you might simply loose data if
you do that.

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

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst_base_sink_wait_preroll

zyukyunman
thanks for your reply.
i have tried to set property of fakesink :async=false.but it not works
totally,the property setting delay my pipeline changing to pause(not pause
immediately,playing a few seconds).And i keep pushing buffer to appsrc,but i
will check again.i have been stuck in this three days.it feels bad.thank you
again.



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