Video fingerprint generation method and device
A video fingerprint and fingerprint technology, applied in the direction of analog security/charging system, etc., can solve the problem of inability to provide multimedia video fingerprints.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] The first embodiment provided by the present invention is a method, and the method flow is as follows figure 1 shown, including:
[0020] Step 101: Extract DCT (Discrete Cosine Transform) coefficients of the I frame.
[0021] You can use the FFMpeg toolkit to decode the video data stream of the video file MPEG series or H.26X series to obtain a single video frame. The attributes of a single frame are divided into I frame, P frame, and B frame according to the encoding method, such as figure 2 shown. In FFMpeg, the video frame AVFrame structure has key_frame attribute and pict_type attribute, only need to use 1==AVFrame->key_frame && FF_I_TYPE==AVFrame->pict_type to extract I frame. Since the intra-frame coding of the I frame adopts DCT coding, DCT coefficients can be directly extracted in the compressed domain without decoding a single frame.
[0022] Step 102: Generate a corresponding DCT vector according to the DCT coefficients of the I frame.
[0023] The genera...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 