CN112312053B - Video recording method and device - Google Patents

Video recording method and device Download PDF

Info

Publication number
CN112312053B
CN112312053B CN202011183956.1A CN202011183956A CN112312053B CN 112312053 B CN112312053 B CN 112312053B CN 202011183956 A CN202011183956 A CN 202011183956A CN 112312053 B CN112312053 B CN 112312053B
Authority
CN
China
Prior art keywords
video
style
target
recording
switching
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
CN202011183956.1A
Other languages
Chinese (zh)
Other versions
CN112312053A (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 CN202011183956.1A priority Critical patent/CN112312053B/en
Publication of CN112312053A publication Critical patent/CN112312053A/en
Application granted granted Critical
Publication of CN112312053B publication Critical patent/CN112312053B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Abstract

The application discloses a video recording method and device, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input of a user; determining a target switching effect in response to the first input; in the video recording process, when switching from a first video style to a second video style, adding a target switching effect. According to the embodiment of the application, the problem that the use experience of a user is affected due to too hard switching between video styles in the related technology 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 widespread use of electronic devices and the continuous popularization of mobile terminals, users have more demands for the mobile internet. Video recording is now becoming popular for an increasing number of people as a real-time feature of mobile terminals, as are users who take video via mobile terminals.
In order to improve the appreciation of the photographed video, a user may add a video style to the photographed video, thereby obtaining a video having various styles, such as a filter, a beauty, etc. of the video. However, in the related art, the switching between video styles is too hard, which affects the user experience.
Disclosure of Invention
The embodiment of the application aims to provide a video recording method and device, which can solve the problem that the switching between video styles in the related technology is too hard, and the use experience of a user is affected.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a video recording method, including:
receiving a first input of a user;
determining a target switching effect in response to the first input;
in the video recording process, when switching from a first video style to a second video style, adding a target switching effect.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the receiving module is used for receiving a first input of a user;
a determining module for determining a target switching effect in response to the first input;
and the switching module is used for adding a target switching effect when switching from the first video style to the second video style in the video recording process.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the method as in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In the embodiment of the application, the target switching effect is determined based on the first input of the user, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a video recording method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a video recording interface according to an embodiment of the present disclosure;
FIG. 3 is a second schematic diagram of a video recording interface according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a video recording setup interface according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of a video recording setup interface according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 7 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic hardware structure of another electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, where appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the elements identified by "first," "second," etc. are generally of a type not limited to the number of elements, e.g., the first element may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected elements, and the character "/", generally means that the associated element is an "or" relationship.
Currently, with the wide application of electronic devices and the continuous popularization of mobile terminals, users have more demands on the mobile internet. Video recording is now becoming popular for an increasing number of people as a real-time feature of mobile terminals, as are users who take video via mobile terminals.
In order to improve the appreciation of the photographed video, a user may add a video style to the photographed video, thereby obtaining a video having various styles, such as a filter, a beauty, etc. of the video. However, in the related art, the switching between video styles is too hard, which affects the user experience.
Aiming at the problems in the related art, the embodiment of the application provides a video recording method. The method comprises the following steps: based on the first input of the user, the target switching effect is determined, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
The video recording method provided in the embodiment of the present application is described in detail by using a specific embodiment and an application scenario thereof as an example of an electronic device with reference to the accompanying drawings. It should be noted that, the electronic device in the embodiment of the present application may include at least one of the following: and the mobile phone, the tablet personal computer, the intelligent wearable equipment and other equipment with the information receiving and information displaying functions.
Fig. 1 is a flowchart of a video recording method 100 according to an embodiment of the present application. As shown in fig. 1, the video recording method provided in the embodiment of the present application may include S101-S103.
S101: a first input of a user is received.
The first input may be an input of a user to a target switching effect and a shooting control, or an input of a user to a target recording template and a shooting control. For example, the user needs to record the video by using the target switching effect 'fade-in fade-out', the user can select the target switching effect 'fade-in fade-out', and after the user selects the target switching effect 'fade-in fade-out', the user clicks the shooting control to record the video, so that the electronic device can receive the input of the user on the target switching effect 'fade-in fade-out' and the input on the shooting control. For another example, the user needs to record the video by using the target switching effect 'gradually in and gradually out', the user can drag the target switching effect to the shooting control, and the electronic device directly enters the video recording after receiving the input of the user.
S102: in response to the first input, a target switching effect is determined.
After receiving the first input of the user, the electronic device can determine a target switching effect. For example, the user drags the target switching effect to the shooting control, and the electronic device directly enters the video recording after receiving the input of the user, and determines that the target switching effect in the video recording process is 'gradually in and gradually out'. For another example, the electronic device receives a target recording template selected by the user, where the target recording template includes a target switching effect, so that the electronic device can determine the target switching effect according to the target recording template.
Alternatively, in some embodiments, the first input may be an input by a user selecting a target recording template. The recording template comprises a corresponding relation among a first video style, a target switching effect and a second video style. The correspondence may be a condition for switching the video styles in the video recording process, for example, when the first video style is recorded to the first recording duration, switching to the second video style for recording. For another example, in the process of recording in the first video style, the electronic device receives the target action of the user, namely, the user's hand is more than the hand, and then switches to the second video style for recording.
S103: in the video recording process, when switching from a first video style to a second video style, adding a target switching effect.
In order to improve the viewing quality of the video, different video styles may be used to record the video in the video recording process, for example, at least one of a filter, a cosmetic effect, a beauty effect, a special effect, and background music of the video.
The first video style and the second video style may each be selected by a user from a plurality of video styles displayed on the photographing interface. The target switching effect may be selected by the user from among a plurality of target switching effects displayed on the photographing interface. The first video genre and the second video genre may also be genres included in the target recording template. The user may also select a target recording template for video recording, where the target recording template includes a first video genre, a second video genre, and a target switching effect, before video recording.
And adding a target switching effect in the process of switching the first video style to the second video style in the video recording process.
For example, the first video style is "fashion", the second video style is "fresh", and the target switching effect is fade-in fade-out. In the process of video recording in the video style 'fashion', the user selects the switching effect of the gradual-in and gradual-out, and selects the video style 'fresh', and the electronic equipment acquires the switching effect of the gradual-in and gradual-out and the video style 'fresh', so that the video style 'fashion' is switched into the video style 'fresh' for video recording. In the video style switching process, the video style is switched from "fashion" to "fresh" with a gradual-in and gradual-out switching effect.
Optionally, in some embodiments, the electronic device may control the video style to switch according to target parameters, for example, the target parameters may include a recording duration, a target object, a target action, a number of faces, and a target audio. Specifically, the electronic device may detect the target parameter, and switch the first video style to the second video style when detecting that the target parameter meets the target parameter.
For example, the duration of video recording in the first video style is 3s, and the first video style is switched to the second video style.
For another example, the number of faces is 3 when video recording is performed in the first video style, and when the electronic device detects that the number of faces is 4, the first video style is switched to the second video style.
For another example, when recording video in the first video style, the electronic device detects that the user has scratched the "scissor hands" and switches the first video style to the second video style.
Optionally, in some embodiments, the user may also control the switching of video styles. Specifically, in the process of recording the first video, a second input of the user is received, and after responding to the second input, the video recording is performed by switching to a second video style.
The second input may be an input by the user selecting the switching effect and the second video style, or an input by the user to the video recording interface.
For example, during recording with the first video style "fresh", the video recording interface displays a switching effect list and a video style list, and when the electronic device receives an input that the user selects the switching effect "fade in and fade out" and selects the video style "fashion", the first video style "fresh" is switched to the video style "fashion", and during the video style switching, the switching effect "fade in and fade out" is added.
For another example, during recording in the first video style "fresh", the electronic device receives an input from the user clicking the video recording interface to switch the first video style "fresh" to the second video style "fashion" for video recording.
Therefore, based on the first input of the user, the target switching effect is determined, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
The embodiments of the present application will be described in detail with reference to specific examples.
The first input in S101 in this embodiment of the present application may be multiple types, for example, the first input may be an input of a target switching effect and a shooting control by a user, and the first input may also be an input of a target recording template and a shooting control by a user. . Two ways of acquiring the target information are described in detail below.
First, the first input is a detailed description of the user input of the target switching effect and the shooting control.
Optionally, in some embodiments, in order to make the shot video have a certain design feel, so as to improve the experience of the user, the user may select a video style and a target switching effect in the video process.
A switch effect control may be displayed on the video recording interface. Before receiving the first input of the user, the user may click on the switching effect control, so that the electronic device receives the input of clicking on the switching effect control by the user, and then displays various switching effects. The user may select a target switching effect among a plurality of switching effects. The first input may be a click input or a long press input, etc. For example, to increase the speed at which the user selects the target switching effect, the first input may be a click input. Before video recording, after the electronic equipment receives the first input of the switching effect control, a plurality of target switching effects are displayed. The user selects a target switching effect from the plurality of target switching effects displayed, and the electronic device can receive an input of selecting the target switching effect from the user. After the user selects the target switching effect, the electronic equipment can receive a third input through the operation of the video recording control displayed on the interface by the user, and the electronic equipment enters video recording. At this time, the video style of the video recording may be a preset second video style, or may be a video style selected by the user before selecting the target switching effect.
As an example embodiment, as shown in fig. 2, a video recording interface is displayed with a switch effects control 21. Before recording the video, the user selects genre 1 from the video genre list 22 displayed on the interface. Then clicking the switching effect control, and displaying a plurality of target switching effects on the video recording interface, wherein the user selects the switching effect 1. The user then clicks on video recording control 10 to record video in style 1. When the user needs to switch style 1 to style 2, style 2 is selected from the list of video styles displayed on the video interface. And the electronic equipment switches the current video recording style 1 into the style 2, and switches the style 1 into the style 2 by taking the switching effect 1 as a target switching effect in the switching process.
Therefore, the user can design the style and the target switching effect in the video recording process, so that the shot video has a certain design sense, the flexibility of the video style in the switching process is high, and the experience of the user is improved.
Optionally, in other embodiments, in order to make the shot video have a certain design feel, so as to improve the experience of the user, the user may select the video style and the target switching effect in the video process.
Wherein, S101 may specifically include the following steps: receiving a third input of a video recording control displayed on the interface by a user; secondly, responding to a third input, and recording the video in a preset second video style; next, receiving a ninth input by the user for the first video style; then, in response to the ninth input, displaying a plurality of target switching effects; and finally, receiving input of selecting the target switching effect from the plurality of target switching effects by a user, and determining the target switching effect.
The interface may be a video recording interface. The user can select a video style and a target switching effect in the process of capturing a video. Specifically, the user may select a second video genre at the video recording interface prior to recording the video. The electronic device receives a third input from a user of a video recording control displayed on the video recording interface. Then, video recording is performed in a second video style. During the video recording process, the video recording interface displays a video style list. When the user needs to switch video styles, the electronic device receives a ninth input from the user to the first video style in the list of video styles. The ninth input may be a click input, a slide input, a long press input, or the like. After receiving the ninth input, the electronic device can determine that the switched video style is the first video style. And displaying a plurality of target switching effects on the video recording interface. When the electronic equipment receives the input of selecting the target switching effect from the plurality of target switching effects, the second video style is switched to the first video style for video recording, and the target switching effect is used as the target switching effect for video style switching in the video style switching process.
As an example embodiment, as shown in fig. 3, the video recording interface displays a video genre list including a plurality of video genres. Before recording the video, the user selects genre 1 from the list of video genres displayed on the interface. The user then clicks on video recording control 10 to record video in style 1. When the user needs to switch the style 1 into the style 2, the style 2 is selected from a video style list displayed on the video interface, and meanwhile, a plurality of target switching effects are displayed on the video recording interface. The user selects the switching effect 1 from a plurality of target switching effects. And the electronic equipment switches the current video recording style 1 into the style 2, and switches the style 1 into the style 2 by taking the switching effect 1 as a target switching effect in the switching process.
Therefore, the user can design the style and the target switching effect in the video recording process, so that the shot video has a certain design sense, the flexibility of the video style in the switching process is high, and the experience of the user is improved.
Finally, the details of the target information obtained from the target recording template will be described.
Optionally, in some embodiments, in order to avoid cumbersome operations of the user during video operations, the target information may further include a switching condition; and under the condition that the switching condition is consistent with the target parameter corresponding to the first video style, switching the video style to the first video style for video recording according to the target switching effect.
Here, the target parameter may be a target action, a photographing time, the number of faces, a target audio, or the like.
For example, the target parameter is a comparison of a scissor hand, the target switching effect is a fade-in fade-out, the video style of the currently shot video is "antique", and the first video style is "fashion". When the electronic equipment detects that the shot character marks the scissor hands, the video style is switched from the antique style to the fashion style by the gradually-in and gradually-out target switching effect, and video recording is carried out.
For another example, the target parameter is "eggplant", the target switching effect is a fade-in fade-out, the video style of the currently shot video is "antique", and the first video style is "fashion". When the electronic equipment detects the audio eggplant, the video style is switched to the video style fashion by the gradual-in and gradual-out target switching effect so as to record the video.
Therefore, the user does not need to carry out complicated operation in the video operation process, and the user experience is improved.
Optionally, in some embodiments, the target information may further include a switching condition in order to avoid cumbersome operations of the user during the video operation. In the case where the target parameter is included in the target information, the target information may be acquired by the following steps. Firstly, receiving a fifth input of a user for selecting a preset target recording template; the target recording template comprises a first video style, a second video style, a target switching effect and target parameters corresponding to the first video style. Secondly, receiving a third input of a video recording control displayed on the interface by a user; then, responsive to the third input, video recording in a second video style; and finally, acquiring a switching condition, a first video style in the target recording template and a target switching effect in the target recording template.
The user can preset a plurality of target recording templates, and the target recording templates at least comprise a first video style, a second video style, a target switching effect and target parameters corresponding to the first video style. Prior to video recording, the user may select a target recording template from a plurality of target recording templates, and the electronic device may receive a fifth input from the user selecting the target recording template. And after the electronic equipment receives the third input of the video recording control displayed by the video recording interface, recording the video in the second video style. In the video recording process, the electronic equipment can acquire the switching conditions, and when the electronic equipment acquires that the switching conditions are consistent with target parameters in the target recording template, the video style is switched according to the target switching effect, and the second video style is switched to the first video style.
As an example embodiment, the user selects the template 1 to record video, and the template 1 includes a video style "fashion" and a video style "antique", and target parameters "scissor hands" corresponding to a target switching effect "fade in and fade out" and a video style "antique". After the user selects the video target recording template, clicking a video recording control, and the electronic equipment records the video in a fashion in a video style. When the user marks the scissor hands, the electronic equipment can detect that the user marks the scissor hands and is consistent with the target parameters, and then the video style target switching effect is the video style target switching effect by taking the switching effect of 'gradually in and gradually out', and the video style is switched into the video style of 'ancient style'.
Here, the user may also set a target recording template in advance. And after the target recording template is set, video recording is carried out by using the target recording template. And more than two video styles may be included in the target recording template. For example, the video template includes 3 video styles, which are fashion, retro, fresh, respectively, in order. The video template can only comprise one target switching effect and can also comprise a plurality of target switching effects.
For example, the video template includes 3 video styles, which are fashion style, antique style and fresh style in sequence, and when the video styles are switched, the video styles can be switched by adopting the gradually-in and gradually-out target switching effect.
For another example, the video template includes 3 video styles, which are fashion, retro, fresh, respectively, in order. The video template comprises two target switching effects, namely a gradual-in gradual-out shutter and a shutter. When the video style is switched from fashion to antique, the target switching effect is used as the target switching effect for switching the video style. When the video style is switched from the antique style to the fresh style, the target switching effect shutter is used as the target switching effect for switching the video style.
Therefore, the user only needs to trigger the video style switching through conditions such as actions, sounds and the like, complicated operation is not needed in the video operation process, and the user experience is improved.
Optionally, in order to make the video after shooting have a certain sense of design, and avoid the user to carry out complicated operations in video recording, improve user experience, before the user can select the target recording template, set up the target recording template.
Specifically, first, a sixth input is received from a user selecting at least one video genre; the at least one video style includes a first video style and a second video style; secondly, receiving a seventh input of selecting a target switching effect corresponding to each video style in at least one video style by a user; the target switching effect includes a target switching effect; then, receiving an eighth input of the user; and finally, responding to the eighth input, and establishing a corresponding relation between each video style and the target parameter corresponding to each video style to obtain the target recording template.
As shown in fig. 4, an edit template control 41 and a video genre list 22 are displayed on the video recording setup interface. When the electronic device receives a user click on edit template control 41, the user can select the video style desired by the user from video style list 22. For example, the user selects the video style: natural, antique and fashion, the target recording template comprises three video styles of natural, antique and fashion. The user also needs to select the target switching effect. For example, the target switching effects are switching effect 1 and switching effect 2, respectively. A director sequence for the video recording is generated based on the user selected video style and the target switching effect.
Here, after the user selects a video style, a target switching effect is correspondingly selected. For example, the user selects the video style and the target switching effect in the following order: and (3) naturally, switching effect 1, antique, switching effect 2 and fashion, and the director sequence in the target recording template is naturally, switching effect 1, antique, switching effect 2 and fashion. The user may also select a video style first and then switch effects at the selection of the target. The electronic device may generate the director sequence based on a sequence of selecting video styles by the user and a sequence of selecting target switching effects. For example, the user selects the precedence order of video styles: natural, antique and fashionable. The sequence of the target switching effect selected by the user is as follows: and (3) switching effect 1 and switching effect 2, wherein the director sequence generated by the electronic equipment is as follows: natural, switching effect 1, retro, switching effect 2, fashion.
The user can also adjust the sequence of the video styles and the sequence of the target switching effect according to the finally generated director sequence.
After the director sequence is generated, the user also needs to set the target parameters of each video style for switching. The user may select a video genre from the director sequence and then set the corresponding target parameters for the video genre. The target parameters may be target actions, shooting time, number of faces, target audio, etc.
For example, as shown in fig. 5, taking the target parameter as the shooting time as an example, the director sequence is: natural, switch effect 1, antique, switch effect 2, fashion, user clicks video style "nature", the interface displays time setting control 51, then the recording duration of video style "nature" is set to 3 seconds. After the recording duration of the video style 'natural' is set, the user selects the video style 'antique' again, and then the recording duration of the video style 'antique' is set to be 2 seconds. After the recording duration of the video style fashion is set, the user selects the video style fashion again, and then the recording duration of the video style fashion is set to be 4 seconds. After receiving the input of selecting the video style and the input of setting the recording time length by the user, the electronic equipment establishes the corresponding relation between the video style and the recording time length and generates a target recording template. When the user selects the template to record the video, when the time for recording the video in the video style 'natural' is 3 seconds, the video style 'natural' is switched to the video style 'retro'. When the recording of video recording in the video style "antique" is 2 seconds, that is, the video is recorded for 5 seconds, the video style "antique" is switched to the video style "fashion". When the video recording time is 4 seconds in the video style "fashion", that is, the video is recorded for 9 seconds, the video recording is automatically ended.
Therefore, the user can design the style and the target switching effect in the video recording process, so that the shot video has a certain design sense, and the flexibility of the video style in the switching process is high. And the video style is switched through the target parameters, so that complicated operation of a user in the video recording process is avoided, and the experience of the user is improved.
According to the video recording method, the target switching effect is determined based on the first input of the user, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
It should be noted that, in the embodiment of the present application, an example of a video recording method executed by an electronic device is described. However, in the video recording method provided in the embodiment of the present application, the execution subject may be an electronic device, and 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. The following describes a video recording apparatus according to an embodiment of the present application, taking a video recording method performed by the video recording apparatus as an example.
Fig. 6 is a schematic structural diagram of a video recording apparatus 600 provided in the present application.
As shown in fig. 6, a video recording apparatus 600 provided in the present application may include: the device comprises a receiving module 601, a determining module 602 and a switching module 603.
A receiving module 601, configured to receive a first input of a user;
a determining module 602 for determining a target handover effect in response to a first input;
the switching module 603 is configured to add a target switching effect when switching from the first video style to the second video style during the video recording process.
Optionally, in some embodiments of the present application, the switching module 603 is specifically configured to switch from the first video style to the second video style when the target parameter meets a preset switching condition;
the target parameters include at least one of recording duration, target object, target action, number of faces, and target audio.
Optionally, in some embodiments of the present application, the determining module 602 is specifically configured to determine, in response to the first input, a target recording template; the target recording template comprises a corresponding relation among the first video style, the target switching effect and the second video style.
Optionally, in some embodiments of the present application, the correspondence specifically includes: and switching to a second video style for recording when the first video style is recorded to the first recording time length.
Optionally, in some embodiments of the present application, the receiving module 601 is specifically configured to receive a second input of the user when recording the video in the first video style;
the switching module 603 is specifically configured to switch to the second video style for video recording in response to the second input.
According to the video recording device, the target switching effect is determined based on the first input of the user, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
The video recording device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
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 operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The video recording apparatus provided in this embodiment of the present application can implement each process implemented by the video recording method in fig. 1, and in order to avoid repetition, a description thereof is omitted here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and capable of running on the processor 701, where the program or the instruction implements each process of the embodiment of the video recording method when executed by the processor 701, and the process can achieve the same technical effects, and for avoiding repetition, a description is omitted herein.
It should be noted that, the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic hardware structure of an electronic device 800 implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.
Those skilled in the art will appreciate that the electronic device 800 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 810 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 807 is configured to receive a first input of a user;
a processor 810 for determining a target switching effect in response to a first input;
the processor 810 is configured to add a target switching effect when switching from the first video style to the second video style during video recording.
In the embodiment of the application, the target switching effect is determined based on the first input of the user, and in the video recording process, the target switching effect can be added in the switching process from the first video style to the second video style. Therefore, in the video recording process, video style switching can be performed based on the target switching effect, so that flexibility in switching between video styles is improved, and the use experience of a user is improved.
Optionally, in some embodiments of the present application, the processor 810 is specifically configured to switch from the first video style to the second video style when the target parameter meets a preset switching condition;
the target parameters include at least one of recording duration, target object, target action, number of faces, and target audio.
Optionally, in some embodiments of the present application, the processor 810 is specifically configured to determine the target recording template in response to the first input; the target recording template comprises a corresponding relation among the first video style, the target switching effect and the second video style.
Optionally, in some embodiments of the present application, the correspondence specifically includes: and switching to a second video style for recording when the first video style is recorded to the first recording time length.
Optionally, in some embodiments of the present application, the user input unit 807 is specifically configured to receive a second input from a user while recording video in the first video style;
the processor 810 is specifically configured to switch to the second video style for video recording in response to the second input. 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 realizes each process of the embodiment of the video recording method, and the same technical effects can be achieved, so that repetition is avoided, and no description is repeated here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so that each process of the video recording method embodiment can be implemented, the same technical effect can be achieved, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (6)

1. A method of video recording, the method comprising:
receiving a first input of a user;
determining a target switching effect in response to the first input;
in the video recording process, adding the target switching effect when switching from a first video style to a second video style;
the determining, in response to the first input, a target switching effect specifically includes:
determining a target recording template in response to the first input; the target recording template comprises a corresponding relation among the first video style, the target switching effect, the second video style and target parameters corresponding to the first video style;
the adding the target switching effect when switching from the first video style to the second video style in the video recording process includes:
in the video recording process, when the switching condition is consistent with the target parameter in the target recording template, switching the video style according to the target switching effect, and switching from the first video style to the second video style;
the target parameter includes a recording duration.
2. The method according to claim 1, wherein the correspondence specifically includes:
and switching to the second video style for recording when the first video style is recorded to the first recording duration in the target parameter.
3. The method according to claim 1, wherein the switching from the first video style to the second video style comprises:
receiving a second input from a user while recording video in the first video style;
and responding to the second input, switching to the second video style for video recording.
4. A video recording apparatus, the apparatus comprising:
the receiving module is used for receiving a first input of a user;
a determining module for determining a target switching effect in response to the first input;
the switching module is used for adding the target switching effect when switching from the first video style to the second video style in the video recording process;
the determining module is specifically configured to determine a target recording template in response to the first input; the target recording template comprises a corresponding relation among the first video style, the target switching effect, the second video style and target parameters corresponding to the first video style;
the switching module is specifically configured to:
in the video recording process, when the switching condition is consistent with the target parameter in the target recording template, switching the video style according to the target switching effect, and switching from the first video style to the second video style;
the target parameter includes a recording duration.
5. The apparatus of claim 4, wherein the correspondence specifically comprises: and switching to the second video style for recording when the first video style is recorded to the first recording duration in the target parameter.
6. The apparatus of claim 4, wherein the receiving module is configured to receive a second input from a user during recording of video in the first video style;
the switching module is specifically configured to switch to the second video style for video recording in response to the second input.
CN202011183956.1A 2020-10-29 2020-10-29 Video recording method and device Active CN112312053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011183956.1A CN112312053B (en) 2020-10-29 2020-10-29 Video recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011183956.1A CN112312053B (en) 2020-10-29 2020-10-29 Video recording method and device

Publications (2)

Publication Number Publication Date
CN112312053A CN112312053A (en) 2021-02-02
CN112312053B true CN112312053B (en) 2023-05-23

Family

ID=74332203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011183956.1A Active CN112312053B (en) 2020-10-29 2020-10-29 Video recording method and device

Country Status (1)

Country Link
CN (1) CN112312053B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735338A (en) * 2013-12-23 2015-06-24 厦门美图移动科技有限公司 Shooting terminal and method for switching filters through volume keys
CN104967900B (en) * 2015-05-04 2018-08-07 腾讯科技(深圳)有限公司 A kind of method and apparatus generating video
CN106657810A (en) * 2016-09-26 2017-05-10 维沃移动通信有限公司 Filter processing method and device for video image
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

Also Published As

Publication number Publication date
CN112312053A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
CN110730387B (en) Video playing control method and device, storage medium and electronic device
CN111857510B (en) Parameter adjusting method and device and electronic equipment
WO2022068806A1 (en) Image processing method and apparatus, and electronic device
CN113918522A (en) File generation method and device and electronic equipment
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112887618B (en) Video shooting method and device
CN112243065B (en) Video recording method and device
CN109104633B (en) Video screenshot method and device, storage medium and mobile terminal
CN112309449A (en) Audio recording method and device
CN112734661A (en) Image processing method and device
CN112312053B (en) Video recording method and device
CN111818390A (en) Video capturing method and device and electronic equipment
CN112422846B (en) Video recording method and electronic equipment
CN112399238B (en) Video playing method and device and electronic equipment
CN115543137A (en) Video playing method and device
CN111757177B (en) Video clipping method and device
CN111901482B (en) Function control method and device, electronic equipment and readable storage medium
CN113038286A (en) Video playing control method and device and electronic equipment
CN112328829A (en) Video content retrieval method and device
CN112887782A (en) Image output method and device and electronic equipment
CN112367487A (en) Video recording method and electronic equipment
CN112911351B (en) Video tutorial display method, device, system 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