The invention discloses an audio-video
fingerprint generation method based on key frames. The audio-video
fingerprint generation method comprises the following steps: firstly extracting a plurality of the key frames from an I-frame of video data based on a minimum vertex covering principle so as to reduce
fingerprint expenditure; then by virtue of characteristics of DCT (
discrete cosine transform) coefficients of the I-frame, selecting a
direct current (DC) coefficient x<0> and N low-frequency
alternating current (AC) coefficients x<1>, x<2>...and x<N> with minimum frequency of the key frames, generating a 0 / 1 sequence with N+1 digits by a quantization coding mode, converting timestamps of the key frames into a binary sequence, and placing the binary sequence in front of the 0 / 1 sequence with the N+1 digits so as to form a video frame fingerprint with M-1 digits for the key frames; and by virtue of characteristics of
exclusive OR (XOR) operation, and uniting audio and video fingerprints into one, an audiovisual fingerprint is generated through the matching and synchronous
authentication of the timestamps. The audio-video fingerprint generation method has the advantages of achieving the purpose of authenticating a plurality of media data at the same time through one fingerprint, greatly reducing the fingerprint expenditure and realizing certain
error location, error detection and repair functions on problems such as incorrect playback and error playback of audio-video programs,
insertion of illegal programs, program interpolation and the like.