[MPlayer-dev-eng] AV out of sync with "-ao alsa" in gmplayer, mplayer works ok

Attila Kinali attila at kinali.ch
Thu Dec 30 21:51:04 CET 2004


On Tue, 28 Dec 2004 22:55:33 -0500
Lee Revell <rlrevell at joe-job.com> wrote:

> Using 1.0pre6, "gmplayer -ao alsa" results in the sound and video being
> out of sync.  "mplayer -ao alsa" works fine, as does "-ao oss" with
> either mplayer or gmplayer.

gmplayer and mplayer use both the exact same code to handle alsa,
there is no difference there. If one works the other should too...
... unless you have different configs, but then it's clearly PEBCAK.

> What's the deal?  Why is it so hard for the mplayer developers to get
> ALSA support right?  I hack on ALSA a lot, so if there is some problem
> with the ALSA API, we would like to hear about it on the mailing list.
> Or do you all just use OSS still?

Me ? Yes. For me the oss emulation always worked better than accessing
alsa directly, no matter what programm i used. (and i use alsa since
the early 0.5 days). Somewhen after 0.9 was out, i stopped carring
whether the alsa interface worked or not as i didn't had the time
to check it on every update. So yes, i use the oss emulation for everything.

> From the users perspective things like this make ALSA look bad, while
> the problem is really with gmplayer's shoddy ALSA support.

Yes, that's true and i'm sorry for that. But output modules have
to be written by people who understand them. If none of the developers
care, none will improve it unless we get some patches.
And ao_alsa.c being with 1174 lines the bigges ao module doesn't
make it easier.

So, feel free to send us suggestions, patches, whatever to make
the alsa output better. We'd appreciate it.


				Attila Kinali

-- 
All christians are terrorists.




More information about the MPlayer-dev-eng mailing list