The invention discloses a monitoring video
delay sweep generation method based on scene change self-adaptive frame extraction, and belongs to the technical field of
video monitoring and streaming media
processing. The method comprises the following steps: acquiring a sweep strategy containing a time period, a reference interval, a difference threshold value, a forced
retention period, a window length and a quality threshold value; receiving a real-time code
stream or reading a storage side
key frame intermediate file; calculating an inter-
frame difference degree by using a brightness channel of a multi-
scale structure similarity
algorithm, determining a frame extraction interval in combination with a static duration, and marking candidate frames; performing quality detection according to definition, brightness, contrast, stripes and
noise, and rejecting unqualified products; when a forced period is reached, a bottom frame is reserved; and performing segmented coding according to a time window, and performing
assembly output at the end of a time period. According to the method,
online and offline processing links are unified, key information is reserved, and redundancy and time
delay are reduced.