Method for realizing multipath digital video synchronous processing on basis of FPGA

The invention discloses a method for realizing multipath digital video synchronous processing on the basis of an FPGA, which comprises the following steps: (1) initializing the positions of image signals, setting the frame number to be scanned per second, the line number contained in each frame of image signals and the pixel point number contained in each low of image signals according to the standard of the image signals, and setting starting and ending marks; (2) carrying out clock synchronous processing on the starting marking image signals initialized in the first step and the image signals to be added; and (3) inputting 1/1 square wave signals into the FPGA, wherein the square wave signals extract row synchronous signals according to the starting position and the stopping position of the input digital video by the FPGA. Because the requirements are realized according to the algorithm, the utilization of system resources is greatly reduced, and the use of the space is reduced. Because the design is based on the FPGA, the realization is simple, and a mainboard can be replaced according to the requirements.