You are not logged in.

#1 2010-01-15 01:12:24

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

[Solved] Mplayer, vlc and pulseaudio

Is there any special reason why pulseaudio support isn't explicitly enabled in both mplayer and vlc?

I've been looking into the PKGBUILDs and it is not explicitly disabled but as it is these two programs will not know how to output directly to pulseaudio.

Recompiling with --enable-pulse seems to do the trick and at least for the previous version of mplayer it didn't seem to cause any problems, I can't say anything about vlc because I don't use it as often as mplayer.

I guess at least some users may be using alsa + pulse so I'm a bit surprised not to find more _recent_ inquires about this, it's not like I'm talking about patching or something like vbox_ose vs vbox_bin, it's just explicitly enabling it in the PKGBUILD, given that Arch does a very good job at supporting all viable alternatives for sound systems I guess this would make sense.

Last edited by R00KIE (2010-01-15 14:27:37)


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#2 2010-01-15 01:29:00

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Mplayer, vlc and pulseaudio

can't happen since pulseaudio is in community.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-01-15 01:48:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [Solved] Mplayer, vlc and pulseaudio

I'm using mpd with --enable-pulse, but both my mplayer and vlc do not have --enable-pulse and the alsa plugin seems to work fine (mpd had a problem with periodic crashing).

Until pulseaudio is picked up and adopted (most probably as part of Gnome) and hence moved to [extra], packages can't depend on pulseaudio I believe. Now that I think about it however, would mpd-pulse binary be useable on a system without pulseaudio, for example? If so, and there's not much disk space usage difference, then I don't see why --enable-pulse can't be the default.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2010-01-15 01:51:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: [Solved] Mplayer, vlc and pulseaudio

mplayer built with pulse support will not work without pulseaudio installed and it's most probably the same with other apps.

Offline

#5 2010-01-15 01:55:06

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [Solved] Mplayer, vlc and pulseaudio

lucke wrote:

mplayer built with pulse support will not work without pulseaudio installed and it's most probably the same with other apps.

In that case no pulseaudio then. ABS and AUR for that smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-01-15 14:27:23

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] Mplayer, vlc and pulseaudio

wonder wrote:

can't happen since pulseaudio is in community.

Haaaaa ok smile question answered, I'll just rebuild from abs when new versions are pushed to the repos.

I haven't tested if mplayer works without pulseaudio but it should work, its just another output like alsa, oss, jack and others, however you may need to specify the output you want to use (I'd say always explicitly tell programs which output to use, automagical selection doesn't seem a good idea to me), just to make sure mplayer gets it right tongue

About using the alsa plugin .... I'd like to avoid that as much as possible, it does work fine with one app I use that only supports alsa/oss, but another layer of software on top of alsa+pulse seems a little excessive, specially if programs can output directly to pulse.

I'll mark this as solved, I have the answer I was looking for smile


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB