CN114520878A - Video shooting method and device and electronic equipment - Google Patents

Video shooting method and device and electronic equipment Download PDF

Info

Publication number
CN114520878A
CN114520878A CN202210130494.XA CN202210130494A CN114520878A CN 114520878 A CN114520878 A CN 114520878A CN 202210130494 A CN202210130494 A CN 202210130494A CN 114520878 A CN114520878 A CN 114520878A
Authority
CN
China
Prior art keywords
preview image
video
image
shooting
adjusting
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.)
Pending
Application number
CN202210130494.XA
Other languages
Chinese (zh)
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 CN202210130494.XA priority Critical patent/CN114520878A/en
Publication of CN114520878A publication Critical patent/CN114520878A/en
Pending legal-status Critical Current

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a video shooting method and device and electronic equipment, and belongs to the field of electronic equipment. The method comprises the following steps: displaying a first preview image, the first preview image including a first object; adjusting shooting parameters of the first preview image according to the second preview image; synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image; wherein the shooting parameters of the first preview image include at least one of: a display position of the first object in the first preview image; an image proportion of the first object in the first preview image; a background image of the first preview image.

Description

Video shooting method and device and electronic equipment
Technical Field
The application belongs to the field of electronic equipment, and particularly relates to a video shooting method and device and electronic equipment.
Background
With the improvement of the functions of mobile phones and the development of various software applications, more and more mobile phones support the function of multi-user video chat, and users can also realize chorus, skewering or extension of songs and the like through the function of multi-user video chat. However, when a song is chorus, a song is broiled, or a song is connected, in order to achieve a better video effect, a plurality of users are required to make adjustments respectively.
However, due to different environments and different operation methods of each person, the final synthesized video is not ideal in effect, and the synthesized video lacks consistency and harmony.
Disclosure of Invention
The embodiment of the application aims to provide a video shooting method, a video shooting device and electronic equipment, and the problem that consistency and coordination are lacked when multiple persons shoot videos in a combined mode can be solved.
In a first aspect, an embodiment of the present application provides a video shooting method, where the method includes:
displaying a first preview image, the first preview image including a first object;
adjusting shooting parameters of the first preview image according to the second preview image;
synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
In a second aspect, an embodiment of the present application provides a video capturing apparatus, including:
a display module for displaying a first preview image, the first preview image comprising a first object;
the adjusting module is used for adjusting the shooting parameters of the first preview image according to the second preview image;
the synthesizing module is used for synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first preview image is displayed, and shooting parameters of the first preview image are adjusted according to a second preview image; and synthesizing a first video and a second video and outputting a third video, wherein the first video is obtained by shooting based on the first preview image, and the second video is obtained by shooting based on the second preview image, so that the consistency and the harmony of all the videos are improved in the shooting and synthesizing process of the multi-person video.
Drawings
Fig. 1 is a schematic flowchart of a video shooting method provided in an embodiment of the present application;
FIG. 2 is a schematic display diagram of a video shooting method provided in an embodiment of the present application;
fig. 3 is another schematic flow chart of a video shooting method provided in an embodiment of the present application;
fig. 4 is a second display schematic diagram of a video shooting method according to an embodiment of the present application;
fig. 5 is a third schematic display diagram of a video shooting method according to an embodiment of the present application;
FIG. 6 is a fourth schematic display diagram of a video capture method according to an embodiment of the present application;
fig. 7 is a fifth display schematic diagram of a video shooting method according to an embodiment of the present application;
fig. 8 is a sixth schematic display diagram of a video shooting method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a video camera according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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.
The video shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1 and 2, the present application provides a video photographing method, the execution subject of which may be a terminal, in other words, the method may be executed by software or hardware installed in the terminal, the method including the following steps.
And S110, displaying a first preview image 100, wherein the first preview image 100 comprises a first object 101.
Displaying a first preview image 100 on a first terminal, wherein the first preview image 100 is an image obtained by shooting a current user, namely a first object 101, by the first terminal.
And S120, adjusting the shooting parameters of the first preview image 100 according to the second preview image 200.
The determination method of the second preview image 200 may be various, and in an embodiment, the second preview image 200 may be an image selected from multiple video images, that is, one of the users is selected as the second object 201 during the process of performing a multi-person video chat, and an image obtained by shooting the second object 201 by the second terminal is used as the second preview image 200. In practical applications, the second preview image 200 selected as a reference from the plurality of video images can better fit the current environment of each user.
In another embodiment, the selected template video image may be used as the second preview image, and the template video image may be pre-configured or may be a pre-captured or downloaded video image.
For simplicity, the following embodiments are all exemplified by selecting the second preview image from the plurality of video images.
The photographing parameters of the first preview image 100 are adjusted with reference to the second preview image 200.
Wherein the shooting parameters of the first preview image 100 include at least one of:
a display position of the first object 101 in the first preview image 100;
the image proportion of the first object 101 in the first preview image 100;
a background image of the first preview image 100.
It should be understood that the shooting parameters can be obtained in various manners, and can be obtained by a video image detection technology. And acquiring information such as the display position, the image proportion and the like of a corresponding object in the preview image by a face detection technology.
The shooting parameters of the first preview image 100 and the shooting parameters of the second preview image 200 are close enough, the same or corresponding by adjustment. For example, the display position and the image aspect ratio of the first object 101 in the first preview image 100 are adjusted to be sufficiently close to or the same as the display position and the image aspect ratio of the second object 201 in the second preview image 200, and the background image of the first preview image 100 is adjusted to correspond to or the same as the background image of the second preview image 200.
In one embodiment, the shooting parameters of the second preview image can be obtained by the first terminal according to the second preview image 200 displayed on the first terminal, as shown in fig. 2.
In another embodiment, the shooting parameters of the second preview image 200 may be acquired by the second terminal after the second preview image 200 is acquired, and then synchronously sent to other terminals including the first terminal. In this case, the second preview image 200 may or may not be displayed on the first terminal. For simplicity, the following embodiments are described by taking the first terminal as an example to display the second preview image 200.
The shooting parameters of the first preview image 100 can be adjusted in various ways, and the shooting parameters of the first preview image 100, such as the shooting magnification and shooting angle, which are automatically adjusted by the first terminal according to the needs, can be automatically adjusted by the first terminal, and the shooting parameters of the first preview image 100, such as the shooting magnification, shooting position, shooting angle, etc., of the first terminal, can be manually adjusted by the user by displaying the prompt information; the user can adjust the self station position and the like by displaying the prompt information.
S130, synthesizing a first video and a second video, and outputting a third video, wherein the first video is obtained by shooting based on the first preview image 100, and the second video is obtained by shooting based on the second preview image 200.
In one embodiment, before the S130, the method further includes:
in the case where the second preview image 200 captures a second video, a first video is captured based on the first preview image 100.
After the adjustment of the first preview image 100 is completed, video recording may be started. The first terminal captures a first video based on the first preview image 100 and the second terminal captures a second video based on the second preview image 200. And then, synthesizing the obtained first video and the second video into video images, arranging the video images into specific video images, for example, synthesizing N grid images, and outputting to obtain a third video, thereby realizing a multi-user video synthesis function and the like, and realizing video chorus/series fever/dragon connection and the like.
If the terminal for multi-person video includes other terminals besides the first terminal and the second terminal, the preview images of the other terminals may also be adjusted based on the second preview image 200, and after all the terminals finish adjusting the shooting parameters, video recording is started, and after the videos are shot based on the corresponding preview images respectively, the videos are synthesized to obtain a third video.
In the process of starting video recording, the image of the first video and the images of other videos can be adjusted in real time or periodically according to the image of the second video, so that the consistency of the images of the videos in the recording process is achieved.
According to the technical scheme of the embodiment, the shooting parameters of the first preview image are adjusted according to the second preview image by displaying the first preview image; and synthesizing a first video and a second video and outputting a third video, wherein the first video is obtained by shooting based on the first preview image, and the second video is obtained by shooting based on the second preview image, so that the consistency and the coordination of video shooting are improved in the process of shooting and synthesizing multi-person videos.
Based on the above embodiments, further, the manner of adjusting the shooting parameters of the first preview image may be varied, and is not limited to the implementation given in the embodiments of the present application.
In one embodiment, as shown in fig. 3 to 6, the S120 includes:
s121, displaying a prompt message for adjusting the shooting parameters of the first preview image 100 according to the shooting parameters of the second preview image 200, where the prompt message may be displayed in various manners and positions, and may be displayed in a manner of text or icon, displayed in the first preview image, displayed outside the first preview image, or displayed in a floating manner at any position, and may further add information such as a corresponding voice prompt, for example, as shown in fig. 4 and 5, displaying the prompt message in a floating frame 102.
And S122, receiving a first input of a user.
And S123, responding to the first input, and adjusting the shooting parameters of the first preview image.
The user can make corresponding adjustment operation as the first input according to the displayed prompt information, for example, adjust the shooting magnification of the first terminal, adjust the position or shooting angle of the first terminal, and also adjust the own station position of the user.
And responding to a first input of a user, and updating the first preview image by the first terminal according to the adjusted shooting parameter.
After the adjustment is completed once, whether the adjusted shooting parameters of the first preview image meet the requirements or not can be judged again according to the shooting parameters of the second preview image, namely, the shooting parameters are close enough or correspond to the shooting parameters of the second preview image, if the shooting parameters do not meet the requirements, the shooting parameters of the first preview image are adjusted again until the shooting parameters of the first preview image meet the requirements, and the adjustment is judged to be finished.
For adjusting the display position of the first object in the first preview image, in one embodiment, the S121 includes:
and displaying the moving direction information of the first object or the electronic equipment according to the display position of the second object in the second preview image.
The display position may include a distance between a frame of the object and each boundary of a corresponding User Interface (UI), and in one embodiment, may include a distance y from an upper boundary and a distance x from one side boundary. Specifically, as shown in fig. 4, the display position of the first object may include a distance y1 from the upper boundary and a distance x1 from the left boundary, and the display position of the second object may include a distance y2 from the upper boundary and a distance x2 from the left boundary. And comparing the display position of the first object with the display position of the second object, and displaying the first adjustment information according to the comparison result.
In one embodiment, the first adjustment information may include one or more of a moving direction, a moving distance, and a moving angle of the first object, and the moving direction may include a translational direction or a rotational direction to any direction. According to the first adjustment information, the first terminal can actively adjust the shooting angle, the position or the shooting angle of the first terminal can be manually adjusted by a user, and the position of the first terminal can be adjusted by the user. For example, as shown in FIG. 4, the first adjustment information that may be displayed in the hover frame 102 is the first object moving upward (y1-y2) and moving to the left (x1-x 2).
In another embodiment, (x1, y1) and (x2, y2) may be placed in the same coordinate system, and a connecting line between the two points may be calculated, as shown in fig. 6, and the connecting line may be displayed as the first adjustment information in the first preview image. The position or the photographing angle of the first terminal may be manually adjusted by the user according to the first adjustment information. And by combining a coordinate system, the user can adjust the first terminal according to the arrow indication direction, so that the terminal is more visual and concise.
For adjusting the image ratio of the first object in the first preview image, in one embodiment, the S121 includes:
and displaying shooting distance adjustment information of the first object or shooting magnification adjustment information of the first preview image according to the image proportion of a second object in the second preview image.
The image proportion may be a proportion of a frame corresponding to a human figure of a user or a human face in a UI of a corresponding preview image, and may be obtained according to a ratio of an area of the frame to an area of the UI, for example.
The image proportion of the first object in the first preview image is a first proportion, and the image proportion of the second object in the second preview image is a second proportion. And comparing the second ratio with the first ratio, and displaying second adjustment information according to the obtained ratio.
In one embodiment, the second adjustment information may include shooting distance adjustment information of the first object, such as displaying close to or far from a camera. The first ratio may be adjusted by the user by adjusting the position of the first terminal or adjusting the station position of the user itself based on the second adjustment information.
In another embodiment, the second adjustment information may further include shooting magnification adjustment information of the first preview image, for example, if the second ratio is greater than the first ratio, a prompt message of zooming is displayed, and if the second ratio is smaller than the first ratio, a prompt message of zooming is displayed. The first terminal may automatically adjust the photographing magnification according to the second adjustment information, or the user may adjust the first ratio by manually adjusting the photographing magnification of the first terminal. The shooting magnification adjustment information may also be the shooting magnification of the first terminal after adjustment, that is, the magnification that needs to be switched.
As shown in fig. 5, if the second ratio a2 is 0.45 and the first ratio a1 is 0.15, a magnification of 3 times may be displayed in the floating frame 102 according to the ratio of the second ratio to the first ratio.
For adjusting the background image of the first preview image, the picture environment of the first preview image can be adjusted through the video filter function and the background switching function, so that the effect that the picture environments of the preview images are consistent is achieved.
In one embodiment, the S120 further includes:
and adjusting the background image of the first preview image into the background image of the second preview image.
In another embodiment, the background image of each preview image may also be a selected target image or a selected area of a target image, and the S120 further includes:
when the background image of the second preview image is an image in a first area of a target image, adjusting the background image of the first preview image to an image in a second area of the target image;
wherein the image in the first region is different from the image in the second region.
As shown in fig. 7, the target image 300 is divided into a plurality of regions as a large background image, and adjacent regions may be completely different or partially overlapped. Each preview image selects an image in one of the regions as a background image for the preview image. After the video recording is completed, the videos are placed in the corresponding areas of the target image 300 and spliced into a third video. For example, if the image in the second area 302 of the first preview image selection target image 300 is used as the background image and the first area 301 of the second preview image selection target image 300 is used as the background image, after the recording is completed, the first video is placed in the second area 302 of the target image, the second video is placed in the first area 301 of the target image, and the third video is spliced. And finally, the multiple persons sing together differently, and the effect of presenting the effect that the multiple persons sing together in the same place is realized.
For the adjustment of the picture environment, after the third video is obtained by synthesis, the picture environment in the third video can be integrally adjusted and replaced by the video filter function and the background switching function.
It should be understood that, in the process of adjusting the shooting parameters of the first preview image according to the second preview image, the shooting parameters may be sequentially adjusted according to a set order, for example, the display position of the first object may be adjusted first, then the image ratio of the first object may be adjusted, then the background image of the first preview image may be adjusted, or the image ratio of the first object may be adjusted first, then the display position and the background image of the first object may be adjusted, and so on. The embodiment of the present application gives an example of one of the implementation modes:
1. when a multi-person video call is carried out, selecting a user A as a second object 201, acquiring a second preview image 200, and acquiring shooting parameters of the second preview image 200 through a face detection technology;
2. with the same face detection technique, the first ratio of the first preview image 100 is obtained, and as shown in fig. 5, if the second ratio a2 is 0.45, the first ratio is 0.15. The magnification is 3 times displayed in the floating frame 102. And the user adjusts the shooting magnification of the first terminal according to the prompt message until the adjusted first ratio and the second ratio are close enough, and if the image ratio adjustment is finished, as shown in fig. 4, the user determines that the image ratio adjustment is finished.
3. After the image occupation ratio is adjusted, the image occupation ratio is kept stable, and the display position of the first object is further adjusted, as shown in fig. 4, the distance y2 between the person frame of the second object and the corresponding upper boundary and the distance x2 between the person frame of the first object and the corresponding upper boundary and the distance y1 between the person frame of the first object and the corresponding left boundary and the distance x1 between the person frame of the first object and the corresponding upper boundary are acquired.
4. By comparing the display position of the first object and the display position of the second object, the display moves upward (y1-y2) and moves leftward (x1-x2) in the floating frame 102. The user adjusts the display position of the first object according to the prompt information until it is sufficiently close to the display position of the second object, as shown in fig. 8.
5. After the image proportion and the display position of the corresponding preview image of all other terminals are adjusted, the picture environment of the first preview image is adjusted to be consistent with the picture environment of the second preview image through the video filter function and the background switching function.
6. And starting video recording, for example, starting a multi-person video chorus, obtaining a first video after the chorus is finished, synthesizing the first video with videos recorded by other terminals including a second video, and synthesizing N grids to realize the recording of the multi-person chorus video.
In another embodiment, if the terminal employs a camera with a laser ranging function, the shooting parameters may further include a shooting distance, where the shooting distance of the first object is a first distance d1, and the shooting distance of the second object is a second distance d 2. The ratio of the image occupation ratio of the second object to the image occupation ratio of the first object can also be obtained by the ratio of the first distance d1 to the second distance d 2. At this time, the S121 includes:
and displaying shooting distance adjustment information of the first object or shooting magnification adjustment information of the first preview image according to the shooting distance of the second object in the second preview image. For example, in a case where the photographing magnification of the first terminal is the same as the photographing magnification of the second terminal, the second adjustment information may be displayed according to a ratio of the second distance to the first distance.
An example of adjusting the shooting parameters of the first preview image according to the second preview image is given based on a camera with a laser ranging function in the embodiment of the present application:
1. as shown in fig. 5, the cameras of the terminals having the laser ranging function are turned on, the second distance d2 of the second object and the first distance d1 of the first object are obtained, and the ratio of d2 to d1 is calculated, for example, 0.8 times, the current shooting magnification of the first terminal is multiplied by the ratio, so that the magnification to be switched is obtained, for example, if the current shooting magnification is 1X, the magnification to be switched is 1X 0.8X, and the display is switched to 0.8X in the suspension frame 102. The shooting magnification can be more accurately adjusted by combining the laser ranging function, and the shooting magnification can be quickly adjusted in place.
2. After the image occupation ratio is adjusted, as shown in fig. 6, the distance y2 from the corresponding upper boundary and the distance x2 from the left boundary of the person frame of the second object, and the distance y1 from the corresponding upper boundary and the distance x1 from the left boundary of the person frame of the first object are obtained.
3. The connecting line between the two points is calculated by placing (x1, y1) and (x2, y2) in the same coordinate system, and as shown in fig. 6, the connecting line is displayed in the first preview image as first adjustment information, prompting the user to move the first object in the direction of the connecting line, and finally, the display position of the first object is adjusted to be close to or the same as that of the second object.
4. After the image occupation ratios and the display positions of the preview images corresponding to all other terminals are adjusted, as shown in fig. 7, the target image is divided into a plurality of areas as a large background image, and each terminal selects an image in one of the areas as the background image corresponding to the preview image.
5. Starting video recording, for example, starting a multi-person video chorus, obtaining a first video after the chorus is finished, and splicing the first video and videos recorded by other terminals including a second video into the same picture similar to a target image, so that when multiple persons chorus at different places, the effect of video recording is that the multiple persons chorus together at the same place.
According to the technical scheme of the embodiment, the prompt information for adjusting the shooting parameters of the first preview image is displayed according to the shooting parameters of the second preview image, the first input of the user is received, and all the shooting parameters of the first preview image are adjusted in sequence, so that the consistency and the harmony of all videos in the multi-user video shooting and synthesizing process are improved.
It should be noted that, in the video shooting method provided in the embodiment of the present application, the execution subject may be a video shooting device, or a control module in the video shooting device for executing the video shooting method. In the embodiment of the present application, a video shooting method executed by a video shooting device is taken as an example, and the video shooting device provided in the embodiment of the present application is described.
As shown in fig. 9, the video photographing apparatus includes: a display module 901, an adjustment module 902 and a composition module 903.
The display module 901 is configured to display a first preview image, where the first preview image includes a first object; the adjusting module 902 is configured to adjust a shooting parameter of the first preview image according to the second preview image; the composition module 903 is configured to combine a first video and a second video, and output a third video, where the first video is obtained by shooting based on the first preview image, and the second video is obtained by shooting based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
Further, before the synthesizing the first video and the second video and outputting the third video, the synthesizing module 903 is further configured to: and shooting a first video based on the first preview image when the second preview image shoots a second video.
According to the technical scheme of the embodiment, the shooting parameters of the first preview image are adjusted according to the second preview image by displaying the first preview image; and synthesizing a first video and a second video and outputting a third video, wherein the first video is obtained by shooting based on the first preview image, and the second video is obtained by shooting based on the second preview image, so that the consistency and the harmony of all the videos are improved in the shooting and synthesizing process of the multi-person video.
Based on the above embodiment, further, the adjusting module 902 is configured to:
displaying prompt information for adjusting the shooting parameters of the first preview image according to the shooting parameters of the second preview image;
receiving a first input of a user;
and responding to the first input, and adjusting shooting parameters of the first preview image.
Further, the adjusting module 902 is configured to: and displaying the moving direction information of the first object or the electronic equipment according to the display position of the second object in the second preview image.
Further, the adjusting module 902 is configured to: and displaying shooting distance adjustment information of the first object or shooting magnification adjustment information of the first preview image according to the image proportion of a second object in the second preview image.
Further, the adjusting module 902 is configured to: and adjusting the background image of the first preview image into the background image of the second preview image.
Further, the adjusting module 902 is configured to: when the background image of the second preview image is an image in a first area of a target image, adjusting the background image of the first preview image to an image in a second area of the target image;
wherein the image in the first region is different from the image in the second region.
According to the technical scheme of the embodiment, the prompt information for adjusting the shooting parameters of the first preview image is displayed according to the shooting parameters of the second preview image, the first input of the user is received, and all the shooting parameters of the first preview image are adjusted in sequence, so that the consistency and the harmony of all videos in the multi-user video shooting and synthesizing process are improved.
The video shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video capture device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video shooting device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 8, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction stored in the memory 1002 and executable on the processor 1001, where the program or the instruction is executed by the processor 1001 to implement each process of the above-mentioned video shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
The display unit 1106 is configured to display a first preview image, where the first preview image includes a first object;
processor 1110 is configured to:
adjusting shooting parameters of the first preview image according to the second preview image;
synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
Further, the input unit 1104 is configured to, in a case where the second preview image captures a second video, capture a first video based on the first preview image.
The embodiment of the application improves the consistency and the harmony of each video in the process of shooting and synthesizing multi-person videos.
Further, the display unit 1106 is configured to display prompt information for adjusting the shooting parameters of the first preview image according to the shooting parameters of the second preview image.
A user input unit 1107 is used to receive a first input from a user.
A processor 1110 for adjusting a photographing parameter of the first preview image in response to the first input.
Further, a display unit 1106 is configured to display the moving direction information of the first object or the electronic device according to the display position of the second object in the second preview image.
Further, a display unit 1106 is configured to display shooting distance adjustment information of the first object or shooting magnification adjustment information of the first preview image according to an image proportion of a second object in the second preview image.
Further, the processor 1110 is configured to adjust a background image of the first preview image to a background image of the second preview image.
Further, the processor 1110 is configured to, in a case that the background image of the second preview image is an image in a first region of a target image, adjust the background image of the first preview image to an image in a second region of the target image;
wherein the image in the first region is different from the image in the second region.
The embodiment of the application improves the consistency and harmony of each video in the process of shooting and synthesizing multi-person videos.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 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 1109 may be used for storing software programs and various data including, but not limited to, application programs and an operating system. Processor 1110 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above video shooting method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of video capture, the method comprising:
displaying a first preview image, the first preview image including a first object;
adjusting shooting parameters of the first preview image according to the second preview image;
synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
2. The method of claim 1, wherein the adjusting the shooting parameters of the first preview image according to the second preview image comprises:
displaying prompt information for adjusting the shooting parameters of the first preview image according to the shooting parameters of the second preview image;
receiving a first input of a user;
and responding to the first input, and adjusting shooting parameters of the first preview image.
3. The method according to claim 2, wherein the displaying the prompt message for adjusting the shooting parameters of the first preview image according to the shooting parameters of the second preview image comprises:
and displaying the moving direction information of the first object or the electronic equipment according to the display position of the second object in the second preview image.
4. The method according to claim 2, wherein the displaying the prompt message for adjusting the shooting parameters of the first preview image according to the shooting parameters of the second preview image comprises:
and displaying shooting distance adjustment information of the first object or shooting magnification adjustment information of the first preview image according to the image proportion of a second object in the second preview image.
5. The method of claim 1, wherein the adjusting the shooting parameters of the first preview image according to the second preview image comprises:
and adjusting the background image of the first preview image into the background image of the second preview image.
6. The method of claim 1, wherein the adjusting the shooting parameters of the first preview image according to the second preview image comprises:
when the background image of the second preview image is an image in a first area of a target image, adjusting the background image of the first preview image to an image in a second area of the target image;
wherein the image in the first region is different from the image in the second region.
7. The method according to any one of claims 1-6, wherein prior to said combining the first video and the second video and outputting the third video, the method further comprises:
and shooting a first video based on the first preview image when the second preview image shoots a second video.
8. A video camera, comprising:
a display module for displaying a first preview image, the first preview image comprising a first object;
the adjusting module is used for adjusting the shooting parameters of the first preview image according to the second preview image;
the synthesizing module is used for synthesizing a first video and a second video and outputting a third video, wherein the first video is shot based on the first preview image, and the second video is shot based on the second preview image;
wherein the shooting parameters of the first preview image include at least one of:
a display position of the first object in the first preview image;
an image proportion of the first object in the first preview image;
a background image of the first preview image.
9. 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 capture method of any of claims 1-7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the video shooting method according to any one of claims 1 to 7.
CN202210130494.XA 2022-02-11 2022-02-11 Video shooting method and device and electronic equipment Pending CN114520878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210130494.XA CN114520878A (en) 2022-02-11 2022-02-11 Video shooting method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210130494.XA CN114520878A (en) 2022-02-11 2022-02-11 Video shooting method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114520878A true CN114520878A (en) 2022-05-20

Family

ID=81596377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210130494.XA Pending CN114520878A (en) 2022-02-11 2022-02-11 Video shooting method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114520878A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796610A (en) * 2015-04-20 2015-07-22 广东欧珀移动通信有限公司 Mobile terminal and camera sharing method, device and system thereof
CN107820020A (en) * 2017-12-06 2018-03-20 广东欧珀移动通信有限公司 Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
CN108090491A (en) * 2017-11-08 2018-05-29 北京川上科技有限公司 A kind of video recording method, device and computer readable storage medium
CN109697689A (en) * 2017-10-23 2019-04-30 北京京东尚科信息技术有限公司 Storage medium, electronic equipment, image synthesizing method and device
CN112887601A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Shooting method and device and electronic equipment
WO2021104508A1 (en) * 2019-11-29 2021-06-03 华为技术有限公司 Video photographing method and electronic device
US20210281669A1 (en) * 2018-11-28 2021-09-09 Vivo Mobile Communication Co., Ltd. Shooting method and terminal
CN113762058A (en) * 2021-05-21 2021-12-07 腾讯科技(深圳)有限公司 Video synthesis method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796610A (en) * 2015-04-20 2015-07-22 广东欧珀移动通信有限公司 Mobile terminal and camera sharing method, device and system thereof
CN109697689A (en) * 2017-10-23 2019-04-30 北京京东尚科信息技术有限公司 Storage medium, electronic equipment, image synthesizing method and device
CN108090491A (en) * 2017-11-08 2018-05-29 北京川上科技有限公司 A kind of video recording method, device and computer readable storage medium
CN107820020A (en) * 2017-12-06 2018-03-20 广东欧珀移动通信有限公司 Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
WO2019109801A1 (en) * 2017-12-06 2019-06-13 Oppo广东移动通信有限公司 Method and device for adjusting photographing parameter, storage medium, and mobile terminal
US20210281669A1 (en) * 2018-11-28 2021-09-09 Vivo Mobile Communication Co., Ltd. Shooting method and terminal
WO2021104508A1 (en) * 2019-11-29 2021-06-03 华为技术有限公司 Video photographing method and electronic device
CN112887601A (en) * 2021-01-26 2021-06-01 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN113762058A (en) * 2021-05-21 2021-12-07 腾讯科技(深圳)有限公司 Video synthesis method and device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王寒光;王旭光;汪浩源;: "基于圆形感兴趣区域多路视频实时拼接", 计算机应用, no. 10, 10 October 2016 (2016-10-10) *
赵凯;耿修堂;何浩;: "基于标定配准的图像拼接算法设计与实现", 微电子学与计算机, no. 03, 5 March 2015 (2015-03-05) *

Similar Documents

Publication Publication Date Title
EP3672262A1 (en) Operation method, device, apparatus and storage medium of playing video
CN112135049B (en) Image processing method and device and electronic equipment
CN113766129B (en) Video recording method, video recording device, electronic equipment and medium
CN111756995A (en) Image processing method and device
JP2023551264A (en) Photography methods, devices, electronic devices and storage media
US20230370720A1 (en) Focusing method and apparatus, electronic device, and medium
CN112135046A (en) Video shooting method, video shooting device and electronic equipment
CN112954196A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112637515B (en) Shooting method and device and electronic equipment
CN112565611A (en) Video recording method, video recording device, electronic equipment and medium
CN111953900B (en) Picture shooting method and device and electronic equipment
CN111083371A (en) Shooting method and electronic equipment
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
CN113794829A (en) Shooting method and device and electronic equipment
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN114025092A (en) Shooting control display method and device, electronic equipment and medium
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN113852756A (en) Image acquisition method, device, equipment and storage medium
CN114268802B (en) Virtual space display method and device, electronic equipment and storage medium
CN113596331B (en) Shooting method, shooting device, shooting equipment and storage medium
CN114520878A (en) Video shooting method and device and electronic equipment
CN112887607B (en) Shooting prompting method and device
CN112367487B (en) Video recording method and electronic equipment
CN112261483B (en) Video output method and device
CN115037874A (en) Photographing 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