From: "Frederic Dalleau" <Frederic.Dalleau@palmsource.com>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] RE : a2dpd and mplayer - any chance to get it working?
Date: Wed, 17 Jan 2007 08:03:40 +0100 [thread overview]
Message-ID: <7A6DA545D7FDCC4B93DB651FDBC1EDDE4E6EBF@eumonex01.palmsource.com> (raw)
In-Reply-To: 200701150326.46855.bluez-devel@huitl.de
[-- Attachment #1: Type: text/plain, Size: 2480 bytes --]
Robert,
The sound is ok in mplayer! But the movie is a bit slow :D ...
If you plugin is the pcm.!default, then you can workaround the problem by outputting audio to esound instead of alsa (see mplayer preferences).
Not the best, but worked for me. +/- helped having perfect synchronisation with movie.
Brad,
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?
Frédéric
-------- Message d'origine--------
De: bluez-devel-bounces@lists.sourceforge.net de la part de Robert Huitl
Date: lun. 15/01/2007 03:26
À: bluez-devel@lists.sourceforge.net
Objet : [Bluez-devel] a2dpd and mplayer - any chance to get it working?
Hi,
I was wondering whether it is possible to make the a2dp alsa plugin supply
correct audio timing to applications like MPlayer. Right now, MPlayer does
not work with a2dpd because it relies on the audio driver to report accurate
audio timing information (or something like that).
If a2dpd could measure the delay introduced on the wireless transport, it
might be possible to supply timing information to media players. The player
could then sync the video to the audio data, so there should be no delay at
all between audio and video playback.
Is there something I am missing?
What changes to the alsa plugin would be necessary?
Even if the delay can't be determined exactly, we could just fake that
information MPlayer is missing, so that a2dpd at least worked together with
MPlayer (with a small delay, maybe)?
Regards,
Robert
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 4113 bytes --]
[-- Attachment #3: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-01-17 7:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 2:26 [Bluez-devel] a2dpd and mplayer - any chance to get it working? Robert Huitl
2007-01-17 7:03 ` Frederic Dalleau [this message]
2007-01-17 18:05 ` Robert Huitl
2007-01-17 18:35 ` [Bluez-devel] RE : " Fabien Chevalier
2007-01-17 19:15 ` Brad Midgley
2007-01-18 17:50 ` Fabien Chevalier
2007-01-28 19:30 ` [Bluez-devel] " Robert Huitl
2007-01-29 3:01 ` Brad Midgley
2007-02-02 16:55 ` Frédéric DALLEAU
2007-02-06 19:25 ` Michael Frey
2007-03-27 10:39 ` Tim Chick
2007-03-27 13:33 ` Frederic Dalleau
2007-03-27 14:01 ` Tim Chick
2007-04-05 8:59 ` [Bluez-devel] Question about poll() - was " Frederic Dalleau
2007-04-06 5:17 ` Brad Midgley
2007-04-06 16:05 ` [Bluez-devel] " Frederic Dalleau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7A6DA545D7FDCC4B93DB651FDBC1EDDE4E6EBF@eumonex01.palmsource.com \
--to=frederic.dalleau@palmsource.com \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox