View previous topic :: View next topic |
Author |
Message |
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Mon Dec 11, 2006 10:58 pm Post subject: aplay produces noise with mp3/ogg |
|
|
I cannot have aplay read mp3 or ogg files.
I should say that it does read wav files without any problem, and Amarok/Kaffeine (both use Xine) can play all of these formats (wav, mp3, ogg). Only aplay will fail to read mp3/ogg.
I am using kernel 2.6.18-r3, with media-libs/alsa-lib 1.0.13 installed (as well as alsa-utils 1.0.13).
Any idea why aplay won't play? |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Mon Dec 11, 2006 11:00 pm Post subject: |
|
|
aplay doesn't support playing those types of files. If you want to play them from the command line, you will need to install something like mpg123 or mpg321 for mp3 files and ogg123 for the ogg files. _________________
Bones McCracker wrote: | On the other hand, regex is popular with the ladies. |
|
|
Back to top |
|
|
vpoinot Apprentice
Joined: 10 Nov 2003 Posts: 155
|
Posted: Tue Dec 12, 2006 12:08 pm Post subject: |
|
|
Thanks for your reply, but I confess that I am a bit surprised, because I read everywhere that aplay is able to read multiple formats. What are these other formats it supports if it is neither mp3, nor ogg ? |
|
Back to top |
|
|
madisonicus Veteran
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Tue Dec 12, 2006 4:33 pm Post subject: |
|
|
man aplay: | Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE
U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE
IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM
Some of these may not be available on selected hardware
There are also two format shortcuts available:
-f cd (16 bit little endian, 44100, stereo [-f S16_LE -c2 -r44100]
-f dat (16 bit little endian, 48000, stereo) [-f S16_LE -c2 -r48000]
If no format is given U8 is used.
|
_________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
|
gcb Tux's lil' helper
Joined: 08 Feb 2012 Posts: 81
|
Posted: Sun Mar 25, 2012 5:04 am Post subject: |
|
|
sorry to resurrect this one.
i tried finding ogg123 but a `emerge --search ogg` didn't find anything promising. where should i be looking? |
|
Back to top |
|
|
gcb Tux's lil' helper
Joined: 08 Feb 2012 Posts: 81
|
Posted: Sun Mar 25, 2012 6:41 am Post subject: [solved] |
|
|
media-sound/vorbis-tools apparently. |
|
Back to top |
|
|
|