CN113507571B - Video anti-clipping method, device, equipment and readable storage medium - Google Patents

Video anti-clipping method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113507571B
CN113507571B CN202110742898.XA CN202110742898A CN113507571B CN 113507571 B CN113507571 B CN 113507571B CN 202110742898 A CN202110742898 A CN 202110742898A CN 113507571 B CN113507571 B CN 113507571B
Authority
CN
China
Prior art keywords
target
video
frame
frames
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110742898.XA
Other languages
Chinese (zh)
Other versions
CN113507571A (en
Inventor
徐怀亮
徐怀修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Luning Technology Co ltd
Original Assignee
Shenzhen Luzhuo Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Luzhuo Technology Co ltd filed Critical Shenzhen Luzhuo Technology Co ltd
Priority to CN202110742898.XA priority Critical patent/CN113507571B/en
Publication of CN113507571A publication Critical patent/CN113507571A/en
Application granted granted Critical
Publication of CN113507571B publication Critical patent/CN113507571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/913Television signal processing therefor for scrambling ; for copy protection
    • H04N2005/91357Television signal processing therefor for scrambling ; for copy protection by modifying the video signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video anti-clipping method, a device, equipment, a readable storage medium and a program product, wherein the method comprises the following steps: generating a target video through a target camera device, and extracting key frames in the target video; splitting a target video based on the key frames to obtain target picture groups, wherein each target picture group comprises a key frame; sequencing the target picture group according to the time axis of the target video to obtain a sequencing result, and recording pixel distinguishing information between key frames and other picture frames in the target picture group; the sorting result and the key frame are stored in the target camera device, and the pixel distinguishing information is stored in the target server in an encrypted manner. The invention effectively avoids the safety risk caused by editing the target video by encrypting and storing the pixel distinguishing information between the key frame and other picture frames.

Description

Video anti-clipping method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of video processing, and in particular, to a video anti-editing method, apparatus, device, readable storage medium and program product.
Background
With the increase of the storage quantity of automobiles, related products of the automobiles are rapidly developed, the increase of the quantity of the automobiles also directly causes the increase of traffic pressure and the easy occurrence of traffic accidents, as an important tool for traffic accident identification, an automobile recorder gradually becomes standard of the automobiles, videos shot by the automobile recorder can also be directly used as references for traffic accident identification, but the videos recorded by the existing automobile recorder are not different from videos shot by a camera device in nature, after the recorded videos of the automobiles are read out, the learning cost of editing videos is lower, and the editing prevention and identification cost for taking the recorded videos of the automobiles as references for traffic accident identification is also increased.
Disclosure of Invention
The invention mainly aims to provide a video editing prevention method, a device, equipment, a readable storage medium and a program product, which aim to solve the technical problem that the learning cost of editing video generated by the existing automobile data recorder is low.
In addition, to achieve the above object, the present invention also provides a video anti-clipping method, which includes the steps of:
generating a target video through the target camera device, and extracting key frames in the target video;
splitting the target video based on the key frames to obtain target picture groups, wherein each target picture group comprises one key frame;
sorting the target picture group according to the time axis of the target video to obtain a sorting result, and recording pixel distinguishing information between the key frames and other picture frames in the target picture group;
and storing the sorting result and the key frame into the target camera device, and storing the pixel distinguishing information into the target server in an encrypted manner.
Optionally, the step of generating a target video by the target camera device and extracting key frames in the target video includes:
acquiring a target video generated by the target camera device, and splitting the target video according to the frame number of the target video to obtain a target picture frame;
and screening the target picture frames according to preset definition and/or preset resolution to obtain key frames in the target video.
Optionally, after the step of screening the target picture frame to obtain the key frame in the target video, the method includes:
comparing the frame number of the target video and the number of the key frames to obtain a target proportion;
if the target proportion is smaller than a first preset threshold value, reducing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain key frames in the target video;
and if the target proportion is greater than a second preset threshold, increasing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain the key frames in the target video.
Optionally, after the step of splitting the target video based on the key frame to obtain the target frame group, the method includes:
marking the key frames in the target picture group to obtain key frame identifiers;
the step of sorting the target picture group according to the time axis of the target video to obtain a sorting result comprises the following steps:
and sequencing the key frame identifiers corresponding to the target picture group according to the time axis of the target video to obtain a sequencing result containing the key frame identifiers.
Optionally, the step of sorting the target frame group according to the time axis of the target video to obtain a sorting result, and recording pixel distinguishing information between the key frame and other frame in the target frame group includes:
sorting the target picture group according to the time axis of the target video to obtain a sorting result, and judging whether the target picture group contains other picture frames except the key frame or not;
and if the target picture group contains the other picture frames, comparing the key frames in the target picture group with the other picture frames, and determining distinguishing pixel points and pixel distinguishing information corresponding to the distinguishing pixel points.
Optionally, after the step of generating the target video by the target image capturing apparatus, the method includes:
and when the output instruction corresponding to the target video is detected, extracting a key frame in the target video, and sending the key frame to a target terminal corresponding to the output instruction.
In addition, to achieve the above object, the present invention also provides a video anti-clipping apparatus, including:
the target video splitting module is used for splitting the target video based on the key frames to obtain target picture groups, wherein each target picture group comprises one key frame;
the pixel distinguishing information recording module is used for sequencing the target picture group according to the time axis of the target video to obtain a sequencing result and recording the pixel distinguishing information between the key frame and other picture frames in the target picture group;
and the encryption storage module is used for storing the sequencing result and the key frame into the target camera device and encrypting and storing the pixel distinguishing information into a target server.
In addition, to achieve the above object, the present invention also provides a video anti-clipping apparatus, including: the video editing prevention device comprises a memory, a processor and a video editing prevention program which is stored in the memory and can run on the processor, wherein the video editing prevention program realizes the steps of the video editing prevention method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a readable storage medium having stored thereon a video anti-clip program which, when executed by a processor, implements the steps of the video anti-clip method as described above.
Furthermore, to achieve the above object, the present invention provides a program product comprising a computer program which, when being executed by a processor, implements the steps of the video anti-editing method as described above.
The embodiment of the invention provides a video anti-clipping method, a device, equipment, a readable storage medium and a program product, wherein the video anti-clipping method is applied to a target camera device, a target server is in communication connection with the target camera device, a target video is firstly shot and generated through the target camera device, then key frames in the target video are extracted, the target video is split on the basis of the key frames to obtain target picture groups, wherein each target picture group comprises a key frame, then the target picture groups are ordered according to a time axis of the target video to obtain an ordering result, pixel distinguishing information between the key frames and other picture frames in the target picture groups is recorded, finally, the ordering result and the key frames are stored in the target camera device, and the pixel distinguishing information is stored in the target server in an encrypted manner.
Drawings
Fig. 1 is a schematic hardware structure of an implementation manner of a video anti-editing device according to an embodiment of the present invention;
FIG. 2 is a flowchart of a video anti-editing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a video anti-editing method according to a second embodiment of the present invention;
fig. 4 is a schematic functional block diagram of an embodiment of a video anti-editing apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The video anti-editing terminal provided by the embodiment of the invention can be a device with a video shooting function such as a vehicle recorder and the like, and can also be a terminal with a code compiling function such as a personal computer and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a video anti-clip program may be included in the memory 1005 as one type of readable storage medium.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a video anti-clip program stored in the memory 1005, which when executed by the processor, implements the operations in the video anti-clip method provided in the embodiments described below.
Based on the hardware structure of the device, the embodiment of the video anti-clipping method is provided.
Referring to fig. 2, in a first embodiment of the video anti-clip method of the present invention, the video anti-clip method includes:
step S10, generating a target video through the target camera device, and extracting key frames in the target video.
The video anti-clipping method in the embodiment of the invention is applied to a target camera device (hereinafter, a vehicle recorder is used for replacing description), the vehicle recorder can be connected with a local server or a cloud server in an operation state, the local server or the cloud server (hereinafter, the target server is used for replacing description) is used for storing videos shot by the vehicle recorder (namely, target videos in the embodiment), or video related data, after the vehicle recorder shoots the target videos, key frames in the target videos can be firstly extracted by the vehicle recorder, then the target videos are uploaded to the target server, or key frames in the target videos are extracted, and the target videos after the key frames are extracted are uploaded to the target server.
Step S20, splitting the target video based on the key frames to obtain target picture groups, where each target picture group includes one key frame.
In this embodiment, a specific application scenario is provided, the vehicle recorder shoots a target video with a period of 10 seconds, the shooting frame rate of the vehicle recorder is 30 frames per second, the frame number of the target video is 300, the target video is split to obtain 300 frames, the 300 frames are sequenced in sequence according to the time axis of the target video to obtain frames represented by 1 to 300 labels, the position of a key frame in the 300 frames is determined, if the first key frame label of the target video is 2, the second key frame label is 3, and the second key frame label is 6, the first target frame group of the target video comprises frame images with labels 1 and 2, the second target frame group comprises frame images with labels 3 and 4, or frame images with labels 3, 4 and 5, that is, the principle of splitting the target video based on the key frames to obtain target frame groups is that each target frame group only comprises one key frame.
And step S30, sorting the target picture group according to the time axis of the target video to obtain a sorting result, and recording pixel distinguishing information between the key frame and other picture frames in the target picture group.
After 300 frames are sequenced and split in sequence, sequencing the obtained target frame groups according to the time axis of the target video to obtain the sequence of the target frame groups on the time axis of the target video, then recording pixel distinguishing information between key frames and other frame in the target frame groups, and using a first target frame group on the time axis of the target video for illustration, wherein the first target frame group comprises frame frames with the numbers of 1 and 2, the frame with the number of 2 is the key frame in the first target frame group, the frame with the number of 1 is the other frame groups in the first target frame group, and the difference between the frame with the number of 1 and the frame with the number of 2 on the pixel point is recorded to obtain the pixel distinguishing information between the key frame and other frame in the first target frame group; the second target frame group on the time axis of the target video is exemplified, the second target frame group contains frame frames with reference numbers of 3 and 4, or frame frames with reference numbers of 3, 4 and 5, if the second target frame group contains frame frames with reference numbers of 3, 4 and 5, the distinction between any two frame frames with reference numbers of 3, 4 and 5 needs to be recorded (the purpose is to ensure that the distinction record between any two frame frames in the second target frame group is more accurate), thus 6 pieces of pixel distinguishing information are obtained, the pixel distinguishing information obtained by the second target frame group is more, and the storage amount is larger than that of the first target frame group, so that the problem of the quantity of the pixel distinguishing information caused by the distinction is also needed to be comprehensively considered when the target video is split based on the key frames.
And step S40, storing the sorting result and the key frame into the target camera device, and storing the pixel distinguishing information into the target server in an encrypted manner.
After the sorting result of the target picture group on the time axis of the target video is obtained, namely, the sorting result of the key frame on the time axis of the target video is obtained, and then the sorting result of the target picture group on the time axis of the target video, or the sorting result of the key frame on the time axis of the target video and the key frame are stored into a memory of a vehicle recorder together, and the obtained pixel distinguishing information can be stored into a target server in an encrypted manner in consideration of the limited memory of the vehicle recorder, so that the storage pressure of the vehicle recorder is relieved; the method has the advantages that the speed of the automobile data recorder for reading the target video is higher, the key frames are stored in an unencrypted mode, and the aim of encrypting and storing the pixel distinguishing information is that users who cannot decrypt and acquire the pixel distinguishing information cannot acquire complete target video, and then cannot clip the complete target video, so that the safety risk caused by easy clipping of the target video is effectively avoided.
Specifically, the step of refining in step S10 includes:
and a1, acquiring a target video generated by the target camera device, and splitting the target video according to the frame number of the target video to obtain a target picture frame.
And a2, screening the target picture frames according to preset definition and/or preset resolution to obtain key frames in the target video.
In this embodiment, a specific application scenario is given, the vehicle recorder shoots a target video with a period of 10 seconds, the shooting frame rate of the vehicle recorder is 30 frames per second, the frame number of the target video is 300, the target video is split to obtain 300 frames (i.e. the target frame in this embodiment), then, for each frame of the 300 frames, the sharpness value and the resolution value of each frame and the change degree of each frame compared with the previous frame of the frame are calculated, in this embodiment, the change degree of each frame compared with the previous frame of the frame is calculated by using a certain frame of the 300 frames as a first frame, using the previous frame of the first frame as a second frame, obtaining the color value sum of all pixels forming the first frame, and the color value sum of all pixels forming the first frame, calculating the color value sum corresponding to the first frame, and the difference between the color value sums corresponding to the second frame, and the difference between the difference is greater than the change degree of each frame compared with the previous frame. And after calculating the definition value and the resolution value of each frame of 300 frames and comparing the change degree of each frame of frames with the previous frame of frames, weighting the definition value and the resolution value of each frame of frames and the change degree of each frame of frames with the previous frame of frames to obtain the comprehensive score of each frame of frames, and taking the frames with the comprehensive score larger than a certain preset value as key frames.
Specifically, the steps after step a2 include:
and b1, comparing the frame number of the target video with the number of the key frames to obtain a target proportion.
And b2, if the target proportion is smaller than a first preset threshold, reducing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain the key frames in the target video.
And b3, if the target proportion is greater than a second preset threshold, increasing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain the key frames in the target video.
As can be seen from the above, the selection of the key frames has a certain influence on the size of the pixel distinguishing information, so in this embodiment, when the frame number of the target video is obtained and the number of the key frames is extracted based on the preliminarily preset definition threshold, resolution threshold and variation threshold, the ratio of the number of the preliminarily obtained key frames to the frame number of the target video, that is, the target ratio in this embodiment, if the target ratio is smaller than the first preset threshold, it indicates that the number of the preliminarily obtained key frames is smaller than the frame number of the target video, which results in larger pixel distinguishing information, then the preliminarily preset definition threshold, resolution threshold or variation threshold needs to be reduced, and then the target picture frames need to be screened again according to the reduced definition threshold, resolution threshold and variation threshold, so that the number of the key frames obtained by screening is increased; if the target proportion is greater than the second preset threshold, the number of the primarily obtained key frames is larger than that of the target video, so that the number of the key frames which are not stored in an encrypted mode is larger, and the safety risk of the target video being clipped is increased.
Specifically, the steps following step S20 include:
and c1, marking the key frames in the target picture group to obtain key frame identifiers.
The step of refining in the step S30 comprises the following steps:
and c2, sorting the key frame identifiers corresponding to the target picture group according to the time axis of the target video to obtain a sorting result containing the key frame identifiers.
From the above, it can be seen that after the ordering result of the target frame group on the time axis of the target video is obtained, that is, the ordering result of the key frame on the time axis of the target video is obtained, the key frame identifier in this embodiment corresponds to the label of the key frame in the above content, after the label of the key frame is obtained, the label of the key frame is ordered according to the time axis of the target video, so as to obtain the ordering result including the key frame identifier, and the purposes of marking and ordering the key frame are to obtain the ordering result of all the key frames according to the key frame identifier when the key frame is obtained from the memory of the automobile data recorder.
The video clipping prevention method in the embodiment is applied to a target camera, a target server is in communication connection with the target camera, the target camera is used for shooting and generating target videos, key frames in the target videos are extracted, the target videos are split on the basis of the key frames to obtain target picture groups, each target picture group comprises a key frame, the target picture groups are ordered according to a time axis of the target videos to obtain an ordering result, pixel distinguishing information between the key frames and other picture frames in the target picture groups is recorded, finally, the ordering result and the key frames are stored in the target camera, and the pixel distinguishing information is stored in the target server in an encrypted mode.
Further, referring to fig. 3, a second embodiment of the video anti-clipping method of the present invention is presented on the basis of the above-described embodiment of the present invention.
This embodiment is a step of refining step S30 in the first embodiment, and is different from the above-described embodiment of the present invention in that:
step S31, sorting the target picture group according to the time axis of the target video to obtain a sorting result, and judging whether the target picture group contains other picture frames except the key frame.
Step S32, if the target frame group includes the other frame, comparing the key frame in the target frame group with the other frame, and determining a difference pixel point and pixel difference information corresponding to the difference pixel point.
It is known that if a certain target frame group contains only a key frame and does not contain other frame frames except the key frame, the processing of recording pixel distinguishing information is not required for the target frame group, and in fact, the target frame group containing only a key frame does not have corresponding pixel distinguishing information, so that if the target frame group contains only a key frame, only the sorting result and the key frame may be stored in the target image capturing device, and if the target frame group contains other frame frames except the key frame, the key frame in the target frame group is compared with other frame frames to determine distinguishing pixel points and pixel distinguishing information corresponding to the distinguishing pixel points.
Specifically, after the step of generating the target video by the target image capturing apparatus in step S10, it includes:
and d1, when an output instruction corresponding to the target video is detected, extracting a key frame in the target video, and sending the key frame to a target terminal corresponding to the output instruction.
It is known that, in the video anti-clipping method in this embodiment, the target video may be directly stored in the vehicle recorder, then when an output instruction corresponding to the target video is detected, the key frame in the target video is extracted, and the operation in the above embodiment such as the target frame group is obtained by splitting the target video based on the key frame, then the obtained key frame is sent to the target terminal corresponding to the output instruction, and a specific application scenario may be that the target terminal (may be a mobile phone or a personal computer) is in communication connection with the vehicle recorder, when the user obtains the target video from the vehicle recorder through the target terminal and the communication connection, the vehicle recorder detects the output instruction, then the vehicle recorder extracts the target video to obtain the key frame, and then sends the key frame to the target terminal, so that when other users want to obtain the target video through the target terminal, the vehicle recorder may also send the encrypted pixel distinguishing information to the target terminal together, if the other users may decrypt the pixel distinguishing information, the complete target video may be obtained, thereby reducing the pressure of the vehicle recorder and avoiding the risk of clipping the target video from being caused by other vehicle video storage devices.
In this embodiment, by performing the operations such as extracting the key frames when the target video is read from the target image capturing device, the storage pressures of the target image capturing device and the target server are reduced while effectively avoiding the target video from being clipped by the outside.
In addition, referring to fig. 4, an embodiment of the present invention further provides a video anti-clipping device, where the video anti-clipping device includes:
a key frame extraction module 10, configured to generate a target video through a target camera device, and extract a key frame in the target video;
a target video splitting module 20, configured to split the target video based on the key frames to obtain target frame groups, where each target frame group includes one key frame;
the pixel distinguishing information recording module 30 is configured to sort the target frame group according to the time axis of the target video, obtain a sorting result, and record the pixel distinguishing information between the key frame and other frame in the target frame group;
and an encryption storage module 40, configured to store the sorting result and the key frame in the target image capturing device, and store the pixel distinguishing information in an encryption manner in a target server.
Optionally, the key frame extraction module 10 includes:
a target picture frame obtaining unit, configured to obtain a target video generated by the target image capturing device, and split the target video according to a frame number of the target video to obtain a target picture frame;
and the screening unit is used for screening the target picture frames according to preset definition and/or preset resolution to obtain key frames in the target video.
Optionally, the video anti-clipping device further includes:
the target proportion obtaining module is used for comparing the frame number of the target video and the number of the key frames to obtain a target proportion;
the first adjusting module is configured to reduce the preset definition and/or the preset resolution if the target proportion is smaller than a first preset threshold, and return to the step of screening the target picture frame according to the preset definition and/or the preset resolution to obtain a key frame in the target video;
and the second adjusting module is used for increasing the preset definition and/or the preset resolution if the target proportion is larger than a second preset threshold value, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain the key frames in the target video.
Optionally, the video anti-clipping device further includes:
the key frame marking module is used for marking the key frames in the target picture group to obtain key frame identifiers;
the pixel distinguishing information recording module 30 includes:
and the ordering unit is used for ordering the key frame identifiers corresponding to the target picture group according to the time axis of the target video to obtain an ordering result containing the key frame identifiers.
Optionally, the pixel distinguishing information recording module 30 further includes:
the judging unit is used for sequencing the target picture group according to the time axis of the target video to obtain a sequencing result and judging whether the target picture group contains other picture frames except the key frame or not;
and the frame comparison unit is used for comparing the key frames in the target picture group with the other picture frames if the target picture group contains the other picture frames, and determining the difference pixel points and the pixel difference information corresponding to the difference pixel points.
Optionally, the video anti-clipping device further includes:
and the key frame output module is used for extracting the key frames in the target video when the output instructions corresponding to the target video are detected, and sending the key frames to the target terminals corresponding to the output instructions.
In addition, the embodiment of the invention also provides a readable storage medium, wherein the readable storage medium is stored with a video anti-clipping program, and the video anti-clipping program realizes the operations in the video anti-clipping method provided by the embodiment when being executed by a processor.
The methods performed by the program modules may refer to various embodiments of the methods according to the present invention, and are not described herein.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, in which the units illustrated as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present invention. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the video anti-clipping method according to the various embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (7)

1. A video anti-clipping method, wherein the video anti-clipping method is applied to a target camera device, a target server is in communication connection with the target camera device, the video anti-clipping method comprises the following steps:
generating a target video through the target camera device, and extracting key frames in the target video;
splitting the target video based on the key frames to obtain target picture groups, wherein each target picture group comprises one key frame;
sorting the target picture group according to the time axis of the target video to obtain a sorting result, and recording pixel distinguishing information between the key frames and other picture frames in the target picture group;
storing the sorting result and the key frame into the target camera device, and encrypting and storing the pixel distinguishing information into the target server;
the step of generating a target video by the target camera device and extracting key frames in the target video comprises the following steps:
acquiring a target video generated by the target camera device, and splitting the target video according to the frame number of the target video to obtain a target picture frame;
obtaining a first picture based on the target picture frame, obtaining the color value sum of all pixel points of the first picture, and the color value sum of all pixel points of a previous frame picture of the first picture, and determining the difference between the color value sums;
and screening the target picture frames based on the difference between the color value sum according to preset definition and/or preset resolution to obtain key frames in the target video.
2. The video anti-clipping method of claim 1, wherein after the step of filtering the target picture frame to obtain a key frame in the target video, the method comprises:
comparing the frame number of the target video and the number of the key frames to obtain a target proportion;
if the target proportion is smaller than a first preset threshold value, reducing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain key frames in the target video;
and if the target proportion is greater than a second preset threshold, increasing the preset definition and/or the preset resolution, and returning to the step of screening the target picture frames according to the preset definition and/or the preset resolution to obtain the key frames in the target video.
3. The method for video anti-editing as recited in claim 1, wherein after said step of splitting said target video based on said key frames to obtain a target group of pictures, it comprises:
marking the key frames in the target picture group to obtain key frame identifiers;
the step of sorting the target picture group according to the time axis of the target video to obtain a sorting result comprises the following steps:
and sequencing the key frame identifiers corresponding to the target picture group according to the time axis of the target video to obtain a sequencing result containing the key frame identifiers.
4. The video anti-clipping method of claim 1, wherein the step of sorting the target group of pictures according to the time axis of the target video to obtain a sorting result, and recording pixel distinguishing information between the key frame and other picture frames in the target group of pictures comprises:
sorting the target picture group according to the time axis of the target video to obtain a sorting result, and judging whether the target picture group contains other picture frames except the key frame or not;
and if the target picture group contains the other picture frames, comparing the key frames in the target picture group with the other picture frames, and determining distinguishing pixel points and pixel distinguishing information corresponding to the distinguishing pixel points.
5. The video anti-editing method according to claim 1, wherein after the step of generating the target video by the target image capturing apparatus, comprising:
and when the output instruction corresponding to the target video is detected, extracting a key frame in the target video, and sending the key frame to a target terminal corresponding to the output instruction.
6. A video anti-clipping device, the video anti-clipping device comprising: memory, a processor and a video anti-clip program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the video anti-clip method of any one of claims 1 to 5.
7. A readable storage medium, wherein a video anti-clip program is stored on the readable storage medium, which when executed by a processor, implements the steps of the video anti-clip method of any one of claims 1 to 5.
CN202110742898.XA 2021-06-30 2021-06-30 Video anti-clipping method, device, equipment and readable storage medium Active CN113507571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110742898.XA CN113507571B (en) 2021-06-30 2021-06-30 Video anti-clipping method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110742898.XA CN113507571B (en) 2021-06-30 2021-06-30 Video anti-clipping method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113507571A CN113507571A (en) 2021-10-15
CN113507571B true CN113507571B (en) 2023-10-24

Family

ID=78009537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110742898.XA Active CN113507571B (en) 2021-06-30 2021-06-30 Video anti-clipping method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113507571B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812392B (en) * 2024-01-09 2024-05-31 广州巨隆科技有限公司 Resolution self-adaptive adjustment method, system, medium and device for visual screen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404769A (en) * 2008-09-26 2009-04-08 北大方正集团有限公司 Video encoding/decoding method, apparatus and system
WO2016041311A1 (en) * 2014-09-17 2016-03-24 小米科技有限责任公司 Video browsing method and device
CN105554502A (en) * 2015-12-07 2016-05-04 天津大学 Distributed compressed sensing video encoding and decoding method based on foreground-background separation
KR101619791B1 (en) * 2015-01-29 2016-05-13 (주)아이트로닉스 Method for distributing and storing video record data in blackbox
CN108337482A (en) * 2018-02-08 2018-07-27 北京信息科技大学 The storage method and system of monitor video
CN109936763A (en) * 2017-12-15 2019-06-25 腾讯科技(深圳)有限公司 The processing of video and dissemination method
CN110324708A (en) * 2019-07-16 2019-10-11 浙江大华技术股份有限公司 Method for processing video frequency, terminal device and computer storage medium
CN110430446A (en) * 2019-07-26 2019-11-08 东软集团股份有限公司 Method for processing video frequency, device, equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7843512B2 (en) * 2004-03-31 2010-11-30 Honeywell International Inc. Identifying key video frames

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404769A (en) * 2008-09-26 2009-04-08 北大方正集团有限公司 Video encoding/decoding method, apparatus and system
WO2016041311A1 (en) * 2014-09-17 2016-03-24 小米科技有限责任公司 Video browsing method and device
KR101619791B1 (en) * 2015-01-29 2016-05-13 (주)아이트로닉스 Method for distributing and storing video record data in blackbox
CN105554502A (en) * 2015-12-07 2016-05-04 天津大学 Distributed compressed sensing video encoding and decoding method based on foreground-background separation
CN109936763A (en) * 2017-12-15 2019-06-25 腾讯科技(深圳)有限公司 The processing of video and dissemination method
CN108337482A (en) * 2018-02-08 2018-07-27 北京信息科技大学 The storage method and system of monitor video
CN110324708A (en) * 2019-07-16 2019-10-11 浙江大华技术股份有限公司 Method for processing video frequency, terminal device and computer storage medium
CN110430446A (en) * 2019-07-26 2019-11-08 东软集团股份有限公司 Method for processing video frequency, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113507571A (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN105354773B (en) System for evidence preservation and verification on traffic accident scene
KR102087882B1 (en) Device and method for media stream recognition based on visual image matching
US20190087937A1 (en) Monitoring system
KR102002024B1 (en) Method for processing labeling of object and object management server
EP3989158A1 (en) Method, apparatus and device for video similarity detection
CN107943811B (en) Content publishing method and device
CN110991231B (en) Living body detection method and device, server and face recognition equipment
CN109872282B (en) Image desensitization method and system based on computer vision
CN110427810B (en) Video damage assessment method, device, shooting end and machine-readable storage medium
CN109271982B (en) Method for identifying multiple identification areas, identification terminal and readable storage medium
CN113507571B (en) Video anti-clipping method, device, equipment and readable storage medium
CN112381092B (en) Tracking method, tracking device and computer readable storage medium
CN113792661B (en) Image detection method, device, electronic equipment and storage medium
CN115018565A (en) Advertisement media image identification method, system, equipment and readable storage medium
CN111523490A (en) Mask wearing detection method, device, equipment and readable storage medium
CN113011254A (en) Video data processing method, computer equipment and readable storage medium
CN111476273B (en) Image processing method and device
CN108287817B (en) Information processing method and device
CN113536129A (en) Service push method and related product
CN114187545A (en) Identification method and device of gradient lens, electronic equipment and storage medium
CN113515670A (en) Method, device and storage medium for identifying state of movie and television resource
CN109214224B (en) Risk identification method and device for information coding
CN111814714A (en) Image identification method, device and equipment based on audio and video recording and storage medium
CN112307527A (en) Data transmission method and structure
CN114630147B (en) Video processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231207

Address after: 518000 Floor 2, Building 3, Yijiayang Industrial Park, Huaming Road, Langkou Community, Dalang Street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Luning Technology Co.,Ltd.

Address before: 518000 building a, No.4 Mudun Road, Dawei Shahe Industrial Zone, Guangming Street, Guangming New District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN LUZHUO TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right