基于iOS的多功能流媒體播放系統(tǒng)設(shè)計(jì)
發(fā)布時(shí)間:2019-04-11 18:24
【摘要】:早期的移動(dòng)互聯(lián)網(wǎng)只能實(shí)現(xiàn)簡單的應(yīng)用,如文字瀏覽,收發(fā)E-mail等,但近幾年來,伴隨著以智能手機(jī),平板電腦為代表的移動(dòng)智能設(shè)備的飛速發(fā)展以及人們對移動(dòng)互聯(lián)網(wǎng)應(yīng)用需求的增加,許多以往只能在桌面PC上實(shí)現(xiàn)的功能也逐漸在移動(dòng)平臺得到了應(yīng)用,流媒體便是其中之一。移動(dòng)流媒體由于實(shí)現(xiàn)平臺的特殊性,要獲得良好的用戶體驗(yàn),并不能直接照搬桌面端的實(shí)現(xiàn)方案,而是需要針對移動(dòng)平臺的特性進(jìn)行設(shè)計(jì)和優(yōu)化。本論文便針對這一課題,在目前較為主流的移動(dòng)智能平臺iOS上,設(shè)計(jì)并實(shí)現(xiàn)一整套流媒體播放系統(tǒng)。由于移動(dòng)流媒體應(yīng)用范圍較廣,而不同的應(yīng)用場景也提出了不同的需求,所以針對不同的應(yīng)用場景,本文采用了不同的實(shí)現(xiàn)方案,這些應(yīng)用場景及其相應(yīng)的實(shí)現(xiàn)方案包括以下三個(gè)方面:(1)針對實(shí)時(shí)視頻直播(應(yīng)用于視頻監(jiān)控,視頻聊天等場合),采用了實(shí)時(shí)的流媒體播放協(xié)議RTSP/RTCP/RTP搭建了實(shí)時(shí)播放系統(tǒng)。服務(wù)器端采用了能實(shí)時(shí)編碼RTSP視頻流的IP Camera網(wǎng)絡(luò)攝像頭,iOS播放器端則采用了FFmpeg庫進(jìn)行解碼播放。(2)針對非實(shí)時(shí)視頻直播(應(yīng)用于網(wǎng)絡(luò)電視直播等場合),采用了HLS(HTTP Live Streaming)協(xié)議搭建了一套非實(shí)時(shí)直播系統(tǒng)。服務(wù)器端采用了Flash Media Live Encoder(用于視頻編碼)和Flash Media Server(用于視頻發(fā)布)搭建,iOS客戶端則采用蘋果自帶的MediaPlayer框架進(jìn)行解碼。(3)針對視頻點(diǎn)播,采用了HLS協(xié)議搭建了一套定時(shí)采集監(jiān)控視頻以及提供視頻點(diǎn)播的系統(tǒng)。服務(wù)器端采用FFmpeg(用于定時(shí)采集監(jiān)控視頻及編碼),Media File Segmenter(用于視頻分割及索引文件的生成)以及Apache Web服務(wù)器(用于視頻發(fā)布)搭建,iOS客戶端則采用蘋果自帶的MediaPlayer框架進(jìn)行解碼。此外,除了實(shí)現(xiàn)基本的播放功能,本文也嘗試充分利用iOS移動(dòng)設(shè)備具備的特性,對播放系統(tǒng)的功能進(jìn)行擴(kuò)展,以實(shí)現(xiàn)傳統(tǒng)PC端不具備的功能。這些功能包括觸摸云臺操控,AirPlay等。
[Abstract]:The early mobile Internet could only achieve simple applications, such as text browsing, receiving and receiving E-mail, etc., but in recent years, along with smart phones, With the rapid development of mobile intelligent devices represented by tablet computers and the increasing demand for mobile Internet applications, many functions previously implemented only on desktop PC have been gradually applied on mobile platforms, and streaming media is one of them. Because of the particularity of the mobile streaming media platform, in order to obtain a good user experience, it is not necessary to copy the desktop solution directly, but to design and optimize the characteristics of the mobile platform. Aiming at this subject, this paper designs and implements a set of streaming media playback system on the mainstream mobile intelligent platform iOS. Because mobile streaming media has a wide range of applications, and different application scenarios also put forward different requirements, so for different application scenarios, this paper adopts different implementation schemes. These application scenarios and their corresponding implementation schemes include the following three aspects: (1) for real-time video broadcast (for video surveillance, video chat and other occasions), The real-time streaming media playing protocol RTSP/RTCP/RTP is used to build the real-time playing system. The server uses a IP Camera webcam which can encode RTSP video stream in real time, and the iOS player uses FFmpeg library to decode and play. (2) for non-real-time video broadcast (applied to network TV broadcast and other occasions), HLS (HTTP Live Streaming) protocol is used to build a set of non-real-time live broadcast system. The server side uses Flash Media Live Encoder (for video coding) and Flash Media Server (for video publishing) to build, while the iOS client uses Apple's own MediaPlayer framework for decoding. (3) for video-on-demand (VOD), The HLS protocol is used to set up a set of time collecting and monitoring video and video-on-demand (VOD) system. The server side is built with FFmpeg (used to capture and monitor video regularly and encode), Media File Segmenter (for video segmentation and index file generation) and Apache Web server (for video publishing). The iOS client uses Apple's own MediaPlayer framework to decode. In addition to realizing the basic playback functions, this paper also tries to make full use of the characteristics of iOS mobile devices to expand the functions of the playback system, in order to realize the functions that the traditional PC side does not have. These features include touch head manipulation, AirPlay, and so on.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN919.81
本文編號:2456650
[Abstract]:The early mobile Internet could only achieve simple applications, such as text browsing, receiving and receiving E-mail, etc., but in recent years, along with smart phones, With the rapid development of mobile intelligent devices represented by tablet computers and the increasing demand for mobile Internet applications, many functions previously implemented only on desktop PC have been gradually applied on mobile platforms, and streaming media is one of them. Because of the particularity of the mobile streaming media platform, in order to obtain a good user experience, it is not necessary to copy the desktop solution directly, but to design and optimize the characteristics of the mobile platform. Aiming at this subject, this paper designs and implements a set of streaming media playback system on the mainstream mobile intelligent platform iOS. Because mobile streaming media has a wide range of applications, and different application scenarios also put forward different requirements, so for different application scenarios, this paper adopts different implementation schemes. These application scenarios and their corresponding implementation schemes include the following three aspects: (1) for real-time video broadcast (for video surveillance, video chat and other occasions), The real-time streaming media playing protocol RTSP/RTCP/RTP is used to build the real-time playing system. The server uses a IP Camera webcam which can encode RTSP video stream in real time, and the iOS player uses FFmpeg library to decode and play. (2) for non-real-time video broadcast (applied to network TV broadcast and other occasions), HLS (HTTP Live Streaming) protocol is used to build a set of non-real-time live broadcast system. The server side uses Flash Media Live Encoder (for video coding) and Flash Media Server (for video publishing) to build, while the iOS client uses Apple's own MediaPlayer framework for decoding. (3) for video-on-demand (VOD), The HLS protocol is used to set up a set of time collecting and monitoring video and video-on-demand (VOD) system. The server side is built with FFmpeg (used to capture and monitor video regularly and encode), Media File Segmenter (for video segmentation and index file generation) and Apache Web server (for video publishing). The iOS client uses Apple's own MediaPlayer framework to decode. In addition to realizing the basic playback functions, this paper also tries to make full use of the characteristics of iOS mobile devices to expand the functions of the playback system, in order to realize the functions that the traditional PC side does not have. These features include touch head manipulation, AirPlay, and so on.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TN919.81
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 陳丹;郭先會;;RTP/RTCP協(xié)議在3GPP移動(dòng)流媒體業(yè)務(wù)中的研究與應(yīng)用[J];山西電子技術(shù);2010年06期
,本文編號:2456650
本文鏈接:http://sikaile.net/kejilunwen/wltx/2456650.html
最近更新
教材專著