您好,登錄后才能下訂單哦!
這篇文章主要介紹“RTP的視頻的采樣率多少kHz”,在日常操作中,相信很多人在RTP的視頻的采樣率多少kHz問題上存在疑惑,小編查閱了各式資料,整理出簡(jiǎn)單好用的操作方法,希望對(duì)大家解答”RTP的視頻的采樣率多少kHz”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!
-----------------------------------------------------------------------------------------------------------------------------------------
軟件下載地址: http://www.qiyicc.com/download/rtmpd.zip
github 地址:https://github.com/superconvert/smart_rtmpd
-----------------------------------------------------------------------------------------------------------------------------------------
其實(shí)我原來一直也有這個(gè)疑問,網(wǎng)上也有些解釋,感覺有點(diǎn)太牽強(qiáng),不完善。今天我就來和大家說一說這個(gè)的來歷。
那怎么樣才更具有說服力呢?當(dāng)然是引經(jīng)據(jù)典,參看我們的 RFC 了。
其中 rfc3551 中,第 5 小節(jié),是這么介紹的。
5. Video
The following sections describe the video encodings that are defined
in this memo and give their abbreviated names used for
identification. These video encodings and their payload types are
listed in Table 5.
All of these video encodings use an RTP timestamp frequency of 90,000
Hz, the same as the MPEG presentation time stamp frequency. This
frequency yields exact integer timestamp increments for the typical
24 (HDTV), 25 (PAL), and 29.97 (NTSC) and 30 Hz (HDTV) frame rates
and 50, 59.94 and 60 Hz field rates. While 90 kHz is the RECOMMENDED
rate for future video encodings used within this profile, other rates
MAY be used. However, it is not sufficient to use the video frame
rate (typically between 15 and 30 Hz) because that does not provide
adequate resolution for typical synchronization requirements when
calculating the RTP timestamp corresponding to the NTP timestamp in
an RTCP SR packet. The timestamp resolution MUST also be sufficient
for the jitter estimate contained in the receiver reports.
For most of these video encodings, the RTP timestamp encodes the
sampling instant of the video image contained in the RTP data packet.
If a video image occupies more than one packet, the timestamp is the
same on all of those packets. Packets from different video images
are distinguished by their different timestamps.
Most of these video encodings also specify that the marker bit of the
RTP header SHOULD be set to one in the last packet of a video frame
and otherwise set to zero. Thus, it is not necessary to wait for a
following packet with a different timestamp to detect that a new
frame should be displayed.
從上文我們可以看到 90 kHz 等同于 MPEG 呈現(xiàn)時(shí)間戳頻率。同時(shí) 90 kHz 滿足
多種制式以及頻段時(shí)間戳增長為整數(shù)的需要,目的就是減少時(shí)間戳偏差。同時(shí) 90 kHz
也滿足 RTCP SR 計(jì)算 NTP 同步的需要,也滿足接收?qǐng)?bào)告中 jitter 的估算。
簡(jiǎn)而言之一句話:90 kHz 就是 RTP 視頻時(shí)間戳的天選之子!
到此,關(guān)于“RTP的視頻的采樣率多少kHz”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注億速云網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。