城市乱仑视频一区二区三区|人妻中国字幕第一区|国产精品爆乳一区二区蜜臀|久久综合色一区二区

The steps of transplanting Mplayer player to EK200 development board

Mplayer is an open-source multimedia player released under GNU General Public License.

wei1.jpg

This software can be used in various mainstream operating systems, on the one hand, it has low resource occupancy; on the other hand, whether it is audio or video, it supports a quite comprehensive format, and can support playing most of the audio and video formats. At the same time, it can support many output devices, which can work under X11, XV, DGA, OpenGL, svgalib, fbdev, aalib and DirectFB.
Therefore, it can be widely used in the market.
This paper mainly introduces the method and steps of transplanting Mplayer player to my-imx6-ek200-6q-1g development board.

Environment introduction

Host platform: Ubuntu 14.04

Hardware platform: mingyuanzhirui my-imx6-ek200-6q-1g

Kernel version: linux-4.1.15

Cross compilation chain: arm linux gnueabihf GCC

File system: l4115-fsl-image-qt5-myimx6a9.tar.bz2

Download source package

http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.gz


Decompression:

$ tar xzvf MPlayer-1.3.0.tar.gz

$ cd MPlayer-1.3.0/

Source cross compilation tool:

$ source /home/myzr/my-work/03_toolchain/fsl-imx-fb-glibc-x86_64-meta-toolchain-qt5-cortexa9hf-neon-toolchain-4.1.15-2.1.0/environment-setup-cortexa9hf-neon-poky-linux-gnueabi

$ ./configure --enable-cross-compile --ar=arm-poky-linux-gnueabi-ar --as=arm-poky-linux-gnueabi-as --ranlib=arm-poky-linux-gnueabi-ranlib --target=arm-armv7-linux --enable-fbdev --disable-mencoder --disable-sdl --disable-live --disable-armv6 --disable-png 2>&1 |tee logfile


$make

The compiled Mplayer is copied to / usr / SBIN / directory of the development board.


test

Download MP3 and MP4 files on the Internet as test files and copy them to the development board (the file names in the case are test.mp3 and test.mp4)

Headphones and screens on the development board

 

$ mplayer test.mp3

$ mplayer -slave -quiet -input file=/mypipe -zoom -x 1024 -y 600 test.mp4

Listen to playing audio after execution

Execute MP4 to see the played video on the screen

wei2.jpg

Close