The invention discloses a video generation model training
data set processing method, and belongs to the field of
video processing. The method comprises the following steps: S1, storing a video collected in a specific service direction in a single specified folder, wherein the video has no fixed limitation in the aspects of duration, resolution and
frame rate; s2, extracting the file name, the
frame rate, the duration, the resolution ratio and the
aspect ratio of the video in the S1, and recording the data in a CSV file; s3, performing the following screening on each video according to the information in the S2: deleting the video when the video resolution is lower than 360P; deleting the video when the
aspect ratio of the video is less than 0.7; when the video
frame rate is lower than 20 frames per second, deleting; and S4, performing
scene segmentation on the video screened in the step S3 by adopting a PySceneDetect
algorithm. According to the method, representative and dynamically changing core frames can be uniformly extracted from a large number of original videos, so that the diversity and quality of a video
data set are improved, and high-quality training data are provided for a video generation model.