CN112243065B - Video recording method and device - Google Patents

Video recording method and device Download PDF

Info

Publication number
CN112243065B
CN112243065B CN202011119951.2A CN202011119951A CN112243065B CN 112243065 B CN112243065 B CN 112243065B CN 202011119951 A CN202011119951 A CN 202011119951A CN 112243065 B CN112243065 B CN 112243065B
Authority
CN
China
Prior art keywords
video
recording
style
user
target
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
CN202011119951.2A
Other languages
Chinese (zh)
Other versions
CN112243065A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011119951.2A priority Critical patent/CN112243065B/en
Publication of CN112243065A publication Critical patent/CN112243065A/en
Application granted granted Critical
Publication of CN112243065B publication Critical patent/CN112243065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application discloses a video recording method and device, and belongs to the technical field of communication. The method comprises the following steps: under the condition of video recording, acquiring target parameters; the target parameters comprise at least one of recording duration, shot target objects, the target actions, the number of the human faces and target audio; and when the target parameter meets a first preset condition, switching to a first video style corresponding to the first preset condition for video recording. According to the method and the device, the problem that the user's requirements in some scenes cannot be met by manually switching the video styles, and the user experience is influenced can be solved.

Description

Video recording method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a video recording method and device.
Background
With the wide application of electronic devices and the continuous popularization of mobile terminals, users have more demands on the mobile internet. Nowadays, video recording is favored by more and more people as a real-time function of a mobile terminal, and users who shoot videos through the mobile terminal are more and more.
In order to shoot videos with different effects, a user can switch the video style used for shooting the videos, such as the filter, the beauty and the like of the videos, in the process of shooting the videos. In the related art, a user needs to pause video recording during video shooting, manually switch the video style, and then continue to shoot the video in the switched style. However, the above-mentioned manner of manually switching the video style cannot meet the user requirements in some scenes, for example, the user needs to place the mobile terminal on the support to shoot the video for himself, which affects the user experience.
Disclosure of Invention
The embodiment of the application aims to provide a video recording method and a video recording device, and the problem that the mode of manually switching the video style in the related technology cannot meet the requirements of users in some scenes and the use experience of the users is influenced can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video recording method, where the method includes:
acquiring target parameters in a video recording process; the target parameters comprise at least one of recording duration, a target object, a target action, the number of human faces and target audio;
and when the target parameter meets a first preset condition, switching to a first video style corresponding to the first preset condition for video recording.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the acquisition module is used for acquiring target parameters in the video recording process; the target parameters comprise at least one of recording duration, a target object, a target action, the number of human faces and target audio;
and the switching module is used for switching to a first video style corresponding to the first preset condition for video recording when the target parameter meets the first preset condition.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the target parameters are acquired under the condition of video recording. The target parameters may include at least one of recording duration, a shot target object, a target action, a number of faces, and a target audio. When the acquired target parameters meet the first preset condition, the electronic equipment can automatically switch the style in the video recording process, so that the style is switched to the first video style corresponding to the first preset condition for video recording. Therefore, the user does not need to manually switch the video style, does not need to switch the video style after the shot video is paused, can shoot videos with various video styles even if the user shoots the videos for himself, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic flowchart of a video recording method according to an embodiment of the present application;
fig. 2 is a schematic view of an interface of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a video recording setup interface according to an embodiment of the present application;
fig. 4 is a schematic diagram of another video recording setup interface provided in an embodiment of the present application;
fig. 5 is a schematic diagram of another video recording setup interface provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a recording duration setting interface according to an embodiment of the present application;
fig. 7 is a schematic diagram of another recording duration setting interface provided in the embodiment of the present application;
FIG. 8 is a schematic diagram of a target action setting interface provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of another target action setting interface provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a target audio setting interface provided by an embodiment of the present application;
fig. 11 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 13 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in other sequences than those illustrated or described herein, and that the elements identified as "first," "second," etc. are often referred to in the art without limitation to the number of elements, e.g., the first element may be one or more. Further, in the specification and claims, "and/or" means at least one of the connected elements, the character "/" generally means that the preceding and following associated elements are in an "or" relationship.
At present, with the wide application of electronic devices and the continuous popularization of mobile terminals, users have more demands on mobile internet. Nowadays, video recording is favored by more and more people as a real-time function of a mobile terminal, and users who shoot videos through the mobile terminal are more and more.
In order to shoot videos with different effects, a user can switch the video style used for shooting the videos, such as the filter, the beauty and the like of the videos, in the process of shooting the videos. In the related art, a user needs to pause video recording during video shooting, manually switch the video style, and then continue to shoot video in the switched style. However, the above-mentioned manner of manually switching the video style cannot meet the user requirements in some scenes, for example, the user needs to place the mobile terminal on the support to shoot the video for himself, which affects the user experience.
The following describes in detail a video recording method provided in an embodiment of the present application with specific embodiments, taking an execution subject of the video recording method as an example, with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a video recording method 100 according to an embodiment of the present disclosure.
As shown in fig. 1, a video recording method 100 provided in this embodiment of the present application may include S101 and S102.
S101: under the condition of video recording, acquiring target parameters; the target parameters comprise at least one of recording duration, shot target objects, target actions, face number and target audio.
After the user selects to start shooting the video, the electronic equipment records the video. During the video recording process, the electronic device may obtain the target parameters. The target parameters may include recording duration, a shot target object, a target action, a number of faces, a target audio, and the like.
For example, the electronic device may detect the recording duration of the video recording at any time, so as to obtain the recording duration of the video. The electronic device can detect the target object shot in the video recording process at any time. The target object to be photographed may be a photographed person, an animal, a plant, a static object, and the like. The target action may be a limb work of the photographed person, and the electronic device may detect the limb action of the photographed person at any time, such as the photographed person stroking a scissor hand, the photographed person performing a leg-raising action, and the like. The number of the faces can be changed in the video recording process, and the electronic equipment can detect the number of the faces in the video recording process at any time. The electronic device can also detect audio in the video recording process, for example, a shot person says "click" in the process of shooting the video.
S102: and when the target parameter meets a first preset condition, switching to a first video style corresponding to the first preset condition for video recording.
In the process of shooting videos, in order to shoot videos with different effects, video styles can be used for video recording. The video styles comprise video filters, makeup effects, beauty effects, special effects, background music and the like.
After the electronic equipment acquires the target parameters, the electronic equipment detects whether the target parameters meet a first preset condition. And under the condition that the target parameter meets a first preset condition, the electronic equipment automatically switches the video recording style to be a first video style corresponding to the first preset condition. Video recording is performed based on the first video style.
For example, the first preset condition is that the number of persons photographed is 2, and the style of the video corresponding to the first preset condition is "pseudo-classic". In the video recording process, when the electronic equipment detects that the number of the shot people is 2, the number of the shot people meets a first preset condition, and the video style is automatically switched to 'retro' for video recording.
For another example, the first preset condition is that the target action is "raise legs", and the video style corresponding to the first preset condition is "fresh". The electronic equipment detects that the shot person performs leg lifting action, the shot target action meets a first preset condition, and the video style is automatically switched to be fresh for video recording.
It is understood that the first preset condition has a corresponding relationship with the video style. Here, one video style may correspond to a plurality of first preset conditions, and one video style may also correspond to only one first preset condition.
For example, the action "raise the legs" and the action "get fresher than the scissors hands" may both correspond to the video style.
According to the embodiment of the application, the target parameters are obtained under the condition of video recording. The target parameters may include at least one of recording duration, a shot target object, a target action, a number of faces, and a target audio. When the acquired target parameters meet the first preset condition, the electronic equipment can automatically switch the style of the shot video, so that the style is switched to the first video style corresponding to the first preset condition for video recording. Therefore, the user does not need to manually switch the video style, does not need to switch the video style after the shot video is paused, can shoot videos with various video styles even if the user shoots the videos for himself, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, the correspondence between the first preset condition and the first video style is preset. For example, a user may preset a shooting template for video recording on the electronic device. The shooting template may include a correspondence between the first video style and a first preset condition.
After the shooting template is set by the user, shooting can be directly carried out based on the set shooting template, and a target shooting template can be selected from a plurality of preset shooting templates for shooting. As shown in fig. 2, in the shooting template set by the user, the video styles include: nature, vintage and freshness. When the user needs to use the template for photographing, the photographing template is selected. After receiving a first input of selecting a shooting template by a user, the electronic equipment determines the shooting template selected by the user, and records videos according to the shooting template. For another example, the first preset condition of the shooting template is a recording duration. In the process of recording the video by using the shooting template, the electronic equipment constantly detects the recording time length in the video recording process, and when the recording time length of the video is 3 seconds, the 'natural' video style is switched to the 'ancient' video style for video recording. And when the recording time of the video is 7 seconds, switching the style of the video from ancient to fresh for recording the video. That is, the recording time for recording a video with the video style "nature" is 3 seconds, the recording time for recording a video with the video style "retro" is 4 seconds, and then the recording of a video with the video style "fresh" is performed until the recording of a video is finished, for example, the recording time for recording a video with the video style "fresh" is 2 seconds.
It should be noted that, a user may set a shooting template before video recording, and then directly use the shooting template to record video, or may select one shooting template from a plurality of pre-stored shooting templates before video recording to perform video shooting.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Based on the above embodiments, the following describes in detail an embodiment of setting a shooting template in the embodiments of the present application.
Optionally, in one or more embodiments of the present application, the present application provides the following manner to set the shooting template. Firstly, receiving a second input of a user; then, in response to the second input, a target condition type is determined. Here, the target condition type refers to a condition type to which the first preset condition belongs. Then, receiving a third input of the user; finally, in response to the third input, a correspondence between the first video style and a first preset condition is set.
The second input is input aiming at the target condition type of the first preset condition, and the electronic equipment can determine the condition type corresponding to the first preset condition based on the second input. Wherein the target condition types comprise time, object and audio. As shown in fig. 3, an edit template control and a label of a video style that can be edited are displayed on the video recording setting interface, and a user can click on the edit template control. After receiving the input of the user clicking the edit template control, displaying the target condition type in the shooting template, as shown in fig. 4. The interface displays tags with target condition types including time, object, and audio. The user can select the target condition type according to the requirement of the user. And after receiving the target condition type selected by the user, the electronic equipment displays all video styles for the user to select.
Specifically, after the electronic device interface displays all video styles, the electronic device receives a third input from the user, where the third input is an input from the user selecting the first video style. And the electronic equipment sets the corresponding relation between the first video style and the first preset condition based on the third input of the user to obtain a video shooting template.
As shown in fig. 5, the video styles displayed by the electronic device include: nature, vintage, fashion, freshness, and gentle breeze. All video styles can be displayed in a floating window mode, and the video style selected by the user is displayed below the floating window. Here, the video styles selected by the user may be displayed in the chronological order of the video styles selected by the user. After a user selects a first video style according to the self requirement, a first preset condition corresponding to the first video style is set, so that the electronic equipment sets the corresponding relation between each video style and the first preset condition, and a shooting template for video shooting is obtained.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, each video may have multiple video styles during shooting in order to make the effect of the shot video richer. Specifically, after the correspondence between the first video style and the first preset condition is set, the correspondence between the second video style and the second preset condition may also be set.
Firstly, receiving a fourth input of a user; then, in response to a fourth input, a correspondence of the second video style and a second preset condition is set, wherein the second preset condition may be other conditions in the target condition type.
Here, the fourth input may be an input of a user selecting a second video style and a second preset condition, and the electronic device may be capable of setting a correspondence between the second video style and the second preset condition based on the second video style and the second preset condition selected by the user.
There are various types of target conditions, and the following describes in detail the correspondence between the first preset condition for establishing different target condition types and the video style.
First, the target condition type is introduced as time.
Optionally, in one or more embodiments of the present application, when the target condition type is time, the first preset condition is a recording duration, and the fourth input of the user includes a fifth input and a sixth input. For each video genre, first, a fifth input is received that the user selects a second video genre of the at least one video genre. Then, a sixth input that the user selects a recording duration corresponding to the second video style is received.
The user may pre-select at least one video genre and the electronic device displays the at least one video genre selected by the user. The user then sets a recording duration for at least one video style. And the user selects a second video style from the displayed at least one video style to set the recording time length. And the second video style is any one of the video styles selected by the user.
For example, as shown in fig. 6, the video styles selected by the user in advance include nature, vintage and freshness, the interface of the electronic device displays a time setting control, and the user can set the recording time length by adjusting the time setting control. The user may select the video style "nature" and then set the recording duration of the video style "nature" to 3 seconds. After the recording time of the video style 'natural' is set, the user selects the video style 'retro' again, and then sets the recording time of the video style 'retro' to be 5 seconds. After the recording time of the video style 'fresh' is set, the user selects the video style 'fresh' again, and then sets the recording time of the video style 'fresh' to be 4 seconds. After receiving the input of selecting the video style by the user and the input of setting the recording time length, the electronic equipment establishes the corresponding relation between the video style and the recording time length to obtain a shooting template with time as a type. And receiving the input of the user for saving the shooting template, and saving the shooting template. When the user performs video recording with the shooting template, the first video style is "natural". When the recording time length for recording the video in the video style of natural is 3 seconds, the video style of natural is switched to the video style of ancient. When the time for recording the video in the video style 'retro' is 5 seconds, the video style 'retro' is switched to the video style 'fresh'.
Therefore, the electronic equipment can automatically switch the style of the shot video according to the recording duration corresponding to each video style, so that the video containing multiple video styles can be obtained, the style switching by a user is not needed, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, in order to enable the video styles and the shooting times set by the user to have an intuitive correspondence, in a case of displaying icons corresponding to the video styles, icons with different lengths may be displayed according to the shooting time duration corresponding to each video style. The longer the shooting time, the longer the length of the icon.
Specifically, after the electronic device sets the corresponding relationship between the first video style and the first preset condition and the corresponding relationship between the second video style and the second preset condition, the electronic device may display the first icon of the first video style and the second icon of the second video style according to the set sequence of the first video style and the second video style. The length of the first icon corresponds to a first recording time length of a first video style, and the length of the second icon corresponds to a second recording time length of a second video style.
For example, as shown in fig. 7, if the recording time of the electronic device using the video style "nature" is 3 seconds, the recording time of the electronic device using the video style "retro" is 5 seconds, and the recording time of the electronic device using the video style "fresh" is 4 seconds, the icon length of the video style "retro" is longer than the icon length of the video style "fresh", and the icon length of the video style "fresh" is longer than the icon length of the video style "nature".
Therefore, the user can visually check the corresponding relation between each video style and the recording duration corresponding to each video style, and the use experience of the user is improved.
Next, the target condition type is introduced as an object.
Alternatively, in one or more embodiments of the present application, when the target condition type is an object, the first preset condition may be a target object, such as a person, an animal, a plant, a static object, and the like. The first preset condition may also be the number of faces, such as the number of persons photographed, the number of animals, and the like. The first preset condition may also be a target motion of the target object, such as a kicking motion of a person, a motion of a scissor hand, a waving motion of a hand, and the like. Firstly, the electronic equipment receives a fifth input that a user selects a second video style in at least one video style; then, the electronic device receives a sixth input that the user selects a target object, a number of faces, or a target action corresponding to the second video style.
And the second video style is any one of the video styles selected by the user.
For example, taking the first preset condition as an example, as shown in fig. 8, the video styles selected by the user in advance include nature, antique, fresh, and fashion. The video style corresponds to a natural action A, the video style corresponds to an ancient action B, the video style corresponds to a fresh action C, and the video style corresponds to a fashionable action D. And establishing a corresponding relation between the video styles and the target actions based on the video styles selected by the user and the target actions corresponding to the video styles to obtain the shooting template with the type as the object. When the user uses the shooting template for video recording, when the electronic equipment detects the action A, the style of the shot video is switched to be natural. When the electronic device detects the action B, the style of the photographed video is switched to "vintage".
As shown in fig. 9, the user input to save the shooting template is received, and the shooting template is saved. Here, the target action may also be replaced by a target object, the number of faces, and the like, which are not described herein again.
Therefore, the electronic equipment can automatically switch the style of the shot video according to the target action corresponding to each video style, so that the video containing multiple video styles can be obtained, the style switching by a user is not needed, and the use experience of the user is improved.
Finally, the target condition type is introduced as audio.
Optionally, in one or more embodiments of the present application, the target condition type is audio. The first preset condition is a target audio. For example, the audio of kaka, eggplant, etc. First, the electronic device receives a fifth input from the user selecting a second video style of the at least one video style. Then, the electronic device receives a sixth input that the user selects a target audio corresponding to the second video style.
Wherein the second video style may be any one of the at least one video style.
For example, as shown in fig. 10, the video styles preselected by the user include nature, antique, fresh, and fashion. The video style is 'natural' corresponding to audio A 'kao', the video style 'retro' corresponding to audio B 'eggplant', the video style 'fresh' corresponding to audio C 'going to a bar, a pick-up dune', and the video style 'fashion' corresponding to audio D 'you are the most beautiful'. And establishing a corresponding relation between the video styles and the target audio based on the video styles selected by the user and the target audio corresponding to each video style to obtain the shooting template with the type as the object. And receiving the input of saving the shooting template by the user. When the user uses the shooting template for video recording, when the electronic equipment detects the audio A, the style of the shot video is switched to be natural. When the electronic device detects the audio B, the style of the photographed video is switched to "vintage".
Therefore, the electronic equipment can automatically switch the style of the shot video according to the target audio corresponding to each video style, so that the video containing multiple video styles can be obtained, the style switching by a user is not needed, and the use experience of the user is improved.
According to the video recording method provided by the embodiment of the application, the target parameters are obtained under the condition of video recording. The target parameters may include at least one of recording duration, a shot target object, a target action, a number of faces, and a target audio. When the acquired target parameters meet the first preset condition, the electronic equipment can automatically switch the style of the shot video, so that the style is switched to the first video style corresponding to the first preset condition for video recording. Therefore, the user does not need to manually switch the video style, does not need to switch the video style after the shot video is paused, can shoot videos with various video styles even if the user shoots the videos for himself, and the use experience of the user is improved.
It should be noted that, in the embodiment of the present application, an electronic device executes a video recording method as an example, and the video recording method provided in the embodiment of the present application is described. However, in the video recording method provided in the embodiment of the present application, the execution main body may be an electronic device, or may also be a video recording apparatus or a control module in the video recording apparatus for executing the video recording method.
Based on the video recording method provided by the application, correspondingly, the application provides a video recording device of an embodiment. Next, in the embodiment of the present application, a video recording apparatus executing a video recording method is taken as an example to describe the video recording apparatus provided in the embodiment of the present application.
Fig. 11 is a schematic structural diagram of a video recording apparatus 1100 according to the present application.
As shown in fig. 11, the video recording apparatus 1100 provided by the present application may include: an acquisition module 1101 and a switching module 1102.
An obtaining module 1101, configured to obtain a target parameter in a case of video recording; the target parameters comprise at least one of recording duration, shot target objects, target actions, human face number and target audio;
the switching module 1102 is configured to switch to a first video style corresponding to a first preset condition for video recording when the target parameter meets the first preset condition.
Optionally, in one or more embodiments of the present application, the apparatus 1100 further includes:
a receiving module 1103, configured to receive a first input of a user;
a determining module 1104 for determining a target photographing template in response to a first input; the target shooting template comprises a corresponding relation between a first video style and a first preset condition.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, the apparatus 1100 further includes:
a receiving module 1103, configured to receive a second input of the user;
a determining module 1104 for determining a target condition type in response to a second input; the target condition type is a condition type to which a first preset condition belongs;
a receiving module 1103, further configured to receive a third input from the user;
a setting module 1105, configured to set a corresponding relationship between the first video style and the first preset condition in response to the third input.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, the receiving module 1103 is further configured to receive a fourth input of the user;
the setting module 1105 is further configured to, in response to the fourth input, set a corresponding relationship between the second video style and a second preset condition, where the second preset condition is another condition in the target condition type.
Therefore, the user can set a plurality of video styles to shoot the video, the shot video is rich, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, the apparatus 1100 further includes:
a display module 1106, configured to display a first icon and a second icon according to a setting order of a first video style and a second video style, where a length of the first icon corresponds to a first recording duration and a length of the second icon corresponds to a second recording duration; the first recording duration is the recording duration of a first video style set by a user, and the second recording duration is the recording duration of a second video style set by the user.
Therefore, the user can visually check the corresponding relation between each video style and the recording duration, and the use experience of the user is improved.
The video recording device provided by the embodiment of the application acquires the target parameters under the condition of video recording. The target parameters may include at least one of recording duration, a shot target object, a target action, a number of faces, and a target audio. When the acquired target parameters meet the first preset condition, the electronic equipment can automatically switch the style of the shot video, so that the style is switched to the first video style corresponding to the first preset condition for video recording. Therefore, the user does not need to manually switch the video style, does not need to switch the video style after the shot video is paused, can shoot videos with various video styles even if the user shoots the videos for himself, and the use experience of the user is improved.
The video recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The video recording apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video recording device provided in the embodiment of the present application can implement each process implemented by the video recording device in any method embodiment in fig. 1, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 12, an electronic device 1200 is further provided in this embodiment of the present application, and includes a processor 1201, a memory 1202, and a program or an instruction stored in the memory 1202 and executable on the processor 1201, where the program or the instruction is executed by the processor 1201 to implement each process of the video recording method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 13 is a schematic hardware configuration diagram of an electronic device 1300 implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The input unit 1304 is configured to obtain a target parameter in the case of video recording; the target parameters comprise at least one of recording duration, shot target objects, target actions, human face number and target audio;
and a processor 1310, configured to switch to a first video style corresponding to a first preset condition for video recording when the target parameter meets the first preset condition.
According to the embodiment of the application, the target parameters are obtained under the condition of video recording. The target parameters may include at least one of recording duration, a shot target object, a target action, a number of faces, and a target audio. When the acquired target parameters meet the first preset condition, the electronic equipment can automatically switch the style of the shot video, so that the style is switched to the first video style corresponding to the first preset condition for video recording. Therefore, the user does not need to manually switch the video style, does not need to switch the video style after the shot video is paused, can shoot videos with various video styles even if the user shoots the videos for himself, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application,
a user input unit 1307 for receiving a first input by a user;
a processor 1310 for determining a target capture template in response to a first input; the target shooting template comprises a corresponding relation between a first video style and a first preset condition.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application,
a user input unit 1307, further configured to receive a second input by the user;
a processor 1310 for determining a target condition type in response to a second input; the target condition type is a condition type to which a first preset condition belongs;
a user input unit 1307, further configured to receive a third input by the user;
a processor 1310 configured to set a correspondence between the first video style and the first preset condition in response to a third input.
Therefore, video recording is carried out based on the shooting template set by the user, the electronic equipment can automatically switch the style of the shot video according to the video style in the shooting template and the first preset condition corresponding to the video style, so that the video containing multiple video styles can be obtained, the user does not need to manually switch the styles, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application, the target condition type is time, the first preset condition is recording duration, and the fourth input includes a fifth input and a sixth input;
a user input unit 1307, further configured to receive a fourth input by the user;
the processor 1310 is further configured to set a corresponding relationship between the second video style and a second preset condition in response to a fourth input, where the second preset condition is another condition in the target condition type.
Therefore, the user can set a plurality of video styles to shoot the video, the shot video is rich, and the use experience of the user is improved.
Optionally, in one or more embodiments of the present application,
a display unit 1306, configured to display a first icon and a second icon according to a setting order of a first video style and a second video style, where a length of the first icon corresponds to a first recording duration and a length of the second icon corresponds to a second recording duration; the first recording duration is the recording duration of a first video style set by a user, and the second recording duration is the recording duration of a second video style set by the user.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video recording method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A method for video recording, the method comprising:
acquiring target parameters in a video recording process; the target parameter comprises recording duration;
when the target parameter meets a first preset condition, switching to a first video style corresponding to the first preset condition for video recording;
when the target parameter meets a second preset condition, switching to a second video style corresponding to the second preset condition for video recording;
displaying a first icon and a second icon according to the setting sequence of the first video style and the second video style, wherein the length of the first icon corresponds to a first recording time length, and the length of the second icon corresponds to a second recording time length; the first recording duration is the recording duration of the first video style set by the user, and the second recording duration is the recording duration of the second video style set by the user.
2. The method of claim 1, wherein before the video recording begins, the method further comprises:
receiving a first input of a user;
determining a target shooting template in response to the first input; the target shooting template comprises a corresponding relation between the first video style and the first preset condition.
3. The method of claim 1 or 2, wherein before the video recording begins, the method further comprises:
receiving a second input of the user;
determining a target condition type in response to the second input; the target condition type is a condition type to which the first preset condition belongs, and the condition type comprises time;
receiving a third input of the user;
and responding to the third input, and setting the corresponding relation between the first video style and the first preset condition.
4. The method of claim 3, wherein after determining a target condition type in response to the second input, the method further comprises:
receiving a fourth input from the user;
and responding to the fourth input, and setting a corresponding relation between a second video style and a second preset condition, wherein the second preset condition is other conditions in the target condition type.
5. A video recording apparatus, characterized in that the apparatus comprises:
the acquisition module is used for acquiring target parameters in the video recording process; the target parameter comprises recording duration;
the first switching module is used for switching to a first video style corresponding to a first preset condition for video recording when the target parameter meets the first preset condition;
the second switching module is used for switching to a second video style corresponding to a second preset condition for video recording when the target parameter meets the second preset condition;
the display module is used for displaying a first icon and a second icon according to the setting sequence of the first video style and the second video style, wherein the length of the first icon corresponds to a first recording time length, and the length of the second icon corresponds to a second recording time length; the first recording duration is the recording duration of the first video style set by the user, and the second recording duration is the recording duration of the second video style set by the user.
6. The apparatus of claim 5, further comprising:
the receiving module is used for receiving a first input of a user;
a determination module for determining a target shooting template in response to the first input; the target shooting template comprises a corresponding relation between the first video style and the first preset condition.
7. The apparatus of claim 5 or 6, further comprising:
the receiving module is used for receiving a second input of the user;
a determination module for determining a target condition type in response to the second input; the target condition type is a condition type to which the first preset condition belongs, and the condition type comprises time;
the receiving module is further used for receiving a third input of the user;
and the setting module is used for responding to the third input and setting the corresponding relation between the first video style and the first preset condition.
8. The apparatus of claim 7, further comprising:
the receiving module is further used for receiving a fourth input of the user;
the setting module is further configured to set a corresponding relationship between a second video style and a second preset condition in response to the fourth input, where the second preset condition is another condition in the target condition type.
CN202011119951.2A 2020-10-19 2020-10-19 Video recording method and device Active CN112243065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119951.2A CN112243065B (en) 2020-10-19 2020-10-19 Video recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119951.2A CN112243065B (en) 2020-10-19 2020-10-19 Video recording method and device

Publications (2)

Publication Number Publication Date
CN112243065A CN112243065A (en) 2021-01-19
CN112243065B true CN112243065B (en) 2022-02-01

Family

ID=74169015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119951.2A Active CN112243065B (en) 2020-10-19 2020-10-19 Video recording method and device

Country Status (1)

Country Link
CN (1) CN112243065B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887618B (en) * 2021-01-28 2023-03-24 维沃移动通信有限公司 Video shooting method and device
CN114025116B (en) * 2021-11-25 2023-08-04 北京字节跳动网络技术有限公司 Video generation method, device, readable medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device
CN106657810A (en) * 2016-09-26 2017-05-10 维沃移动通信有限公司 Filter processing method and device for video image
CN108833818A (en) * 2018-06-28 2018-11-16 腾讯科技(深圳)有限公司 video recording method, device, terminal and storage medium
KR20200052598A (en) * 2018-11-07 2020-05-15 신서우 Method and apparatus for correcting preview image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110163050B (en) * 2018-07-23 2022-09-27 腾讯科技(深圳)有限公司 Video processing method and device, terminal equipment, server and storage medium
CN111416950B (en) * 2020-03-26 2023-11-28 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and electronic equipment
CN111726553A (en) * 2020-06-16 2020-09-29 上海传英信息技术有限公司 Video recording method, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device
CN106657810A (en) * 2016-09-26 2017-05-10 维沃移动通信有限公司 Filter processing method and device for video image
CN108833818A (en) * 2018-06-28 2018-11-16 腾讯科技(深圳)有限公司 video recording method, device, terminal and storage medium
KR20200052598A (en) * 2018-11-07 2020-05-15 신서우 Method and apparatus for correcting preview image

Also Published As

Publication number Publication date
CN112243065A (en) 2021-01-19

Similar Documents

Publication Publication Date Title
CN109951595A (en) Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity
CN112243065B (en) Video recording method and device
CN111857512A (en) Image editing method and device and electronic equipment
CN112035042A (en) Application program control method and device, electronic equipment and readable storage medium
CN113114841A (en) Dynamic wallpaper acquisition method and device
CN113794834B (en) Image processing method and device and electronic equipment
CN112532885B (en) Anti-shake method and device and electronic equipment
CN111857510B (en) Parameter adjusting method and device and electronic equipment
CN112269522A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN111857511B (en) Wallpaper display control method and device and electronic equipment
CN114237801A (en) Desktop display method and device, electronic equipment and medium
CN104679390B (en) A kind of method, apparatus and equipment of the skin that application is set in operating system platform
CN112734661A (en) Image processing method and device
CN112148415A (en) Image display method and device and electronic equipment
CN111353100A (en) Clothing information recommendation method and device, mobile terminal and storage medium
CN115481284A (en) Cosmetic method and device based on cosmetic box, storage medium and electronic device
CN112785490B (en) Image processing method and device and electronic equipment
CN112312021B (en) Shooting parameter adjusting method and device
CN111770279B (en) Shooting method and electronic equipment
CN111901482B (en) Function control method and device, electronic equipment and readable storage medium
CN112887782A (en) Image output method and device and electronic equipment
CN113962840A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN114115961A (en) Application program management method and device and electronic equipment
CN113596331A (en) Shooting method, shooting device, shooting equipment and storage medium

Legal Events

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