您好,登錄后才能下訂單哦!
這篇文章主要介紹“RTP的視頻的采樣率多少kHz”,在日常操作中,相信很多人在RTP的視頻的采樣率多少kHz問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”RTP的視頻的采樣率多少kHz”的疑惑有所幫助!接下來,請跟著小編一起來學習吧!
-----------------------------------------------------------------------------------------------------------------------------------------
軟件下載地址: http://www.qiyicc.com/download/rtmpd.zip
github 地址:https://github.com/superconvert/smart_rtmpd
-----------------------------------------------------------------------------------------------------------------------------------------
其實我原來一直也有這個疑問,網上也有些解釋,感覺有點太牽強,不完善。今天我就來和大家說一說這個的來歷。
那怎么樣才更具有說服力呢?當然是引經據典,參看我們的 RFC 了。
其中 rfc3551 中,第 5 小節,是這么介紹的。
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 呈現時間戳頻率。同時 90 kHz 滿足
多種制式以及頻段時間戳增長為整數的需要,目的就是減少時間戳偏差。同時 90 kHz
也滿足 RTCP SR 計算 NTP 同步的需要,也滿足接收報告中 jitter 的估算。
簡而言之一句話:90 kHz 就是 RTP 視頻時間戳的天選之子!
到此,關于“RTP的視頻的采樣率多少kHz”的學習就結束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學習,快去試試吧!若想繼續學習更多相關知識,請繼續關注億速云網站,小編會繼續努力為大家帶來更多實用的文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。