CN112887618B - Video shooting method and device - Google Patents

Video shooting method and device Download PDF

Info

Publication number
CN112887618B
CN112887618B CN202110116748.8A CN202110116748A CN112887618B CN 112887618 B CN112887618 B CN 112887618B CN 202110116748 A CN202110116748 A CN 202110116748A CN 112887618 B CN112887618 B CN 112887618B
Authority
CN
China
Prior art keywords
video
input
template
user
recording
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
CN202110116748.8A
Other languages
Chinese (zh)
Other versions
CN112887618A (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 CN202110116748.8A priority Critical patent/CN112887618B/en
Publication of CN112887618A publication Critical patent/CN112887618A/en
Priority to PCT/CN2022/073157 priority patent/WO2022161268A1/en
Application granted granted Critical
Publication of CN112887618B publication Critical patent/CN112887618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/684Vibration or motion blur correction performed by controlling the image sensor readout, e.g. by controlling the integration time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application discloses a video shooting method and a video shooting device, and belongs to the technical field of shooting. The embodiment of the application provides a video shooting method, which comprises the following steps: receiving a first input of a user; in response to a first input, starting to shoot a video based on a first video template; the first video template comprises a plurality of camera configurations and combinations of corresponding switching time points; in the shooting process, when the target switching time point is reached, the camera configuration is switched to the target camera configuration corresponding to the target switching time point, and the target camera configuration is utilized to continue shooting the video, so that a user can not operate the camera configuration in the shooting process, and the picture is prevented from shaking.

Description

Video shooting method and device
Technical Field
The application belongs to the technical field of shooting, and particularly relates to a video shooting method and a video shooting device.
Background
When recording a video by an electronic device equipped with a camera, if a user needs to switch the camera configuration, such as switching the camera, or adjust the focal length, the user needs to operate the electronic device, for example, click an icon of the camera on a touch screen of a mobile phone, but this may cause the electronic device to shake, which may cause the picture of the recorded video to shake.
Disclosure of Invention
The embodiment of the application aims to provide a video shooting method and a video shooting device, which can solve the problem that a recorded picture shakes due to the fact that camera configuration is manually switched during video recording.
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 shooting method, where the method includes: receiving a first input of a user; in response to a first input, starting to shoot a video based on a first video template; the first video template comprises a plurality of camera configurations and combinations of corresponding switching time points; in the shooting process, when the target switching time point is reached, the camera configuration is switched to the target camera configuration corresponding to the target switching time point, and the target camera configuration is utilized to continue shooting videos.
In a second aspect, an embodiment of the present application provides a video shooting apparatus, including: the first receiving module is used for receiving a first input of a user; the first shooting module is used for responding to a first input and starting to shoot a video based on a first video template; the first video template comprises a plurality of camera configurations and combinations of corresponding switching time points; and the first setting module is used for switching the camera configuration to the target camera configuration corresponding to the target switching time point when the target switching time point is reached in the shooting process, and continuously shooting the video by using the target camera configuration.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions 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, an embodiment of the present application provides 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 switching time point and the camera configuration which are preset by the video template are used, so that in the shooting process, the switching to the corresponding camera configuration is automatically carried out at the switching time point, a user can not operate the camera configuration in the shooting process, the picture shaking is prevented, the user can automatically switch the camera configuration without operating the camera configuration in the recording process, the playability and the convenience of video shooting are improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of an alternative video shooting method provided in an embodiment of the present application;
FIG. 2 is a schematic interface diagram of an alternative video shooting method according to an embodiment of the present disclosure;
FIG. 3a is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 3b is a schematic interface diagram of another alternative video shooting method according to an embodiment of the present application;
FIG. 4a is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 4b is a schematic interface diagram of another alternative video shooting method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another alternative video shooting method provided in the embodiment of the present application;
FIG. 6a is a schematic interface diagram of another alternative video shooting method according to an embodiment of the present application;
FIG. 6b is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 6c is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 6d is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 7a is a schematic interface diagram of another alternative video shooting method provided in the embodiment of the present application;
FIG. 7b is a schematic interface diagram of another alternative video shooting method according to an embodiment of the present application;
fig. 7c is a schematic interface diagram of another alternative video shooting method according to the embodiment of the present application;
FIG. 7d is a schematic interface diagram of another alternative video capture method according to an embodiment of the present application;
FIG. 8 is a block diagram of an alternative video camera provided in an embodiment of the present application;
fig. 9 is an alternative module schematic diagram of an 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The video shooting method provided by the embodiment of the application can be an electronic device including a camera, for example, a terminal device with a communication function, such as a mobile phone, a notebook computer, an all-in-one machine or a tablet computer, or can also be a virtual machine or simulator simulation device running on a physical machine, or can also be a server, for example, a cloud server or a server cluster and other devices with storage and computing functions. The camera assembly can be integrated in an electronic device, such as a mobile phone, a tablet computer, or the like with a shooting function, or a notebook computer with a camera; or, the camera may also be used as an external device of the electronic device, and establish a communication connection with the electronic device through a wired or wireless communication mode, so as to transmit communication data such as shooting data and the like with the electronic device through a corresponding communication mode.
The optional video shooting method provided by the embodiment of the application can record video through a video template (first video template) configured with a switching time point and a corresponding camera configuration, can shoot video according to a preset video template when shooting video, and can switch the configuration of the camera to the preset configuration when the switching time point is reached every time in the video shooting process, and further shoot video through the preset camera configuration.
In some optional embodiments, the user may record a template of the video shooting before the video shooting, set the switching time point and the switched camera configuration, and store the set point and the switched camera configuration. Then, when shooting the video, the user can select the recorded template to shoot the video, and when the user shoots the video, the configuration of the camera can be switched at the corresponding time point, so that the operation of the user is facilitated.
The video shooting method provided by the embodiment of the present application is described below with reference to fig. 1, and as shown in fig. 1, an optional video shooting method provided by the embodiment of the present application may specifically include the following steps:
step 101, receiving a first input of a user.
The first input is an input by a user indicating to take a video using a first video template. The first input may comprise a combination of a plurality of user inputs, such as a user input indicating use of the first video template and a user input indicating taking of a video. Optionally, if no other video recording template exists in the mobile phone, or the user starts to capture the video after setting the first video recording template, the first video recording template may be selected as the video recording template by default, that is, in some cases such as the above, the first input may only include an instruction to start capturing the video, and the video recording template used in capturing the video is the default. The first input may be received through a user input unit, for example, the user input unit may include an input component such as a touch screen, a keyboard, a mouse, a touch panel, or an external device.
For example, in the case that the method provided by the embodiment of the present application is implemented by a mobile phone, an alternative implementation manner for receiving the first input of the user may be to click a "camera" function icon 202 on an interface 201 of a system desktop of the mobile phone 200 shown in fig. 2, so as to open a camera function interface 301 shown in fig. 3 a. In the camera function interface 301 shown in fig. 3a, the user may click on the "select video template" function icon 302 to pop up the menu popup 303 shown in fig. 3b that selects the video template, and in the candidate video templates, the user may click on the "first video template" selection option 304. The candidate video template may include a template that is recorded and stored in advance on the mobile phone by the user, or may include a template that is recorded and stored on other electronic equipment, and the template on the other electronic equipment may be used as the candidate video template in the mobile phone by means of local import or network download, etc. After the user selects the first video recording template, the menu popup 303 of the candidate video recording template may disappear, and then the user may click on the "record" function icon 305 in the camera function interface 301 as shown in fig. 3a to instruct the handset to start recording based on the first video recording template.
Step 102, responding to a first input, and starting to shoot a video based on a first video template; the first video template comprises a combination of a plurality of camera configurations and corresponding switching time points.
After receiving the first input, it may be determined that an indication to photograph a video recording based on the first video template is received, and in response to the first input, the start of photographing the video recording based on the first video template may be started.
The first video template is a configuration template for pre-configuring switching camera configuration time points, and comprises a plurality of camera configurations and combinations of the corresponding switching time points. The camera configuration is a configuration of a camera. The camera configuration may include a configuration of selecting a camera for shooting among a plurality of cameras, for example, an alternative mobile phone may include four cameras such as "main shooting", "front", periscopic "and" wide angle ", where" front "may be a camera disposed on the front side (the side where the main display screen is located) of the mobile phone, and" main shooting "," periscopic "and" wide angle "may be cameras disposed on the back side of the mobile phone, and the camera configuration may be a configuration of selecting one of the four cameras as a camera for shooting. Optionally, the camera configuration may further include configuration of camera parameters, for example, one camera parameter may be configuration of camera focal length parameters, such as selecting one focal length mode from a preset long focus mode and a preset short focus mode, or specifically setting a focal length range to set the focal length parameter; alternatively, the camera parameters may also include settings for exposure parameters of the camera, for example, a strong exposure mode or a weak exposure mode may be set to set the exposure parameters.
And 103, in the shooting process, when the target switching time point is reached, switching the camera configuration to the target camera configuration corresponding to the target switching time point, and continuously shooting the video by using the target camera configuration.
A plurality of combinations have been set in advance in the first video recording template, each combination including a switching time point, and a camera configuration corresponding to the switching time point. Thus, when the video is shot, according to the first video template, every time a switching time point is reached, the corresponding camera configuration is switched.
Optionally, in the process of shooting the video, in order to more intuitively indicate the progress in the first video recording template to the user, after receiving a first input of the user, in response to the first input, a time axis of the first video recording template may be displayed. The time axis of the first video template shows the preset duration of the first video template in the form of the time axis, and each switching time point and the camera configuration corresponding to each switching time point are marked in the time axis of the first video template. In the process of shooting the video, the position of the current shooting duration in the time axis of the first video template can be indicated in the time axis according to the current shooting duration.
Fig. 4a is an interface schematic diagram for displaying a time axis of a first video recording template in an alternative shooting process, and after starting video recording, as shown in fig. 4a, a curve 401 may be displayed to represent the time axis, where the curve 401 is a broken line, a projection length of the curve 401 in a horizontal axis direction is used to represent a preset time length of the first video recording template, that is, a horizontal line is used to represent the time length, and a broken line in a vertical axis direction is used to represent that cameras are switched, where each broken line is used to represent that a camera is switched once, and heights of different cameras in the vertical axis direction are different, and one height corresponds to one camera. As shown in fig. 4a, at a time point 402 when a video starts to be recorded, a front camera is selected for shooting, and an icon 403 corresponding to the front camera indicates that a specific camera is the front camera; at a switching time point 403, the curve 401 is bent twice, so that the height of the horizontal line is switched to the height corresponding to the main camera, and the camera is switched to the main shooting by an icon 405 corresponding to the main camera; at the switching time point 406, the curve is again bent twice so that the height of the horizontal line is switched to the height corresponding to the periscopic camera, and the camera is switched to the periscopic camera by the icon 407 corresponding to the periscopic camera. At the switching time point 408, the curve is again bent twice so that the height of the horizontal line is switched to the height corresponding to the wide-angle camera, and the camera is switched to the wide-angle camera as indicated by the icon 409 corresponding to the wide-angle camera. In the shooting process, the first identifier 410 is used to indicate a progress position of the current shooting duration in the time axis of the first video recording template.
Fig. 4b is another schematic interface diagram for displaying a time axis of a first video recording template in an optional shooting process, and after starting video recording, as shown in fig. 4b, a progress bar 421 may be displayed to indicate the time axis, the progress bar 421 is divided into a time period by every two adjacent switching time points to obtain a plurality of time periods, a corresponding camera configuration is marked in the progress bar of each time period, and specifically, the camera configuration of each time period is a camera configuration corresponding to a first switching time point of the corresponding time period. When shooting, after each switching time point is reached, the camera configuration is switched to the camera configuration of a time period taking the switching time point as a starting point. During the photographing, the first flag 422 may move to the right below the progress bar 421 following the change of the photographing time length to indicate the progress position of the current photographing time length in the progress bar 421.
The above steps 101 to 103 are used to describe a process of shooting a video based on a video template, and in some optional implementations of the embodiment of the present application, a user may record the video template before performing step 101. As shown in fig. 5, an alternative embodiment, in addition to step 101 to step 103, before step 101, further includes the following steps 501 to 502:
step 501, in response to a second input from the user, start recording the first video template.
The second input is an input by the user indicating to start recording the first recording template. The second input may comprise a combination of a plurality of user inputs, such as a user input that indicates to enter a functional interface for recording the first video template and then an input that indicates to start recording the first video template. The second input may be received through a user input unit, for example, the user input unit may include an input component such as a touch screen, a keyboard, a mouse, a touch panel, or an external device.
For example, in the method provided by the embodiment of the present application, executed by a mobile phone as an example, a user may click a "camera" function icon 202 on an interface 201 on a desktop of a mobile phone system as shown in fig. 2, so as to open a camera function interface 301 as shown in fig. 3 a. In the camera function interface 301 shown in fig. 3a, the user may click the function icon 306 of "record video template" to pop up the function interface (template recording page) 601 of the record video template shown in fig. 6a, and then, the user may click the record icon 603 in the function interface 601 to start recording the video template. An alternative example is that in the functional interface 601, icons 6021 to 6024 of a plurality of candidate camera configurations may be displayed, where the icons 6021 to 6024 are used to respectively represent four cameras of a mobile phone, and a user may click one of the icons as a camera used by default when starting recording, and then click the recording icon 603 to start recording a video template, so that the default camera selected by the user before starting recording is used as the camera when starting the video template.
Step 502, in the recording process of the first video template, in response to a sixth input of the user, setting at least one group of camera configurations and corresponding switching time points thereof.
Optionally, when the first video template starts to be recorded, timing may be started. In the process of recording the first video template, the user may set a group of camera configurations and a corresponding switching time point thereof through a sixth input, and specifically, the setting of the group of camera configurations and the corresponding switching time point includes setting the switching time point and setting the camera configuration of the switching time point. One switching time point corresponds to one camera configuration, and optionally, one camera configuration may include configurations for setting various camera parameters, for example, a configuration for a camera selected for shooting among a plurality of cameras, a configuration for a focal length parameter of a camera, a configuration for an exposure parameter of a camera, and the like.
For example, in an alternative embodiment, as shown in fig. 6a, after the user clicks the recording icon 603 to start recording, the user may click the recording icon 603 at any time to pause recording, and then click the icon 604 or the icon 605 for setting the camera configuration; after the icon 604 is clicked, a sliding bar 6041 shown in fig. 6b can pop up, and a user can press and hold a sliding button 6042 to slide on the sliding bar 6041 to select a focal length value of the camera; icon 605 is used to set the exposure parameters of the camera, and after clicking on icon 605, a slider bar similar to slider bar 6041 shown in fig. 6b may be popped up to allow the user to adjust the value of the exposure parameters, which is not shown in the figure. After sliding to a position, if the operation of the user on the sliding button is no longer received for a certain period of time (e.g. 2 seconds), it is determined that the user setting is completed, the sliding bar disappears, and the function interface 601 shown in fig. 6a is switched to, and then the user can click the recording icon 603 to continue recording, so that the setting of a switching time point and the configuration of the camera corresponding to the switching time point is completed. At any time, the user can pause recording and set the configuration of the camera. Finally, the user may click on the end recording icon 606 to end recording the first video template. Through the configuration of the focal length range of the camera, the focal length can be changed when a video is shot, the effect that the object moves to the focusing position when a moving object is shot or the virtual focusing effect is generated can be realized, the mobile phone does not need to be operated when the moving object is shot, the operation during shooting is simplified, and the shooting picture can be prevented from shaking.
For another example, in another application scenario, the user only configures for the selection of the camera, and in the case that the mobile phone includes multiple cameras, different cameras can be switched to capture different viewing angles in the video. Then, the user may start timing after clicking the recording icon 603 in the function interface 601 shown in fig. 6a, and if the user clicks one of the icons 6021 to 6024 of the candidate camera configurations at any time, the time when the user clicks the icon is regarded as one switching time point, and the candidate camera configuration corresponding to the icon clicked by the user is regarded as the camera configuration corresponding to the switching time point.
Further, during recording, as shown in fig. 6c, a horizontal line (along a first direction) extending with the advance of time may be drawn, the height of the horizontal line represents the currently selected camera, if the user clicks an icon of another camera, a vertical line (along a second direction) represents switching the cameras, the height of the vertical line is drawn to the height corresponding to the switched camera, and then the horizontal line is drawn continuously, so that the horizontal line represents the advance of time, the vertical line represents switching of the cameras, and different heights of the horizontal line represent corresponding cameras respectively. The curve plotted after the following operations are performed is shown as shown in fig. 6 c: the user has clicked the main shot icon 6023 at 1.9s, the camera switched from the front shot to the main shot at this point in time, and then the user has clicked the periscopic icon 6024 again at 3s, the camera switched from the main shot to the periscope at this point in time. Optionally, an icon corresponding to the camera configuration may be further identified on the curve, as shown in fig. 6c, an icon corresponding to the camera configuration corresponding to the horizontal line where the turning point is located is identified at each turning point, that is, if the horizontal line is switched to the vertical line, the icon configured by the camera before switching is identified at the turning point, and if the vertical line is switched to the horizontal line, the icon configured by the camera after switching is identified at the turning point.
As an alternative embodiment, since the area that the screen can display is limited, when the template is recorded, the drawn curve can be controlled to move to the left along with the advance of time until the display area of the screen is moved from the left side, so that only the most recently drawn part of the curve is presented in the screen. Finally, after the user clicks the recording ending icon 606, the recording is ended, an interface schematic diagram as shown in fig. 6d may be displayed, which shows a complete broken line for representing the recorded first recording template, after the user clicks the saving icon 607, the recording template for this recording is determined to be saved, and the cancel icon 608 may be clicked to discard the recording template for this recording.
In the case of recording the first video recording template through the optional implementation of drawing the curve, when the first video recording template is used to capture a video, the drawn curve may be displayed in the interface to represent the time axis of the first video recording template, and the position of the current capture time in the time axis is indicated by the first identifier, which is an optional example of the interface schematic shown in fig. 4 a.
As another optional implementation, when recording the first video recording template, the switching time point and/or the camera configuration corresponding to each switching time point may also be automatically set, and further, the automatically set switching time point and/or the corresponding camera configuration may be adjusted by the user. For example, the user may select an audio file for the first video recording template as background music for capturing the video, so that the electronic device may set a switching time point at a place where the sound intensity of the audio file is higher or the sound intensity of the audio file is changed greatly according to the sound intensity change of the audio file. Furthermore, which camera configuration each switching time point needs to be switched to is set by the user.
For example, the user may click the function icon 306 of "record video template" in the camera function interface 301 shown in fig. 3a, then enter the interface shown in fig. 7a, display the local audio file of the mobile phone, and after clicking one audio file 701 to select the audio file, click the icon 702 for indicating the determination, the mobile phone will use the selected audio file as the background music of the first video template, and the mobile phone will analyze the sound waveform diagram of the audio file, where the sound waveform diagram is a waveform diagram with the vertical axis as the sound intensity and the horizontal axis as the time axis, and an example sound waveform diagram is shown in fig. 7 b. Since the key point of sudden enhancement or weakening of the music loudness is usually the time when the user desires to set the configuration of the camera, the mobile phone may use the target time when the amplitude of the sound intensity variation exceeds the preset threshold as the switching time point, and then may display an interface as shown in fig. 7c, and display a progress bar 703 for indicating the recording duration of the first recording template (i.e. the duration of the audio file), where the progress bar is divided into a plurality of time periods by every two adjacent switching time points. After displaying the progress bar, the user may click on the display area of each time interval respectively to set the camera configuration in the time interval, as shown in fig. 7d, and after setting, an identifier of the set camera configuration may be displayed in the display area of each time interval. After each time period has been set, the user may click on the ok icon 702 to instruct the handset to save (which may be a cache) the first video template. Optionally, after clicking the determination icon 702, a recording icon 704 may be displayed, and if the user clicks the recording icon 704, the determined first recording template is directly used to start shooting a video, and the camera configuration is switched at the switching time point set by the first recording template during shooting. In this case, an alternative display interface when capturing video may be as shown in fig. 4 b. After shooting is finished, the mobile phone can automatically add the audio file selected by the user to the shot video as background music. After the video shooting is finished, the video is stored in the local.
According to the video shooting method provided by the embodiment of the application, the switching time point and the camera configuration which are preset by the video template are used, so that the switching to the corresponding camera configuration is automatically carried out at the switching time point in the shooting process, a user can not operate the camera configuration in the shooting process, the picture shaking is prevented, the camera configuration can be automatically switched without operating the camera configuration in the recording process, the playability and the convenience of video shooting are improved, and the user experience is improved.
It should be noted that, in the video shooting method provided in the embodiment of the present application, the execution subject may be a video shooting device, or a control module in the video shooting device for executing the loaded video shooting method. In the embodiment of the present application, a video shooting device is taken as an example to execute a loaded video shooting method, and the video shooting method provided in the embodiment of the present application is described.
As shown in fig. 8, a video camera 800 provided in an embodiment of the present application may include a first receiving module 801, a first shooting module 802, and a first setting module 803.
The first receiving module 801 is configured to receive a first input of a user;
a first shooting module 802 configured to start shooting a video based on a first video template in response to a first input; the first video template comprises a plurality of camera configurations and combinations of corresponding switching time points;
the first setting module 803 is configured to, in the shooting process, switch the camera configuration to a target camera configuration corresponding to the target switching time point when the target switching time point is reached, and continue to shoot the video using the target camera configuration.
As an optional implementation, the apparatus may further include:
the first display module is used for responding to the first input and displaying the time axis of the first video template; the camera configuration corresponding to the switching time point and the first identification are used for indicating the position of the current shooting time length on the time axis.
As an alternative implementation, the third setting module may include:
the recording module is used for responding to a second input of the user before receiving the first input of the user and starting the recording of the first video recording template;
the second receiving module is used for receiving a third input of selecting a target camera configuration from a plurality of candidate camera configurations by a user at least once in the recording process of the first video template;
and the first execution module is used for responding to the third input, taking the receiving time of each third input as one of at least one switching time point, and taking the target camera configuration specified by each third input as the corresponding camera configuration of the corresponding switching time point.
As an optional implementation, the recording module may include:
the first drawing module is used for drawing a curve which follows the increase of the current recording time length and is extended along a first direction on a template recording page of a first video template, wherein the template recording page comprises a plurality of icons which are in one-to-one correspondence with the configuration of a plurality of candidate cameras;
the second receiving module includes: and the third receiving module is used for receiving a third input of clicking the icon configured by the target camera in the plurality of icons by the user at least once.
As an optional implementation, the apparatus may further include:
the recording module is used for responding to a second input of the user before receiving the first input of the user and starting the recording of the first video template;
the first determining module is used for responding to the fourth input and determining the audio file set by the user for the first video template;
the second determining module is used for determining a switching time point in the first video template according to the sound intensity change of the audio file;
the second display module is used for displaying a progress bar for representing the video recording duration of the first video recording template, wherein the progress bar is divided into a plurality of time intervals by every two adjacent switching time points;
the fourth receiving module is used for receiving a fifth input of the user after displaying the progress bar for representing the video recording duration of the first video recording template;
and the second setting module is used for responding to a fifth input and setting the corresponding camera configuration selected by the user for each time interval.
As an alternative implementation, the second determining module may include:
the fourth determining module is used for determining the target moment when the amplitude of the sound intensity change of the audio file exceeds a preset threshold;
and the fifth determining module is used for determining the target moment as the switching time point.
As an alternative embodiment, the time axis is a curve; the projection length of the curve in the first direction is used for representing the shooting duration configured by the first video template; the position of the curve at the switching time point is changed from the first direction to the second direction and is changed to the first direction after being extended to a preset distance.
As an alternative implementation, the time axis may be a progress bar; the length of the progress bar is used for representing the shooting duration configured by the first video template; the progress bar marks the position of the switching time point, every two adjacent switching time points are divided into a plurality of time periods, and an icon corresponding to the camera configuration is marked for each time period, wherein the camera configuration corresponding to each time period is the camera configuration corresponding to the initial switching time point.
As an optional implementation, the apparatus may further include:
the fifth receiving module is used for receiving seventh input of the user before receiving the first input of the user;
and a third determining module, configured to determine the first recording template in response to a seventh input.
As an optional implementation, the apparatus may further include:
the recording module is used for responding to the second input of the user before receiving the seventh input of the user and starting the recording of the first video template;
and the third setting module is used for responding to the sixth input of the user in the recording process of the first video template and setting at least one group of camera configurations and corresponding switching time points.
As an optional implementation, the apparatus may further include:
and the second drawing module is used for responding to a third input after receiving a third input that a user selects a target camera configuration from a plurality of candidate camera configurations each time, switching the drawing direction of the curve from the first direction to a second direction perpendicular to the first direction, and switching to the first direction after drawing a preset distance along the second direction, wherein the current projection length of the curve in the first direction is used for representing the current shooting duration of the first video template.
As an optional implementation, the apparatus may further include:
and the third drawing module is used for drawing a first icon corresponding to the target camera configuration for marking the third input indication at the turning point of the curve switched from the second direction to the first direction when the curve is switched to the first direction after the preset distance is drawn along the second direction.
As an optional implementation, the apparatus may further include:
and the fourth drawing module is used for drawing a second icon corresponding to the target camera configuration for marking the last third input instruction at the turning point of the curve switched from the first direction to the second direction when the drawing direction of the curve is switched from the first direction to the second direction perpendicular to the first direction.
As an alternative embodiment, the camera configuration may include selecting a camera for shooting among a plurality of cameras and/or setting a shooting focal length range.
The video shooting device provided by the embodiment of the application can automatically switch to the corresponding camera configuration at the switching time point in the shooting process through the switching time point and the camera configuration which are preset by the video template, so that a user can not operate the camera configuration in the shooting process, the picture shaking is prevented, the user can automatically switch the camera configuration without operating the camera configuration in the recording process, the playability and convenience of video shooting are improved, and the user experience is improved.
The video shooting 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 embodiments of the present application are not particularly limited.
The video capture device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The video shooting device provided in the embodiment of the present application can implement each process implemented by the video shooting device in the method embodiment provided in the embodiment of the present application, and is not repeated here to avoid repetition.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the above-mentioned video shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910. The sensor 905 may include a camera for converting the sensing light signal into an electrical signal, so that the electronic device 900 can capture an image.
Those skilled in the art will appreciate that the electronic device 900 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The input unit 904 may include a graphics processor, a microphone, and the like. The display component 906 may include a display panel. The user input unit 907 may include a touch panel and other input devices, and the like. The memory 909 may store an application program, an operating system, and the like. The electronic device structure shown in fig. 9 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 not repeated here.
The user input unit 907 is configured to receive a first input from a user, and in response to the first input, the processor 910 controls the camera in the sensor 905 to start to capture a video based on the first video template, and during the capturing process, when a target switching time point is reached, switches the camera configuration to a target camera configuration corresponding to the target switching time point, and continues to capture the video using the target camera configuration.
The electronic equipment provided by the embodiment of the application can automatically switch to the corresponding camera configuration at the switching time point in the shooting process through the switching time point and the camera configuration which are preset by the video template, so that a user can not operate the camera configuration in the shooting process, the picture shaking is prevented, the user can automatically switch the camera configuration without operating the camera configuration in the recording process, the playability and convenience of video shooting are improved, and the user experience is improved.
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 shooting 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, which may include a non-volatile Memory, such as a computer Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
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 shooting 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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element 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.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
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 present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (8)

1. A method of video capture, the method comprising:
receiving a first input of a user;
in response to the first input, starting to take a video based on a first video template; the first video template comprises a combination of a plurality of camera configurations and corresponding switching time points;
in the shooting process, when a target switching time point is reached, switching the camera configuration to a target camera configuration corresponding to the target switching time point, and continuously shooting a video by using the target camera configuration;
before receiving the first input of the user, the method further comprises:
responding to a second input of a user, and starting recording of the first video recording template;
receiving a fourth input from the user;
in response to the fourth input, determining an audio file set by a user for the first video recording template;
determining a switching time point in the first video recording template according to the sound intensity change of the audio file;
displaying a progress bar for representing the video recording duration of the first video recording template, wherein the progress bar is divided into a plurality of time periods by every two adjacent switching time points;
receiving a fifth input of the user;
in response to the fifth input, setting a corresponding camera configuration selected by the user for each time period.
2. The method of claim 1, wherein in response to the first input, the method further comprises:
displaying a time axis of the first video template; the position of the switching time point is marked on the time axis, the camera configuration corresponding to the switching time point, and the first mark is used for indicating the position of the current shooting duration on the time axis.
3. The method of claim 1, wherein prior to receiving the first input from the user, the method further comprises:
responding to a second input of a user, and starting recording of the first video recording template;
receiving a third input that a user selects the target camera configuration from a plurality of candidate camera configurations at least once in the recording process of the first video template;
and responding to the third input, taking the receiving time of each third input as one of the at least one switching time point, and taking the target camera configuration specified by each third input as the corresponding camera configuration of the corresponding switching time point.
4. The method of claim 3,
the initiating recording of the first recording template in response to a second input by the user comprises:
drawing a curve which is prolonged along a first direction along with the increase of the current recording time length on a template recording page of the first video template, wherein the template recording page comprises a plurality of icons which are in one-to-one correspondence with the configuration of the candidate cameras;
the at least one receiving a third input from a user selecting a target camera configuration among a plurality of candidate camera configurations, comprising: receiving, at least once, the third input that a user clicks an icon of the target camera configuration among the plurality of icons.
5. A video camera, comprising:
the first receiving module is used for receiving a first input of a user;
the first shooting module is used for responding to the first input and starting to shoot a video based on a first video template; the first video template comprises a combination of a plurality of camera configurations and corresponding switching time points;
the first setting module is used for switching the camera configuration to a target camera configuration corresponding to a target switching time point when the target switching time point is reached in the shooting process, and continuously shooting a video by using the target camera configuration;
the device further comprises:
the recording module is used for responding to a second input of the user before receiving the first input of the user and starting the recording of the first video template;
the first determining module is used for responding to the fourth input and determining the audio file set by the user for the first video template;
the second determining module is used for determining a switching time point in the first video template according to the sound intensity change of the audio file;
the second display module is used for displaying a progress bar for representing the video recording duration of the first video recording template, wherein the progress bar is divided into a plurality of time intervals by every two adjacent switching time points;
the fourth receiving module is used for receiving a fifth input of the user after displaying the progress bar for representing the video recording duration of the first video recording template;
and the second setting module is used for responding to a fifth input and setting the corresponding camera configuration selected by the user for each time interval.
6. The apparatus of claim 5, further comprising:
a first display module for displaying a timeline of the first video template in response to the first input; the position of the switching time point is marked on the time axis, the configuration of a camera corresponding to the switching time point, and a first mark, wherein the first mark is used for indicating the position of the current shooting duration on the time axis.
7. The apparatus of claim 5, further comprising:
the recording module is used for responding to a second input of the user before receiving the first input of the user and starting the recording of the first video template;
a second receiving module, configured to receive, at least once, a third input that a user selects the target camera configuration from among a plurality of candidate camera configurations in a recording process of the first video template;
and the first execution module is used for responding to the third input, taking the receiving time of the third input every time as one of the at least one switching time point, and taking the target camera configuration specified by the third input every time as the corresponding camera configuration of the corresponding switching time point.
8. The apparatus of claim 7,
the recording module comprises: the first drawing module is used for drawing a curve which is prolonged along a first direction along with the increase of the current recording duration on a template recording page of the first video template, wherein the template recording page comprises a plurality of icons which are in one-to-one correspondence with the configuration of the candidate cameras;
the second receiving module includes: a third receiving module, configured to receive the third input that the user clicks an icon configured by the target camera in the plurality of icons at least once.
CN202110116748.8A 2021-01-28 2021-01-28 Video shooting method and device Active CN112887618B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110116748.8A CN112887618B (en) 2021-01-28 2021-01-28 Video shooting method and device
PCT/CN2022/073157 WO2022161268A1 (en) 2021-01-28 2022-01-21 Video photographing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110116748.8A CN112887618B (en) 2021-01-28 2021-01-28 Video shooting method and device

Publications (2)

Publication Number Publication Date
CN112887618A CN112887618A (en) 2021-06-01
CN112887618B true CN112887618B (en) 2023-03-24

Family

ID=76053594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110116748.8A Active CN112887618B (en) 2021-01-28 2021-01-28 Video shooting method and device

Country Status (2)

Country Link
CN (1) CN112887618B (en)
WO (1) WO2022161268A1 (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
CN116896658B (en) * 2023-09-11 2023-12-12 厦门视诚科技有限公司 Camera picture switching method in live broadcast

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4741557B2 (en) * 2006-08-18 2011-08-03 日本放送協会 Shooting shot control device and shooting shot control program
JP2008160564A (en) * 2006-12-25 2008-07-10 Toshiba Corp Camera device and chapter data generating method therein
CN105391965B (en) * 2015-11-05 2018-09-07 广东欧珀移动通信有限公司 Video recording method based on multi-cam and device
CN109803085A (en) * 2017-11-17 2019-05-24 北京小米移动软件有限公司 Control the method and device of camera camera shooting
CN109495684A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of image pickup method of video, device, electronic equipment and readable medium
CN111182213B (en) * 2019-12-31 2021-09-24 维沃移动通信有限公司 Video production method, electronic device, and medium
CN111147779B (en) * 2019-12-31 2022-07-29 维沃移动通信有限公司 Video production method, electronic device, and medium
CN112243065B (en) * 2020-10-19 2022-02-01 维沃移动通信有限公司 Video recording method and device
CN112565611B (en) * 2020-12-08 2022-07-15 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
CN112672061B (en) * 2020-12-30 2023-01-24 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and medium
CN112887618B (en) * 2021-01-28 2023-03-24 维沃移动通信有限公司 Video shooting method and device

Also Published As

Publication number Publication date
WO2022161268A1 (en) 2022-08-04
CN112887618A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
CN111601039B (en) Video shooting method and device and electronic equipment
CN112954199B (en) Video recording method and device
CN108965705B (en) Video processing method and device, terminal equipment and storage medium
CN111147779B (en) Video production method, electronic device, and medium
CN112887618B (en) Video shooting method and device
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112135046A (en) Video shooting method, video shooting device and electronic equipment
CN111953900B (en) Picture shooting method and device and electronic equipment
CN112911147A (en) Display control method, display control device and electronic equipment
CN111064930B (en) Split screen display method, display terminal and storage device
CN112672061A (en) Video shooting method and device, electronic equipment and medium
CN106713742B (en) Shooting method and mobile terminal
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN112954209B (en) Photographing method and device, electronic equipment and medium
CN112565610B (en) Continuous shooting method and device and electronic equipment
CN112437231B (en) Image shooting method and device, electronic equipment and storage medium
CN112637495B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112887624B (en) Shooting method and device and electronic equipment
CN112367487B (en) Video recording method and electronic equipment
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN114245017A (en) Shooting method and device and electronic equipment
CN113852756A (en) Image acquisition method, device, equipment and storage medium
CN113286085A (en) Display control method and device and electronic equipment
CN112764648A (en) Screen capturing method and device, electronic 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