Video playback freezes/hangs with "<opensles_ringbuffer> No segment available"

Nicolas Dufresne nicolas at ndufresne.ca
Fri Feb 10 19:45:50 UTC 2017


Le vendredi 10 février 2017 à 00:58 -0800, lucky chou a écrit :
> > This error is a bit cryptic to me, so I wont comment much. You
> > may find the associated code in:
> > 
> > gst-plugins-bad/sys/opensles/openslesringbuffer.c
> > 
> > It's possible this error case is not handled properly.
> 
> Does it mean that this issure is known, 
> or that it is only a special case for me?
> 
> If this is a known issure, then I mentioned the test video, probably
> not
> necessary.
> 
> So, is it necessary to manage it on the bugzilla (but I don't  know
> how to
> upload the test video, because it is so large)?

I believe you are the first to report such an issue on Android. Filing
a bug with the problem and your research is probably the next step
indeed.

> 
> > In such pipeline
> > it's likely the clock is driven by the flow of data in that ring
> > buffer.
> > 
> > You may also try your luck with using the system clock.
> > 
> >   gst_pipeline_use_clock (pipeline, gst_system_clock_obtain ());
> 
> I've tried, although not completely solve the problem, but there are
> improvements.
> Previously each time at a random point to stop playing,now  2~3 times
> will
> freezes..

This test result shall probably be reported in your bug report.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170210/a646c550/attachment.sig>


More information about the gstreamer-devel mailing list