HOST: Ubuntu11.04 Cross Compiler: arm-linux-gcc3.4.1 hardware platform: FL2440 software resources: libmad-0.15.1b.tar.gz,MPlayer-1.0rc2.tar.bz2 Download Software player and decoder http://www.mplayerhq.hu/MPlayer/releases/http://cdnetworks-kr-1.dl.sourceforg
HOST: Ubuntu 11.04
Cross-compiler: arm-linux-gcc 3.4.1
Hardware Platform: FL2440
Software resources: libmad-0.15.1b.tar.gz,MPlayer-1.0rc2.tar.bz2
Download Software player and Decoder
Http://www.mplayerhq.hu/MPlayer/releases/
Http://cdnetworks-kr-1.dl.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz
1.decompress libmad-0.15.1b.tar.gzand mplayer-1.0rc2.tar.bz2.
2. Enter libmad-0.15.1b:
(1) configure and generate Makefile :( -- prefix =/opt/arm/3.4.1/lib to specify the installation path of the final generated library file, CC =/opt/arm/3.4.1/bin/arm-linux-gcc specifies the path of the Cross-compilation tool)
Sudo. /configure -- enable-fpm = arm -- host = arm-linux -- disable-shared -- disable-debugging -- prefix =/opt/arm/3.4.1/lib CC =/opt/arm/ 3.4.1/bin/arm-linux-gcc
(2) Compile:
Sudo make
(3) installation:
Sudo make install
3. Enter MPlayer-1.0rc2:
(1) configuration, generate Makefile :( extraincdir =/opt/arm/3.4.1/lib/include and -- with-extralibdir =/opt/arm/3.4.1/lib specify the path of the installation library file in the previous step)
Sudo. /configure -- cc =/opt/arm/3.4.1/bin/arm-linux-gcc -- target = arm-linux -- enable-static -- prefix =/tmp/mplayer-rc2 -- disable-win32dll -- disable -dvdread -- enable-fbdev -- disable-mencoder -- disable-live -- disable-mp3lib -- enable-mad -- enable-libavcodec_a -- language = en_US -- disable-armv5te -- disable-armv6 -- with-extraincdir =/opt/arm/ 3.4.1/lib/include -- with-extralibdir =/opt/arm/3.4.1/lib -- host-cc = gcc -- enable-ossaudio
(2) Compile:
Sudo make
Mplayer is generated in the current directory.
Then execute./mplayer ***./mp4
However, due to hardware restrictions, audio and video synchronization may fail.