【Android论文栏目提醒】:网学会员,鉴于大家对Android论文十分关注,论文会员在此为大家搜集整理了“基于Android平台的智能手机流媒体播放器的研究及实现 - 硕士论文”一文,供大家参考学习!
南京邮电大学硕士学位
论文摘要学科、专业:工学 电子与通信工程研 究 方 向:现代语音处理与通信技术作 者:李刚指 导 教 师:张玲华题 目:基于
Android 平台的智能手机流媒体播放器的研究及实现英 文 题 目:Designing and Implementation of Streaming Media player Client of smart phone Based on
android platform主 题 词:
android,流媒体,FFMPEG,opencoreKeywords:
android Streaming Media FFMPEG opencore南京邮电大学全日制工程硕士研究生学位
论文 摘要 摘 要 随着 3G 网速的提升、硬件性能的不断提高及成本的降低,智能手机变得越来越普及,在手机上观看视频信息逐渐成了人们喜爱的一种娱乐方式。
围绕可以方便地为用户提供流媒体数据服务及播放本地视频文件这个中心,设计出一款流媒体视频播放器。
本文的主要工作包括: (1) 研究了流媒体的应用现状和技术,分析了智能手机的发展前景,并通过对市场主 流智能手机操作系统的进行比较,确定使用
android 嵌入式操作系统作为本文的开 发平台。
阐述了
android 嵌入式操作系统的概况,并对流媒体的关键技术进行了讨 论。
(2) 研究
android 自带的 opencore 多媒体库,熟悉内部各个类的层次关系,在此基础上 设计可以满足用户在线浏览视频的流媒体播放器。
(3) 考虑到
android 自身的 opencore 多媒体库只能播放 3gp、mp4 格式的视频文件,如 果播放其他格式的视频文件,只能对编解码库进行扩展。
而 ffmpeg 提供一个完全 免费的、开源的、跨平台的音视频流整合方案,拥有十分先进的音视频编解码库 及可靠的移植性和编解码质量。
因此,本文采用 ffmpeg 做为扩展视频格式的编解 码库,设计一个可以播放多种视频格式的播放器。
基于以上工作,本文在
android 平台下设计的视频播放器可以基本满足用户浏览在线视频和播放本地多种格式视频的要求。
关键词:
android,流媒体,FFMPEG,opencore I南京邮电大学全日制工程硕士研究生学位
论文 Abstract Abstract With the rising speeds of 3G networks the continuous improvement of hardware performanceand lower costs making smart phones become increasingly popular.Watching video become one ofthe popular entertainment on the smart phone. Around with the center of providing users withstreaming data services and playing local video files easily this object design a streaming videoplayer .this topic is mainly done the following work: 1 Introduce the application status and development trend of streaming media technology. Analyze the development background of smart phones. Determine to use
android operating system as the research platform of this article by comparison of popular smart phone operating system. Describe an overview of
android operating system and the key technology of streaming media has been discussed. 2 In-depth analysis opencore multimedia library familiar with the hierarchy then design the online video streaming media player to meet peoples requirement. 3 The opencore multimedia library only supports 3gp mp4 format. if playing other formats video filesyou can only choose a different codec library to extend its format.ffmpeg provide a completely free open source cross-platform audio and video streaming integration solutions it also has a very advanced audio and video codec library and reliable transplantation and codec quality.Therefore the object use the ffmpeg as the codec library of the extended video format player and designing a video player can play sorts of formats video file. Based on the above work the video player designed on
android platform can basically meetthe requirements of users to browse the online video and play variety of formats video file. Key Words:
android Streaming Media FFMPEG opencore II南京邮电大学全日制工程硕士研究生学位
论文 目录 目录 摘 要.............................................................................................................................................I Abstract ....................................................................................................................................... II 第一章 绪论 ................................................................................................................................ 1 1.1 课题背景和流媒体的发展现状 .................................................................................... 1 1.2 课题平台选择 ................................................................................................................ 2 1.3 主要研究的内容及章节安排 ........................................................................................ 3 第二章 流媒体技术概述 ............................................................................................................ 5 2.1 流媒体技术 ................................................................................................................... 5 2.2 H.264 压缩编解码技术 ................................................................................................. 6 2.2.1 H.264 编解码器结构 .......................................................................................... 6 2.2.2 H.264 预测编码技术 .......................................................................................... 7 2.3 流媒体传输协议 ......................................................................................................... 10 2.4 本章小结 ..................................................................................................................... 11 第三章
android 嵌入式操作系统 ............................................................................................ 13 3.1
android OS 概述 ......................................................................................................... 13 3.2
android 系统结构 ........................................................................................................ 13 3.3
android 应用程序基本结构 ........................................................................................ 14 3.4
android 应用程序组件 ................................................................................................ 15 3.4.1 Activity 组件 ..................................................................................................... 16 3.4.2 Service 组件 ...................................................................................................... 17 3.4.3 Broadcast receives 组件.................................................................................... 17 3.4.4 Content providers 组件 .................................................................................... 17 3.5
android NDK 简介 ....................................................................................................... 17 3.6 本章小结 ..................................................................................................................... 18 第四章 多媒体播放器架构设计 .............................................................................................. 19 4.1 多媒体系统结构及层次 ............................................................................................. 19 III南京邮电大学全日制工程硕士研究生学位
论文 目录 4.1.1 多媒体系统的结构介绍 ................................................................................... 19 4.1.2 多媒体的各个层次 ........................................................................................... 19 4.2 opencore 概述 ............................................................................................................. 20 4.2.1 opencore 介绍 ................................................................................................... 20 4.2.2 Opencore 的代码结构 ..................................................................................... 22 4.2.3 编译结构 ........................................................................................................... 23 4.2.4 opencore 重要库结构 ....................................................................................... 24 4.3 pvplayer 引擎设计 ....................................................................................................... 25 4.3.1 PVPlayer 接口 .................................................................................................. 25 4.3.2 引擎框架 ........................................................................................................... 25 4.4 接口设计 ..................................................................................................................... 26 4.4.1 默认接口 ........................................................................................................... 26 4.4.2 多线程支持 ...................................................................................................... 27 4.4.3 媒体数据输出到数据池 .................................................................................. 27 4.5 PVplayer 的 A/V 同步机制 ......................................................................................... 27 4.5.1 媒体时钟 ........................................................................................................... 28 4.5.2 时间戳 ............................................................................................................... 29 4.5.3 同步音频 ........................................................................................................... 29 4.5.4 同步视频 ........................................................................................................... 32 4.5.5 音视频同步 ....................................................................................................... 32 4.6 本章小结 ..................................................................................................................... 33 第五章 多媒体播放器设计与实现 .......................................................................................... 34 5.1 ffmpeg 介绍 ................................................................................................................. 34 5.1.1 muxer/demuxer 与 encoder/decoder 定义和初始化 ........................................ 34 5.1.2 muxer/demuxer 的匹配 .................................................................................... 38 5.1.3 encoder/decoder 的匹配 ................................................................................... 39 5.1.4 ffmpeg 主要数据结构 ...................................................................................... 39 5.2 ffmpeg 移植到
android 平台 ....................................................................................... 42 5.2.1 ffmpeg 移植环境构建 ...................................................................................... 42 IV南京邮电大学全日制工程硕士研究生学位
论文 目录 5.2.2 ffmpeg 的移植 .................................................................................................. 43 5.3 音视频播放客户端的实现 .......................................................................................... 48 5.3.1 音视频客户端主要类 ...................................................................................... 49 5.3.2 视频播放器的实现 .......................................................................................... 49 5.4 视频播放客户端测试 ................................................................................................. 51 5.4.1 测试环境 .......................................................................................................... 51 5.4.2 功能测试 .......................................................................................................... 51 5.5 本章总结 ..................................................................................................................... 53 第六章 总结与展望 .................................................................................................................. 54 6.1 工作总结 ..................................................................................................................... 54 6.2 工作展望 ..................................................................................................................... 54 致谢............................................................................................................................................ 56 参考文献 .................................................................................................................................... 57 V南京邮电大学全日制工程硕士研究生学位
论文 绪论 第一章 绪论1.1 课题背景和流媒体的发展现状 随着人们生活水平的不断改善,目前中国移动电话的用户将近 9 亿,其中拥有智能手机的用户比例越来越大,智能手机的快速发展和普及,极大丰富了人们的娱乐方式。
智能手机已经不在仅仅局限于用来通话、发信息这些基本的功能,而是成为一个集通信、冲浪、娱乐为一体的终端设备。
这么多的手机上网用户,意味着有一个巨大的潜在市场,手机作为一种新型传播媒体的应用价值逐渐体现出来。
手机媒体与其他媒体相比有得天独厚的优势,比如覆盖用户群最广泛、信息传播较为精准、可以最大限度的把人们的零碎时间整合、利用起来方,实现信息的快速传播。
3G 时代,手机逐渐演变为报纸、广播、电视、和互联网之外的第五大媒体,并且可以快速发展手机报纸、手机广播、手机电视和手机网络等应用,手机媒体的价值日益凸显出来。
随着 3G 时代的快速来临,各种多媒体应用在手机上体现的淋漓尽致,用户有更加开阔的选择空间,充分满足人们对个性的追求。
移动互联网业务1的发展为移动网络带来了巨大的应用空间,促进移动网络宽带化的深入发展。
移动业务从一开始只能浏览网页信息、图铃下载等初级业务演变为与当前互联网业务融为一体的业务形式,移动互联网业务以极快的速度成为移动运营商业务发展的重中之重。
当今移动互联网在运营商成熟的硬件支持下,移动互联网是未来互联网持续发展的趋势和热点,随着网速越来越快,手机终端越来越强大,移动互联网正以巨大的市场潜力、诱人的发展前景以及任何人都难以预测的发展速度,成为未来几年世界瞩目的焦点,移动互联网带来的机遇与诱惑正在让现在的互联网羡慕不已。
摩根斯坦利的报告认为,移动互联网带来的产业规模可能是互联网创造的产业规模的十倍。
背景下, 3G我国巨大的手机市场规模成为推动移动互联网发展的有生力量,而这必将刺激移动互联网市场创新能力的持续提高,引发新一轮创新潮。
移动互联网的高速发展,智能手机用户已经不满足仅仅上网浏览网页、下载铃声的功能,同时还要求可以在线浏览视频、远程监控、视频点播、移动社交网络、移动电视等功能。
在这种情况下,流媒体技术就起到了十分重要的作用。
它通过移动网络把多媒体数据从服务端传输到手机终端上,用户可以边下载、边观看视频而不需要把整个多媒体文件全部下载下来 1南京邮电大学全日制工程硕士研究生学位
论文 第一章 绪论 .