I
摘要
随着科技技术的不断发展,以手机、电脑等为核心的高科技电子产品的更新换
代,使得精神上的享受和娱乐也越来越受到人们的关注和期待。类似的智能电子产
品多不胜数,它们已经深深地融入了我们的生活。譬如智能家居、智能农业、车载
系统、医疗终端、物联网终端等。这些产品都是以嵌入式为技术核心,大多数以 Linux
为主要软件平台的智能电子产品。因此,集娱乐、多媒体等功能为一身的嵌入式智
能多媒体终端产品符合人们的期待,逐渐发展成一个独立的产业。
嵌入式 Linux 智能娱乐系统是基于虚拟机 VMWARE,Ubuntu 和开发板,以嵌入式
为核心技术概念的娱乐系统。系统中含有音乐,视频,其中音视频中包括音乐播放
器和视频播放器,其中音乐播放器的功能是音乐的播放、开始、暂停、继续、终止;
视频播放器的功能是视频的播放、开始、暂停、继续、快进、快退、音量加减。
关键词:智能娱乐系统;嵌入式;播放器;开发板
II
Abstract
With the continuous development of science and technology, the upgrading of
high-tech electronic products such as mobile phones and computers has made spiritual
enjoyment and entertainment more and more concerned and expected by people. Similar
intelligent electronic products are numerous, they have been deeply integrated into our
lives. Such as smart home, intelligent agriculture, vehicle system, medical terminal,
Internet of things terminal, etc. These products are based on embedded technology as the
core, most of the Linux as the main software platform of intelligent electronic products.
Therefore, the embedded intelligent multimedia terminal products with entertainment,
multimedia and other functions meet people 's expectations and gradually develop into an
independent industry.
Embedded Linux intelligent entertainment system is based on virtual machine
VMWARE, Ubuntu and development board, with embedded as the core technology
concept of entertainment system. The system contains music and video, in which audio
and video include music player and video player. The function of music player is to play,
start, pause, continue and terminate music. The function of video player is to play, start,
pause, continue, fast forward, fast back, volume addition and subtraction of video.
Key words:intelligent entertainment system;embedded;player;development board
III
目录
摘要......................................................................................................................................I
Abstract..............................................................................................................................II
目录...................................................................................................................................III
1 绪论...........................................................................................................................1
1.1 系统设计背景.................................................................................................1
1.2 系统设计的意义.............................................................................................1
2 系统设计与分析.......................................................................................................2
2.1 设计内容与要求.............................................................................................2
2.2 系统设计分析.................................................................................................2
2.3 系统流程图.....................................................................................................2
3 详细设计...................................................................................................................4
3.1 项目介绍.........................................................................................................4
3.2 开发环境的构建.............................................................................................4
3.3 交叉编译.........................................................................................................4
3.4 系统的硬件....................................................................................................4
3.4.1 开发板介绍........................................................................................4
3.4.2 开发板设置........................................................................................5
3.5 文件传输设计.................................................................................................7
3.6 BMP 图片显示实现 .....................................................................................8
3.6.1 LCD 介绍.............................................................................................8
3.6.2 显存映射操作....................................................................................8
3.6.3 BMP 图片.............................................................................................9
3.7 触摸屏功能实现...........................................................................................11
3.8 音乐播放器设计...........................................................................................12
3.8.1 madplay 的介绍..................................................................................12
3.8.2 madplay 的使用..................................................................................12
3.9 视频播放器设计...........................................................................................13
3.9.1 mplayer 的介绍 ..................................................................................13
3.9.2 mplayer 的使用 ..................................................................................13
4 系统实现.................................................................................................................15
4.1 系统应用实现...............................................................................................15
5 总结与展望.............................................................................................................17
附录....................................................................................................................................19
参考文献 ...........................................................................................................................31
IV