Re: [Bluez-devel] a2dpd and mplayer - any chance to get it working?

Michael Frey
2007-02-06T19:25:45Z

I have been successful in using the latest cvs code. I can watch a =

movie/listen to music using mplayer. The audio is a bit choppy, and =

I get the following error from mplayer.

alsa-play: write error: Operation not permitted
alsa-play: trying to reset sound card

One other problem is sometimes when I start a movie via Mplayer, it =

pauses until a fast forward the movie a bit. Then it continues.

Good progress!!

Michael

On Feb 2, 2007, at 11:55 AM, Fr=E9d=E9ric DALLEAU wrote:

> Hi,
>
> I've been trying some things and just uploaded an *a2dpd2* plugin.
> Tested the plugin with
> aplay,xmms,amarok,vlc,mocp,kaffeine,mplayer,beep-media-player.
> This gave good sound on all except mplayer :( but at least the movie
> speed is now correct. This may be worth a try on another computer.
> Not had time to try any gst based player.
>
> reports appreciated.
>
> Fr=E9d=E9ric
> PS: Note the type plug/slave.pcm trick is not well supported by
> vlc,mocp,bmp. I used alsa-libs 1.0.13 but this should not be required.
>
>> Frederic is the one who is writing this. He has had some trouble =

>> getting
>> xmms to play without the sleep() call and it may be related to the =

>> pcm
>> status.
>>
>>>> I was wondering about alsa plugins :
>>>> xmms relies on alsa timing to play, so in the plugin, there is a =

>>>> sleep()
>>>> call, this will wait a little bit until it is time to retievre =

>>>> new data.
>>>> But it seems some players (like mplayer) wants to do their own =

>>>> timing or at
>>>> least don't want to sleep. They need to use that time to do some =

>>>> decoding
>>>> instead. If you sleep too long, the decoding will be defered and =

>>>> the sound
>>>> or movie will be broken.
>>>>
>>>> Is there a rule to distinguish? Or some magic value to sleep?
> -- =

> Frederic
>
> Without the wind, the grass does not move.
>
>
> ---------------------------------------------------------------------- =

> ---
> Using Tomcat but need to do more? Need to support web services, =

> security?
> Get stuff done quickly with pre-integrated technology to make your =

> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache =

> Geronimo
> http://sel.as-us.falkag.net/sel? =

> cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642