Alsasink GstTask too slow

Iker Perez de Albeniz iker.perez at fon.com
Wed May 21 00:31:18 PDT 2014


Hi All,

I am runing mopidy (that uses pygst and playbin2 to play hosted mp3) on a
embedded system, and i have a problem with gstreamer because the music play
has a 1 or 2 seconds lag. I have logged messages on audio moduleand  i get
this:

--------------------------------------------------------

May 20 10:05:29 myhost user.notice mopidy: INFO     Buffer 0% full

May 20 10:05:30 myhost user.notice mopidy: INFO     <gst.Message
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstQueue2\)\ queue25", object=(GstT
ask)"\(GstTask\)\ queue25:src"; from src at 0xd15f70>
May 20 10:05:30 myhost user.notice mopidy: INFO     <gst.Message
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_CREATE,
owner=(GstElement)"\(GstQueue\)\ aqueue", object=(GstTa
sk)"\(GstTask\)\ task21"; from src at 0xe98538>

May 20 10:05:30 myhost user.notice mopidy: INFO     Buffer 10% full
May 20 10:05:30 myhost user.notice mopidy: INFO     Buffer 20% full

May 20 10:05:30 myhost user.notice mopidy: INFO     <gst.Message
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstQueue\)\ aqueue", object=(GstTas
k)"\(GstTask\)\ aqueue:src"; from src at 0xe2e5d0>

May 20 10:05:30 myhost user.notice mopidy: INFO     Buffer 30% full
May 20 10:05:31 myhost user.notice mopidy: INFO     Buffer 40% full

May 20 10:05:31 myhost user.notice mopidy: INFO     <gst.Message
GstMessageStreamStatus,
type=(GstStreamStatusType)GST_STREAM_STATUS_TYPE_ENTER,
owner=(GstElement)"\(GstAlsaSink\)\ alsasink0", object=(
gpointer)NULL; from audiosinkringbuffer5 at 0xe2e468>

May 20 10:05:31 myhost user.notice mopidy: INFO     Buffer 45% full
May 20 10:05:31 myhost user.notice mopidy: INFO     Buffer 50% full

----------------------------------------------------------

I mean till i get GST_STREAM_STATUS_TYPE_ENTER message of GstAlsaSink,
music do not start playing.. is there a way to make it faster? or it
depends on playbin/gstreamer and is not possible to change it.

NOTE: on PC GST_STREAM_STATUS_TYPE_ENTER message of GstAlsaSink  happends
at begining of the buffering (less than 5%)

Regards.

-- 

Iker Perez de Albeniz
Senior R&D Engineer / Technical Lead
Fon Labs
skype: iker.perez.fon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20140521/65f3c3d7/attachment.html>


More information about the gstreamer-embedded mailing list