基于Android平台的流媒体客户端软件
重庆大学硕士学位论文
(专业学位)
学生:任高运
指导教师:傅 鹂 教 授
兼职导师:冯妙媛 高级工程师
学位类别:工程硕士(软件工程领域)
重庆大学软件
二O一四年十一月
Design and Implementation of
Streaming Media Client System Based on Android
A Thesis Submitted to Chongqing University
in Partial Fulfillment of the Requirement for
Professional Degree
By
Ren Gaoyun
Supervised by Prof.Fu Li
Pluralistic Supervised by Senior Eng. Feng Miaoyuan
Specialty: ME (Software Engineering Field)
School of Software Engineering Chongqing University, Chongqing China
November, 2014
摘 要
在21世纪这个Internet蓬勃发展的年代,多媒体信息以其高效、实时的表现方式深受人们的青睐。媒体技术与移动终端技术的相互结合已成为现代移动互联网发展的必然趋势。结合音频、视频为一体的多媒体信息交互模式以其传输延迟小、丢包率小的优点正逐步走入人们的日常生活。因此,研究基于移动终端的流媒体客户端具有重大的现实意义与价值。
本文以Android系统为运行平台,为移动端用户设计并实现了一套流畅、稳定的流媒体客户端软件系统。主要完成了以下研究工作:
1.合理选取开发基于Android平台的流媒体客户端软件所需的技术
对选题研究背景与国内外现状进行分析,明确该课题使用的关键技术,开展技术调研。深入研究了Android平台的架构、流媒体技术、H.264视频压缩编解码技术、流媒体传输协议,为系统的设计和开发做好铺垫。
2.完成了基于Android平台的流媒体客户端软件的需求分析
概述了该系统的功能需求和非功能需求,其中使用UML用例图详细分析了系
统的功能用例。
将系统分为音/视频播放模块和扩展模块。其中音/视频播放模块由数据接收、数据预处理、解码播放子模块协作完成本地和网络音/视频文件的播放任务;扩展模块由文件列表管理、播放列表管理和音/视频搜索子模块一起完成音/视频播放的辅助功能。
3.完成了基于Android平台的流媒体客户端软件的设计
根据需求分析中的功能用例,分析了系统主要功能的业务流程,并给出了数据库表的结构和关联关系。
4.实现了基于Android平台的流媒体客户端软件系统
对FFMPEG库进行裁剪与优化,移植到Android系统中,编码实现了整个系统的业务功能,并通过运行截图展示了系统的运行效果。
该流媒体客户端软件能够使压缩、编码后的音/视频适应网络的变化,在Android系统上更加流畅、稳定的播放,延迟较小,满足了用户随时随地享受音/视频带来的无穷乐趣的目的。
关键词:多媒体客户端,音/视频播放,Android平台,FFMPEG库,流畅稳定
ABSTRACT
In the 21st century the vigorous development of the Internet s, multimedia information with its high efficient and real-time manner by the people of all ages.Media technology and mobile terminal technology combined with each other has become an inevitable trend for the development of modern mobile Internet.Combined with audio, video of multimedia information interaction pattern with its small transmission delay, packet loss rate of small advantages is gradually into People's Daily life.Therefore, based on the research on mobile streaming media client has the significant practical significance and value.
Based on Android platform for mobile terminal users was designed and implemented a smooth, stable client software streaming media system.Basically completed the following work:
1.The reasonable selection of development based on the Android platform of the technologies needed for streaming media client software.
Analyze the topic research background and present situation at home and abroad, clear using the key technology of the subject, to carry out technical research.Further study of the Android platform architecture, streaming media technology, h. 264 video compression codec technology, streaming media transmission protocol, for the system design and development.
2.The streaming client software requirements analysis based on the Android platform.
Outlined the system functional requirements and nonfunctional requirements, which USES the UML use case diagrams are analyzed in detail.
The system is divided into audio/video playback module and extended module.The audio/video playback module by data receiving, data preprocessing, decoding display module complete the local and network audio/video file play task;Extension module by file list management, playlists and audio/video search module with complete audio/video playback auxiliary functions.
3.The streaming client software design based on the Android platform
According to demand analysis of the function use case, analyzed the system main function of the business process, and gives the database table structure and relationships.
4.To realize the streaming client software system based on Android platform
To cut and optimization of FFMPEG library, ported to the Android system, implement the function of the business of the whole system, and by running the screenshots show the running effect of the system.
The streaming client software can make after compression, coding of audio/video to adapt to the changes in the network, more process in terms of the Android system, stability, less delay, meet the users to enjoy the sound/video anytime and anywhere with the purpose of fun.
Keywords: Mutimedia Client,Audio/video play,Android Platform,FFMPEG library,Smooth and stability
目 录
1 绪 论 1
1.1 选题背景与意义 1
1.1.1 选题背景 1
1.1.2 选题意义 2
1.2 国内外研究现状 3
1.3 论文主要研究工作 4
1.4 论文的组织结构 4
2 系统关键技术 6
2.1 ANDROID概述 6
2.2 ANDROID架构 7
2.3 ANDROID应用程序 8
2.4 流媒体技术 8
2.4.1 流媒体技术概述 9
2.4.2 视频压缩编解码技术 9
2.4.3 流媒体传输协议 10
2.5 本章小结 12
3 基于ANDROID平台的流媒体客户端软件需求分析 13
3.1 系统功能概述 13
3.2 系统用例分析 13
3.3 系统非功能需求 19
3.4 本章小结 20
4 基于ANDROID平台的流媒体客户端软件设计 21
4.1 系统运行环境 21
4.2 系统应用结构设计 21
4.3 系统网络拓扑结构 23
4.4 音/视频播放模块设计 23
4.4.1 数据接收子模块 25
4.4.2 数据预处理子模块 26
4.4.3 解码播放子模块 28
4.5 扩展模块设计 29
4.5.1 文件列表管理子模
上一篇:
毕业设计--电力系统稳定器的设计
下一篇:
试论APP广告在手机中的应用