CN109996010B - Video processing method and device, intelligent device and storage medium - Google Patents

Video processing method and device, intelligent device and storage medium Download PDF

Info

Publication number
CN109996010B
CN109996010B CN201711487557.2A CN201711487557A CN109996010B CN 109996010 B CN109996010 B CN 109996010B CN 201711487557 A CN201711487557 A CN 201711487557A CN 109996010 B CN109996010 B CN 109996010B
Authority
CN
China
Prior art keywords
processing
video
link
strategy
processed
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
CN201711487557.2A
Other languages
Chinese (zh)
Other versions
CN109996010A (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 Ubtech Technology Co ltd
Youbixuan Software Technology Shenzhen Co ltd
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN201711487557.2A priority Critical patent/CN109996010B/en
Publication of CN109996010A publication Critical patent/CN109996010A/en
Application granted granted Critical
Publication of CN109996010B publication Critical patent/CN109996010B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention is suitable for the technical field of video processing, and provides a video processing method, a video processing device, intelligent equipment and a storage medium, wherein the video processing method comprises the following steps: acquiring a video to be processed; acquiring a record of historical video processing behaviors of a user; determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link; and processing the video to be processed based on the video processing scheme. By the method, the video images can be intelligently processed according to the preference of the user, the editing processing operation of the user is reduced, the time of the user is saved, and the user experience is greatly improved.

Description

Video processing method and device, intelligent device and storage medium
Technical Field
The invention belongs to the technical field of video processing, and particularly relates to a video processing method and device, intelligent equipment and a storage medium.
Background
Currently, people often take pictures and videos with cameras to record beautiful moments in life. Although everyone can shoot the video, it is difficult for the ordinary users to shoot good video clips. How to perform transition processing on the shot video, so that each video can become a large video is the most concerned problem for each common user.
The video processing includes video transition processing, color matching processing, and the like, and the video transition processing refers to processing for connecting videos of different scenes. In the prior art, a user manually uses video processing software to process videos, the operation is complex, time is consumed, and the video processing operation is not intelligent enough.
Disclosure of Invention
In view of this, embodiments of the present invention provide a video processing method and apparatus, an intelligent device, and a storage medium, so as to solve the problems in the prior art that a user manually uses video processing software to process a video, the operation is complicated and time-consuming, and the video processing operation is not intelligent enough.
A first aspect of the present invention provides a video processing method, including:
acquiring a video to be processed;
acquiring a record of historical video processing behaviors of a user;
determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link;
and processing the video to be processed based on the video processing scheme.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining, according to the record of the historical video processing behavior, a processing link and a processing policy adopted by the processing link, and determining, based on the determined processing link and the processing policy adopted by the processing link, a video processing scheme of the video to be processed includes:
acquiring processing links of video processing and selectable processing strategies in each processing link;
establishing a strategy base based on the processing links of the video processing and the selectable processing strategies in each processing link, setting link weights for each processing link in the strategy base respectively, and setting strategy weights for each selectable processing strategy in each processing link;
counting the processing links selected by the user and the selected processing strategies in the history video processing behavior record of the user;
and updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the determining, according to the record of the historical video processing behavior, a processing link and a processing policy adopted by the processing link, and determining, based on the determined processing link and the processing policy adopted by the processing link, a video processing scheme of the video to be processed, includes:
acquiring link weight of each processing link and strategy weight of each processing strategy in the strategy library;
and selecting the processing link with the maximum link weight and the processing strategy with the maximum strategy weight in the processing link with the maximum link weight to generate the video processing scheme of the video to be processed.
With reference to the first aspect, in a third possible implementation manner of the first aspect, in the determining, according to the record of the historical video processing behavior, a processing link and a processing policy adopted by the processing link, and determining, based on the determined processing link and the processing policy adopted by the processing link, a video processing scheme of the video to be processed includes:
acquiring the video type of the video to be processed;
according to the video type, searching a record of the historical video processing behavior of the video with the same video type as the video to be processed from the record of the historical video processing behavior of the user;
determining a processing link and a processing strategy adopted by the processing link based on the found record of the historical video processing behaviors of the videos with the same video type as the video to be processed, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
With reference to the first aspect, or with reference to the first possible implementation manner of the first aspect, or with reference to the second possible implementation manner of the first aspect, or with reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, after the step of processing the video to be processed based on the processing policy, the method includes:
playing a video image generated after the video to be processed is processed;
detecting a confirmation instruction or a modification instruction of a user;
and if the modification instruction is detected, displaying the strategy selectable by each processing link in the video processing, and marking the processing link and the processing strategy selected based on the video processing scheme.
A second aspect of the present invention provides a video processing apparatus comprising:
the video acquisition unit is used for acquiring a video to be processed;
the history record acquisition unit is used for acquiring the record of the historical video processing behavior of the user;
the processing scheme determining unit is used for determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link;
and the video processing unit is used for processing the video to be processed based on the video processing scheme.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the processing scheme determining unit includes:
the information acquisition module is used for acquiring processing links of video processing and selectable processing strategies in each processing link;
a strategy base establishing module, configured to establish a strategy base based on the processing links of the video processing and the selectable processing strategies in each processing link, set a link weight for each processing link in the strategy base, and set a strategy weight for each selectable processing strategy in each processing link;
the strategy counting module is used for counting the processing links selected by the user and the selected processing strategies in the history video processing behavior record of the user;
and the weight updating module is used for updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the processing scheme determining unit includes:
the weight acquisition module is used for acquiring the link weight of each processing link and the strategy weight of each processing strategy in the strategy library;
and the weight strategy determining module is used for selecting the processing link with the maximum link weight and the processing strategy with the maximum strategy weight in the processing link with the maximum link weight to generate the video processing scheme of the video to be processed.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the processing scheme determining unit includes:
the video type acquisition module is used for acquiring the video type of the video to be processed;
the historical record searching module is used for searching the record of the historical video processing behavior of the video with the same video type as the video to be processed from the record of the historical video processing behavior of the user according to the video type;
and the behavior strategy determining module is used for determining a processing link and a processing strategy adopted by the processing link based on the found record of the historical video processing behaviors of the videos with the same video type as the video to be processed, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
With reference to the second aspect, or with reference to the first possible implementation manner of the second aspect, or with reference to the second possible implementation manner of the second aspect, or with reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the video processing apparatus further includes:
the video playing unit plays the video image generated after the video to be processed is processed;
the instruction detection unit is used for detecting a confirmation instruction or a modification instruction of a user;
and the processing strategy display unit is used for displaying the strategy selectable by each processing link in the video processing if the modification instruction is detected, and marking the processing link and the processing strategy selected based on the video processing scheme.
A third aspect of the present invention provides an intelligent device, comprising: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the video processing method according to the first aspect as described above when executing the computer program.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the video processing method according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, the video to be processed is acquired, the record of the historical video processing behavior of the user is acquired, then the processing link and the processing strategy adopted by the processing link are determined according to the record of the historical video processing behavior, the video processing scheme of the video to be processed is determined based on the determined processing link and the processing strategy adopted by the processing link, and finally the video to be processed is processed based on the video processing scheme, so that the automatic editing processing of the video image is realized. According to the scheme, the video images are intelligently processed by combining the historical processing behaviors of the user, the editing processing operation of the user is reduced, the time of the user is saved, and the user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a video processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of a video processing method S103 according to an embodiment of the present invention;
fig. 3 is a flowchart of another implementation of a video processing method S103 according to an embodiment of the present invention;
fig. 4 is a flowchart of an implementation of a video processing method including re-editing according to an embodiment of the present invention;
fig. 5 is a block diagram of a video processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
The embodiment of the invention provides a video processing method, a video processing device, an intelligent device and a storage medium for realizing intelligent video processing, wherein a to-be-processed video is mainly obtained, a record of historical video processing behaviors of a user is obtained, a processing link and a processing strategy adopted by the processing link are determined according to the record of the historical video processing behaviors, a video processing scheme of the to-be-processed video is determined based on the determined processing link and the processing strategy adopted by the processing link, and the to-be-processed video is processed based on the video processing scheme. To specifically describe the video processing method, apparatus and intelligent device, the following description is given by using specific embodiments.
Example one
Fig. 1 shows a flowchart of a video processing method provided by an embodiment of the present invention, where the method flow includes steps S101 to S104. The specific implementation principle of each step is detailed as follows:
and step S101, acquiring a video to be processed.
The video to be processed is a video segment, or more than one video segment.
In the embodiment of the invention, the intelligent device acquires the video image selected by the user as the video to be processed, or immediately shoots the video according to the instruction of the user and takes the newly shot video as the video to be processed.
Therefore, in the embodiment of the present invention, the step S101 specifically includes:
and A1, acquiring a shooting processing instruction of the user.
And A2, shooting the video for the user based on the shooting requirement in the shooting processing instruction. Wherein the shooting requirement includes a number of segments of the shot video.
And A3, determining the video image shot according to the shooting requirement as the video to be processed.
Illustratively, the user sends a shooting processing instruction of voice, such as "shoot me three pieces of video", the smart device shoots the user three pieces of video of a preset duration, and specified interval time is included between the three pieces of video, so that the user has time to change scenes.
In the embodiment of the present invention, when the video to be processed has more than one segment, the processing link of the video processing further includes sorting the video segments.
Step S102, acquiring the record of the historical video processing behavior of the user.
In an embodiment of the invention, the recording of the historical video processing behavior of the user comprises a historical selection of a processing link of the video. The processing of video images includes a plurality of processing links, such as splicing transitions, toning and adding BGM (background music), each of which includes more than one processing strategy, and thus, the processing link selected by the user each time the video is processed and the selected processing strategy are recorded in advance so as to obtain a record of the user's historical video processing behavior.
Step S103, determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
In the embodiment of the invention, the video processing scheme of the video to be processed is determined according to the processing link selected in the record of the historical video processing behavior of the user and the selected processing strategy. The video processing scheme comprises a processing link and a processing strategy adopted by the processing link.
Optionally, as an embodiment of the present invention, as shown in fig. 2, the step S103 includes:
b1, acquiring the video processing links and selecting the processing strategy in each processing link.
B2, establishing a strategy base based on the video processing links and the selectable processing strategies in each processing link, setting link weights for each processing link in the strategy base, and setting strategy weights for each selectable processing strategy in each processing link.
B3, counting the processing links selected by the user in the history video processing behavior record of the user and selecting the processing strategy.
And B4, updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
In the embodiment of the invention, a strategy base is established in advance, a link weight is set for each processing link in the strategy base, and a strategy weight is set for each processing strategy of each link. In the initial state, the initial link weight of each processing link is the same, and the initial strategy weight of each processing strategy is the same. When the video processing behaviors of the user are detected, recording the processing links selected by the user and the selected processing strategies in the video processing behaviors of the user so as to obtain the records of the historical video processing behaviors of the user for statistics, and updating corresponding link weights and strategy weights in the strategy library according to the statistical results.
Specifically, assuming that the processing strategies of one processing link are S1 to Sn, the weights of the individual processing strategies in the initial state are all 1/n, the single-use data of the user of the individual processing strategies of the individual processing link in the single-time video processing behavior of the user affects the weights of the individual processing strategies, and after the individual processing strategies are selected and used m times, the weights of the processing strategies in the strategy library are updated to be the weights of the processing strategies in the strategy library
Figure BDA0001535036530000081
In the embodiment of the invention, the link weight and the strategy weight of the processing link in the strategy library are updated according to the video processing behavior of the user, so that the intelligent equipment can know the record of the historical video processing behavior of the user, and the processing requirement of the user can be clearer, thereby the video processing is more intelligent, and the user experience is better.
Further, based on the above embodiment, the step S103 includes:
and C1, acquiring the link weight of each processing link and the strategy weight of each processing strategy in the strategy library.
And C2, selecting the processing link with the maximum link weight, and generating the video processing scheme of the video to be processed according to the processing strategy with the maximum strategy weight in the processing link with the maximum link weight.
In the embodiment of the invention, the processing link with the maximum link weight is determined as the processing link preferred by the user, the processing strategy with the maximum strategy weight is determined as the processing strategy preferred by the user, and the processing link with the maximum link weight and the processing strategy with the maximum strategy weight are selected to generate the video processing scheme, so that the behavior preference of the user is better fitted, and the video processing effectiveness is improved.
Optionally, in the embodiment of the present invention, when processing a video, a processing link and a processing policy in the policy repository are randomly selected, so as to generate a video processing scheme of the video to be processed.
Optionally, to improve the accuracy of selecting the video processing scheme, as shown in fig. 3, the S103 specifically includes:
d1, obtaining the video type of the video to be processed.
D2, according to the video type, searching the record of the historical video processing behavior of the video with the same video type as the video to be processed from the record of the historical video processing behavior of the user.
D3, determining a processing link and a processing strategy adopted by the processing link based on the found record of the historical video processing behaviors of the videos with the same video type as the video to be processed, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
Wherein the record of historical video processing activity includes a historical video processing scheme. In the embodiment of the invention, when the strategy base is updated according to the record of the historical video processing behavior of the user, the type of the video processed in the record of the historical video processing behavior of the user is obtained, the historical video processing schemes are classified according to the video types in advance, so that the video processing scheme with the same video type as the video to be processed is searched from the strategy base according to the video type of the video to be processed, and the video processing scheme of the video to be processed is generated by combining the video type of the video to be processed and the historical video processing scheme of the video of the same type of the user, thereby avoiding the poor processing effect caused by the fact that the selected processing link and the processing strategy are completely not overlapped with the type of the video to be processed, and improving the processing efficiency.
And step S104, processing the video to be processed based on the video processing scheme.
In the embodiment of the invention, according to the video processing scheme, a processing link and a processing strategy are selected to process the video to be processed. For example, the determined video processing scheme includes three links of splicing transition, color matching and adding BGM, wherein the splicing transition mode is fade-in and fade-out, the video color matching is selected as style 2, and the BGM4 is added.
In the first embodiment of the present invention, a processing link of video processing and a selectable processing policy in each processing link are obtained, a policy base is established based on the processing link of video processing and the selectable processing policy in each processing link, a link weight is respectively set for each processing link in the policy base, a policy weight is set for each selectable processing policy in each processing link, a record of historical video processing behavior of a user is obtained by obtaining a video to be processed, a processing link selected by the user and a selected processing policy in the record of the historical video processing behavior of the user are counted, then a link weight of each processing link and a policy weight of each processing policy in the policy base are obtained, a processing link with the largest link weight and a processing link with the largest link weight are selected, and finally, processing the video to be processed based on the video processing scheme to realize automatic editing processing of video images. According to the scheme, the video images are intelligently processed by combining the historical processing behaviors of the user, the editing processing operation of the user is reduced, the time of the user is saved, and the user experience is greatly improved.
Example two
Based on the video processing method provided in the first embodiment, another embodiment of the present invention is provided. Fig. 4 shows a flowchart of another video processing method provided by the embodiment of the present invention, which is detailed as follows:
step S201, a video to be processed is acquired.
Step S202, acquiring a record of historical video processing behaviors of the user.
Step S203, determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
And step S204, processing the video to be processed based on the video processing scheme.
In this embodiment, the specific steps from step S201 to step S204 refer to step S101 to step S104 in the embodiment, which are not described herein again.
And step S205, playing the video generated after the video to be processed is processed.
Step S206, a confirmation instruction or a modification instruction of the user is detected.
The confirming instruction is used for confirming that the video processing is completed, and the modifying instruction is used for continuing to edit the video.
In the embodiment of the invention, if the confirmation instruction is detected, the generated video after the processing is saved.
Step S206, if a modification instruction is detected, displaying the strategy selectable by each processing link in the video processing, and marking the processing link and the processing strategy selected based on the video processing scheme.
In the embodiment of the invention, if a modification instruction is detected, the selectable strategies of each processing link in video processing are displayed, and the processing link and the processing strategy selected based on the video processing scheme are marked, so that the modification is facilitated for a user. Displaying the selected processing links and processes in the video processing scheme
In the second embodiment of the invention, a video to be processed is acquired, a record of historical video processing behaviors of a user is acquired, then a processing link and a processing strategy adopted by the processing link are determined according to the record of the historical video processing behaviors, a video processing scheme of the video to be processed is determined based on the determined processing link and the processing strategy adopted by the processing link so as to be in accordance with the processing behavior preference of the user, the video to be processed is processed based on the video processing scheme, automatic editing processing of a video image is realized, the video image is intelligently processed by combining the historical processing behaviors of the user, the time of the user is saved, the video generated after the video to be processed is played, a confirmation instruction or a modification instruction of the user is detected, and if the modification instruction is detected, a strategy selectable by each processing link in the video processing is displayed, and marking the processing links and the processing strategies selected based on the video processing scheme so as to facilitate the user to change the processing strategies, thereby further improving the user experience.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
EXAMPLE III
Corresponding to the video processing method described in the foregoing embodiments, fig. 5 shows a block diagram of a video processing apparatus provided in the embodiments of the present invention, where the apparatus is applicable to an intelligent terminal, and the intelligent terminal may include a user equipment that communicates with one or more core networks via a radio access network RAN, and the user equipment may be a computer with mobile equipment, an intelligent robot, or the like.
Referring to fig. 5, the video processing apparatus includes: a video acquisition unit 31, a history acquisition unit 32, a processing scheme determination unit 33, and a video processing unit 34, wherein:
a video acquisition unit 31 for acquiring a video to be processed;
a history acquisition unit 32 for acquiring a record of historical video processing behavior of the user;
a processing scheme determining unit 33, configured to determine a processing link and a processing policy adopted by the processing link according to the record of the historical video processing behavior, and determine a video processing scheme of the video to be processed based on the determined processing link and the processing policy adopted by the processing link;
and the video processing unit 34 is configured to process the video to be processed based on the video processing scheme.
Optionally, the processing scheme determining unit 33 includes:
the information acquisition module is used for acquiring processing links of video processing and selectable processing strategies in each processing link;
a strategy base establishing module, configured to establish a strategy base based on the processing links of the video processing and the selectable processing strategies in each processing link, set a link weight for each processing link in the strategy base, and set a strategy weight for each selectable processing strategy in each processing link;
the strategy counting module is used for counting the processing links selected by the user and the selected processing strategies in the history video processing behavior record of the user;
and the weight updating module is used for updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
Optionally, the processing scheme determining unit 33 includes:
the weight acquisition module is used for acquiring the link weight of each processing link and the strategy weight of each processing strategy in the strategy library;
and the weight strategy determining module is used for selecting the processing link with the maximum link weight and the processing strategy with the maximum strategy weight in the processing link with the maximum link weight to generate the video processing scheme of the video to be processed.
Optionally, the processing scheme determining unit 33 includes:
the video type acquisition module is used for acquiring the video type of the video to be processed;
the historical record searching module is used for searching the record of the historical video processing behavior of the video with the same video type as the video to be processed from the record of the historical video processing behavior of the user according to the video type;
and the behavior strategy determining module is used for determining a processing link and a processing strategy adopted by the processing link based on the found record of the historical video processing behaviors of the videos with the same video type as the video to be processed, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
Optionally, the video processing apparatus further includes:
the video playing unit 35 plays the video image generated after the video to be processed is processed;
an instruction detection unit 36 for detecting a confirmation instruction or a modification instruction of the user;
and a processing policy display unit 37, configured to display, if the modification instruction is detected, a policy selectable by each processing link in the video processing, and mark the processing link and the processing policy selected based on the video processing scheme.
In the third embodiment of the present invention, a record of a historical video processing behavior of a user is obtained by obtaining a video to be processed, then a processing link and a processing policy adopted by the processing link are determined according to the record of the historical video processing behavior, a video processing scheme of the video to be processed is determined based on the determined processing link and the processing policy adopted by the processing link, and finally the video to be processed is processed based on the video processing scheme, so that automatic editing processing of a video image is realized. According to the scheme, the video images are intelligently processed by combining the historical processing behaviors of the user, the editing processing operation of the user is reduced, the time of the user is saved, and the user experience is greatly improved.
Example four:
fig. 6 is a schematic diagram of an intelligent device according to an embodiment of the present invention. As shown in fig. 6, the smart device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42, such as a video processing program, stored in said memory 41 and executable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in the various video processing method embodiments described above, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 51 to 54 shown in fig. 5.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the smart device 4. For example, the computer program 42 may be divided into a video acquisition unit, a history acquisition unit, a processing scheme determination unit, and a video processing unit, and the specific functions of each unit are as follows:
the video acquisition unit is used for acquiring a video to be processed;
the history record acquisition unit is used for acquiring the record of the historical video processing behavior of the user;
the processing scheme determining unit is used for determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link;
and the video processing unit is used for processing the video to be processed based on the video processing scheme.
The smart device 4 may be a smart robot. The smart device 4 may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 6 is merely an example of a smart device 4 and does not constitute a limitation of the smart device 4 and may include more or fewer components than shown, or some components in combination, or different components, for example the smart device may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the intelligent device 4, such as a hard disk or a memory of the intelligent device 4. The memory 41 may also be an external storage device of the Smart device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the Smart device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the smart device 4. The memory 41 is used for storing the computer program and other programs and data required by the smart device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm 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 invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A video processing method, characterized in that the video processing method comprises:
acquiring a video to be processed;
acquiring a record of historical video processing behaviors of a user, wherein the record of the historical video processing behaviors of the user comprises historical selection of video processing links, the processing links comprise splicing transition, color matching and background music addition, when the video to be processed has more than one section, the processing links comprise video section sequencing, and each processing link comprises more than one processing strategy;
determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link;
and processing the video to be processed based on the video processing scheme.
2. The video processing method according to claim 1, wherein the step of determining a processing link and a processing policy adopted by the processing link according to the record of the historical video processing behavior, and determining the video processing scheme of the video to be processed based on the determined processing link and the processing policy adopted by the processing link comprises:
acquiring processing links of video processing and selectable processing strategies in each processing link;
establishing a strategy base based on the processing links of the video processing and the selectable processing strategies in each processing link, setting link weights for each processing link in the strategy base respectively, and setting strategy weights for each selectable processing strategy in each processing link;
counting the processing links selected by the user and the selected processing strategies in the history video processing behavior record of the user;
and updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
3. The video processing method according to claim 2, wherein the step of determining a processing link and a processing policy adopted by the processing link according to the record of the historical video processing behavior, and determining the video processing scheme of the video to be processed based on the determined processing link and the processing policy adopted by the processing link comprises:
acquiring link weight of each processing link and strategy weight of each processing strategy in the strategy library;
and selecting the processing link with the maximum link weight and the processing strategy with the maximum strategy weight in the processing link with the maximum link weight to generate the video processing scheme of the video to be processed.
4. The video processing method according to claim 1, wherein the step of determining a processing link and a processing policy adopted by the processing link according to the record of the historical video processing behavior, and determining the video processing scheme of the video to be processed based on the determined processing link and the processing policy adopted by the processing link comprises:
acquiring the video type of the video to be processed;
according to the video type, searching a record of the historical video processing behavior of the video with the same video type as the video to be processed from the record of the historical video processing behavior of the user;
determining a processing link and a processing strategy adopted by the processing link based on the found record of the historical video processing behaviors of the videos with the same video type as the video to be processed, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link.
5. The video processing method according to any of claims 1 to 4, wherein after the step of processing the video to be processed based on the processing policy, comprising:
playing a video image generated after the video to be processed is processed;
detecting a confirmation instruction or a modification instruction of a user;
and if the modification instruction is detected, displaying the strategy selectable by each processing link in the video processing, and marking the processing link and the processing strategy selected based on the video processing scheme.
6. A video processing apparatus, characterized in that the video processing apparatus comprises:
the video acquisition unit is used for acquiring a video to be processed;
the device comprises a historical record acquisition unit, a video processing unit and a video processing unit, wherein the historical record acquisition unit is used for acquiring a historical video processing behavior record of a user, the historical video processing behavior record of the user comprises historical selection of video processing links, the processing links comprise splicing transition, color mixing and background music addition, when the video to be processed is more than one section, the processing links comprise video section sequencing, and each processing link comprises more than one processing strategy;
the processing scheme determining unit is used for determining a processing link and a processing strategy adopted by the processing link according to the record of the historical video processing behavior, and determining a video processing scheme of the video to be processed based on the determined processing link and the processing strategy adopted by the processing link;
and the video processing unit is used for processing the video to be processed based on the video processing scheme.
7. The video processing apparatus according to claim 6, wherein the processing scheme determination unit includes:
the information acquisition module is used for acquiring processing links of video processing and selectable processing strategies in each processing link;
a strategy base establishing module, configured to establish a strategy base based on the processing links of the video processing and the selectable processing strategies in each processing link, set a link weight for each processing link in the strategy base, and set a strategy weight for each selectable processing strategy in each processing link;
the strategy counting module is used for counting the processing links selected by the user and the selected processing strategies in the history video processing behavior record of the user;
and the weight updating module is used for updating the corresponding link weight and the strategy weight in the strategy library based on the statistical result.
8. The video processing apparatus according to any one of claims 6 to 7, wherein the video processing apparatus further comprises:
the video playing unit plays the video image generated after the video to be processed is processed;
the instruction detection unit is used for detecting a confirmation instruction or a modification instruction of a user;
and the processing strategy display unit is used for displaying the strategy selectable by each processing link in the video processing if the modification instruction is detected, and marking the processing link and the processing strategy selected based on the video processing scheme.
9. A smart device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the video processing method according to any of claims 1 to 5 are implemented when the processor executes the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the video processing method according to any one of claims 1 to 5.
CN201711487557.2A 2017-12-29 2017-12-29 Video processing method and device, intelligent device and storage medium Active CN109996010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711487557.2A CN109996010B (en) 2017-12-29 2017-12-29 Video processing method and device, intelligent device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711487557.2A CN109996010B (en) 2017-12-29 2017-12-29 Video processing method and device, intelligent device and storage medium

Publications (2)

Publication Number Publication Date
CN109996010A CN109996010A (en) 2019-07-09
CN109996010B true CN109996010B (en) 2021-07-27

Family

ID=67110474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711487557.2A Active CN109996010B (en) 2017-12-29 2017-12-29 Video processing method and device, intelligent device and storage medium

Country Status (1)

Country Link
CN (1) CN109996010B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851653A (en) * 2019-11-08 2020-02-28 上海摩象网络科技有限公司 Method and device for shooting material mark and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595038A (en) * 2011-01-11 2012-07-18 三星电子株式会社 Digital photographing apparatus and control method thereof
CN105187733A (en) * 2014-06-06 2015-12-23 腾讯科技(北京)有限公司 Video processing method, device and terminal
CN106210450A (en) * 2016-07-20 2016-12-07 罗轶 Video display artificial intelligence based on SLAM
CN106534775A (en) * 2016-11-03 2017-03-22 北京小米移动软件有限公司 Video editing method and device as well as video shooting method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923709B (en) * 2009-06-16 2013-06-26 日电(中国)有限公司 Image splicing method and equipment
JP5552769B2 (en) * 2009-07-29 2014-07-16 ソニー株式会社 Image editing apparatus, image editing method and program
CN104284216B (en) * 2014-10-23 2018-07-13 Tcl集团股份有限公司 A kind of method and its system generating video essence editing
CN107948758B (en) * 2017-12-14 2020-06-30 四川长虹电器股份有限公司 Method for setting image mode of smart television

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595038A (en) * 2011-01-11 2012-07-18 三星电子株式会社 Digital photographing apparatus and control method thereof
CN105187733A (en) * 2014-06-06 2015-12-23 腾讯科技(北京)有限公司 Video processing method, device and terminal
CN106210450A (en) * 2016-07-20 2016-12-07 罗轶 Video display artificial intelligence based on SLAM
CN106534775A (en) * 2016-11-03 2017-03-22 北京小米移动软件有限公司 Video editing method and device as well as video shooting method and device

Also Published As

Publication number Publication date
CN109996010A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN111698553B (en) Video processing method and device, electronic equipment and readable storage medium
CN102096822A (en) Color discrimination method and device
CN104853092A (en) Photographing method and device
CN108924427A (en) A kind of video camera focus method, device and video camera
CN110559665A (en) Game map processing method and device, terminal device and storage medium
CN109086742A (en) scene recognition method, scene recognition device and mobile terminal
CN111401238B (en) Method and device for detecting character close-up fragments in video
CN109410295B (en) Color setting method, device, equipment and computer readable storage medium
CN107871000B (en) Audio playing method and device, storage medium and electronic equipment
CN113011403B (en) Gesture recognition method, system, medium and device
CN111353965B (en) Image restoration method, device, terminal and storage medium
CN109996010B (en) Video processing method and device, intelligent device and storage medium
CN110876072B (en) Batch registered user identification method, storage medium, electronic device and system
CN102724445A (en) Method and system for instant generation of competitive game information
CN102403011A (en) Music output method and device
CN103581567B (en) Visual encoding series processing method and system, the broadcasting of visual encoding sequence and system thereof
CN110415318B (en) Image processing method and device
CN110839135A (en) Recovery method and system for DV or HDV video file
CN116600156A (en) Video content recommendation method, device, computer equipment and storage medium
CN110222286A (en) Information acquisition method, device, terminal and computer readable storage medium
CN113938751B (en) Video transition type determining method, device and storage medium
CN107545214B (en) Image serial number determining method, feature setting method and device and intelligent equipment
CN109544664B (en) Animation data processing method and device, electronic equipment and readable storage medium
CN111899187A (en) Scene information processing method and device, storage medium and electronic device
CN110971923B (en) Bullet screen connection method, storage medium, system and client

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
CP01 Change in the name or title of a patent holder

Address after: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen UBTECH Technology Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen UBTECH Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20221215

Address after: 518000 b1-13, Nanshan Zhiyuan Park, No. 1001, Xueyuan Avenue, Taoyuan Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Youbixuan software technology (Shenzhen) Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen UBTECH Technology Co.,Ltd.

TR01 Transfer of patent right