Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound: omxplayer, mixer, alsa, mplayer #104

Open
heipei opened this issue Jun 29, 2012 · 3 comments
Open

Sound: omxplayer, mixer, alsa, mplayer #104

heipei opened this issue Jun 29, 2012 · 3 comments

Comments

@heipei
Copy link

heipei commented Jun 29, 2012

Hi,

since sound playback is my first important task for the Rasbperry Pi, I'm having some issues:

  • omxplayer works fine, can switch between local/hdmi, can stream from the internet.
  • alsamixer does not work, i.e. the output volume of omxplayer does not change
  • mplayer does not work (tried with different -ao), neither does the speaker-test
  • dmesg gives weird messages when trying to use mplayer/speaker-test

I can provide outputs of these programs, but you guys can do that yourselves I suppose. The question thus is:

  • What does omxplayer do differently, what kind of (strange) libs does it use?
  • Is there some mixer that works?
  • What does it take to get mplayer to work?

Loving the Pi so far, and happy that there is a Debian image for it ;)

@asb
Copy link
Owner

asb commented Jun 29, 2012

omxplayer does not use ALSA, instead it uses the OpenMAX sound APIs. There have been some fixes to the ALSA drivers for the pi since I made this last image (I need to put out an update to the firmware package).

@heipei
Copy link
Author

heipei commented Jun 30, 2012

Thanks for the quick reply. In the meantime, is there any way to adjust volume for OpenMAX programs? Even if its a simple C snippet, I'd be thankful

@KenT2
Copy link

KenT2 commented Jun 30, 2012

It may not answer your question exactly but controlling volume on omxplayer is discussed here

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=7987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants