The invention discloses a distributed ultra-high-definition video synchronous
processing method, which comprises the following steps of step 1, collecting video data in real time by a camera, converting the
collection time into a uniform
timestamp, and pushing a video
stream to a
client; step 2, the
client reads and analyzes the video
stream of each path of camera to obtain video frame data; step 3, decoding the video frame data by using a GPU (Graphic
Processing Unit), and storing the decoded video frame data into a decoding cache
queue; step 4, reading and
processing the image from the corresponding decoding cache
queue by each thread, and storing the image into a corresponding rendering cache
queue; and step 5, reading the image data from each rendering buffer queue,
synchronizing multiple paths of image data through uniform
timestamp comparison, and merging the synchronized image sequences on the same canvas for rendering display. According to the method,
video decoding and
processing are carried out by using a GPU parallel calculation framework, the time
delay and
jitter of
video processing are reduced,
timestamp synchronization is integrated, and synchronous, real-time and smooth processing of distributed multi-channel ultra-high-definition videos is realized.