How to play mp3 on CCWiMX28 with DEL 5.9.7? do you have any examples about how to do it? Do you have mplayer for ccimx28 and DEL?

Two different mp3 players can be added to the rootfs from the kernel/rootfs configuration screen in U-boot/kernel/rootfs project in Digi ESP.
In addition:

Also Two sample applications are available in /usr/local/DigiEL-X.Y/apps/:
  • vplay_oss_c: This is an OSS based application for playing and recording sound files
  • alsa_test_c: This is an ALSA based application that writes random frags to the PCM device named default
They can be added to the rootfs as seen in topic .
On i.MX based platforms the media player is available by default in the rootfs.
# mplayer song.mp3
MPlayer 1.0rc2-4.4.3 (C) 2000-2007 MPlayer Team
CPU: ARM
 
Playing mp3_3ACM_44100Hz_320kbps_stereo.mp3.
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
...
   
 
 
On i.MX based platforms the framework is available by default in the rootfs and supplies the gplay command line application. Once alsa is configured for playback (using alsactl), you can play supported audio files as follow:
# gplay song.mp3
gplay song.mp3
ok
song.mp3
[Stopped  ][Vol=01][00:00:00/00:00:00]
FSL_PLAYER_01.00_LINUX build on May 19 2010 14:05:02
        [h]display the operation Help
        [p]Play
        [s]Stop
        [e]Seek
        [a]Pause when playing, play when paused
        [v]Volume
        [m]Switch to mute or not
        [>]Play next file
        [<]Play previous file
        [r]Switch to repeated mode or not
        [f]Set full screen or not
        [z]resize the width and height
        [t]Rotate
        [i]Display the metadata
        [x]eXit
[Playing  ][Vol=01][00:00:06/00:03:36]
   
Last updated: Aug 08, 2017

Recently Viewed Articles

No recently viewed articles
Contact a Digi expert and get started today! Contact Us