實(shí)時(shí)流媒體系統(tǒng)中音視頻同步的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-03-15 04:01
本文選題:實(shí)時(shí)流媒體 切入點(diǎn):音視頻同步 出處:《浙江工業(yè)大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:進(jìn)入21世紀(jì),伴隨著經(jīng)濟(jì)的高速發(fā)展,整個(gè)社會(huì)的不安定因素逐漸累積,人們的安全意識(shí)也是逐漸加強(qiáng)。而計(jì)算機(jī)技術(shù)、高壓縮比的數(shù)據(jù)壓縮技術(shù)以及寬帶通信技術(shù)的發(fā)展,為安防等實(shí)時(shí)流媒體系統(tǒng)應(yīng)用領(lǐng)域的發(fā)展帶來了新的增長(zhǎng)點(diǎn)。隨著應(yīng)用的多樣化,單一的視頻監(jiān)控顯得有些單調(diào),已逐漸滿足不了客戶的需求,無論是銀行、鐵路、客運(yùn)站,都需要優(yōu)質(zhì)的音視頻監(jiān)控系統(tǒng)提供較全面的安防服務(wù)。由于網(wǎng)絡(luò)傳輸?shù)牟豢煽啃?導(dǎo)致本應(yīng)保持同步關(guān)系的數(shù)據(jù),到達(dá)信宿端時(shí)已失去了其固有的時(shí)間關(guān)聯(lián)性,即失去了同步,因此音視頻的同步性能就成為了實(shí)時(shí)流媒體系統(tǒng)中的一個(gè)聚焦熱點(diǎn)。為此,本文就實(shí)時(shí)流媒體系統(tǒng)中音視頻媒體流的同步問題做了探究。設(shè)計(jì)并實(shí)現(xiàn)一個(gè)簡(jiǎn)易的實(shí)時(shí)流媒體系統(tǒng),該系統(tǒng)包括信源端、流媒體服務(wù)器、信宿端三部分。針對(duì)音視頻數(shù)據(jù)在傳輸過程中產(chǎn)生異步的情況,設(shè)計(jì)了一個(gè)基于RTP/RTCP協(xié)議的網(wǎng)絡(luò)自適應(yīng)控制的實(shí)時(shí)流媒體同步方案。該方案從信源端、信宿端、網(wǎng)絡(luò)狀況三方面入手對(duì)音視頻實(shí)施同步控制。在信源端實(shí)現(xiàn)了音視頻數(shù)據(jù)的同步采集、編碼;音視頻數(shù)據(jù)在發(fā)送前通過打上時(shí)間戳,實(shí)現(xiàn)不同媒體映射到同一條時(shí)間軸。在信宿端,第一步是對(duì)收到的音視頻包進(jìn)行同步預(yù)處理,消除時(shí)延抖動(dòng)導(dǎo)致的亂序。然后分別對(duì)音頻進(jìn)行解壓,對(duì)視頻進(jìn)行組幀。最終依據(jù)時(shí)間戳值對(duì)音視頻數(shù)據(jù)實(shí)施同步控制。在網(wǎng)絡(luò)狀況的自適應(yīng)方面,信宿端統(tǒng)計(jì)網(wǎng)絡(luò)延時(shí)抖動(dòng)與丟包,一方面依據(jù)統(tǒng)計(jì)信息調(diào)節(jié)信宿端緩存和播放速率,另一方面將統(tǒng)計(jì)信息反饋給信源端。信源端再依據(jù)接收的信息調(diào)節(jié)視頻壓縮率,實(shí)現(xiàn)發(fā)送端的碼率調(diào)節(jié)。最后經(jīng)過實(shí)驗(yàn)證明,本實(shí)時(shí)流媒體系統(tǒng)在正常的網(wǎng)絡(luò)環(huán)境下具備良好的音視頻同步性能。
[Abstract]:In 21th century, with the rapid development of economy, the unstable factors of the whole society gradually accumulated, and people's security consciousness was gradually strengthened, while the development of computer technology, high compression ratio data compression technology and broadband communication technology, Along with the diversification of application, the single video surveillance appears to be a bit monotonous, and can not meet the needs of customers, whether it is the bank, railway, passenger station, and so on, which brings a new growth point for the development of real-time streaming media system, such as security and defense. Because of the unreliability of the network transmission, the data which should have kept synchronous relation have lost its inherent time correlation, that is to say, the synchronization has already been lost when arriving at the terminal of the destination, because of the unreliability of the network transmission, because of the high quality audio and video surveillance system to provide the more comprehensive security service. Therefore, the synchronization performance of audio and video has become a hot spot in real-time streaming media system. This paper probes into the synchronization of audio and video media flow in real-time streaming media system, and designs and implements a simple real-time streaming media system, which includes the source end, streaming media server, and so on. Aiming at the asynchronous situation of audio and video data transmission, a real-time streaming media synchronization scheme based on network adaptive control based on RTP/RTCP protocol is designed. The synchronization control of audio and video is implemented in three aspects of network status. The synchronous acquisition and coding of audio and video data are realized at the source end, and the audio and video data are timestamped before transmission. The first step is to synchronize the received audio and video packets to eliminate the disorder caused by the delay jitter, and then decompress the audio frequency separately. Finally, according to the time stamp value, the audio and video data are controlled synchronously. In the adaptive aspect of the network condition, the terminal counts the network delay jitter and packet loss. On the one hand, the buffer and playback rate is adjusted according to the statistical information, on the other hand, the statistical information is fed back to the source end. The source side adjusts the video compression ratio according to the received information, and realizes the rate adjustment of the sending side. Finally, the experiment proves that, The real-time streaming media system has good audio and video synchronization performance under the normal network environment.
【學(xué)位授予單位】:浙江工業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TN919.8
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 王華安;;2014年中國(guó)安防市場(chǎng)展望[J];中國(guó)公共安全;2014年Z2期
2 馬杰,田金文,柳鍵;流媒體技術(shù)及其文件格式[J];計(jì)算機(jī)工程與應(yīng)用;2003年23期
相關(guān)博士學(xué)位論文 前1條
1 趙海武;數(shù)字視頻壓縮理論與技術(shù)研究[D];南京理工大學(xué);2002年
,本文編號(hào):1614308
本文鏈接:http://www.sikaile.net/kejilunwen/wltx/1614308.html
最近更新
教材專著