server

packet? frame? (calculate rtp packet based mtu)

growww 2019. 8. 11. 15:37

미디어 통신시 계속 궁금했다.

 

패킷로스가 난다.

패킷은 한프레임인가?

한프레임은 어떻게 정의되는가?

mtu(maximum transmission unit)이 설정된 값은 실제로 미디어 송수신시 무슨 의미일까?

 

 

결론은,

mtu 기반으로 rtp frame 이 같은 timestamp로 나눠져서 전송될 것이고,

i-frame, p-frame 등에 따라서 한프레임이 쪼개지는 패킷 수도 다르다.

 

 

 


H.264 also implements B-Frames. This type of frame fills in information between P-Frames. This means that the B-Frame will need to be held until the next P-frame arrives before the information can be used. B-Frames are not used in all modes of H.264. The encoder decides what type of frame is best suited. There are typically more P-frames than I-frames. Lab analysis has shown TelePresence I-frames to generally be 64K wide (50 packets @ 1316 bytes), while P- frames average 8K wide (9 packets at 900 bytes). - answered Mar 17 '16 at 6:30

Q. very much thansk for your answer. I already have an idea about RTP header szie and format. But the thing i want to know is written in your last sentence. could you please elaborate it more? like your'e saying for P frame its 9 packets at 900 bytes . Does it mean 1 packet of 900 bytes? I want to know what is normal RTP packet size in total which is used by video calling applications etc. – james Mar 17 '16 at 7:44

A. Any frame can be divided into multiple packets, so it would be smaller. You need to check the MTU (maximum transmission unit) of your network. – Behind The Sciences Mar 17 '16 at 19:02

 

 

 

SVC 비디오 스트리밍 시에 RTP/UDP/IP 헤더(header), MTU 크기, 및 RTP 패킷화 모드를 고려하여 비트율을 생성함으로써, 오버헤드(overhead) 없이 효율적으로 SVC 비디오를 스트리밍할 수 있는 효과가 있다.

 


https://dsp.stackexchange.com/questions/29493/what-is-typical-rtp-packet-size-for-h-264-video-transmission

 

What is Typical RTP Packet size for H.264 video transmission

I am encoding my video using JM reference software. The encoded file is divided into RTP packets. I can set a RTP packet size in bytes using configuration file. But i am unable to find what should ...

dsp.stackexchange.com

 

 

What is Typical RTP Packet size for H.264 video transmission

I am encoding my video using JM reference software. The encoded file is divided into RTP packets. I can set a RTP packet size in bytes using configuration file. But i am unable to find what should ...

dsp.stackexchange.com

 

https://patents.google.com/patent/KR20080050941A/ko

 

KR20080050941A - Rtp 패킷화 모드별 비트율 생성 방법 - Google Patents

SNU(Single NAL Unit) 모드인 경우의 RTP(Real time Transport Protocol) 패킷화 모드별 비트율 생성 방법에 있어서, NAL(Network Abstraction Layer) 유닛들을 계층(Layer)별로 분류하는 단계; 상기 분류한 계층별 NAL 유닛들의 총 크기를 산출하는 단계; 상기 분류한 계층별 NAL 유닛들의 총 헤더 크기를 산출하는 단계; 및 상기 계층별 NAL 유닛들의 총 크기 및 총 헤더 크기를 이용하여

patents.google.com


(네크워크 계층별로 초당 처리량 등도 봐야겠다..)

 

https://support.excentis.com/index.php?/Knowledgebase/Article/View/29/0/ 

'server' 카테고리의 다른 글

GC 튜닝 & STW (STOP-THE-WORLD)  (0) 2019.05.28
class < jar < war < ear  (0) 2019.03.20
install ubuntu using virtualbox on mac  (0) 2019.03.09
L4 란 :: 로드밸런싱 / fail over  (0) 2018.12.02
socket.io  (0) 2018.11.24