Alsasink GstTask too slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux