CN112689159B - Video file processing method and device, terminal equipment and storage medium - Google Patents

Video file processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112689159B
CN112689159B CN202011532605.7A CN202011532605A CN112689159B CN 112689159 B CN112689159 B CN 112689159B CN 202011532605 A CN202011532605 A CN 202011532605A CN 112689159 B CN112689159 B CN 112689159B
Authority
CN
China
Prior art keywords
video file
target
information
counterfeiting
audited
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
CN202011532605.7A
Other languages
Chinese (zh)
Other versions
CN112689159A (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 Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance 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 Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN202011532605.7A priority Critical patent/CN112689159B/en
Publication of CN112689159A publication Critical patent/CN112689159A/en
Application granted granted Critical
Publication of CN112689159B publication Critical patent/CN112689159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a video file processing method, which comprises the following steps: when a target video file is obtained, obtaining target additional information of the target video file; when the target additional information meets a first preset condition, acquiring time node information based on the target duration of the target video file; and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file. The invention also discloses a video file processing device, terminal equipment and a computer readable storage medium. By utilizing the video file processing method, after the target anti-counterfeiting video file is obtained, when the target anti-counterfeiting video file is played, a user can clearly see the information in the picture, and the user experience is better.

Description

Video file processing method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method and an apparatus for processing a video file, a terminal device, and a computer-readable storage medium.
Background
Currently, video files in a network can be pirated and illegally distributed. In the related art, a video file processing method is provided to avoid pirating and illegal transmission of video files. The anti-counterfeiting video file is obtained by adding the visual watermark to the video file, and the anti-counterfeiting video file with the visual watermark cannot be pirated and illegally spread.
However, when playing the anti-counterfeit video file, the playing picture is seriously blocked.
Disclosure of Invention
The invention mainly aims to provide a video file processing method, a video file processing device, terminal equipment and a computer readable storage medium, and aims to solve the technical problem that a playing picture is seriously shielded when an anti-counterfeiting video file is played in the prior art.
In order to achieve the above object, the present invention provides a video file processing method, including the following steps:
when a target video file is obtained, obtaining target additional information of the target video file;
when the target additional information meets a first preset condition, acquiring time node information based on the target duration of the target video file;
and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file.
Optionally, the time node information includes a plurality of time nodes; the step of adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file comprises the following steps:
and adding visual anti-counterfeiting information to the target video file by utilizing the plurality of time node information to obtain the target anti-counterfeiting video file.
Optionally, the step of adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain the target anti-counterfeiting video file includes:
adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain a preprocessed video file;
and adding the plurality of time node information into the preprocessed video file to obtain the target anti-counterfeiting video file.
Optionally, after the step of adding the plurality of time node information to the preprocessed video file to obtain the target anti-counterfeit video file, the method further includes:
receiving an image to be audited sent by a sending end aiming at a video file to be audited, wherein the image to be audited is obtained based on the video file to be audited and node information of time to be audited, the node information of time to be audited is obtained from extra information to be audited, and the extra information to be audited is obtained from the video file to be audited;
auditing the image to be audited by utilizing a preset anti-counterfeiting information set to obtain an image auditing result;
and sending the image auditing result to the sending end so that the sending end obtains a file auditing result of the video file to be audited based on the image auditing result.
Optionally, before the step of receiving the to-be-audited image sent by the terminal device for the to-be-audited video file, the method further includes:
receiving the extra information to be audited sent by the terminal equipment aiming at the video file to be audited;
when the extra information to be audited meets a second preset condition, obtaining an acquisition instruction;
sending the acquisition instruction to the sending end so that the sending end can obtain the image to be checked based on the acquisition instruction, the video file to be checked and the node information of the time to be checked;
the step of receiving the image to be checked sent by the terminal device aiming at the video file to be checked comprises the following steps:
and receiving the image to be audited sent by the sending end.
Optionally, the preset anti-counterfeiting information set includes audit extra information and an audit image corresponding to the audit extra information; the step of utilizing a preset anti-counterfeiting information set to audit the image to be audited and obtaining an image audit result comprises the following steps:
searching for selected audit extra information corresponding to the extra information to be audited in the preset anti-counterfeiting information set;
searching a selected audit image corresponding to the selected audit extra information in the preset anti-counterfeiting information set;
comparing the selected checking image with the image to be checked to obtain a comparison result;
and obtaining the image auditing result based on the comparison result.
Optionally, before the step of searching for the selected additional audit information corresponding to the additional audit-to-be-audited information in the preset anti-fake information set, the method further includes:
acquiring a target audit image in the target anti-counterfeiting video file based on the plurality of time node information included in the target anti-counterfeiting video file;
establishing a mapping relation between the target additional information in the target anti-counterfeiting video file and the target audit image;
and obtaining the preset anti-counterfeiting information set based on the target additional information and the target audit image.
In addition, to achieve the above object, the present invention also provides a video file processing apparatus, including:
the acquisition module is used for acquiring target additional information of a target video file when the target video file is acquired;
the obtaining module is used for obtaining time node information based on the target duration of the target video file when the target additional information meets a first preset condition;
and the adding module is used for adding visual anti-counterfeiting information to the target video file by using the time node information so as to obtain the target anti-counterfeiting video file.
In addition, to achieve the above object, the present invention further provides a terminal device, including: a memory, a processor and a video file processing program stored on the memory and running on the processor, the video file processing program when executed by the processor implementing the steps of the video file processing method as claimed in any one of the preceding claims.
Furthermore, to achieve the above object, the present invention also proposes a computer-readable storage medium having stored thereon a video file processing program which, when executed by a processor, implements the steps of the video file processing method according to any one of the above.
The technical scheme of the invention provides a video file processing method, which comprises the steps of acquiring target additional information of a target video file when the target video file is acquired; when the target additional information meets a first preset condition, acquiring time node information based on the target duration of the target video file; and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file. The prior visual anti-counterfeiting information exists in the whole video file, and when the video file is played, the visual anti-counterfeiting information appears in a played picture at all times, so that an original picture in the video file is seriously shielded, and a user cannot clearly see the information in the picture.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video file processing method according to a first embodiment of the present invention;
FIG. 3 is a block diagram of a video file processing apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
In general, a terminal device includes: at least one processor 301, a memory 302, and a video file processing program stored on the memory and executable on the processor, the video file processing program being configured to implement the steps of the video file processing method as previously described.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the video file processing method, so that the video file processing method model can be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the video file processing methods provided by method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited by the embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. Radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also has the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to supply power to various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 is not limiting to the terminal device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a video file processing program is stored, and when being executed by a processor, the video file processing program implements the steps of the video file processing method as described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined as an example that the program instructions may be deployed to be executed on one terminal device or on multiple terminal devices located at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The computer-readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the hardware structure, the embodiment of the video file processing method is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a video file processing method according to the present invention, where the method is used for a terminal device, and the method includes the following steps:
step S11: and when the target video file is acquired, acquiring target additional information of the target video file.
Step S12: and when the target additional information meets a first preset condition, acquiring time node information based on the target duration of the target video file.
It should be noted that the main execution body of the present invention is a terminal device, and the terminal device may be a server in a communication system; the terminal equipment is provided with a video file processing program, and the steps of the video file processing method are realized when the terminal equipment executes the video file processing program. The target video file can be an original edition video file, that is, the video file acquired by the terminal device from the original edition video source needs to be processed for anti-piracy (the video file processing method of the invention) to obtain the target anti-counterfeiting video file, and then the target anti-counterfeiting video file is put into the internet for playing and spreading.
In general, in the field of video file processing, the SEI (supplemental enhancement information) technique in the video compression standard of H264/H265 uses the normative property of video coding to insert supplemental enhancement information in some specific data areas of a video file, where the supplemental enhancement information is contained in the video file; meanwhile, in the video compression standard, the vertical blanking period information is inserted into some specific data areas of a video file by utilizing the standard characteristic of video coding, and the vertical blanking period information is contained in the video file. Wherein the target additional information may be the supplemental enhancement information or the vertical blanking period information, etc. as described above. Generally, the target additional information may include a unique audit number (or other symbolic information, etc.) of the target video information, and the unique audit number may have special characters for indicating whether the target video needs anti-counterfeit protection; and when the special character is the target video and anti-counterfeiting protection is required, the target additional information meets the first preset condition.
Specifically, for example, the video file a has target extra information of 000AA1, the first five bits are information such as the number or name of the video file a, the last bit is a special character, the special character is 1, which indicates that the target video needs anti-counterfeit protection, and the special character is 0, which indicates that the target video does not need anti-counterfeit protection.
In addition, the time node information refers to a time point obtained by using a random function in the video duration (i.e. the target duration) of the video file, where the time node information may be a plurality of time node information or may be one time node information, for example, if the target duration of the target video file is 120 minutes, then 5 time points (time node information) are obtained by using the random function: 00, 00.
Step S13: and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file.
It should be noted that when the time node information is one, only one piece of visual anti-counterfeiting information needs to be inserted, and when the time node information is multiple, S13 includes: and adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain the target anti-counterfeiting video file, namely inserting the visual anti-counterfeiting information at the time corresponding to each time node information, wherein the visual anti-counterfeiting information corresponding to each time node information can be different or the same, and the invention is not limited. Meanwhile, in order to ensure that the visual anti-counterfeiting information does not shield the original picture of the target video file, the visual video anti-counterfeiting information should be as small and few as possible, and meanwhile, the added position is the corner of the picture, and the specific position is not limited by the invention. The visual anti-counterfeiting information may be characters, images, or the like, for example, LOGO (e.g., CCTVx), special characters (english letters or foreign letters), or service provider identification (love art), and the invention is not limited thereto.
It can be understood that, when the plurality of time node information is utilized and the visual anti-counterfeiting information is added to the target video file, the obtained target anti-counterfeiting video file has the visual anti-counterfeiting information, and the target anti-counterfeiting video file cannot be pirated or illegally spread.
Further, step S13 further includes: adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain a preprocessed video file; and adding the plurality of time node information into the preprocessed video file to obtain the target anti-counterfeiting video file.
It should be noted that, after the time node information is utilized to add the visual anti-counterfeiting information to the target video file to obtain the preprocessed video file, the time node information is continuously added to the preprocessed video file to obtain the target anti-counterfeiting video file.
It can be understood that a plurality of time node information may be added to the target additional information of the preprocessed video file (the preprocessed video file is only the video file after the visual anti-counterfeiting information is added to the target video file, and the original corresponding target additional information is not changed), so as to obtain the target anti-counterfeiting video file, at this time, the target additional information includes a plurality of time node information besides the unique audit number, for example, an a video file, the target additional information includes 000AA1, and five time node information is obtained by using a random function: 00, 00:
watch 1
Unique audit number 000AA1
Anti-counterfeit protection mark 1 (1 means required 0 means not required)
Anti-counterfeiting time node 1 00:01:00
Anti-counterfeiting time node 2 00:10:05
Anti-counterfeiting time node 3 00:25:39
Anti-counterfeiting time node 4 00:45:20
Anti-counterfeiting time node 5 00:55:00
Further, after the step of adding the plurality of time node information to the preprocessed video file to obtain the target anti-counterfeit video file, the method further includes: receiving an image to be audited sent by a sending end aiming at a video file to be audited, wherein the image to be audited is obtained based on the video file to be audited and node information of time to be audited, the node information of time to be audited is obtained from extra information to be audited, and the extra information to be audited is obtained from the video file to be audited; auditing the image to be audited by utilizing a preset anti-counterfeiting information set to obtain an image auditing result; and sending the image auditing result to the sending end so that the sending end obtains a file auditing result of the video file to be audited based on the image auditing result.
It should be noted that the sending end may be an intelligent television, an intelligent mobile phone, an intelligent set-top box, a tablet computer, or the like, and the present invention is not limited thereto. When a sending end plays a video file to be audited, whether the video file to be audited belongs to a target anti-counterfeiting video file obtained by terminal equipment needs to be determined, at the moment, an image to be audited of the video file to be audited needs to be sent, and the terminal equipment audits the image to be audited.
It can be understood that, if the video file to be audited belongs to a target anti-counterfeit video file obtained by the terminal device, and the video file to be audited has additional information to be audited (similar to the target additional information described above) including node information of time to be audited (similar to the multiple pieces of time node information described above), an image of the video file to be audited at a time corresponding to the node information of time to be audited may be determined as an image to be audited, and the image to be audited is audited by using a preset anti-counterfeit information set, so as to obtain an image audit result.
If the video file to be audited does not belong to the target anti-counterfeiting video file obtained by the terminal equipment and is the video file after the target anti-counterfeiting video file is pirated by other people, the visible anti-counterfeiting information in the video file to be audited is changed, and the additional information to be audited is not changed, namely, the node information of the time to be audited in the additional information to be audited is not changed, the node information of the time to be audited can still be obtained at the moment, and the image of the video file to be audited at the moment corresponding to the node information of the time to be audited is determined as the image to be audited.
Further, before the step of receiving the image to be checked sent by the terminal device for the video file to be checked, the method further includes: receiving to-be-audited additional information sent by the terminal equipment aiming at the to-be-audited video file; when the extra information to be audited meets a second preset condition, obtaining an acquisition instruction; sending the acquisition instruction to the terminal equipment so that the terminal equipment can acquire the image to be audited based on the acquisition instruction, the video file to be audited and the node information of the time to be audited; correspondingly, the step of receiving the image to be checked sent by the terminal device aiming at the video file to be checked includes: and receiving the image to be audited sent by the terminal equipment.
It should be noted that, if the video file to be audited belongs to the target anti-counterfeiting video file obtained by the terminal device, the additional information to be audited in the video file to be audited includes the unique audit number; if the video file to be audited does not belong to the target anti-counterfeiting video file obtained by the terminal equipment, the video file is the video file after the target anti-counterfeiting video file is pirated by other people, at this moment, the visual anti-counterfeiting information in the video file to be audited is changed, the additional information to be audited is not changed, and the additional information to be audited still comprises the unique audit number. And determining whether the extra information to be audited meets a second preset condition or not through the special character in the unique audit number, namely, when the special character is the video to be audited and anti-counterfeiting protection is required, the extra information to be audited meets the second preset condition.
When the extra information to be audited meets the second preset condition, it indicates that the video file to be audited needs to be audited, otherwise, the video file to be audited does not need to be audited, and the sending end can directly play the video file to be audited. When the video file to be audited needs to be audited, the terminal equipment is required to obtain an obtaining instruction, so that the sending end obtains the image to be audited based on the obtaining instruction, the video file to be audited and the node information of the time to be audited.
Specifically, the preset anti-counterfeiting information set comprises audit extra information and an audit image corresponding to the audit extra information; the step of auditing the image to be audited by utilizing a preset anti-counterfeiting information set to obtain an image auditing result comprises the following steps: searching selected additional audit information corresponding to the additional information to be audited in the preset anti-counterfeiting information set; searching a selected audit image corresponding to the selected audit extra information in the preset anti-counterfeiting information set; comparing the selected checking image with the image to be checked to obtain a comparison result; and obtaining the image auditing result based on the comparison result.
In addition, before the step of searching the selected additional audit information corresponding to the additional audit information to be audited in the preset anti-counterfeiting information set, the method further includes: acquiring a target audit image in the target anti-counterfeiting video file based on the plurality of time node information included in the target anti-counterfeiting video file; establishing a mapping relation between the target additional information in the target anti-counterfeiting video file and the target audit image; and obtaining the preset anti-counterfeiting information set based on the target additional information and the target audit image.
It should be noted that, after the terminal device obtains the target anti-counterfeiting video file, the terminal device determines an image of the target anti-counterfeiting video file at a time corresponding to the multiple time node information as a target audit image, establishes a mapping relationship between the target additional information (the target anti-counterfeiting video file is only a video file after the target video file is added with the visual anti-counterfeiting information and the multiple time node information, and the original corresponding target additional information is not changed) in the target anti-counterfeiting video file and the target audit image, and stores the target additional information and the target audit image, that is, obtains the preset anti-counterfeiting information set, that is, the target additional information is the audit additional information in the preset anti-counterfeiting information set obtained after storage, and the target audit image is the audit image in the preset anti-counterfeiting information set obtained after storage. And acquiring more and more target anti-counterfeiting video files along with the processing of the terminal equipment on the target video files, wherein the audit extra information in the preset anti-counterfeiting information set and the audit images corresponding to the audit extra information are more and more.
It can be understood that when the additional audit information corresponds to the additional audit information to be audited, that is, the additional audit information is the same as the unique audit number in the additional audit information to be audited, that is, the additional audit information that is the same as the unique audit number in the additional audit information to be audited is determined as the selected additional audit information.
For example, in a video file a, the target additional information includes a unique audit number 000AA1, and the terminal device obtains five time node information by using a random function: 00, 00.
When a sending end plays a video file C to be audited, sending the extra information to be audited of the video file C to a terminal device, the terminal device determines that the extra information to be audited meets a second preset condition based on a unique audit number (000 AA 1) in the extra information to be audited, the terminal device sends an acquisition instruction to the sending end, so that the sending end, based on five pieces of time information to be audited in the video file to be audited (or time information to be audited in the extra information to be audited in the video file to be audited is 00. And sending the image auditing result to the sending end.
After receiving the image auditing result, the sending end obtains a file auditing result of the video file to be audited based on the image auditing result; when the image audit result is that the audit is passed, the file audit result is that the audit of the video file to be audited is passed, and the video file to be audited can be played; and when the image audit result is that the audit is not passed, the file audit result is that the audit of the video file to be audited is not passed, and the video file to be audited cannot be played.
In addition, with the rapid development of 5G technology, the terminal device and the transmitting end may be electronic devices having 5G technology to achieve rapid transmission of video files.
The technical scheme of the invention provides a video file processing method, which comprises the steps of acquiring target additional information of a target video file when the target video file is acquired; when the target additional information meets a first preset condition, acquiring time node information based on the target duration of the target video file; and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file. The prior visual anti-counterfeiting information exists in the whole video file, and when the video file is played, the visual anti-counterfeiting information appears in a played picture at all times, so that an original picture in the video file is seriously shielded, and a user cannot clearly see the information in the picture.
Meanwhile, the conventional method for auditing the video file to be audited audits the video file to be audited through an auditing mechanism, so that the time cost and the economic cost are higher. However, by adopting the video file processing method of the invention, the terminal device audits the video file to be audited, meanwhile, the terminal device only needs to audit the image at the moment corresponding to the time node information, and the audit data information of the video file to be audited is less, and the audit speed is higher.
Referring to fig. 3, fig. 3 is a block diagram of a first embodiment of a video file processing apparatus according to the present invention, the apparatus including:
the acquisition module is used for acquiring target additional information of a target video file when the target video file is acquired;
the obtaining module is used for obtaining time node information based on the target duration of the target video file when the target additional information meets a first preset condition;
and the adding module is used for adding visual anti-counterfeiting information to the target video file by using the time node information so as to obtain the target anti-counterfeiting video file.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A video file processing method is characterized by comprising the following steps:
when a target video file is obtained, obtaining target additional information of the target video file; the target additional information comprises a unique audit number of the target video information, the unique audit number is provided with special characters, and the special characters are used for indicating whether the target video needs anti-counterfeiting protection or not; when the special character is a target video and anti-counterfeiting protection is needed, the target additional information meets a first preset condition;
when the target additional information meets the first preset condition, acquiring time node information based on the target duration of the target video file;
and adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file.
2. The file processing method according to claim 1, wherein the time node information includes a plurality; the step of adding visual anti-counterfeiting information to the target video file by using the time node information to obtain the target anti-counterfeiting video file comprises the following steps:
and adding visual anti-counterfeiting information to the target video file by utilizing the plurality of time node information to obtain the target anti-counterfeiting video file.
3. The file processing method according to claim 2, wherein the step of adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain the target anti-counterfeiting video file comprises:
adding visual anti-counterfeiting information to the target video file by using the plurality of time node information to obtain a preprocessed video file;
and adding the time node information into the preprocessed video file to obtain the target anti-counterfeiting video file.
4. The method of file processing according to claim 3, wherein after the step of adding the plurality of time node information to the preprocessed video file to obtain the target counterfeit-resistant video file, the method further comprises:
receiving an image to be audited sent by a sending end aiming at a video file to be audited, wherein the image to be audited is obtained based on the video file to be audited and node information of time to be audited, the node information of time to be audited is obtained from extra information to be audited, and the extra information to be audited is obtained from the video file to be audited;
auditing the image to be audited by utilizing a preset anti-counterfeiting information set to obtain an image auditing result;
and sending the image auditing result to the sending end so that the sending end obtains a file auditing result of the video file to be audited based on the image auditing result.
5. The file processing method according to claim 4, wherein before the step of receiving the image to be checked sent by the terminal device for the video file to be checked, the method further comprises:
receiving the extra information to be audited sent by the terminal equipment aiming at the video file to be audited;
when the extra information to be audited meets a second preset condition, obtaining an acquisition instruction;
sending the acquisition instruction to the sending end so that the sending end can obtain the image to be audited based on the acquisition instruction, the video file to be audited and the node information of the time to be audited;
the step of receiving the image to be checked sent by the terminal device aiming at the video file to be checked comprises the following steps:
and receiving the image to be audited sent by the sending end.
6. The document processing method according to claim 5, wherein the preset anti-counterfeit information set includes review additional information and a review image corresponding to the review additional information; the step of auditing the image to be audited by utilizing a preset anti-counterfeiting information set to obtain an image auditing result comprises the following steps:
searching for selected audit extra information corresponding to the extra information to be audited in the preset anti-counterfeiting information set;
searching a selected audit image corresponding to the selected audit extra information in the preset anti-counterfeiting information set;
comparing the selected checking image with the image to be checked to obtain a comparison result;
and obtaining the image auditing result based on the comparison result.
7. The document processing method according to claim 6, wherein before the step of searching for the selected review extra information corresponding to the extra information to be reviewed in the preset anti-counterfeit information set, the method further comprises:
acquiring a target audit image in the target anti-counterfeiting video file based on the plurality of time node information included in the target anti-counterfeiting video file;
establishing a mapping relation between the target additional information in the target anti-counterfeiting video file and the target audit image;
and obtaining the preset anti-counterfeiting information set based on the target additional information and the target audit image.
8. A video file processing apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring target additional information of a target video file when the target video file is acquired; the target additional information comprises a unique audit number of the target video information, the unique audit number is provided with special characters, and the special characters are used for indicating whether the target video needs anti-counterfeiting protection or not; when the special character is a target video and anti-counterfeiting protection is needed, the target additional information meets a first preset condition;
an obtaining module, configured to obtain time node information based on a target duration of the target video file when the target additional information meets the first preset condition;
and the adding module is used for adding visual anti-counterfeiting information to the target video file by utilizing the time node information so as to obtain the target anti-counterfeiting video file.
9. A terminal device, characterized in that the terminal device comprises: memory, a processor and a video file processing program stored on the memory and running on the processor, the video file processing program when executed by the processor implementing the steps of the video file processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a video file processing program is stored thereon, which when executed by a processor implements the steps of the video file processing method according to any one of claims 1 to 7.
CN202011532605.7A 2020-12-22 2020-12-22 Video file processing method and device, terminal equipment and storage medium Active CN112689159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011532605.7A CN112689159B (en) 2020-12-22 2020-12-22 Video file processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011532605.7A CN112689159B (en) 2020-12-22 2020-12-22 Video file processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112689159A CN112689159A (en) 2021-04-20
CN112689159B true CN112689159B (en) 2023-04-18

Family

ID=75450824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011532605.7A Active CN112689159B (en) 2020-12-22 2020-12-22 Video file processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112689159B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0218982D0 (en) * 2002-08-15 2002-09-25 Roke Manor Research Video motion anomaly detector
JP2005026787A (en) * 2003-06-30 2005-01-27 Sharp Corp Video recording apparatus and photographing apparatus
JP2007013782A (en) * 2005-07-01 2007-01-18 Matsushita Electric Ind Co Ltd Method for protecting media file
JP2009005346A (en) * 2007-05-21 2009-01-08 Casio Hitachi Mobile Communications Co Ltd Captioned video playback terminal equipment and program
CA2819738A1 (en) * 2013-05-31 2014-11-30 Julie Katherine Thorpe Systems, methods, and computer program products for providing video-passwords for user authentication
CN104540032A (en) * 2014-11-01 2015-04-22 王杰 Method and system for realizing video content censorship crowdsourcing
CN106412618A (en) * 2016-09-09 2017-02-15 上海斐讯数据通信技术有限公司 Video auditing method and system
CN106991908A (en) * 2017-05-05 2017-07-28 陈继明 A kind of method for anti-counterfeit
CN108764192A (en) * 2018-06-04 2018-11-06 华中师范大学 A kind of more example multi-tag learning methods towards safe city video monitoring application

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229326A (en) * 2017-03-16 2018-06-29 北京市商汤科技开发有限公司 Face false-proof detection method and system, electronic equipment, program and medium
CN107967630A (en) * 2017-12-19 2018-04-27 北京众蓝影云科技有限责任公司 Interactive marketing platform and implementation method
CN110896484B (en) * 2018-09-12 2023-05-05 中兴通讯股份有限公司 Video watermark adding and extracting method and device, video playing end and storage medium
CN111191591A (en) * 2019-12-30 2020-05-22 广州市百果园网络科技有限公司 Watermark detection method, video processing method and related equipment
CN111340677B (en) * 2020-02-27 2023-10-27 北京百度网讯科技有限公司 Video watermark detection method, apparatus, electronic device, and computer readable medium
CN111932432B (en) * 2020-10-14 2021-01-15 腾讯科技(深圳)有限公司 Blind watermark implanting method, blind watermark detecting method, blind watermark implanting device, blind watermark detecting equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0218982D0 (en) * 2002-08-15 2002-09-25 Roke Manor Research Video motion anomaly detector
JP2005026787A (en) * 2003-06-30 2005-01-27 Sharp Corp Video recording apparatus and photographing apparatus
JP2007013782A (en) * 2005-07-01 2007-01-18 Matsushita Electric Ind Co Ltd Method for protecting media file
JP2009005346A (en) * 2007-05-21 2009-01-08 Casio Hitachi Mobile Communications Co Ltd Captioned video playback terminal equipment and program
CA2819738A1 (en) * 2013-05-31 2014-11-30 Julie Katherine Thorpe Systems, methods, and computer program products for providing video-passwords for user authentication
CN104540032A (en) * 2014-11-01 2015-04-22 王杰 Method and system for realizing video content censorship crowdsourcing
CN106412618A (en) * 2016-09-09 2017-02-15 上海斐讯数据通信技术有限公司 Video auditing method and system
CN106991908A (en) * 2017-05-05 2017-07-28 陈继明 A kind of method for anti-counterfeit
CN108764192A (en) * 2018-06-04 2018-11-06 华中师范大学 A kind of more example multi-tag learning methods towards safe city video monitoring application

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Shawn Lupoli.《Peer grading exams with video rubrics》.《2016 IEEE Frontiers in Education Conference》.2016,全文. *
吕红欣.《面向多屏的视频内容管理系统设计与实现》.《中国优秀硕士学位论文全文数据库》.2019,全文. *

Also Published As

Publication number Publication date
CN112689159A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN104869305B (en) Method and apparatus for processing image data
US11138956B2 (en) Method for controlling display of terminal, storage medium, and electronic device
CN112449120A (en) High dynamic range video generation method and device
CN113163141B (en) Display control method, display control device, television and computer-readable storage medium
CN112215227B (en) Image target detection model attack method and device, terminal equipment and storage medium
CN106204552A (en) The detection method of a kind of video source and device
CN112612526B (en) Application program control method, device, terminal equipment and storage medium
CN112689172B (en) Program playing method and device, set top box and storage medium
CN112689159B (en) Video file processing method and device, terminal equipment and storage medium
CN110569008A (en) screen data processing method and device and electronic equipment
CN109753262B (en) Frame display processing method and device, terminal equipment and storage medium
CN108765503B (en) Skin color detection method, device and terminal
CN113242453B (en) Barrage playing method, server and computer readable storage medium
CN108111889A (en) Electronic equipment and Related product
CN113919852A (en) Product infringement judgment method and device, terminal equipment and storage medium
CN112532971A (en) Image processing method, image processing device, display terminal and computer readable storage medium
CN113038231B (en) Advertisement source determining method, device, television and storage medium
CN113225234A (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN112584215B (en) Video transmission method and device, intelligent television and storage medium
CN112511890A (en) Video image processing method and device and electronic equipment
CN111107385A (en) Live video processing method and device
CN112423037B (en) Television program playing method, device, terminal equipment and computer storage medium
CN112565780B (en) Game state information sharing method, network device, and storage medium
CN112437333B (en) Program playing method, device, terminal equipment and storage medium
CN112349248B (en) Screen brightness adjusting method and device, multimedia terminal and computer readable storage medium

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