CN113014801B - Video recording method, video recording device, electronic equipment and medium - Google Patents

Video recording method, video recording device, electronic equipment and medium Download PDF

Info

Publication number
CN113014801B
CN113014801B CN202110139671.6A CN202110139671A CN113014801B CN 113014801 B CN113014801 B CN 113014801B CN 202110139671 A CN202110139671 A CN 202110139671A CN 113014801 B CN113014801 B CN 113014801B
Authority
CN
China
Prior art keywords
preview
area
camera
sub
input
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
CN202110139671.6A
Other languages
Chinese (zh)
Other versions
CN113014801A (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 CN202110139671.6A priority Critical patent/CN113014801B/en
Publication of CN113014801A publication Critical patent/CN113014801A/en
Application granted granted Critical
Publication of CN113014801B publication Critical patent/CN113014801B/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a video recording method, a video recording device, electronic equipment and a medium, belongs to the technical field of photography, and can solve the problem that the video recording function of the existing electronic equipment is single. The method comprises the following steps: displaying a video preview interface, wherein a first preview image displayed in the video preview interface is synthesized by preview subimages of M preview areas acquired by M cameras; receiving a first input of a user; responding to the first input, and outputting a target video according to the video images of the M preview areas acquired by the M cameras; each preview area in the M preview areas is associated with one camera, and M is an integer larger than 1. The method is applied to video scenes.

Description

Video recording method, device, electronic equipment and medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a video recording method, a video recording device, electronic equipment and a medium.
Background
With the rapid development of electronic device technology, electronic devices have entered a multi-camera era, that is, electronic devices are equipped with a plurality of cameras for shooting.
Taking the video recording function of the electronic device as an example, when the user triggers the electronic device to record, the electronic device may continuously capture images through a camera (e.g., a main camera) in the electronic device, so as to obtain a recorded video. However, in the process of recording the video on the electronic device, the video recording function of the electronic device still remains in the stage of acquiring the image by using a single camera, so that the video recording function of the electronic device is relatively single.
Disclosure of Invention
An embodiment of the present application provides a video recording method, a video recording apparatus, an electronic device, and a medium, which can solve the problem that a video recording function of an existing electronic device is relatively single.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video recording method, where the method includes: displaying a video preview interface, wherein a first preview image displayed in the video preview interface is synthesized by preview sub-images of M preview areas acquired by M cameras; receiving a first input of a user; responding to the first input, and outputting a target video according to the video images of the M preview areas acquired by the M cameras; each preview area in the M preview areas is associated with one camera, and M is an integer larger than 1.
In a second aspect, an embodiment of the present application provides a video recording apparatus, where the video recording apparatus includes a display module, a receiving module, and an output module. The display module is used for displaying a video preview interface, and a first preview image displayed in the video preview interface is synthesized by preview sub-images of M preview areas acquired by M cameras; the receiving module is used for receiving a first input of a user; the output module is used for responding to the first input and outputting a target video according to the video images of the M preview areas acquired by the M cameras; each preview area in the M preview areas is associated with one camera, and M is an integer larger than 1.
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 the program or instructions are executed by the processor, the steps of the video recording method in the first aspect are implemented.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the video recording method in the first aspect are implemented.
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 steps of the video recording method according to the first aspect.
In the embodiment of the application, a video preview interface is displayed, and a first preview image displayed in the video preview interface is synthesized by preview sub-images of M preview areas acquired by M cameras; receiving a first input of a user; responding to the first input, and outputting a target video according to the video images of the M preview areas acquired by the M cameras; each preview area in the M preview areas is associated with a camera, and M is an integer larger than 1. The video recording method provided by the embodiment of the application can be applied to video recording scenes, and as the recorded target video is output according to the video images acquired by the plurality of cameras, the preview sub-images in different preview areas in the video preview interface are acquired by different cameras in the plurality of cameras, and the camera parameters of different cameras are possibly different, the preview images with different display effects can be obtained, so that the video images with different display effects can be obtained, the display effect of the video images in the output video can be enriched, and the video recording function can be diversified.
Drawings
Fig. 1 is a schematic flowchart of a video recording method according to an embodiment of the present application;
fig. 2A is one of schematic interfaces of an application of a video recording method according to an embodiment of the present application;
fig. 2B is a second schematic interface diagram of an application of the video recording method according to the embodiment of the present application;
fig. 3 is a third schematic interface diagram of an application of a video recording method according to an embodiment of the present application;
fig. 4 is a fourth schematic interface diagram of an application of the video recording method according to the embodiment of the present application;
fig. 5A is a fifth schematic interface diagram of an application of a video recording method according to an embodiment of the present application;
fig. 5B is a sixth schematic interface diagram of an application of the video recording method according to the embodiment of the present application;
fig. 6A is a seventh schematic interface diagram of an application of a video recording method according to an embodiment of the present application;
fig. 6B is an eighth schematic interface diagram of an application of the video recording method according to the embodiment of the present application;
FIG. 7 is a ninth schematic interface diagram illustrating an application of a video recording method according to an embodiment of the present application;
fig. 8A is a tenth of an interface schematic diagram of a video recording method application provided in the embodiment of the present application;
FIG. 8B is an eleventh schematic diagram illustrating an interface of an application of a video recording method according to the present application;
fig. 9A is a twelfth schematic interface diagram of an application of a video recording method according to an embodiment of the present application;
fig. 9B is a thirteen schematic interface diagram of an application of the video recording method according to the embodiment of the present application;
fig. 10A is a fourteenth schematic interface diagram of a video recording method application according to an embodiment of the present application;
fig. 10B is a fifteen-shown interface diagram of an application of the video recording method according to the embodiment of the present application;
fig. 11A is a sixteenth schematic interface diagram of an application of a video recording method according to an embodiment of the present application;
fig. 11B is a seventeenth schematic interface diagram illustrating an application of a video recording method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 14 is a hardware 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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
The following describes the recording method provided in the embodiment of the present application in detail through a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a video recording method, which includes steps 201 to 203 described below.
It should be noted that an execution main body of the video recording method provided in the embodiment of the present application may be a video recording apparatus, or a control module used for executing the video recording method in the video recording apparatus, and may also be an electronic device. The following describes an exemplary video recording method provided in an embodiment of the present application, taking an electronic device as an example.
Optionally, in this embodiment of the present application, when an execution main body of the video recording method provided in this embodiment of the present application is an electronic device, the electronic device may include the video recording apparatus provided in this embodiment of the present application, or be externally connected to the video recording apparatus. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Step 201, the electronic device displays a video preview interface.
The first preview image displayed in the video preview interface is synthesized by preview sub-images of M preview areas acquired by M cameras, each preview area in the M preview areas is associated with one camera, and M is an integer greater than 1.
It should be noted that the first preview image may be a preview image displayed in real time in a video preview interface by the electronic device.
In this embodiment, the preview sub-image displayed in one preview area may be: and a preview sub-image corresponding to the preview area in the preview image acquired by the camera associated with the preview area. For example, as shown in fig. 2B, the preview sub-image displayed in the preview area 33a is a preview sub-image corresponding to the preview area 33a in the preview image acquired by the camera 1 in the electronic device; the preview sub-image displayed in the preview area 33b is a preview sub-image corresponding to the preview area 33b in the preview image acquired by the camera 2 in the electronic device.
In the embodiment of the application, when a user wants to record a video through the electronic device, the electronic device may display the video preview interface first, and then the user may trigger the electronic device to record the video.
Optionally, in this embodiment of the present application, an implementation manner of displaying the video preview interface by the electronic device may include the following implementation manners:
the implementation mode is as follows: in the case where the electronic device displays the main preview interface of the "camera" application, the electronic device detects a specific scene, and the electronic device may display the video preview interface. The specific scene may be a dynamic scene, that is, a preview object in a preview image in the main preview interface is dynamic.
The second implementation mode is as follows: under the condition that the electronic equipment displays a main preview interface of a camera application program, the electronic equipment receives the input that a user drags a video recording control in the main preview interface to a shooting control, and the electronic equipment can display the video recording preview interface.
Illustratively, assuming that M =2, when the user drags the "record" control 31 over the "shoot" control 32, as shown in fig. 2A, the electronic device may display a record preview interface as shown in fig. 2B in response to the input, the record preview interface including two preview areas, a preview area 33a and a preview area 33B, respectively. The first preview image displayed in the video preview interface is obtained by combining a preview sub-image of a preview area 33a acquired by a camera 1 in the electronic device and a preview sub-image of a preview area 33b acquired by a camera 2 in the electronic device.
The implementation mode is three: the electronic device receives the user's input of a specific voice content (e.g., "enter into multi-camcorder mode") and the electronic device may display the video preview interface.
The implementation mode is four: the electronic device receives a user input of a target key (e.g., an Artificial Intelligence (AI) key), and the electronic device may display the video preview interface.
Certainly, in actual implementation, the implementation manner of displaying the video preview interface by the electronic device may also include any other possible manner, which may be determined specifically according to actual use requirements, and the embodiment of the present application is not limited.
At step 202, the electronic device receives a first input from a user.
And step 203, the electronic equipment responds to the first input, and outputs the target video according to the video images of the M preview areas acquired by the M cameras.
In this embodiment of the application, after the electronic device displays the video preview interface, a user may trigger the electronic device to output the target video according to the video images of the M preview areas acquired by the M cameras through the first input, so as to obtain a video.
It should be noted that, in this embodiment of the present application, the display effect of the video images of the M preview areas acquired by the M cameras is the same as the display effect of the preview image in the corresponding video preview interface.
Optionally, in this embodiment of the application, the first input may be any possible input of a user to a "record" control (for example, the "record" control 34 in fig. 2B), such as a single-click input, a double-click input, or a long-press input, which may be specifically determined according to actual usage requirements, and this embodiment of the application is not limited.
The embodiment of the application provides a video recording method which can be applied to a video recording scene, because a recorded target video is output according to video images acquired by a plurality of cameras, preview sub-images in different preview areas in a video preview interface are acquired by different cameras in the plurality of cameras, and the camera shooting parameters of different cameras are possibly different, preview images with different display effects can be obtained, so that video images with different display effects can be obtained, the display effect of the video images in the output video can be enriched, and the video recording function can be diversified.
Optionally, the video recording method provided in this embodiment of the present application may further include the following steps 204 to 206.
In step 204, the electronic device receives a second input of the user to the first preview object in the video preview interface.
And acquiring a first preview sub-image of a preview area where the first preview object is positioned by a first camera in the M cameras.
The preview object in the embodiment of the present application refers to a partial image in a preview image, and one preview object may be a partial image in one preview area or may be all images in one preview area. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, if multiple preview areas in the M preview areas include an image portion of the same preview object, the preview area where the preview object is located may be a target preview area. The target preview area may be a preview area including the most image parts of the preview object among the plurality of preview areas.
Step 205, in response to the second input, the electronic device establishes an association relationship between the second camera and the first sub-preview area, and acquires a second preview sub-image acquired by the second camera.
The first sub preview area may be an area where the first preview object is located in the preview area where the first preview object is located.
And step 206, the electronic equipment synthesizes the second preview sub-image and the preview sub-images acquired by the M cameras to obtain a second preview image.
In the embodiment of the application, a user can trigger the electronic device to establish an association relationship between the second camera and the first sub-preview area through second input of the first preview object in the video preview interface, and obtain a second preview sub-image acquired by the second camera. Then, the electronic device may synthesize the second preview sub-image and the preview sub-images acquired by the M cameras, so as to obtain the second preview image. Therefore, the electronic equipment can update the preview image displayed in the video preview interface into the second preview image.
In the embodiment of the application, in the process of synthesizing the second preview sub-image and the preview sub-images acquired by the M cameras by the electronic device, the electronic device may adopt the second preview sub-image to replace the image content corresponding to the first sub-preview area in the preview area where the first preview object is located.
Optionally, in this embodiment of the present application, when the first preview object includes at least two preview objects, the electronic device may respectively establish an association relationship between a sub preview area where each preview object in the at least two preview objects is located and a camera, that is, the second camera may be at least two cameras. Therefore, more cameras in the electronic equipment can work cooperatively in the video recording process of the electronic equipment, and the utilization rate of the cameras in the electronic equipment can be further improved.
Optionally, the electronic device may sequentially establish, according to the number of the camera, an association relationship between a sub preview area where each preview object of the at least two preview objects is located and the camera, where the cameras associated with the sub preview areas where different preview objects are located are different.
Exemplarily, assuming that the electronic device includes 5 cameras, namely, a camera 1, a camera 2, a camera 3, a camera 4 and a camera 5, and the M cameras include the camera 1 and the camera 2, and the first preview object includes two preview objects (a preview object 1 and a preview object 2, respectively), the electronic device may establish an association relationship between a sub preview area where the preview object 1 is located and the camera 3, and establish an association relationship between a sub preview area where the preview object 2 is located and the camera 4.
In one possible implementation, the second input may be an input of a user circling around the first preview object. Wherein the first preview object may be a preview object located within the input track of the second input.
Illustratively, when the input track drawn by the user in the video preview interface is the track 35 shown in fig. 3, the electronic device may determine that the first preview object includes the preview object 36 and the preview image 37.
In another possible implementation manner, the second input may be a long-press input or a re-press input of the user on the first preview object, and in response to the input, the electronic device may display identifiers of multiple cameras (for example, K cameras in this embodiment), so that the user may select an identifier of one camera from the identifiers of the multiple cameras to trigger the electronic device to establish an association relationship between the camera and the sub-preview area where the first preview object is located.
Alternatively, in another possible implementation manner, the step 206 may be specifically implemented by the following steps 206a to 206 c.
In step 206a, the electronic device displays the identifiers of the K cameras in response to the second input.
The K cameras may be all cameras in the video recording device, or the K cameras may be cameras in the video recording device other than the M cameras, or the camera parameters of the K cameras may be matched with the first preview object.
In this embodiment, the video recording device may be a video recording device in an electronic device, or may be a video recording device externally connected to the electronic device, and may specifically be determined according to an actual use requirement, which is not limited in this embodiment.
In the embodiment of the present application, the camera parameters may include, but are not limited to, focal length, brightness, and sharpness.
Optionally, in this embodiment of the application, the identifier of the camera may be a text, a symbol, an image, and the like indicating the camera, and may include, but is not limited to, a text identifier, a symbol identifier, and an image identifier. The identifier of the camera may be a display carrier, which may be determined according to actual use requirements, and the embodiment of the present application is not limited.
Illustratively, as shown in fig. 4, when the user presses the preview object 38 (i.e., the first preview object described above) for a long time, the electronic device may display an identifier 39 of the camera 3 and an identifier 40 of the camera 4 in response to the input.
In step 206b, the electronic device receives a third input of the user's identification of a second camera of the K cameras.
And step 206c, in response to the third input, the electronic device establishes an association relationship between the second camera and the first sub-preview area, and acquires a second preview sub-image acquired by the second camera.
In the embodiment of the application, after the electronic device displays the identifiers of the K cameras, a user can trigger the electronic device to establish an association relationship between a second camera and the first sub-preview area by inputting the identifier of the second camera in the K cameras, and obtain a second preview sub-image acquired by the second camera.
Optionally, the third input may be any possible input, such as a single-click input, a double-click input, or a long-press input of the user on the identifier of the second camera. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
The video recording method provided by the embodiment of the application can be applied to a scene of updating a camera for recording a video, and because a user can trigger the electronic equipment to establish the association relationship between the sub preview area where the preview object is located and the camera through input, the user can customize the camera for acquiring the video image of any object, so that the video recording mode is more flexible.
Optionally, in this embodiment of the present application, the video preview interface may further include an identifier control area, where the identifier control area may include M sub-control areas, and each sub-control area may include a camera identifier (that is, an identifier of a camera).
It can be understood that the M sub-control regions correspond to the M preview regions one to one.
Illustratively, as shown in fig. 2B, in the case that the video recording preview interface includes two preview areas, where the preview area 33a is associated with the camera 1 and the preview area 33B is associated with the camera 2, the electronic device may display the identifier of the camera 1 in the sub control area 33c and the identifier of the camera 2 in the sub control area 33 d.
Optionally, in this embodiment of the present application, after the electronic device establishes an association relationship between the second camera and the first sub preview area, if the second camera is not a camera of the above M cameras, the electronic device may update the M sub control areas to (M + K) sub control areas, so as to indicate to the user that: a preview area in a current video preview interface is associated with (M + K) cameras, namely the (M + K) cameras participate in video recording. Wherein K may be the number of second cameras.
Exemplarily, assuming that the second camera is the camera 3 in the electronic device, the electronic device may update the sub control region 33c and the sub control region 33d as shown in fig. 2B to the sub control region 33c, the sub control region 33d, and the sub control region 33e as shown in fig. 5A. Assuming that the second cameras are the camera 3 and the camera 4 in the electronic apparatus, the electronic apparatus may update the sub control area 33c and the sub control area 33d1 as shown in fig. 2B to the sub control area 33c1, the sub control area 33d2, the sub control area 33e, and the sub control area 33f as shown in fig. 5B.
The video recording method provided by the embodiment of the application can be applied to a scene of displaying a video recording preview interface, and the electronic equipment can display the identification of the camera associated with each preview area in the identification control area in the video recording preview interface, so that the number of the cameras participating in video recording and the specific cameras can be indicated to a user, and the information of the cameras participating in video recording is more clear.
Optionally, the video recording method provided in this embodiment of the present application may further include step 207 and step 208 described below.
In step 207, the electronic device receives a fourth input from the user on the first sub-control area of the M sub-control areas.
In step 208, the electronic device updates the first camera identifier in the first sub-control area to the second camera identifier in response to the fourth input.
And the second camera mark is determined according to the fourth input parameter.
In this embodiment of the present application, if a user wants to update a camera (that is, the second camera) associated with a certain preview area (hereinafter, referred to as a sixth preview area), the user may trigger the electronic device to update the first camera identifier to the second camera identifier by a fourth input to the first camera identifier in the first sub-control area, so that the camera associated with the sixth preview area may be updated from the camera indicated by the first camera identifier to the camera indicated by the second camera identifier.
Optionally, in this embodiment of the application, when the fourth input is a leftward sliding input or an upward sliding input on the first sub-control area, the number of the camera indicated by the second camera identifier may be smaller than the number of the camera indicated by the first camera identifier. For example, the number of the camera indicated by the second camera identifier may be the number of the camera indicated by the first camera identifier minus 1.
Accordingly, when the fourth input is a rightward slide input or a downward slide input on the first sub-control area, the number of the camera indicated by the second camera identifier may be greater than the number of the camera indicated by the first camera identifier. For example, the number of the camera indicated by the second camera identifier may be added by 1 to the number of the camera indicated by the first camera identifier.
Illustratively, as shown in fig. 6A, when the user slides to the left on the sub-control area 41, the electronic device may update the identification of the camera 4 to the identification of the camera 3 as shown in fig. 6B in response to the input, so that the camera associated with the above-described sixth preview area may be updated from the camera 4 to the camera 3.
The video recording method provided by the embodiment of the application can be applied to a scene of updating the camera for recording the video, and the electronic equipment can be triggered to update the camera identification in the sub-control area through user input, so that the cameras associated with the preview areas corresponding to the sub-control area are updated, a user can customize the camera associated with each preview area, and the cameras participating in video recording are customized. Therefore, the video recording mode can be more flexible.
Optionally, the video recording method provided in this embodiment of the present application may further include step 209 and step 210 described below.
In step 209, the electronic device receives a fifth input from the user at a second sub-control area of the M sub-control areas.
In step 210, in response to the fifth input, the electronic device updates the video frame rate of the first preview area of the M preview areas from the first frame rate to the second frame rate.
The first preview area is a preview area associated with a camera indicated by the camera identification displayed in the second sub-control area.
In this embodiment, if the user wants to update the video recording frame rate of the first preview area, the user may trigger the electronic device to update the video recording frame rate of the first preview area from the first frame rate to the second frame rate by a fifth input in the second sub-control area.
In the embodiment of the present application, the video recording frame rate of the preview area refers to a playing speed of a video image corresponding to the preview area in a video (for example, the target video) recorded after the electronic device finishes recording.
Optionally, in this embodiment of the application, the fifth input may be a user's up-sliding input or down-sliding input on the second sub-control area. In a case where the fifth input is a slide-up input in the second sub-control region, the second frame rate may be greater than the first frame rate; in a case where the fifth input is a slide-down input in the second sub-control region, the second frame rate may be less than the first frame rate. That is, the size of the second frame rate may be determined according to the input parameter of the fifth input.
Optionally, in this embodiment of the application, the first frame rate may be a default frame rate in the electronic device, for example, 1.
Illustratively, as shown in fig. 7, when the user slides up on the sub-control area 42, the electronic device may update the video frame rate corresponding to the preview area 43 from 1 to 1.5 in response to the input. In this way, after the recording is finished, the video image corresponding to the preview area 43 in the recorded video can be played at 1.5 times speed.
The video recording method provided by the embodiment of the application can be applied to a scene of updating the video frame rate corresponding to the preview area, and the user can trigger the electronic equipment to update the video frame rate of the preview area through input in the sub-control area, so that on one hand, the operation convenience of updating the video frame rate of the whole preview area can be improved, on the other hand, the electronic equipment can be used for recording video images in the video to be played at various frame rates, and the interestingness of the recorded video images can be increased.
Optionally, after the step 210, the video recording method provided in the embodiment of the present application may further include the following steps 211 and 212.
In step 211, the electronic device receives a sixth input from the user to the second sub-control area and the third sub-control area.
In step 212, the electronic device updates the video frame rate of the transition preview area to the third frame rate in response to the sixth input.
Wherein the transition preview area may include at least one of: a part of the preview area in the first preview area, and a part of the preview area in a second preview area in the M preview areas, where the second preview area may be a preview area associated with a camera indicated by the camera identifier displayed in the third sub control area; the value of the third frame rate may be between the second frame rate and a fourth frame rate, and the fourth frame rate may be a video frame rate of the second preview area.
In this embodiment, after the electronic device updates the video frame rate of the first preview area from the first frame rate to the second frame rate, the user may update the video frame rate of the transition preview area to the third frame rate by sixth input to the second sub control area and the third sub control area, so that after the video recording is finished, the video image corresponding to the transition preview area in the recorded video may be played at the third frame rate.
In this embodiment, the transition preview area may include a partial area of the second preview area and a partial area of the third preview area, and these areas are continuous.
Alternatively, in this embodiment, the sixth input may be a two-finger pinch input or a two-finger pinch input of the user on the second sub control area and the third sub control area.
Optionally, in this embodiment of the application, a value of the third frame rate may be determined according to the input parameter of the sixth input, for example, a speed or a distance of a two-finger pinch input of the user on the second sub control area and the third sub control area.
For example, assuming that the second frame rate is 1.5 and the fourth frame rate is 1, when the user performs a two-finger pinch input on the sub control area 42 and the sub control area 44 as shown in fig. 8A, the electronic device may update the video recording frame rate of the preview area 45 (i.e., the transition preview area) to 1.3 in response to the input as shown in fig. 8B. In this way, after the recording is finished, the video image corresponding to the preview area 45 in the recorded video can be played at 1.3 times speed.
The video recording method provided by the embodiment of the application can be applied to a scene of updating the video recording frame rate of the transition preview area between the two preview areas, and because the user can trigger the electronic equipment to update the video recording frame rate of the transition preview area between the two preview areas through the input to the two sub-control areas, the electronic equipment can record the video to obtain the transition type change or the step-by-step change of the frame rate of the video image in the video, so that the playing fluency of the video obtained by video recording can be improved.
Optionally, the video recording method provided in this embodiment of the present application may further include the following step 213 and step 214.
In step 213, the electronic device receives a seventh input from the user on a fourth sub-control area of the M sub-control areas.
In step 214, in response to the seventh input, the electronic device updates the video frame rate of the second sub-preview area in the third preview area from the fifth frame rate to the sixth frame rate.
The second sub preview area may be an area other than the third sub preview area in the third preview area, the third sub preview area may be an area where a third preview object is located in the third preview area, and the third preview area may be a preview area associated with a third camera indicated by the camera identifier displayed in the fourth sub control area.
The third preview object may include at least one of: the preview object selected by the third camera and the preview object selected by the fourth camera; the fourth camera is a camera in the video recording device except the M cameras.
In this embodiment of the application, after the electronic device receives a seventh input of the user on the fourth sub-control area, the electronic device may update the video recording frame rate of the second sub-preview area in the third preview area from the fifth frame rate to the sixth frame rate in response to the input.
It should be noted that, in the embodiment of the present application, a manner of selecting a preview object by a camera may be: the camera is focused (or focused) on the preview object. Certainly, in actual implementation, the camera may also select the preview object in any other possible manner, which may be specifically determined according to actual use requirements.
Optionally, in this embodiment of the present application, after the camera selects one preview object (for example, the preview object 1), the user may trigger the camera to update the selected preview object from the preview object 1 to the preview object 2 by inputting another preview object (for example, the preview object 2) in a preview area associated with the camera.
Optionally, in this embodiment of the present application, the electronic device may display the selected identifier on the preview object selected by the third camera and the preview object selected by the fourth camera, so as to prompt the user that the frame rate of the sub preview area where the preview object is located is not updated.
Optionally, in this embodiment of the present application, the fourth camera may be a camera with a minimum camera number or a maximum camera number, except for M cameras, in the video recording device.
Optionally, in this embodiment of the application, the seventh input may be an input that a user separates two fingers on the fourth sub-control area.
Optionally, in this embodiment of the application, a value of the sixth frame rate may be a target multiple of the fifth frame rate, for example, 2 times, 3 times, 0.5 times, and the like. Wherein, the sixth frame rate can be determined according to the seventh input parameter (for example, the speed or distance separating two fingers on the fourth sub-control area by the user).
Exemplarily, assuming that the third preview object includes a preview object selected by the third camera and a preview object selected by the fourth camera, and the preview object selected by the third camera is the same as the preview object selected by the fourth camera, as shown in fig. 9A, when the user performs two-finger separate input on the sub control area 42, as shown in fig. 9B, the electronic device may display a selected identifier 46 on the third preview object in response to the input, update the video frame rate corresponding to the preview area in which the preview objects other than the third preview object are located in the preview area 45 to 2, and update the identifier of the camera in the sub control area 42. In this way, after the video recording is finished, the video image corresponding to the sub preview area where the third preview object is located in the preview area 45 in the recorded video can be played at the normal speed, and the video images corresponding to the other preview areas in the preview area 45 are played at the 2 × speed.
The video recording method provided by the embodiment of the application can be applied to a scene of updating the video recording frame rate of a part of preview areas in the preview areas, and the user can trigger the electronic equipment to update the video recording frame rate of the part of preview areas in the preview areas through input in the sub-control areas, so that on one hand, the operation convenience of updating the video recording frame rate of the preview areas can be improved, on the other hand, video images in videos obtained by video recording of the electronic equipment can be played at various frame rates, and the interestingness and flexibility of the videos obtained by video recording can be improved.
Optionally, after step 201, the video recording method provided in this embodiment may further include step 215 and step 216 described below.
At step 215, the electronic device receives an eighth input from the user on a fifth sub-control zone of the M sub-control zones.
In step 216, the electronic device, in response to the eighth input, performs a target process, where the target process includes at least one of: and performing first image processing on a fourth preview object in the fourth preview area, and performing second image processing on preview objects except the fourth preview object in the fourth preview area.
And the object distance of the fourth preview object is greater than or equal to a preset threshold, and the fourth preview area is a preview area associated with the camera indicated by the camera identifier in the fifth sub-control area.
In this embodiment, after the electronic device displays the video preview interface, the user may trigger the electronic device to execute the target process through the eighth input. Therefore, the video effect obtained by the electronic equipment through video recording can be more diversified.
Optionally, in this embodiment of the application, the eighth input may be a user input to separate two fingers or open two fingers on the fifth sub-control area.
Alternatively, in this embodiment of the present application, the first image processing may be blurring image processing or blurring image processing, and the second image processing may be enhancement display image processing.
Of course, in actual implementation, the first image processing and the second image processing may also be any other possible processing, which may be determined according to actual use requirements, and the embodiment of the present application is not limited.
Optionally, in this embodiment of the application, after the electronic device receives the eighth input, the electronic device may mark the fourth preview object with the target identifier, so as to prompt the user that the electronic device will perform the first image processing (for example, blurring image processing) on the objects other than the marked preview object in the fourth preview area.
Illustratively, as shown in fig. 10A, when the user makes a two-finger split input on the sub control area 42, the electronic device may mark the fourth preview object in the preview area 45 with a target identifier 47 and update the identifier of the camera in the sub control area 42, as shown in fig. 10B. Thus, after the recording is completed, the marked preview objects in the preview area 45 of the recorded video are displayed clearly, and preview objects that are not marked by the target mark are displayed in a blurred manner.
The video recording method provided by the embodiment of the application can be applied to a scene of image processing of the preview object in the preview area, and the user can trigger the electronic equipment to perform the image processing on the preview object in the preview area through the input in the sub-control area, so that the operation of triggering the image processing on the preview object in the preview area in the electronic equipment is relatively convenient and fast on one hand, and the interest and flexibility of the recorded video image can be increased on the other hand.
Optionally, in this embodiment of the present application, after the step 201, the video recording method provided in this embodiment of the present application may further include the following steps 217 to 219.
In step 217, the electronic device receives a ninth input from the user.
The ninth input may be an input on a sixth sub-control area of the M sub-control areas or an input on a fifth preview area, and the fifth preview area may be a preview area associated with a camera indicated by the camera identifier in the sixth sub-control area.
Optionally, in this embodiment of the application, in a case that the ninth input is an input on a sixth sub-control area, the ninth input may be a pull-down input or a long-press input on the sixth sub-control area by a user; in a case where the above-described ninth input is an input on the fifth preview area, the ninth input may be a pull-down input or a long press input of the user in a blank area in the fifth preview area.
In step 218, the electronic device, in response to the ninth input, obtains a third preview sub-image collected by the fifth camera.
And the matching degree of the camera parameter of the fifth camera and the preview object in the fifth preview area is greater than or equal to a preset threshold value.
In this embodiment of the application, after the electronic device receives the ninth input, the electronic device may determine, according to a preset image algorithm in the electronic device, a matching degree (specifically, a matching degree of a focal length) between each camera in the electronic device and the preview object in the fifth preview area, and if the matching degree between a certain camera and the preview object in the fifth preview area is greater than or equal to the preset threshold, update the camera associated with the fifth preview area to the camera (that is, the fifth camera), and obtain a second preview sub-image acquired by the fifth camera.
If the matching degree between the plurality of cameras in the electronic device and the preview object in the fifth preview area is greater than or equal to the preset threshold, the camera with the highest matching degree with the preview object in the fifth preview area in the plurality of cameras is taken as the fifth camera; and if the matching degrees of the camera in the electronic equipment and the preview object in the fifth preview area are both smaller than a preset threshold value, taking the camera with the highest matching degree with the preview object in the fifth preview area in the camera in the electronic equipment as the fifth camera.
Illustratively, as shown in fig. 11A, when the user makes a two-finger pull-down input on the sub control area 42, the electronic device may update the camera associated with the preview area 45 from camera 1 to camera 3 in response to the input, so that the electronic device may update the camera identification in the sub control area 42, and thus the camera identification "1", to camera identification "3" as shown in fig. 11B, and update the preview image displayed in the video preview interface to a preview image synthesized from the preview sub-images captured by camera "3", camera "2" and camera "4".
Step 219, the electronic device synthesizes the third preview sub-image and the preview sub-image acquired by the sixth camera to obtain a third preview image.
The sixth camera may be a camera of the M cameras except for the camera indicated by the camera identifier in the sixth sub-control area.
The video recording method provided by the embodiment of the application can be applied to a scene of updating the camera participating in video recording, and because the electronic equipment can determine that the user wants to update the camera associated with the fifth preview area after receiving the eighth input, the electronic equipment can update the camera associated with the fifth preview area into the camera with high matching degree with the preview object in the fifth preview area, so that the camera associated with the fifth preview area can be an optimal camera in the scene, the matching degree between the camera participating in video recording and the recorded scene can be higher, and the effect of recording the obtained video can be further improved.
The following describes a video recording apparatus provided in an embodiment of the present application, with an example of a video recording apparatus executing a video recording method in the embodiment of the present application.
As shown in fig. 12, an embodiment of the present application provides a video recording apparatus 500, where the video recording apparatus 500 includes a display module 501, a receiving module 502, and an output module 503. The display module 501 is configured to display a video preview interface, where a first preview image displayed in the video preview interface is synthesized from preview sub-images of M preview areas acquired by M cameras; a receiving module 502, configured to receive a first input of a user; an output module 503, configured to respond to the first input, and output a target video according to the video images of the M preview areas acquired by the M cameras; each preview area in the M preview areas is associated with a camera, and M is an integer larger than 1.
Optionally, the video recording apparatus further includes a processing module; the receiving module is further used for receiving second input of a user to a first preview object in the video preview interface after the video preview interface is displayed, wherein a first preview sub-image of a preview area where the first preview object is located is acquired by a first camera in the M cameras; the processing module is used for responding to second input, establishing an incidence relation between the second camera and the first sub-preview area, and acquiring a second preview sub-image acquired by the second camera; and synthesizing the second preview sub-image and the preview sub-images acquired by the M cameras to obtain a second preview image, wherein the first sub-preview area is an area where the first preview object is located in the preview area where the first preview object is located.
Optionally, the display module is further configured to display the identifiers of the K cameras before establishing an association relationship between the second camera and the first sub-preview area and acquiring a second preview sub-image acquired by the second camera; the receiving module is also used for receiving a third input of the user to the identification of a second camera in the K cameras; the processing module is specifically used for responding to third input, establishing an incidence relation between the second camera and the first sub-preview area, and acquiring a second preview sub-image acquired by the second camera; the K cameras are all cameras in the video recording device, or the K cameras are cameras in the video recording device except the M cameras, or camera parameters of the K cameras are matched with the first preview object.
Optionally, the video preview interface further includes an identifier control area, where the identifier control area includes M sub-control areas, and each sub-control area includes a camera identifier.
Optionally, the video recording device further comprises an updating module; the receiving module is further used for receiving a fourth input of the user on a first sub-control area in the M sub-control areas; the updating module is used for responding to a fourth input and updating the first camera identification in the first sub-control area into a second camera identification; and the second camera identification is determined according to the input parameters of the fourth input.
Optionally, the video recording device further comprises an updating module; the receiving module is further used for receiving a fifth input of the user on a second sub-control area in the M sub-control areas; the updating module is used for responding to a fifth input and updating the video recording frame rate of a first preview area in the M preview areas from the first frame rate to a second frame rate; the first preview area is a preview area associated with a camera indicated by the camera identification displayed in the second sub-control area.
Optionally, the receiving module is further configured to receive a sixth input, to the second sub-control area and the third sub-control area, from the user after the video frame rate of the first preview area in the M preview areas is updated from the first frame rate to the second frame rate; the updating module is further configured to update the video frame rate of the transition preview area to a third frame rate in response to a sixth input, where the transition preview area includes at least one of: a part of the first preview area and a part of the second preview area in the M preview areas, wherein the second preview area is a preview area related to a camera indicated by the camera identification displayed in the third sub-control area; and the value of the third frame rate is between the second frame rate and a fourth frame rate, and the fourth frame rate is the video recording frame rate of the second preview area.
Optionally, the video recording apparatus further includes an update module; the receiving module is further used for receiving a seventh input of the user on a fourth sub-control area in the M sub-control areas; the updating module is used for responding to a seventh input, updating the video frame rate of a second sub preview area in the third preview area from a fifth frame rate to a sixth frame rate, wherein the second sub preview area is an area except the third sub preview area in the third preview area, the third sub preview area is an area where a third preview object in the third preview area is located, and the third preview area is a preview area associated with a third camera indicated by the camera identifier displayed in a fourth sub control area; wherein the third preview object comprises at least one of: the preview object selected by the third camera and the preview object selected by the fourth camera; the fourth camera is a camera except M cameras in the video recording device.
Optionally, the video recording device further comprises a processing module; the receiving module is further used for receiving an eighth input of the user on a fifth sub-control area in the M sub-control areas after the video preview interface is displayed; a processing module, configured to, in response to the eighth input, execute a target process, the target process including at least one of: performing first image processing on a fourth preview object in the fourth preview area, and performing second image processing on preview objects except the fourth preview object in the fourth preview area; and the object distance of the fourth preview object is greater than or equal to a preset threshold, and the fourth preview area is a preview area associated with the camera indicated by the camera identifier in the fifth sub-control area.
Optionally, the video recording apparatus further includes a processing module; the receiving module is further configured to receive a ninth input of the user after the video preview interface is displayed, where the ninth input is an input on a sixth sub-control area of the M sub-control areas or an input on a fifth preview area, and the fifth preview area is a preview area associated with a camera indicated by a camera identifier in the sixth sub-control area; the processing module is used for responding to the ninth input and acquiring a third preview sub-image acquired by the fifth camera; synthesizing the fifth preview subimage and the preview subimage acquired by the sixth camera to obtain a third preview image; and the matching degree of the camera parameters of the fifth camera and the preview object in the fifth preview area is greater than or equal to a preset threshold value, and the sixth camera is a camera except the camera indicated by the camera identifier in the sixth sub-control area in the M cameras.
The embodiment of the application provides a video recording device can be applied to the scene of video recording, because the target video of recording is according to the video image output of a plurality of camera collections, and the preview subimage in the different preview areas in the video preview interface is that different camera collections in these a plurality of cameras, and the parameter of making a video recording of different cameras is probably different, consequently can obtain the preview image of different display effects, so can obtain the video image of different display effects, thereby can enrich the display effect of the video image in the video of output, consequently can make the video recording function diversified.
The video recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic device. 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 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 limited in particular.
The video recording 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 recording device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
Optionally, as shown in fig. 13, an electronic device 600 is further provided in an embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction that is stored in the memory 602 and is executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing video recording method embodiment, and can achieve the same technical effect, and is not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic hardware structure diagram of an electronic device implementing the embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 106 is configured to display a video preview interface, where a first preview image displayed in the video preview interface is synthesized from preview sub-images of M preview areas acquired by M cameras; a user input unit 107 for receiving a first input by a user; an input unit 104, configured to output, in response to a first input, a target video according to video images of M preview areas acquired by M cameras; each preview area in the M preview areas is associated with a camera, and M is an integer larger than 1.
The embodiment of the application provides electronic equipment which can be applied to a video recording scene, and as recorded target videos are output according to video images acquired by a plurality of cameras, preview sub-images in different preview areas in a video preview interface are acquired by different cameras in the plurality of cameras, and shooting parameters of different cameras are possibly different, preview images with different display effects can be obtained, so that video images with different display effects can be obtained, the display effect of the video images in the output video can be enriched, and the video recording function can be diversified.
It should be noted that, in the embodiment of the present application, the receiving module in the video recording apparatus may be implemented by the user input unit 107; the display module in the video recording apparatus may be implemented by the display unit 106; the output module in the video recording apparatus may be implemented by the input unit 104; the updating module and the processing module in the video recording apparatus may be implemented by the processor 110.
It should be understood that, in the embodiment of the present application, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. The electronic device provides wireless broadband internet access to the user through the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, accessing streaming media, and the like. The audio output unit 103 may include a speaker, a buzzer, a receiver, and the like. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing video recording method embodiment, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is a processor in the electronic device in the embodiment. The readable storage medium may include a computer-readable storage medium, such as a computer Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
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 execute a program or an instruction to implement each process of the above video recording method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising 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. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A method for video recording, the method comprising:
displaying a video preview interface, wherein a first preview image displayed in the video preview interface is synthesized by preview subimages of M preview areas acquired by M cameras;
receiving a first input of a user;
responding to the first input, and outputting a target video according to the video images of the M preview areas acquired by the M cameras;
each preview area in the M preview areas is associated with a camera, and M is an integer greater than 1;
after the video preview interface is displayed, the method further includes:
receiving second input of a user to a first preview object in the video preview interface, wherein a first preview sub-image of a preview area where the first preview object is located is acquired by a first camera in the M cameras;
responding to the second input, establishing an incidence relation between a second camera and a first sub-preview area, and acquiring a second preview sub-image acquired by the second camera, wherein the first sub-preview area is an area where the first preview object is located in a preview area where the first preview object is located;
replacing the image content corresponding to the first sub preview area in the preview area where the first preview object is located by the second preview sub-image;
synthesizing the second preview subimage and the preview subimages acquired by the M cameras to obtain a second preview image;
the video preview interface further comprises an identification control area, wherein the identification control area comprises M sub-control areas, and each sub-control area comprises a camera identification;
the method further comprises the following steps:
receiving a fifth input of a user on a second sub-control zone of the M sub-control zones;
responding to the fifth input, and updating the video frame rate of a first preview area in the M preview areas from a first frame rate to a second frame rate;
the first preview area is a preview area associated with a camera indicated by the camera identification displayed in the second sub-control area;
after the video frame rate of the first preview area in the M preview areas is updated from the first frame rate to the second frame rate, the method further includes:
receiving sixth input of the user to the second sub control area and the third sub control area;
in response to the sixth input, updating a video frame rate of a transition preview area to a third frame rate, the transition preview area including at least one of: a part of the preview area in the first preview area, and a part of the preview area in a second preview area in the M preview areas, where the second preview area is a preview area associated with a camera indicated by a camera identifier displayed in the third sub control area;
and the value of the third frame rate is between the second frame rate and a fourth frame rate, and the fourth frame rate is the video frame rate of the second preview area.
2. The method according to claim 1, wherein before the establishing of the association relationship between the second camera and the first sub-preview area and the obtaining of the second preview sub-image acquired by the second camera, the method further comprises:
displaying the marks of the K cameras;
receiving a third input of the user to the identification of the second camera in the K cameras;
the acquiring of the second preview sub-image acquired by the second camera includes:
responding to the third input, establishing an incidence relation between the second camera and the first sub-preview area, and acquiring a second preview sub-image acquired by the second camera;
the K cameras are all cameras in a video recording device, or the K cameras are cameras in the video recording device except the M cameras, or camera parameters of the K cameras are matched with the first preview object.
3. The method of claim 1, further comprising:
receiving a fourth input of a user on a first sub-control zone of the M sub-control zones;
updating a first camera identification in the first sub-control area to a second camera identification in response to the fourth input;
wherein the second camera identification is determined according to the input parameter of the fourth input.
4. The method of claim 1, further comprising:
receiving a seventh input of a user on a fourth sub-control zone of the M sub-control zones;
in response to the seventh input, updating a video frame rate of a second sub-preview area in a third preview area from a fifth frame rate to a sixth frame rate, where the second sub-preview area is an area other than a third sub-preview area in the third preview area, the third sub-preview area is an area where a third preview object is located in the third preview area, and the third preview area is a preview area associated with a third camera indicated by a camera identifier displayed in the fourth sub-control area;
wherein the third preview object comprises at least one of: the preview object selected by the third camera and the preview object selected by the fourth camera; the fourth camera is a camera in the video recording device except the M cameras.
5. The method of claim 1, wherein after displaying the video preview interface, the method further comprises:
receiving an eighth input of a user on a fifth sub-control area of the M sub-control areas;
in response to the eighth input, performing a target process, the target process comprising at least one of: performing first image processing on a fourth preview object in the fourth preview area, and performing second image processing on preview objects except the fourth preview object in the fourth preview area;
and the object distance of the fourth preview object is greater than or equal to a preset threshold, and the fourth preview area is a preview area associated with the camera indicated by the camera identifier in the fifth sub-control area.
6. The method of claim 1, wherein after displaying the video preview interface, the method further comprises:
receiving a ninth input of a user, wherein the ninth input is an input on a sixth sub-control area in the M sub-control areas or an input on a fifth preview area, and the fifth preview area is a preview area associated with a camera indicated by a camera identifier in the sixth sub-control area;
responding to the ninth input, acquiring a third preview sub-image acquired by a fifth camera, wherein the matching degree of the camera parameter of the fifth camera and the preview object in the fifth preview area is greater than or equal to a preset threshold value;
synthesizing the third preview subimage and a preview subimage acquired by a sixth camera to obtain a third preview image;
and the sixth camera is a camera except the camera indicated by the camera identifier in the sixth sub-control area in the M cameras.
7. A video recording device is characterized by comprising a display module, a receiving module, a processing module and an output module;
the display module is used for displaying a video preview interface, and a first preview image displayed in the video preview interface is synthesized by preview sub-images of M preview areas acquired by M cameras;
the receiving module is used for receiving a first input of a user;
the output module is used for responding to the first input and outputting a target video according to the video images of the M preview areas acquired by the M cameras;
each preview area in the M preview areas is associated with a camera, and M is an integer greater than 1;
the receiving module is further configured to receive a second input of a user to a first preview object in the video preview interface after the video preview interface is displayed, where a first preview sub-image of a preview area where the first preview object is located is acquired by a first camera in the M cameras;
the processing module is used for responding to the second input, establishing an incidence relation between a second camera and the first sub-preview area, and acquiring a second preview sub-image acquired by the second camera; replacing the image content corresponding to the first sub preview area in the preview area where the first preview object is located by the second preview sub-image; synthesizing the second preview subimage with the preview subimages acquired by the M cameras to obtain a second preview image, wherein the first sub-preview area is an area where the first preview object is located in a preview area where the first preview object is located;
the video preview interface also comprises an identification control area, wherein the identification control area comprises M sub control areas, and each sub control area comprises a camera identification;
the video recording device also comprises an updating module;
the receiving module is further configured to receive a fifth input of a user on a second sub-control area of the M sub-control areas;
the updating module is configured to update, in response to the fifth input, a video frame rate of a first preview area of the M preview areas from a first frame rate to a second frame rate;
the first preview area is a preview area associated with a camera indicated by the camera identification displayed in the second sub-control area;
the receiving module is further configured to receive a sixth input from the user to the second sub-control area and the third sub-control area after the video frame rate of the first preview area in the M preview areas is updated from the first frame rate to the second frame rate;
the update module is further configured to update the video frame rate of a transition preview area to a third frame rate in response to the sixth input, where the transition preview area includes at least one of: a part of the preview area in the first preview area, and a part of the preview area in a second preview area in the M preview areas, where the second preview area is a preview area associated with a camera indicated by a camera identifier displayed in the third sub control area;
and the value of the third frame rate is between the second frame rate and a fourth frame rate, and the fourth frame rate is the video frame rate of the second preview area.
8. The device according to claim 7, wherein the display module is further configured to display the identifiers of the K cameras before establishing the association relationship between the second camera and the first sub-preview area and acquiring the second preview sub-image acquired by the second camera;
the receiving module is further configured to receive a third input of an identifier of the second camera of the K cameras from a user;
the processing module is specifically configured to respond to the third input, establish an association relationship between the second camera and the first sub-preview area, and acquire the second preview sub-image acquired by the second camera;
the K cameras are all cameras in the video recording device, or the K cameras are cameras in the video recording device except the M cameras, or camera parameters of the K cameras are matched with the first preview object.
9. The apparatus of claim 7,
the receiving module is further configured to receive a fourth input of the user on a first sub-control area of the M sub-control areas;
the update module is configured to update the first camera identifier in the first sub-control area to the second camera identifier in response to the fourth input;
wherein the second camera identification is determined according to the input parameter of the fourth input.
10. The apparatus of claim 7, wherein the receiving module is further configured to receive a seventh input from a user on a fourth sub-control area of the M sub-control areas;
the update module is configured to update, in response to the seventh input, a video frame rate of a second sub-preview area in a third preview area from a fifth frame rate to a sixth frame rate, where the second sub-preview area is an area of the third preview area except for a third sub-preview area, the third sub-preview area is an area where a third preview object is located in the third preview area, and the third preview area is a preview area associated with a third camera indicated by a camera identifier displayed in the fourth sub-control area;
wherein the third preview object comprises at least one of: the preview object selected by the third camera and the preview object selected by the fourth camera; the fourth camera is a camera in the video recording device except the M cameras.
11. The apparatus of claim 7,
the receiving module is further configured to receive an eighth input of a user on a fifth sub-control area of the M sub-control areas after displaying the video preview interface;
the processing module, configured to, in response to the eighth input, perform a target process, the target process including at least one of: performing first image processing on a fourth preview object in the fourth preview area, and performing second image processing on preview objects except the fourth preview object in the fourth preview area;
and the object distance of the fourth preview object is greater than or equal to a preset threshold, and the fourth preview area is a preview area associated with a camera indicated by the camera identifier in the fifth sub-control area.
12. The apparatus according to claim 7, wherein the receiving module is further configured to receive a ninth input from the user after displaying the video recording preview interface, where the ninth input is an input on a sixth sub-control area of the M sub-control areas or an input on a fifth preview area, and the fifth preview area is a preview area associated with a camera indicated by a camera identifier in the sixth sub-control area;
the processing module is used for responding to the ninth input and acquiring a third preview sub-image acquired by a fifth camera; synthesizing the third preview subimage with a preview subimage acquired by a sixth camera to obtain a third preview image;
the matching degree of the camera parameters of the fifth camera and the preview object in the fifth preview area is greater than or equal to a preset threshold, and the sixth camera is a camera in the M cameras except the camera indicated by the camera identifier in the sixth sub-control area.
13. 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, when executed by the processor, implementing the steps of the video recording method according to any one of claims 1-6.
14. A readable storage medium, on which a program or instructions are stored which, when executed by a processor, carry out the steps of the video recording method according to any one of claims 1 to 6.
CN202110139671.6A 2021-02-01 2021-02-01 Video recording method, video recording device, electronic equipment and medium Active CN113014801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110139671.6A CN113014801B (en) 2021-02-01 2021-02-01 Video recording method, video recording device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110139671.6A CN113014801B (en) 2021-02-01 2021-02-01 Video recording method, video recording device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN113014801A CN113014801A (en) 2021-06-22
CN113014801B true CN113014801B (en) 2022-11-29

Family

ID=76384805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110139671.6A Active CN113014801B (en) 2021-02-01 2021-02-01 Video recording method, video recording device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN113014801B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794829B (en) * 2021-08-02 2023-11-10 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN113766129B (en) * 2021-09-13 2023-12-05 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
CN114520877A (en) * 2022-02-10 2022-05-20 维沃移动通信有限公司 Video recording method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323474A (en) * 2014-07-31 2016-02-10 佳能株式会社 Image capturing apparatus and control method therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713942B (en) * 2016-12-27 2020-06-09 广州华多网络科技有限公司 Video processing method and device
CN109640056B (en) * 2018-12-27 2021-05-18 深圳市有方科技股份有限公司 USB camera monitoring system and method based on Android platform
CN110072070B (en) * 2019-03-18 2021-03-23 华为技术有限公司 Multi-channel video recording method, equipment and medium
CN113542581A (en) * 2020-04-22 2021-10-22 华为技术有限公司 View finding method of multi-channel video, graphical user interface and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323474A (en) * 2014-07-31 2016-02-10 佳能株式会社 Image capturing apparatus and control method therefor

Also Published As

Publication number Publication date
CN113014801A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
WO2021093583A1 (en) Video stream processing method and apparatus, terminal device, and computer readable storage medium
WO2022012657A1 (en) Image editing method and apparatus, and electronic device
CN112954199B (en) Video recording method and device
CN112911147B (en) Display control method, display control device and electronic equipment
CN112672061B (en) Video shooting method and device, electronic equipment and medium
CN113794829B (en) Shooting method and device and electronic equipment
CN110086998B (en) Shooting method and terminal
CN113194256B (en) Shooting method, shooting device, electronic equipment and storage medium
CN112449110B (en) Image processing method and device and electronic equipment
CN110650304B (en) Video generation method and electronic equipment
CN113852757B (en) Video processing method, device, equipment and storage medium
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN114025100B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112702518B (en) Shooting method and device and electronic equipment
CN111953907B (en) Composition method and device
CN112367487B (en) Video recording method and electronic equipment
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN115037874A (en) Photographing method and device and electronic equipment
CN114338874A (en) Image display method of electronic device, image processing circuit and electronic device
CN114245017A (en) Shooting method and device and electronic equipment
CN114125297A (en) Video shooting method and device, electronic equipment and storage medium
CN112261483A (en) Video output method and device
CN113139367A (en) Document generation method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment

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