Playing mp3 files in angstrom

I have a angstrom qt linux image on Col VF61. I need to play .mp3 files. For wav files and I am using aplay. In ubuntu I used to mpg123 to play .mp3 files but thats not available in angstrom. I do not have internet connectivity on Col VF61 so cannot download it. Is there any link from where I can download mpg123 (or any other .mp3 player) for angstrom and install its package in it. Is there any other alternative for it.

I am building an application where I am using QT. I tried using QTs QSound to play mp3 files but it gave me an error Failed to open audio device. So I thought if there is any internal linux command to play mp3 files then I can directly use it to play file. Please help. Thanks.

opkg update
opkg install gst-plugins-base-playbin gst-plugins-base-alsa gst-plugins-base-audioconvert gst-plugins-base-audioresample gst-plugins-ugly-mad

Install the required gstreamer plugins with opkg and then mp3 file can be played using gst-launch
from the command line.

gst-launch-0.10 filesrc location=Illusory.mp3 ! mad ! audioconvert ! alsasink

Check if the sound card is detected correctly

root@colibri-vf:~# cat /proc/asound/cards
 0 [Audio          ]: Colibri_VF61_AC - Colibri VF61 AC97 Audio
                      Colibri VF61 AC97 Audio

Sound cards are detected correctly. However I was trying to run the speakertest by running the command speakertest. It should speak something like Front Left or Front Right but there was a buzzing sound and nothing else. Is that the right command or I am doing something wrong

Why use speaker-test? Does aplay correctly plays a .wav file? And the noise would be expected as can be seen from it’s output “Using 16 octaves of pink noise”

root@colibri-vf:~# speaker-test                                                                                         

speaker-test 1.1.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 4096 to 4096
Period size range from 1024 to 1024
Using max buffer size 4096
Periods = 4
was set period_size = 1024
was set buffer_size = 4096
 0 - Front Left
Time per period = 2.889012
 0 - Front Left
Time per period = 2.986463
 0 - Front Left

yes aplay works fine with wav files. Currently I do not have internet connectivity for Col VF61. Can I download all the packages which you have mentioned in my ubuntu and then copy it to VF61 to install it. Is it prossible. From where can I download them.?

You can download them from here. Note that you would have to do the dependency resolution if any, manually.

Please have a look here for the full command line of speakertest: High performance, low power Embedded Computing Systems | Toradex Developer Center

Thank You.