CN111209438A - Video processing method, device, equipment and computer storage medium - Google Patents
Video processing method, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN111209438A CN111209438A CN202010039157.0A CN202010039157A CN111209438A CN 111209438 A CN111209438 A CN 111209438A CN 202010039157 A CN202010039157 A CN 202010039157A CN 111209438 A CN111209438 A CN 111209438A
- Authority
- CN
- China
- Prior art keywords
- video
- editing
- key
- information
- materials
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
A video processing method, apparatus, device and computer storage medium. The method comprises the steps of executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and synchronously and automatically marking the key materials; acquiring and storing automatically marked mark information; after the video acquisition operation is finished, screening out key material video data containing key materials from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data. Therefore, the method and the device can mark the key materials in real time in the video acquisition process, and realize the fast editing operation of the video data in a one-key film forming mode after the video acquisition is finished.
Description
Technical Field
The embodiment of the invention relates to the technical field of image processing, in particular to a video processing method, a video processing device, video processing equipment and a computer storage medium.
Background
With the development of portable photographing devices, more and more users prefer to use portable photographing devices for video photographing to record the wonderful moment in life at any time. However, the portable photographing apparatus provides convenience in photographing operation and also has a problem that a user needs to face a large amount of video data when performing data processing in a later stage.
Most of the traditional video clips adopt a manual method, namely, each video to be clipped is previewed manually, important material parts in the video are judged automatically, and then clipping is carried out. This approach is not only very inefficient, but is also prone to cause highlights in the acquired video to be discarded due to human operator error.
In addition, some existing video marking technologies can browse collected materials and add marking information to the materials in the browsing process, so that management of shot materials is achieved. However, these techniques require browsing the shot material after the video capture operation is finished, and then manually selecting the shot material according to the mark information to edit the video. Therefore, in the prior art, the user needs to browse the shooting material again and edit the shooting material to obtain the video data, which causes the problems of high complexity of the video editing operation and low video editing efficiency.
Disclosure of Invention
Embodiments of the present invention provide a video processing method, an apparatus and a computer storage medium to solve or partially solve the above problems.
According to a first aspect of the embodiments of the present invention, there is provided a video processing method, including: executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and synchronously and automatically marking the key materials; acquiring and storing the marking information of the automatic marking; after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data.
The video processing method of claim 1, wherein the key material comprises at least one of:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
The video processing method according to claim 1, wherein the flag information includes at least one of time stamp information, shooting target information, and shooting setting information.
The video processing method of claim 3, wherein the method further comprises: and setting corresponding priority identification for the key materials according to the marking information, and ordering the key materials according to the priority identification.
The video processing method of claim 1, wherein the method further comprises: and displaying the mark information in a playing progress bar of the shooting materials so as to provide quick browsing and/or quick positioning for the key materials in the shooting materials.
The video processing method of claim 1, wherein the method further comprises: operating the tag information according to a tag modification instruction, wherein the operating comprises: at least one of addition, deletion, and modification.
The video processing method according to claim 1, wherein the editing rule comprises:
preset editing rules or user-defined editing rules.
The video processing method according to claim 7, wherein the editing rule comprises: at least one of a template, music, a filter and a caption.
The video processing method according to claim 1, wherein the editing instruction comprises a hardware-triggered editing instruction and/or a software-triggered editing instruction.
The video processing method according to claim 9, wherein the hardware-triggered editing instruction is a key-triggered composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
According to a second aspect of embodiments of the present invention, there is provided a video processing apparatus including: the material marking module is used for executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and automatically marking the key materials synchronously; the marking information acquisition module is used for acquiring and storing the marking information of the automatic marking; the material screening module is used for screening key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information after the video acquisition operation is finished; the editing and acquiring module is used for acquiring an editing instruction and an editing rule; and the video editing module is used for editing the key material video data according to the editing instruction and the editing rule to obtain target video data.
The video processing apparatus of claim 11, wherein the key material comprises at least one of:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
The video processing apparatus according to claim 11, wherein the flag information includes at least one of time stamp information, shooting target information, and shooting setting information.
The video processing apparatus of claim 13, wherein the apparatus further comprises: and the sorting processing module is used for setting corresponding priority identification for the key materials according to the marking information and ordering the key materials according to the priority identification.
The video processing apparatus of claim 11, wherein the apparatus further comprises: and the browsing positioning module is used for displaying the mark information in a playing progress bar of the shot materials so as to provide quick browsing and/or quick positioning for the key materials in the shot materials.
The video processing apparatus of claim 11, wherein the apparatus further comprises: a tag modification module, configured to perform an operation on the tag information according to a tag modification instruction, where the operation includes: at least one of addition, deletion, and modification.
The video processing apparatus according to claim 11, wherein the edit rule comprises:
preset editing rules or user-defined editing rules.
The video processing apparatus of claim 17, wherein the editing rule comprises: at least one of a template, music, a filter and a caption.
The video processing apparatus according to claim 11, wherein the editing instruction comprises a hardware-triggered editing instruction and/or a software-triggered editing instruction.
The video processing apparatus according to claim 19, wherein the hardware-triggered editing instruction is a key-triggered composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus, including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the corresponding operation of the method according to the first aspect.
The electronic device of claim 21, wherein the key material comprises at least one of:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
The electronic device according to claim 21, wherein the flag information includes at least one of time stamp information, shooting target information, and shooting setting information.
The electronic device of claim 23, wherein the processor is further configured to set a corresponding priority identifier for the key material according to the mark information, and order the key material according to the priority identifier.
The electronic device of claim 21, wherein the processor is further configured to display the mark-up information in a play progress bar of the captured material to provide fast browsing and/or fast positioning for the key material in the captured material.
The electronic device of claim 21, wherein the processor is further configured to operate on the tag information according to tag modification instructions, the operations comprising: at least one of addition, deletion, and modification.
The electronic device of claim 21, wherein the editing rule comprises:
preset editing rules or user-defined editing rules.
The electronic device of claim 27, wherein the editing rule comprises: at least one of a template, music, a filter and a caption.
The electronic device of claim 21, wherein the editing instructions comprise hardware-triggered editing instructions and/or software-triggered editing instructions.
The electronic device of claim 28, wherein the hardware-triggered editing instruction is a key-triggered composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the embodiment of the invention, the key materials acquired by the video acquisition operation can be identified in real time in the video acquisition operation process, and the key materials are automatically marked synchronously; screening key material video data containing key materials from the video materials obtained by shooting according to the automatically marked marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data. Therefore, the embodiment of the invention can add marks to the key materials in the shot materials in real time in the video acquisition operation process, so that the key materials are screened according to the mark information corresponding to the added marks to generate the key video data only containing the key materials, and the editing operation is carried out on the key material video data according to the obtained editing instruction and the editing rule to obtain the target video data, thereby achieving the technical effect of one-key film forming and improving the working efficiency of video editing.
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 described in the embodiments of the present invention, and it is also possible for a person skilled in the art to obtain other drawings based on the drawings.
FIG. 1 is a flowchart illustrating steps of a video processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a video processing method according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a video processing method according to still another embodiment of the present invention;
FIG. 4 is a flowchart illustrating the step S7 of the video processing method according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating steps of a video processing method according to still another embodiment of the present invention;
FIG. 6 is a flowchart illustrating the step S8 of the video processing method according to still another embodiment of the present invention;
FIG. 7 is a block diagram of a video processing apparatus according to an embodiment of the present invention;
FIG. 8 is a block diagram of a video processing apparatus according to another embodiment of the present invention;
FIG. 9 is a block diagram of a video processing apparatus according to still another embodiment of the present invention; .
FIG. 10 is a block diagram of a navigation module of a video processing apparatus according to another embodiment of the present invention;
FIG. 11 is a block diagram of a video processing apparatus according to still another embodiment of the present invention;
FIG. 12 is a block diagram showing an architecture of a mark modification module of a further embodiment of the video processing apparatus of the present invention;
fig. 13 is a schematic structural diagram of an electronic device according to still another embodiment of the invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely 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 embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention shall fall within the scope of the protection of the embodiments of the present invention.
The following further describes specific implementation of the embodiments of the present invention with reference to the drawings.
Please refer to fig. 1, which is a schematic diagram illustrating a basic flow of a video processing method according to an embodiment of the present invention. The video processing method of the present invention is applicable to various types of image pickup apparatuses, for example, to portable image pickup apparatuses (e.g., pan-tilt cameras, motion cameras, etc.).
The video processing method of the invention mainly comprises the following steps:
and step S1, executing video acquisition operation according to the shooting instruction, identifying the key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and automatically marking the key materials synchronously.
Specifically, a user enables the camera device to start and execute video acquisition operation by inputting a shooting instruction, so as to acquire a shooting material.
The shooting instruction includes a hardware activation instruction, a software activation instruction, or an activation instruction meeting a preset condition, which is not limited in the embodiment of the present invention.
For example, the hardware activation instruction may be the turning on of a video capture control switch, and the video capture control switch may be a control key or a control in a touch screen.
For example, the software activation instruction may be a single instruction or multiple instructions, and the user may input the single instruction or multiple instructions to cause the camera device to start a video capture operation.
For example, the activation instruction of the preset condition may be to start the camera to start a video capture operation for a preset time or other conditions that can be set to meet, that is, to start, the camera to start the video capture operation.
The shooting material is video data including a plurality of image frames, and the shooting material may be original video data or video data subjected to encoding processing, which is not limited in the embodiment of the present invention.
Specifically, in the embodiment of the present invention, in the process of the video acquisition operation, the key materials obtained by the video acquisition operation may be identified in real time, and the identified key materials may be automatically marked in synchronization, so that a user may automatically add a mark to the key materials in the acquired shooting materials while acquiring the video, so as to automatically screen out the optimal shooting content or the shooting content most needed by the user, where the above operations may be implemented by any high-computation-power chip, and the model of the high-computation-power chip in the embodiment of the present invention is not limited.
Therefore, the embodiment of the invention can realize marking of the key material while video acquisition is carried out, does not need to mark the key material again by browsing all the shot materials in the later period, and is convenient for a user to clip the target material in the later period according to the marking information.
In yet another specific implementation of the present invention, the key material includes at least one of the following:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
The shooting target can be determined by system presetting, manual selection of a user or triggering when a preset condition is met. It should be noted that the above-mentioned shooting target is not limited to an animal, and may be any dynamic target (e.g., a person, an animal) or static target (e.g., a building, an article, a landscape, etc.).
The shooting information includes: shooting hardware setting information or software setting characteristic information, such as a sudden change in the speed of the pan/tilt apparatus, still shooting, focus adjustment, beauty setting, portrait mode, and the like.
The key material is not limited to the material containing the shooting target and/or the shooting information, and other shooting materials can be set as the key material in the embodiment of the invention.
In another specific implementation of the present invention, the key material may also be a shot material manually set as the key material, that is, when the user performs the video capture operation, the obtained key material is identified in real time, and the identified key material is automatically marked synchronously.
For example, during the video capture performed by the camera device, if the pet dog in the current video capture picture is interested, the key material corresponding to the pet dog in the current video capture picture can be identified and marked by clicking a virtual function key on a touch display screen (e.g., a UI interface) or pressing an entity function key arranged on the video capture device.
And step S2, acquiring and storing the marking information of the automatic marking.
Specifically, the marking information includes: at least one of time stamp information, shooting target information, and shooting setting information.
The marking information is stored in a description file of the key material or is stored in other spaces together with the corresponding relation of the key material.
Specifically, the timestamp information includes time-related information such as a playing time point or a playing interval time point of a video frame of the key material.
The shooting target information includes: the information includes the tracking information of the shooting object, the face information of the shooting object, the contour information of the shooting object and the like.
The photographing setting information includes: shooting hardware settings or software setting information, such as a sudden change in the speed of the pan/tilt apparatus, still shooting, focus adjustment, beauty settings, portrait mode, and the like.
And step S3, after the video acquisition operation is finished, screening out key material video data containing key materials from the video materials obtained by the video acquisition operation according to the marking information.
In a specific implementation of the present invention, key material with marking information is automatically screened from shot material, thereby obtaining key material video data that only includes key material.
Specifically, the embodiment of the invention screens the key materials with the marking information to generate the key material video data. The embodiment of the invention can also screen out the key materials with the similar marking information to generate the similar key material video data.
In step S4, an editing instruction and an editing rule are acquired.
In a specific implementation of the present invention, the editing rule includes:
preset editing rules or user-defined editing rules.
Specifically, the editing rule includes: at least one of a template, music, a filter and a caption.
The embodiment of the invention can edit the video data of the key materials containing the key materials according to at least one of the template, the music, the filter and the caption.
The editing instructions comprise hardware-triggered editing instructions and/or software-triggered editing instructions.
The hardware triggering editing instruction is a key triggering composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
The embodiment of the invention can directly generate the video data of the key material containing the key material through one-key triggering of the user, and also can directly generate the video data of the key material containing the key material without the operation of the user when the preset condition is met.
And step S5, editing the key material video data according to the editing instruction and the editing rule to obtain target video data.
For example, according to the timestamp information included in the tag information, the image data corresponding to the timestamp information may be searched from the target video data. For example, when the timestamp information is a single time point, the corresponding image data is a static frame, and when the timestamp information includes a start timestamp and an end timestamp, the corresponding image data is a segment of dynamic video.
For example, assuming that the mark information is a shooting target pet dog, all key materials including the pet dog can be automatically extracted from the shooting materials to generate a target video data only including the pet dog.
In another embodiment, referring to fig. 2, the method of the present invention further comprises:
and step S6, setting corresponding priority marks for the key materials according to the marking information, and ordering the key materials according to the priority marks.
The embodiment of the invention analyzes the marking information to obtain the priority corresponding to the marking information, thereby realizing the setting of the corresponding priority identification for the key material.
Specifically, the priority corresponding to the marking information may be set by a system, or manually set by a user, or manually modified by the user after the system is set.
For example, the priority level corresponding to the subject tracking information being the mark information is set as the highest priority level, and the priority level corresponding to the beauty setting being the mark information is set as the next highest priority level.
The embodiment of the invention sequences and displays the key materials through the priority marks.
For example, if the priority level corresponding to the shot object tracking information being the mark information is set as the highest priority level, the key material with the shot object tracking information is displayed at the forefront.
For another example, if the priority level corresponding to the shot object tracking information as the mark information is set as the highest priority level, and the priority level corresponding to the beauty setting as the mark information is set as the second highest priority level, the key material with the shot object tracking information is displayed at the forefront, and the key material with the beauty setting is displayed behind the key material with the shot object tracking information.
Therefore, the marking information further provides a priority identifier for the key materials, so that the key materials can be sorted by using the priority identifier, and a user can conveniently manage the key materials.
In yet another embodiment, referring to fig. 3, the method of the present invention further comprises:
step S7, displaying the mark information in a playing progress bar of a target video corresponding to the target video data to provide fast browsing and/or fast positioning for the key material in the target video data.
Specifically, referring to fig. 4, the step S7 includes the following processing steps:
in step S71, the mark information is displayed in the progress bar of the target video corresponding to the target video data.
Illustratively, when the obtained target video data is played, the marker information (i.e., the time stamp information) may be synchronously displayed in the play progress bar of the video.
And step S72, based on the mark information displayed in the playing schedule, quickly browsing and quickly positioning the key materials in the target video.
Illustratively, the user can quickly drag the playing progress bar to the position of the mark information so as to quickly browse or quickly locate the relevant video clip of the pet dog.
In yet another embodiment, referring to fig. 5, the method of the present invention further comprises:
step S8, operating the tag information according to an input instruction, where the operating includes: at least one of addition, deletion, and modification.
Specifically, referring to fig. 6, the step S8 includes the following processing steps:
and step S81, playing the target material corresponding to the obtained target video data.
Step S82, providing the mark information during the playing process of the target video data for adding, deleting and changing the mark information.
Illustratively, in addition to providing the input mark-up information during the video acquisition process, the present invention may also provide that the user adds the input mark-up information to the key material in the target video when playing the acquired target video. In addition, the user can delete the existing marking information in the target video data during the playing process of the target video, so as to cancel the previous marking action aiming at the key materials in the target video data.
According to the embodiment of the invention, video acquisition operation is executed according to a shooting instruction, and in the process of carrying out the video acquisition operation, key materials obtained by the video acquisition operation are identified in real time and are automatically marked synchronously; acquiring and storing the marking information of the automatic marking; after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data. Therefore, the embodiment of the invention can synchronously add marks to the key materials in the shot materials in the video acquisition operation process, so that the key materials are screened according to the mark information corresponding to the marks to generate the key video data only containing the key materials, the editing operation is carried out according to the obtained editing instruction and the editing rule to obtain the target video data, the most available editing film is output in a one-key-film mode, and the working efficiency of video editing is improved.
Corresponding to the method, the invention also provides a video processing device. The video processing apparatus of the present invention can be applied to various types of image pickup apparatuses, preferably, portable image pickup apparatuses (e.g., pan/tilt/zoom (pan/tilt/zoom) cameras, motion cameras, etc.).
Referring to fig. 7, the video processing apparatus of the present invention mainly includes the following:
the material marking module 701 is configured to execute a video acquisition operation according to a shooting instruction, identify a key material obtained by the video acquisition operation in real time during the video acquisition operation, and automatically mark the key material synchronously.
A tag information obtaining module 702, configured to obtain and store tag information of the automatic tag.
And the material screening module 703 is configured to screen, after the video acquisition operation is finished, key material video data including key materials from the video materials acquired by the video acquisition operation according to the marking information.
And an edit obtaining module 704, configured to obtain an edit instruction and an edit rule.
And the video editing module 705 is configured to edit the key material video data according to the editing instruction and the editing rule, so as to obtain target video data.
Specifically, a user enables the camera device to start and execute video acquisition operation by inputting a shooting instruction, so as to acquire a shooting material.
The shooting instruction includes a hardware activation instruction, a software activation instruction, or an activation instruction meeting a preset condition, which is not limited in the embodiment of the present invention.
For example, the hardware activation instruction may be the turning on of a video capture control switch, and the video capture control switch may be a control key or a control in a touch screen.
For example, the software activation instruction may be a single instruction or multiple instructions, and the user may cause the camera device to start a video capture operation by inputting the single instruction or multiple instructions.
For example, the activation instruction of the preset condition may be to start the camera to start a video capture operation for a preset time or other conditions that can be set to meet, that is, to start, the camera to start the video capture operation.
The shooting material is video data including a plurality of image frames, and the shooting material may be original video data or video data subjected to encoding processing, which is not limited in the embodiment of the present invention.
Specifically, in the embodiment of the present invention, mark information is provided synchronously with the video capture operation to mark key materials in the captured materials obtained by the video capture operation, and a user can mark and add the captured materials while capturing videos, where the mark and add can be implemented by any high-computation-power chip, and the model of the high-computation-power chip is not limited in the embodiment of the present invention.
Therefore, the embodiment of the invention can realize synchronous marking of the key materials while carrying out video acquisition, does not need to carry out marking of the key materials again by browsing all the shot materials in the later period, and is convenient for a user to carry out clipping processing on the target materials according to the marking information in the later period.
In yet another specific implementation of the present invention, the key material includes at least one of the following:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
The shooting target can be determined by system presetting, manual selection of a user or triggering when a preset condition is met. It should be noted that the above-mentioned shooting target is not limited to an animal, and may be any dynamic target (e.g., a person, an animal) or static target (e.g., a building, an article, a landscape, etc.).
The shooting information includes: shooting hardware setting information or software setting characteristic information, such as a sudden change in the speed of the pan/tilt apparatus, still shooting, focus adjustment, beauty setting, portrait mode, and the like.
The key material is not limited to the material containing the shooting target and/or the shooting information, and other shooting materials can be set as the key material in the embodiment of the invention.
In still another specific implementation of the present invention, the key material may also be a shot material manually set as the key material, that is, when the user performs the video capture operation, a part of the materials in the shot material is set as the key material by adding the identification information.
For example, during the video capture performed by the camera device, if the pet dog in the current video capture picture is interested, the mark information may be input for the key material corresponding to the pet dog in the current video capture picture by clicking a virtual function key on a touch display screen (e.g., a UI interface) or pressing an entity function key provided on the video capture device.
Specifically, the marking information includes: at least one of time stamp information, shooting target information, and shooting setting information.
The marking information is stored in a description file of the key material or is stored in other spaces together with the corresponding relation of the key material.
Specifically, the timestamp information includes time-related information such as a playing time point or a playing interval time point of a video frame of the key material.
The shooting target information includes: the information includes the tracking information of the shooting object, the face information of the shooting object, the contour information of the shooting object and the like.
The photographing setting information includes: shooting hardware settings or software setting information, such as a sudden change in the speed of the pan/tilt apparatus, still shooting, focus adjustment, beauty settings, portrait mode, and the like.
In a specific implementation of the present invention, the key material with the mark information is automatically screened from the shot material, thereby obtaining video data including only the key material.
Specifically, the embodiment of the invention screens the key materials with the marking information to generate the key material video data. The embodiment of the invention can also screen out the key materials with the similar marking information to generate the similar key material video data.
In a specific implementation of the present invention, the editing rule includes:
preset editing rules or user-defined editing rules.
Specifically, the editing rule includes: at least one of a template, music, a filter and a caption.
The embodiment of the invention can edit the video data of the key materials containing the key materials according to at least one of the template, the music, the filter and the caption.
The editing instructions comprise hardware-triggered editing instructions and/or software-triggered editing instructions.
The hardware triggering editing instruction is a key triggering composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
The embodiment of the invention can directly generate the video data of the key material containing the key material through one-key triggering of the user, and also can directly generate the video data of the key material containing the key material without the operation of the user when the preset condition is met.
For example, according to the timestamp information included in the tag information, the image data corresponding to the timestamp information may be searched from the target video data. For example, when the timestamp information is a single time point, the corresponding image data is a static frame, and when the timestamp information includes a start timestamp and an end timestamp, the corresponding image data is a segment of dynamic video.
For example, assuming that the mark information is a shooting target pet dog, all key materials including the pet dog can be automatically extracted from the shooting materials to generate a target video data only including the pet dog.
In yet another embodiment, referring to fig. 8, the apparatus of the present invention further comprises:
and the sorting processing module 706 is configured to set a corresponding priority identifier for the key material according to the marking information, so that the key material is sorted according to the priority identifier.
The embodiment of the invention analyzes the marking information to obtain the priority corresponding to the marking information, thereby realizing the setting of the corresponding priority identification for the key material.
Specifically, the priority corresponding to the marking information may be set by a system, or manually set by a user, or manually modified by the user after the system is set.
For example, the priority level corresponding to the subject tracking information being the mark information is set as the highest priority level, and the priority level corresponding to the beauty setting being the mark information is set as the next highest priority level.
The embodiment of the invention sequences and displays the key materials through the priority marks.
For example, if the priority level corresponding to the shot object tracking information being the mark information is set as the highest priority level, the key material with the shot object tracking information is displayed at the forefront.
For another example, if the priority level corresponding to the shot object tracking information as the mark information is set as the highest priority level, and the priority level corresponding to the beauty setting as the mark information is set as the second highest priority level, the key material with the shot object tracking information is displayed at the forefront, and the key material with the beauty setting is displayed behind the key material with the shot object tracking information.
Therefore, the marking information further provides a priority identifier for the key materials, so that the key materials can be sorted by using the priority identifier, and a user can conveniently manage the key materials.
In another embodiment, referring to fig. 9, the apparatus of the present invention further comprises:
a browsing positioning module 707, configured to display the mark information in a playing progress bar of a target video corresponding to the target video data, so as to provide fast browsing and/or fast positioning for the key material in the target video data.
Specifically, referring to fig. 10, the browsing location module 707 includes the following:
and a mark display unit 7071, configured to display mark information in the play progress bar of the target video corresponding to the target video data.
Illustratively, when the obtained target video data is played, the marker information (i.e., the time stamp information) may be synchronously displayed in the play progress bar of the video.
And a fast skipping unit 7072, configured to fast browse and fast locate the key material in the target video based on the mark information displayed in the play schedule.
Illustratively, the user can quickly drag the playing progress bar to the position of the mark information so as to quickly browse or quickly locate the relevant video clip of the pet dog.
In yet another embodiment, referring to fig. 11, the apparatus of the present invention further comprises:
a tag modification module 708, configured to perform an operation on the tag information according to an input instruction, where the operation includes: at least one of addition, deletion, and modification.
Specifically, referring to fig. 12, the flag modification module 707 includes the following:
the video playing unit 7081 is configured to play a target material corresponding to the obtained target video data.
A mark operation unit 7082, configured to provide mark information in the playing process of the target video data, so as to add, delete, and change the mark information.
Illustratively, in addition to providing the input mark-up information during the video acquisition process, the present invention may also provide that the user adds the input mark-up information to the key material in the target video when playing the acquired target video. In addition, the user can delete the existing marking information in the target video data during the playing process of the target video, so as to cancel the previous marking action aiming at the key materials in the target video data.
According to the embodiment of the invention, video acquisition operation is executed according to a shooting instruction, and in the process of carrying out the video acquisition operation, key materials obtained by the video acquisition operation are identified in real time and are automatically marked synchronously; acquiring and storing the marking information of the automatic marking; after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data. Therefore, the embodiment of the invention can synchronously and automatically mark the key materials in the shot materials during the video acquisition operation, so that the key materials are screened according to the automatically marked mark information to generate the key material video data only containing the key materials, and the editing operation is carried out according to the obtained editing instruction and the editing rule to obtain the target video data, thereby realizing the real-time marking during the video acquisition process, and carrying out the video clipping in a one-key film forming mode, not only reducing the complexity of the video clipping operation, but also improving the working efficiency of the video clipping.
Referring to fig. 13, a schematic structural diagram of an electronic device according to an embodiment of the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 13, the electronic device may include: a processor (processor)1302, a communication Interface (Communications Interface)1304, a memory (memory)1306, and a communication bus 1308.
Wherein:
the processor 1302, communication interface 1304, and memory 1306 communicate with each other via a communication bus 1308.
A communication interface 1304 for communicating with other electronic devices such as a terminal device or a server.
The processor 1302 is configured to execute the program 1310, and may specifically execute the relevant steps in the above method embodiments.
In particular, the program 1310 may include program code that includes computer operating instructions.
The processor 1302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
A memory 1306 for storing a program 1310. Memory 1306 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 1310 may specifically be configured to cause the processor 1302 to perform the following operations: executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and synchronously and automatically marking the key materials; acquiring and storing the marking information of the automatic marking; after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data.
In an alternative embodiment, the key material includes at least one of: if the shooting material contains a shooting target, setting the target material as a key material; and if the shooting materials contain shooting information, setting the target materials as key materials.
In an alternative embodiment, the flag information includes at least one of time stamp information, shooting target information, and shooting setting information.
In an optional implementation manner, the program 1310 is further configured to set a corresponding priority identifier for the key material according to the marking information, so that the key material is sorted according to the priority identifier.
In an alternative embodiment, the program 1310 is further configured to display the mark-up information in a play progress bar of the captured material to provide quick browsing and/or quick positioning for the key material in the captured material.
In an alternative embodiment, the program 1310 is further configured to operate on the tag information according to the tag modification instruction, and the operation includes: at least one of addition, deletion, and modification.
In an alternative embodiment, the editing rule includes: preset editing rules or user-defined editing rules.
In an alternative embodiment, the editing rule includes: at least one of a template, music, a filter and a caption.
In an alternative embodiment, the editing instructions comprise hardware-triggered editing instructions and/or software-triggered editing instructions.
In an optional implementation manner, the hardware-triggered editing instruction is a key-triggered composite video instruction; and/or the software triggering editing instruction is a software triggering composite video instruction meeting preset conditions.
Furthermore, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program can implement the steps in the video processing method.
According to the embodiment of the invention, video acquisition operation is executed according to a shooting instruction, and in the process of carrying out the video acquisition operation, key materials obtained by the video acquisition operation are identified in real time and are automatically marked synchronously; acquiring and storing the marking information of the automatic marking; after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data. Therefore, the embodiment of the invention can synchronously add marks to the key materials in the shot materials during the video acquisition operation, so that the key materials are screened according to the mark information corresponding to the added marks to generate the key video data only containing the key materials, and the target video data is obtained by editing operation, thereby realizing the technical effect of synchronously adding marks to the key materials in the video acquisition process, realizing the video editing operation based on a one-key film forming mode, and improving the working efficiency of video editing.
It should be noted that, according to the implementation requirement, each component/step described in the embodiment of the present invention may be divided into more components/steps, and two or more components/steps or partial operations of the components/steps may also be combined into a new component/step to achieve the purpose of the embodiment of the present invention.
The above-described method according to an embodiment of the present invention may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein may be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware such as an ASIC or FPGA. It will be appreciated that the computer, processor, microprocessor controller or programmable hardware includes memory components (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods of video processing described herein. Further, when a general-purpose computer accesses code for implementing the methods illustrated herein, execution of the code transforms the general-purpose computer into a special-purpose computer for performing the methods illustrated herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The above embodiments are only for illustrating the embodiments of the present invention and not for limiting the embodiments of the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also belong to the scope of the embodiments of the present invention, and the scope of the embodiments of the present invention should be defined by the claims.
Claims (10)
1. A method of video processing, the method comprising:
executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and synchronously and automatically marking the key materials;
acquiring and storing the marking information of the automatic marking;
after the video acquisition operation is finished, screening out key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information;
acquiring an editing instruction and an editing rule; and
and editing the video data of the key material according to the editing instruction and the editing rule to obtain target video data.
2. The video processing method of claim 1, wherein the key material comprises at least one of:
if the shooting material contains a shooting target, setting the target material as a key material;
and if the shooting materials contain shooting information, setting the target materials as key materials.
3. The video processing method according to claim 1, wherein the flag information includes at least one of time stamp information, shooting target information, and shooting setting information.
4. The video processing method of claim 1, wherein the method further comprises: and displaying the mark information in a playing progress bar of the shooting materials so as to provide quick browsing and/or quick positioning for the key materials in the shooting materials.
5. The video processing method of claim 1, wherein the method further comprises: operating the tag information according to a tag modification instruction, wherein the operating comprises: at least one of addition, deletion, and modification.
6. The video processing method according to claim 1, wherein the editing rule comprises:
preset editing rules or user-defined editing rules.
7. The video processing method according to claim 1, wherein the editing instruction comprises a hardware-triggered editing instruction and/or a software-triggered editing instruction.
8. A video processing apparatus, characterized in that the apparatus comprises:
the material marking module is used for executing video acquisition operation according to a shooting instruction, identifying key materials acquired by the video acquisition operation in real time in the process of carrying out the video acquisition operation, and automatically marking the key materials synchronously;
the marking information acquisition module is used for acquiring and storing the marking information of the automatic marking;
the material screening module is used for screening key material video data containing the key material from the video materials obtained by the video acquisition operation according to the marking information after the video acquisition operation is finished;
the editing and acquiring module is used for acquiring an editing instruction and an editing rule; and
and the video editing module is used for editing the key material video data according to the editing instruction and the editing rule to obtain target video data.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, the executable instruction enables the processor to execute video acquisition operation according to the shooting instruction, and mark key materials in shooting materials obtained by the video acquisition operation by providing mark information synchronously with the video acquisition operation; screening the key materials with the marking information from the shooting materials obtained by shooting to generate key material video data; acquiring an editing instruction and an editing rule; and editing the video data of the key material according to the editing instruction and the editing rule to obtain the operation corresponding to the target video data.
10. A computer storage medium having stored thereon a computer program which, when executed by a processor, carries out the method of any one of claims 1-10.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010039157.0A CN111209438A (en) | 2020-01-14 | 2020-01-14 | Video processing method, device, equipment and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010039157.0A CN111209438A (en) | 2020-01-14 | 2020-01-14 | Video processing method, device, equipment and computer storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111209438A true CN111209438A (en) | 2020-05-29 |
Family
ID=70787440
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010039157.0A Pending CN111209438A (en) | 2020-01-14 | 2020-01-14 | Video processing method, device, equipment and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111209438A (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112165585A (en) * | 2020-09-28 | 2021-01-01 | 北京小米移动软件有限公司 | Short video generation method, device, device and storage medium |
| CN113038071A (en) * | 2021-01-22 | 2021-06-25 | 创业慧康科技股份有限公司 | Medical video processing system for medical remote visiting system |
| CN113067983A (en) * | 2021-03-29 | 2021-07-02 | 维沃移动通信(杭州)有限公司 | Video processing method and device, electronic equipment and storage medium |
| CN113111220A (en) * | 2021-03-26 | 2021-07-13 | 北京达佳互联信息技术有限公司 | Video processing method, device, equipment, server and storage medium |
| CN113286126A (en) * | 2021-05-28 | 2021-08-20 | Oppo广东移动通信有限公司 | Monitoring data processing method, system and related device |
| CN113589767A (en) * | 2021-04-06 | 2021-11-02 | 大连连合信息技术有限公司 | Robot process automation RPA processing method and related device |
| CN114125181A (en) * | 2021-11-22 | 2022-03-01 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
| WO2022262536A1 (en) * | 2021-06-16 | 2022-12-22 | 荣耀终端有限公司 | Video processing method and electronic device |
| WO2023185701A1 (en) * | 2022-03-31 | 2023-10-05 | 维沃移动通信有限公司 | Display method and apparatus, electronic device, and readable storage medium |
| TWI838081B (en) * | 2022-06-07 | 2024-04-01 | 鐵雲科技股份有限公司 | Automatically labeling method of training data and electronic device thereof |
| CN118502850A (en) * | 2023-10-30 | 2024-08-16 | 荣耀终端有限公司 | Data processing method and electronic equipment |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105493512A (en) * | 2014-12-14 | 2016-04-13 | 深圳市大疆创新科技有限公司 | Video processing method, video processing device and display device |
| US20190267037A1 (en) * | 2018-02-27 | 2019-08-29 | Boe Technology Group Co., Ltd. | Method, apparatus and terminal for controlling video playing |
| CN110557565A (en) * | 2019-08-30 | 2019-12-10 | 维沃移动通信有限公司 | Video processing method and mobile terminal |
-
2020
- 2020-01-14 CN CN202010039157.0A patent/CN111209438A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105493512A (en) * | 2014-12-14 | 2016-04-13 | 深圳市大疆创新科技有限公司 | Video processing method, video processing device and display device |
| US20190267037A1 (en) * | 2018-02-27 | 2019-08-29 | Boe Technology Group Co., Ltd. | Method, apparatus and terminal for controlling video playing |
| CN110557565A (en) * | 2019-08-30 | 2019-12-10 | 维沃移动通信有限公司 | Video processing method and mobile terminal |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112165585A (en) * | 2020-09-28 | 2021-01-01 | 北京小米移动软件有限公司 | Short video generation method, device, device and storage medium |
| CN113038071A (en) * | 2021-01-22 | 2021-06-25 | 创业慧康科技股份有限公司 | Medical video processing system for medical remote visiting system |
| CN113111220A (en) * | 2021-03-26 | 2021-07-13 | 北京达佳互联信息技术有限公司 | Video processing method, device, equipment, server and storage medium |
| CN113067983A (en) * | 2021-03-29 | 2021-07-02 | 维沃移动通信(杭州)有限公司 | Video processing method and device, electronic equipment and storage medium |
| CN113589767A (en) * | 2021-04-06 | 2021-11-02 | 大连连合信息技术有限公司 | Robot process automation RPA processing method and related device |
| CN113286126A (en) * | 2021-05-28 | 2021-08-20 | Oppo广东移动通信有限公司 | Monitoring data processing method, system and related device |
| US12395689B2 (en) | 2021-06-16 | 2025-08-19 | Honor Device Co., Ltd. | Video processing method and electronic device |
| WO2022262536A1 (en) * | 2021-06-16 | 2022-12-22 | 荣耀终端有限公司 | Video processing method and electronic device |
| CN114125181A (en) * | 2021-11-22 | 2022-03-01 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
| CN114125181B (en) * | 2021-11-22 | 2024-06-21 | 北京达佳互联信息技术有限公司 | Video processing method and video processing device |
| WO2023185701A1 (en) * | 2022-03-31 | 2023-10-05 | 维沃移动通信有限公司 | Display method and apparatus, electronic device, and readable storage medium |
| TWI838081B (en) * | 2022-06-07 | 2024-04-01 | 鐵雲科技股份有限公司 | Automatically labeling method of training data and electronic device thereof |
| CN118502850A (en) * | 2023-10-30 | 2024-08-16 | 荣耀终端有限公司 | Data processing method and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111209438A (en) | Video processing method, device, equipment and computer storage medium | |
| JP2023519625A (en) | Video processing method, apparatus, electronic equipment and non-transitory computer-readable storage medium | |
| JP2002191015A (en) | Captured image management device, captured image management method, and captured image management program | |
| CN111475675B (en) | Video processing system | |
| JP2019186784A (en) | Apparatus, method and program for creating image work | |
| CN113905175A (en) | Video generation method and device, electronic equipment and readable storage medium | |
| JP5550305B2 (en) | Imaging device | |
| CN111787354B (en) | Video generation method and device | |
| CN108924418A (en) | A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing | |
| US9449646B2 (en) | Methods and systems for media file management | |
| CN111209435A (en) | Method and device for generating video data, electronic equipment and computer storage medium | |
| CN111212321A (en) | Video processing method, device, equipment and computer storage medium | |
| CN111259198A (en) | Management method and device for shot materials and electronic equipment | |
| CN113010738B (en) | Video processing method, device, electronic equipment and readable storage medium | |
| CN112330728B (en) | Image processing method, device, electronic device and readable storage medium | |
| CN111625166B (en) | Picture display method and device | |
| CN112887515A (en) | Video generation method and device | |
| CN105488067B (en) | Slide generation method and device | |
| CN112887623A (en) | Image generation method and device and electronic equipment | |
| CN114237800B (en) | File processing method, file processing device, electronic equipment, and medium | |
| CN111246090A (en) | Tracking shooting method and device, electronic equipment and computer storage medium | |
| CN114173059B (en) | Video editing system, method and device | |
| CN111209436A (en) | Method and device for shooting material mark and electronic equipment | |
| JP2006332789A (en) | Video shooting method and apparatus, program, and storage medium storing program | |
| CN117093746A (en) | Video preview method, video preview device and electronic 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200529 |