Home > other >  Under the condition of local area network (LAN), the use of hdmi output encoder of h. 264, use what
Under the condition of local area network (LAN), the use of hdmi output encoder of h. 264, use what

Time:09-29

Built-in hdmi encoder the RTP and RTSP protocol, code output resolution is 1080 p, 60 frames, in the case of a local area network (LAN) excuse me, what use agreement time delay to the other side of the screen to a minimum, or without the use of agreement, whether directly to the output of h. 264 NAL Unit, through LAN to support hardware solutions for h. 264 AnZhuoDuan decoding display directly

CodePudding user response:

Oneself the top, there is a great god come and answer it for me

CodePudding user response:

Not done so directly, but a few years ago have tried to use a PC (. Windows XP) to interface hai kang NVR, the principle about
First of all, since it is a network (pure local area network) and it is a single link, there is no need to consider multipath packet order problem, my way is:
1. Using UDP (can be multicast), the sender logically default will not lost package, each UDP packet 1 k (1024 bytes) effectively, with a source ID (16), a frame number (16), a valid bytes (16 bits), interception of data flow is taken from the NVR directly after contract awarding,
Open up 128 k 2. The receiving end ring buffer, records receives the frame number, and immediately to the decoding, found the serial number break (on a receiving bag is N and the next is not N + 1) with UDP packet to the sender sends a directive resend the N + 1, when receiving an I frame buffer start immediately in front of the discarded,
This through debugging and won the best real-time degree, but apparently will only apply to pure LAN single link environment, hope to help you,

CodePudding user response:

If send nalu directly, receive udp packets may order will be upset, but the network condition good cases, this way is ok, I have done the similar, but the network conditions almost, this way is estimated washed-up, feel not slow RTP protocol, how much, also provides package order, the information such as timestamp,

CodePudding user response:

reference 5 floor delphi_bird reply:
if directly hair nalu, receives the udp packets may order will be upset, but the network condition good circumstances, can be this way, I have done the similar, but the network conditions almost, this way is estimated washed-up, feeling not slow RTP protocol, how much, also provides package order, the information such as timestamp,


Can use UDP broadcast, so in more than one screen at the same time displays an image or as stitching a fusion image in several (up to 4) screen displays have an advantage, because they don't need to send to each decoder unit respectively
  • Related