The invention relates to the technical field of video synchronization. The invention relates to a video synchronization method and
system, in particular to a distributed cross-node video synchronization method and
system. The method comprises the following steps: when a video
signal needs to be subjected to cross-screen window display, according to an image
cutting area of a node corresponding toa cross-screen window and a display window area of the node corresponding to the cross-screen window, carrying out
cutting and scaling
processing on decoded frame data corresponding to the cross-screen window to obtain
cut and scaled frame data; superposing the plurality of
cut and scaled frame data according to superposing reference time to obtain frame data of the cross-screen window; setting the
timestamp of the frame data of the cross-screen window after superposition
processing as superposition reference time, and caching the superposition reference time into a display
queue for display;According to the display sending reference time, adopting a single thread to carry out display sending
processing on the frame data in the display
queue. According to the distributed cross-node videosynchronization method and
system, the cross-node video synchronization effect can be obviously improved.