CN114422692A - Video recording method and device and electronic equipment - Google Patents

Video recording method and device and electronic equipment Download PDF

Info

Publication number
CN114422692A
CN114422692A CN202210032194.8A CN202210032194A CN114422692A CN 114422692 A CN114422692 A CN 114422692A CN 202210032194 A CN202210032194 A CN 202210032194A CN 114422692 A CN114422692 A CN 114422692A
Authority
CN
China
Prior art keywords
camera
moving object
video
preview interface
shooting
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.)
Granted
Application number
CN202210032194.8A
Other languages
Chinese (zh)
Other versions
CN114422692B (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.)
Xi'an Weiwo Software Technology Co ltd
Original Assignee
Xi'an Weiwo Software Technology 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 Xi'an Weiwo Software Technology Co ltd filed Critical Xi'an Weiwo Software Technology Co ltd
Priority to CN202210032194.8A priority Critical patent/CN114422692B/en
Publication of CN114422692A publication Critical patent/CN114422692A/en
Priority to PCT/CN2023/071054 priority patent/WO2023134583A1/en
Application granted granted Critical
Publication of CN114422692B publication Critical patent/CN114422692B/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/67Focus control based on electronic image sensor signals
    • 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/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a video recording method and device and electronic equipment, and belongs to the technical field of shooting. The video recording method comprises the following steps: displaying a first shooting preview interface of a first camera; and under the condition that the first shooting preview interface comprises a first moving object, shooting the first moving object through a second camera, wherein the focal length of the second camera is greater than that of the first camera.

Description

Video recording method and device and electronic equipment
Technical Field
The application belongs to the technical field of shooting, and particularly relates to a video recording method and device and electronic equipment.
Background
Currently, more and more users record life by taking video. In the prior art, after shooting parameters are preset, the parameters are difficult to adjust in the video shooting process, if a special video is required to be obtained, post-processing is often required to be performed through special video production software after shooting is completed, and the operation is complex.
Disclosure of Invention
The embodiment of the application aims to provide a video recording method, a video recording device and electronic equipment, and can solve the problem that in the related art, when a special video is obtained, the operation is complex.
In a first aspect, an embodiment of the present application provides a video recording method, where the method includes:
displaying a first shooting preview interface of a first camera;
and under the condition that the first shooting preview interface comprises a first moving object, shooting the first moving object through a second camera, wherein the focal length of the second camera is greater than that of the first camera.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the first display module is used for displaying a first shooting preview interface of the first camera;
and the first shooting module is used for shooting the first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, and the focal length of the second camera is greater than that of the first camera.
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, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In 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 a method as in the first aspect.
The video recording method provided by the embodiment of the application displays a first shooting preview interface of a first camera, and shoots a first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, wherein the focal length of the second camera is greater than that of the first camera. According to the embodiment of the application, under the condition that the first shooting preview interface comprises the first moving object, the camera with the larger focal length is switched to shoot the first moving object, so that the electronic equipment can automatically obtain the amplification special effect of the first moving object when the video is recorded, and the operation complexity when the special-effect video is obtained is reduced.
Drawings
Fig. 1 is a schematic flowchart of a video recording method according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of an interface of an electronic device provided in an embodiment of the present application;
fig. 3 is a second exemplary interface diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a third exemplary view of an interface of an electronic device according to an embodiment of the present application;
FIG. 5 is a fourth illustration of an exemplary interface of an electronic device provided by an embodiment of the present application;
FIG. 6 is a fifth exemplary diagram of an interface of an electronic device provided in an embodiment of the present application;
FIG. 7 is a sixth example view of an interface of an electronic device provided by an embodiment of the present application;
FIG. 8 is a seventh exemplary diagram of an interface of an electronic device according to an embodiment of the present disclosure;
FIG. 9 is an eighth example of an interface of an electronic device provided by an embodiment of the present application;
fig. 10 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of an electronic device for 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 recording method and apparatus, the electronic device, and the readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, a video recording method provided in an embodiment of the present application includes:
step 101, displaying a first shooting preview interface of a first camera;
and 102, shooting the first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, wherein the focal length of the second camera is greater than that of the first camera.
The video recording method provided in the embodiment of the present application may be applied to electronic devices such as a mobile terminal, a personal computer, or a wearable device, and the like, which is not limited herein.
The electronic device may include a display screen and a plurality of cameras. The display screen can be used for displaying a shooting preview interface or playing videos and the like. The plurality of cameras can comprise a first camera and a second camera, and the focal length of the second camera is larger than that of the first camera.
In step 101, the electronic device may display a first shooting preview interface of a first camera.
In combination with an application scenario, when receiving an input for starting a video shooting application program, the electronic device may default to display a shooting preview interface of the first camera, that is, the first shooting preview interface.
In other application scenarios, the electronic device may switch the first shooting preview interface displayed as the first shooting camera in response to a selection input of the user for the shooting mode when the shooting preview interface of another camera is displayed.
Of course, the above is an illustration of some trigger conditions for the electronic device to display the first shooting preview interface of the first camera, and in practical applications, the electronic device may also display the first shooting preview interface of the first camera under other conditions.
In the case where the first photographing preview interface with the first camera is displayed, the electronic device may detect a moving object in the first photographing preview interface.
For example, the electronic device may obtain preview images from a first shooting preview interface according to a preset frequency, and by performing target detection on the preview images, the electronic device may detect an object in each preview image. According to the position change of the object in the plurality of preview images, the electronic equipment can further judge whether the object is a moving object.
For another example, the electronic device may determine whether a moving object exists in the first shooting preview interface by comparing changes of pixels in the preview images, or acquiring optical flow information between the preview images.
On the basis that the electronic device can detect the moving object in the first shooting preview interface, in step 102, the electronic device may shoot the first moving object through the second camera if the first shooting preview interface includes the first moving object.
The first moving object may refer to any moving object in the first photographing preview interface, and in this case, the electronic device may photograph the moving object through the second camera as long as the moving object is detected in the first photographing preview interface.
Alternatively, the first moving object may also refer to a preset moving object.
For example, in order to capture a video of eagle predation, the user may preset the eagle as a first moving object. When the eagle is in a flying state and appears in the first shooting preview interface, the electronic equipment can shoot the eagle through the second camera.
For another example, in order to capture a video of a motorcycle passing through a track, the user may set the motorcycle as a first moving object in advance. When the motorcycle is in a driving state and appears in the first shooting preview interface, the electronic equipment can shoot the motorcycle through the second camera.
Generally, when the imaging position and the subject distance are not changed, the smaller the focal length of the camera, the wider the angle of view, and the larger the imaging range, the smaller the image formed by the subject. Conversely, the larger the focal length of the camera, the narrower the angle of view, and the smaller the imaging range, the larger the image formed by the object.
Accordingly, the first camera has a relatively small focal length, a relatively large shooting range can be obtained, and the electronic device is facilitated to detect the first moving object from the first shooting preview interface more efficiently. And when the first shooting preview interface comprises the first moving object, the first moving object is shot through the second camera with a larger focal length, so that the electronic equipment can better capture the detailed information of the first moving object.
By combining the example of the video recording scene of the hawk predation, the electronic equipment can display the first shooting preview interface of the first camera in the initial stage, and the video recorded in the initial stage can have a larger shooting range.
When the hawk appears on the first shooting preview interface, the electronic equipment can shoot the hawk by adopting the second camera with a larger focal length, and at the moment, the hawk can have a larger image in the recorded video, so that the special effect of automatically amplifying the hawk is obtained, and the detailed action of the hawk on the food can be better shown.
The video recording method provided by the embodiment of the application displays a first shooting preview interface of a first camera, and shoots a first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, wherein the focal length of the second camera is greater than that of the first camera. According to the embodiment of the application, under the condition that the first shooting preview interface comprises the first moving object, the camera with the larger focal length is switched to shoot the first moving object, so that the electronic equipment can automatically obtain the amplification special effect of the first moving object when the video is recorded, and the operation complexity when the special-effect video is obtained is reduced.
In practical application, when a video is recorded, a user may shake when holding the electronic device, which causes the picture in the first shooting preview interface to shake. Alternatively, there may be subtle movements of theoretically stationary objects such as trees or lake water.
Therefore, according to some embodiments of the present application, in determining whether a moving object exists in the first photographing preview interface, the electronic device may perform a determination in combination with factors such as a moving speed or a moving distance of each object. For example, a speed threshold and a distance threshold may be set in the electronic device, and when the speed of the object in the first shooting preview interface is greater than the speed threshold and the position change value of the pixel area corresponding to the object is greater than the distance threshold within a preset time, the electronic device may determine that the object is a moving object, so as to improve the accuracy of detecting the moving object by the electronic device.
The following describes a video recording method provided in the embodiments of the present application with reference to some specific application examples.
As shown in fig. 2, fig. 2 is a diagram illustrating an example of an interface when the electronic device displays a first shooting preview interface. The first shooting preview interface is a shooting preview interface of a first camera with a relatively small focal length, and accordingly the first shooting preview interface has a large shooting range.
The item indicated by reference D1 in fig. 2 may be a flying bird. The electronic equipment can recognize the bird by recognizing the video image and judge that the bird is in a motion state according to the change of the position of the bird. At this time, the bird indicated by the marker D1 may be the first moving object described above.
As described above, in the case where the electronic device includes the first moving object in the first photographing preview interface, the first moving object may be photographed by the second camera having a larger focal length.
If the shooting preview interface of the second camera is referred to as a second shooting preview interface, the second shooting preview interface can be displayed when the electronic device shoots the first moving object through the second camera with a larger focal length.
In one possible embodiment, the electronic device may alternatively display the first photographing preview interface as the second photographing preview interface, at which time the display interface of the electronic device may be switched to the interface as shown in fig. 3.
As shown in fig. 3, since the focal length of the second camera is larger and the shooting range is relatively smaller, the bird indicated by the mark D1 in fig. 3 can occupy a larger display area, and more detailed contents of the bird can be displayed in the second video shooting interface.
In yet another possible embodiment, in a case where the first photographing preview interface includes the first moving object, the method further includes:
and under the condition that the first shooting preview interface of the first camera is displayed, displaying a second shooting preview interface of the second camera.
In this embodiment, when the first photographing preview interface includes the first moving object, the first photographing preview interface and the second photographing preview interface may be simultaneously displayed.
In some examples, the electronic device may display the first photographing preview interface and the second photographing preview interface by split-screen. Or, the electronic device may display the first shooting preview interface in an overlapping manner on the second shooting preview interface. Alternatively, the electronic device may display the second photographing preview interface in an overlapping manner on the first photographing preview interface, and so on. Here, the manner of simultaneously displaying the first photographing preview interface and the second photographing preview interface is not illustrated.
In practical application, when the first shooting preview interface and the second shooting preview interface are displayed in the electronic device, on one hand, a user can know the change of the surrounding environment of the first moving object from the first shooting preview interface, and on the other hand, the user can also watch the shooting effect of the second camera on the first moving object from the second shooting preview interface in real time.
Of course, in some possible embodiments, the electronic device may also continue to detect other moving objects in the first shooting preview interface, and may switch the second camera to shoot other moving objects in response to a related operation of the user, so as to enrich a video recording function of the electronic device. And the implementation of these functions will be explained in the following embodiments.
As shown in fig. 4, fig. 4 is an exemplary diagram of an interface when the electronic device simultaneously displays a first shooting preview interface and a second shooting preview interface.
The interface shown in fig. 4 may include a display region R1 and a display region R2. The first photographing preview interface is displayed in the display area R2, and the second photographing preview interface is displayed in the display area R1.
In fig. 4, the area of the display region R1 may be larger than that of the display region R2, and the display region R2 is located at the lower right side of the display region R1. In this way, while the user can preview the shooting effect of the second camera on the first moving object conveniently, the change of the surrounding environment of the first moving object can be observed through the first shooting preview interface in the display area R2.
In some possible embodiments, the first photographing preview interface may be displayed in a floating manner on the second photographing preview interface, the user may drag the first photographing preview interface to change the display position of the first photographing preview interface, and the display area R1 and the display area R2 may also be changed accordingly.
In other possible embodiments, the electronic device may also receive a preset operation of a user, and swap display areas of the first shooting preview interface and the second shooting preview interface.
In some examples, the second camera may be a variable focus camera.
For example, the second camera may be a 50-time zoom (hereinafter, referred to as 50 ×) telephoto camera. In a case where the first photographing preview interface includes the first moving object, the second camera may gradually change from a smaller focal length to a larger focal length.
With reference to fig. 2 and 3, in the process of switching the display interface of the electronic device from the interface shown in fig. 2 to the interface shown in fig. 3, the electronic device may control the shooting focal length of the second camera to gradually change from 30mm to 500mm, so that the display content in the first display region R1 can be smoothly transited.
Meanwhile, through the gradual change of the focal length of the second camera, the video picture can gradually change from the picture shot by the first camera to the detail picture of the first moving object in the recorded video, so that the improvement of the picture smoothness of the recorded video is facilitated.
In some application scenarios, a user may need to emphasize the motion of a moving object appearing in a video capture interface, for example, by slowing down the motion process of the moving object to achieve the effect of motion emphasis.
In the related art, a user may perform post-editing on a captured video to enable a video frame including a moving object to be slowly played during video playing, so as to achieve the purpose of emphasizing the moving object. This post-clipping approach has the disadvantage of being cumbersome to operate.
In order to obtain a slow-play special effect more conveniently, according to some embodiments of the present application, a recording frame rate of the second camera is greater than a recording frame rate of the first camera.
For example, the recording frame rate of the first camera is 60fps, that is, when a video is recorded by the first camera, 60 image frames can be obtained within 1 s. The recording frame rate of the second camera may be 120fps, that is, when a video is recorded by the first camera, 120 image frames can be obtained within 1 s.
In the process of recording the video, if the first moving object does not exist in the first shooting preview interface, the electronic device may keep using the first camera for shooting, and the corresponding recording frame rate is 60 fps. And when the first shooting preview interface comprises the first moving object, the electronic equipment shoots the first moving object through the second camera, and the corresponding recording frame rate is 120 fps.
From the aspect of playing the recorded video, if the video is played at the playing frame rate of 60fps, the electronic device may play the video at a normal speed when the first moving object is not included in the video. When the video includes the first moving object, if the electronic device plays the video at the same speed (60fps), the slow play special effect can be realized.
Therefore, in the embodiment, in the recording stage of the video, the electronic device can realize the switching of the recording frame rate by switching the cameras, so that the slow playing effect on the motion process of the first motion object can be obtained, and the operation complexity for obtaining the video with the slow playing special effect is reduced.
Optionally, in step 102, after the first moving object is photographed by the second camera, the method further includes:
receiving a first input of a user to a second moving object in the case that the first photographing preview interface includes the second moving object;
in response to the first input, a second moving object is photographed by a second camera.
For the convenience of understanding the implementation process of the present embodiment, the following description is also provided with reference to an example of an application scenario.
As shown in fig. 4, during the video recording process, a first shooting preview interface and a second shooting preview interface may be simultaneously displayed on the electronic device. Since the second camera has a larger focal length, the first moving object D1 in the second photographing preview interface may have a larger picture during photographing of the first moving object D1 using the second camera.
Meanwhile, the first camera can also shoot the first moving object D1, and the first camera has a smaller focal length and a larger shooting range. Accordingly, the first moving object D1 may be included in the first photographing preview interface, but the picture of the first moving object D1 is relatively small, and the first photographing preview interface may include more contents than the second photographing preview interface.
As shown in fig. 4, in practical applications, the first photographing preview interface may include a second moving object D2 in addition to the first moving object D1.
During the course of video recording, the user may need to switch the emphasized object from the first moving object D1 to the second moving object D2. From the viewpoint of the electronic apparatus, it is necessary to switch the main photographic object of the second camera from the first moving object D1 to the second moving object D2.
As shown in fig. 5, for the purpose of switching, the user may touch the second moving object D2 with a finger and slide the finger to the first display region R1. Here, the input of the user touching and sliding the second moving object D2 may correspond to the above-described first input of the user to the second moving object.
It will be readily appreciated that this is one illustration of the form of input to the first input. In practical applications, the first input may also be a single-click input or a double-click input for the second moving object, which is not illustrated here.
Of course, in practical applications, the second camera may be a zoom camera, or the first moving object and the second moving object may be located relatively close to each other. The electronic device may capture the first moving object and the second moving object simultaneously by the second camera when receiving the first input. In this case, it may be considered that the electronic device changes the subject to be shot with emphasis from the first moving subject to the first moving subject and the second moving subject, instead of switching from the first moving subject to the second moving subject.
In this embodiment, under the condition that the first shooting preview interface includes the second moving object, the electronic device may shoot the second moving object through the second camera in response to the first input of the user to the second moving object, so as to change the shot moving object in a highlight manner, and meet diversified video recording requirements of the user.
In some possible embodiments, in the case that the first photographing preview interface includes the second moving object, the method may further include:
and displaying a prompt box on the second moving object.
In connection with an example, during shooting of the first moving object using the second camera, the electronic device may continuously detect the moving object in the first shooting preview interface. As shown in fig. 6, the electronic device may display a prompt box B on a second moving object when detecting that the second moving object exists in the first photographing preview interface.
The shape and size of the prompt box can be set according to needs. By displaying the prompt box, the electronic apparatus can prompt the user to detect the second moving object that can be subjected to highlight shooting. At this time, the user may further make a first input to the second moving object or the prompt box, thereby controlling the electronic device to make a change of the moving object emphasized for shooting.
Therefore, the prompt box is displayed on the second moving object, so that the moving object which can be shot in a highlighted mode can be better prompted to the user, and the user experience is improved.
As shown in fig. 7, fig. 7 is a diagram of an example of a display interface of the electronic device when the second moving object is photographed by the second camera.
As can be seen from fig. 7, the display areas of the second photographing preview interface corresponding to the first photographing preview interface, respectively, may remain unchanged, and the emphasized object in the second photographing preview interface may be switched from the first moving object D1 to the second moving object D2.
In some possible embodiments, there may be a process of screen transition in a process of switching the emphasized object of the second photographing preview interface from the first moving object to the second moving object (corresponding to a process of changing the display interface from fig. 5 to fig. 7).
For example, on the basis of the interface shown in fig. 5, the first photographing preview interface may be gradually enlarged first to completely cover the second photographing preview interface. Then, the electronic device may switch to display the first photographing preview interface as the second photographing preview interface. And then zooming the second camera to enlarge the image size of the second moving object in the second shooting preview interface, thereby obtaining the interface shown in fig. 7.
Optionally, after displaying the second shooting preview interface of the second camera, the method further includes:
receiving a second input of the parameter adjusting control from the user under the condition that the parameter adjusting control is displayed in the second shooting preview interface;
displaying a first identifier in response to the second input, wherein the first identifier is used for indicating shooting parameters of the first moving object;
after the second moving object is shot by the second camera, the method further comprises:
receiving a third input of the first identifier from the user;
in response to a third input, a second moving object is photographed based on the photographing parameters of the first moving object.
As shown in fig. 8, fig. 8 is an exemplary diagram of a display interface of an electronic device when a parameter adjustment control is displayed in a second shooting preview interface.
The parameter adjustment control may include one or more adjustment sub-controls. Each adjustment sub-control may be used to adjust one or more shooting parameters.
As shown in fig. 8, in some examples, the parameter adjustment control may include a plurality of adjustment sub-controls (e.g., labels K1 and K2) that may be used to adjust the recording frame rate, the background blurring parameter, the background color parameter, and so on, respectively.
In other examples, the parameter adjustment control may further include an adjustment sub-control for adjusting other shooting parameters, for example, an adjustment sub-control for adjusting display parameters such as white balance, shooting filter, etc., which are not illustrated herein.
In some possible embodiments, the electronic device may display the parameter adjustment control in the second shooting preview interface when the second shooting preview interface is displayed.
Alternatively, the electronic device may also display a parameter adjustment control in the second capture preview interface, and so on, in response to an input by the user invoking the parameter adjustment control.
In an instance in which a second input to the parameter adjustment control is received by the user, the electronic device may display the first identification in response to the second input.
For example, the second input may be a long-press input for the parameter adjustment control, or a click input for a folding control associated with the parameter adjustment control, and so on, which is not limited herein.
In one example, based on the example interface diagram shown in fig. 8, the electronic device may further display the example interface diagram as shown in fig. 9 in case of receiving the second input.
As shown in fig. 9, the first identity may correspond to the identity P. In the case where the first identifier P is displayed, the electronic device may hide the above-described parameter adjustment control.
Of course, in some possible embodiments, the electronic device may also display the first identifier in a display area outside of the parameter adjustment control if the second input is received.
The first identifier is associated with the parameter adjustment control described above. For example, the parameter adjustment control is used to adjust the shooting parameters of the first moving object, and the first identifier may be used to indicate the shooting parameters of the first moving object.
In this embodiment, after the second moving object is photographed by the second camera, the electronic device may receive a third input of the first identifier by the user. For example, the third input may be a long press input to the first identifier, or other preset gesture input, etc.
The electronic device may photograph the second moving object based on the photographing parameters of the first moving object, upon receiving the third input.
In combination with an application example, when the second camera is used for shooting the first moving object, the user can input the parameter adjustment control so as to set the shooting parameters of the second camera for the first moving object to be the recording frame rate of 120fps and the shooting focal length of 500 mm.
In a case where a second input to the parameter adjustment control by the user is received, the electronic device may display a first identifier, where the first identifier may indicate that the shooting parameter of the first moving object is the recording frame rate of 120fps and the shooting focal length is 500 mm.
The electronic device may further receive a third input of the first identifier from the user after photographing the second moving object through the second camera, and photograph the second moving object using a recording frame rate of 120fps and a photographing focal length of 500mm in response to the third input.
In this embodiment, the electronic device may rapidly apply the shooting parameters of the first moving object to shoot the second moving object based on the input of the user to the first identifier, so as to improve the operation efficiency of the user.
In yet other possible embodiments, in the case that the first control is displayed, the method may further include:
and under the condition that the input of dragging the preset control to the second moving object is received, shooting the second moving object through the second camera based on the shooting parameters of the first moving object. In this way, the user can switch the main shooting object of the second camera from the first moving object to the second moving object through simple input operation, and simultaneously apply the shooting parameters of the first moving object to shoot the second moving object.
Optionally, the parameter adjustment control comprises a frame rate adjustment sub-control,
receiving a second input of the parameter adjustment control by the user, comprising:
receiving a first sub-input of a frame rate adjusting sub-control by a user;
the method further comprises the following steps:
and responding to the first sub-input, and updating the recording frame rate of the second camera.
As shown in fig. 8, the parameter adjustment control may include a frame rate adjustment sub-control K1. The user can adjust the used photographing frame rate in real time by making a first sub-input to the frame rate adjustment sub-control K1.
For example, the frame rate adjustment sub-control K1 may be a drag-type adjustment control, and the first sub-input may be a drag output to the frame rate adjustment sub-control K1. And the electronic device may update the recording frame rate of the second camera in response to a user's drag input to the frame rate adjustment sub-control K1.
For another example, the frame rate adjustment sub-control may also include two click type adjustment controls, which are respectively used to increase and decrease the recording frame rate of the second camera, and the first sub-input may be a click input to the frame rate adjustment sub-control.
Of course, the foregoing is an illustration of some forms of the frame rate adjustment sub-control, and in practical applications, the frame rate adjustment sub-control may be implemented to adjust the recording frame rate of the second camera.
In combination with some application scenarios, during the process of shooting the first moving object by using the second camera, the user may adjust the sub-control by operating the frame rate, so that the recording frame rate of the second camera is updated from 120fps to 240fps, and the like. Therefore, in the recorded video, the slow playing effect on the motion process of the first moving object can be realized.
Of course, the user may also operate the frame rate adjustment sub-control, so that the recording frame rate of the second camera is updated from 1200fps to 30 fps. Therefore, in the recorded video, the acceleration effect on the motion process of the first moving object can be realized.
In this embodiment, the parameter adjustment control includes a frame rate adjustment sub-control, and the electronic device can adjust the recording frame rate of the second camera in response to the first sub-input of the frame rate adjustment sub-control by the user, which is beneficial to obtaining a special effect of accelerated playing or slow playing in the video recording process, and reduces the operation difficulty of the user.
Optionally, the parameter adjustment control includes a background adjustment sub-control, and receives a second input to the parameter adjustment control from the user, where the second input includes:
receiving a second sub-input of the background adjustment sub-control by the user;
the method further comprises the following steps:
in response to the second sub-input, updating background image parameters corresponding to the first moving object, the background image parameters including at least one of: background blurring parameter, background color parameter.
As shown in fig. 8, the parameter adjustment control may include a background adjustment sub-control K2. The background adjustment sub-control K2 may be one or more, and each background adjustment sub-control K2 may be used to adjust a corresponding background parameter.
The background adjustment sub-control K2 may be a drag-type adjustment control or a click-type adjustment control, which is not limited in this respect. Accordingly, the first sub-input may be in the form of a drag input or a click input, and may be matched with the form of the background adjustment sub-control K2.
For example, as shown in fig. 8, the background adjustment sub-control K2 may include a background blurring adjustment sub-control and a background color adjustment sub-control, which may be used to adjust a background blurring parameter and a background color parameter, respectively.
As shown in the above embodiments, the electronic device may detect a moving object in the shooting preview interface. Accordingly, in the process of photographing the first moving object through the second camera, the electronic device may detect the first moving object and its image area, and the background area may be an image area other than the first moving object.
The background blurring adjustment is adjusted by inputting the background blurring adjustment sub-control by the user. Generally, the higher the adjusted background blurring depth is, the higher the blurring degree of the background area in the captured video image is. Under the condition that the second sub-input of the background blurring adjustment sub-control by the user is received, the electronic equipment can control the multiple cameras to shoot according to the background blurring depth, so that the depth of field information is obtained, and blurring of the background is achieved.
For another example, where a user's second sub-input to the background color adjustment sub-control is received, the electronic device may adjust the color saturation of the background region in response to the user's second sub-input. In an application scenario, the user operates the background color adjustment sub-control, so that the electronic device can adjust the background in the video image to a grayscale image background or a black-and-white background.
Of course, in other possible embodiments, the parameter adjustment control may also include some sub-controls for adjusting the filter effect, and the like, which are not illustrated herein.
In this embodiment, the parameter adjustment control includes a background adjustment sub-control, and the electronic device may update the background image parameter corresponding to the first moving object in response to the second sub-input when receiving the second sub-input to the background adjustment sub-control, so as to help obtain special effects such as background blurring or background color change during the video recording process, and reduce the operation difficulty of the user.
Optionally, after the first moving object is photographed by the second camera, the method further includes:
and outputting a target video, wherein the target video comprises a first video and a second video, the first video is a video obtained by recording through a first camera, the second video is a video obtained by recording through a second camera, the playing frame rate of the second video is equal to the playing frame rate of the first video, and the playing frame rate is smaller than the recording frame rate of the second camera.
In conjunction with the description of the video recording process in the above embodiment, the recording frame rate of the second camera may be greater than the recording frame rate of the first camera.
In the process of recording the video, there may be a process of shooting with the first camera, and accordingly, the obtained first video may be a first video with a lower recording frame rate. When the first shooting preview interface includes the moving object, the electronic device may shoot the moving object by using the second camera, and accordingly, the obtained second video may be a second video with a higher recording frame rate.
In this embodiment, after the first moving object is photographed by the second camera, a target video including the first video and the second video may be output. And in the target video, the playing frame rate of the first video and the playing frame rate of the second video may be equal.
For example, in combination with one example, the recording frame rate of the first video may be 60fps, and the recording frame rate of the second video may be 120 fps. The playing frame rates of the first video and the second video are both 60 fps. In the process of playing the target video, when the first video is played, the electronic device may play the content at a constant speed, for example, the content shot in 5s, and the playing time may be 5 s. And when playing the second video, the electronic device may play at a slow playing speed, for example, 5s of the captured content, and the playing time may be 10 s.
It can be seen that the electronic device actually generates a special effect of slow-playing the video when the second video is played. The slow playing special effect can be obtained by directly recording the video instead of performing subsequent processing on the target video, so that the operation required by a user for obtaining the slow playing special effect can be greatly simplified.
Optionally, after displaying the second shooting preview interface of the second camera, the method further includes:
and under the condition that the first moving object exceeds the shooting range of the second camera, canceling the display of the second shooting preview interface.
As shown in fig. 4, in one example, the electronic device may display the second video preview interface in the first display region R1 and the first video preview interface in the second display region R2 in a case where the first moving object D1 is detected.
And when the first moving object D1 exceeds the shooting range of the second camera, the overall display interface of the electronic device may be switched to an interface similar to fig. 2, that is, the first display region R1 of the electronic device may redisplay the first video preview interface while canceling the display of the second video preview interface.
For example, if the first moving object D1 is a flying bird, the bird flies out of the shooting range of the second camera, which may be indicated by the bird no longer being displayed in the second video preview interface or by the bird not being displayed in the first video preview interface and the second video preview interface. From another perspective, it can be considered that when no bird is detected in the second video preview interface, the electronic device determines that the first moving object is beyond the shooting range of the second camera and cancels the display of the second shooting preview interface.
With reference to some examples, in the interface shown in fig. 4, when the first shooting preview interface is displayed on the second shooting preview interface through the floating window, the manner of canceling the display of the second shooting preview interface may be to hide or close the floating window, and switch and display the first shooting preview interface in the first display area R1.
And when the first shooting preview interface and the second shooting preview interface are displayed in a split screen mode, the mode of canceling the display of the second shooting preview interface can be a mode of canceling the split screen mode and reserving the first shooting preview interface.
As shown above, the first moving object may be an object that the electronic apparatus needs to perform emphasis shooting using the second camera. When the first moving object leaves the shooting range of the second camera, the electronic device may end shooting of the object that needs to be emphasized for shooting, and switch to performing normal shooting using the first camera. Therefore, the electronic equipment is facilitated to distinguish the shooting parameters of the first moving object from the shooting parameters of the conventional scene in the video recording process, and the effect of emphasizing the motion details of the first moving object is achieved.
According to the video recording method provided by the embodiment of the application, the execution main body can be a video recording device. In the embodiment of the present application, a video recording apparatus is taken as an example to execute a video recording method, and the video recording apparatus provided in the embodiment of the present application is described.
As shown in fig. 10, a video recording apparatus 1000 according to an embodiment of the present application includes:
a first display module 1001, configured to display a first shooting preview interface of a first camera;
the first shooting module 1002 is configured to shoot the first moving object through a second camera when the first shooting preview interface includes the first moving object, where a focal length of the second camera is greater than a focal length of the first camera.
Optionally, in a case where the first photographing preview interface includes a first moving object, the apparatus further includes:
and the second display module is used for displaying a second shooting preview interface of the second camera under the condition of displaying the first shooting preview interface of the first camera.
Optionally, the recording frame rate of the second camera is greater than the recording frame rate of the first camera.
Optionally, the apparatus may further comprise:
the first receiving module is used for receiving a first input of a user to a second moving object under the condition that the first shooting preview interface comprises the second moving object;
and the second shooting module is used for responding to the first input and shooting a second moving object through a second camera.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving second input of the parameter adjusting control by the user under the condition that the parameter adjusting control is displayed in the second shooting preview interface;
the third display module is used for responding to the second input and displaying a first identifier, and the first identifier is used for indicating the shooting parameters of the first moving object;
the third receiving module is used for receiving third input of the first identifier by the user;
and the third shooting module is used for responding to a third input and shooting a second moving object based on the shooting parameters of the first moving object.
Optionally, the parameter adjustment control comprises a frame rate adjustment sub-control,
a second receiving module comprising:
the first receiving unit is used for receiving a first sub-input of a frame rate adjusting sub-control by a user;
the apparatus may further comprise:
and the first updating unit is used for responding to the first sub-input and updating the recording frame rate of the second camera.
Optionally, the parameter adjustment control comprises a background adjustment sub-control,
a second receiving module comprising:
the second receiving unit is used for receiving a second sub-input of the background adjusting sub-control by the user;
the apparatus may further comprise:
a second updating unit, configured to update a background image parameter corresponding to the first moving object in response to the second sub-input, where the background image parameter includes at least one of: background blurring parameter, background color parameter.
Optionally, the apparatus may further comprise:
and the output module is used for outputting a target video, the target video comprises a first video and a second video, the first video is a video obtained by recording through the first camera, the second video is a video obtained by recording through the second camera, and the playing frame rate of the second video is equal to that of the first video.
Optionally, the apparatus may further comprise:
and the display canceling module is used for canceling the display of the second shooting preview interface under the condition that the first moving object exceeds the shooting range of the second camera.
The video recording device provided by the embodiment of the application comprises a first display module and a first shooting module, wherein the first display module is used for displaying a first shooting preview interface of a first camera; the first shooting module is used for shooting the first moving object through the second camera under the condition that the first shooting preview interface comprises the first moving object, and the focal length of the second camera is larger than that of the first camera. According to the embodiment of the application, in the video recording process, the cameras with different focal lengths can shoot, the amplification special effect of the first moving object is automatically obtained, and the complexity of required operation in the process of obtaining a special video is reduced. The video shooting device can further provide an adjusting control for adjusting the recording frame rate or background image parameters, and can adjust and emphasize shot objects according to the input of a user, so that the user can conveniently shoot high-quality films, and the user experience is improved.
The video recording apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video recording apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video recording device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 9, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 1100 is further provided in this embodiment of the present application, and includes a processor 1101 and a memory 1102, where the memory 1102 stores a program or an instruction that can be executed on the processor 1101, and when the program or the instruction is executed by the processor 1101, the steps of the video recording method embodiment described above are implemented, and the same technical effects can be achieved, and are not repeated 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. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 1200 includes, but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensors 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
Those skilled in the art will appreciate that the electronic device 1200 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1210 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The display unit 1206 is configured to display a first shooting preview interface of the first camera;
and a processor 1210 configured to capture the first moving object through a second camera in a case that the first photographing preview interface includes the first moving object, a focal length of the second camera being greater than a focal length of the first camera.
The electronic equipment provided by the embodiment of the application displays a first shooting preview interface of a first camera, and shoots a first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, wherein the focal length of the second camera is greater than that of the first camera. According to the embodiment of the application, under the condition that the first shooting preview interface comprises the first moving object, the camera with the larger focal length is switched to shoot the first moving object, so that the electronic equipment can automatically obtain the amplification special effect of the first moving object when the video is recorded, and the complexity of required operation when the special video is obtained is reduced.
Alternatively, in a case where the first shooting preview interface includes the first moving object, the display unit 1206 is further configured to display a second shooting preview interface of the second camera in a case where the first shooting preview interface of the first camera is displayed.
When the first shooting preview interface and the second shooting preview interface are displayed in the electronic equipment, on one hand, a user can know the change of the surrounding environment of the first moving object from the first shooting preview interface, and on the other hand, the user can also watch the shooting effect of the second camera on the first moving object from the second shooting preview interface in real time.
Optionally, the recording frame rate of the second camera is greater than the recording frame rate of the first camera.
In this embodiment, in the video recording stage, the electronic device may switch the recording frame rate by switching the cameras, so as to obtain the slow playing effect on the first moving object in the moving process, and reduce the complexity of the operation of obtaining a video with a slow playing special effect.
Optionally, a user input unit 1207, configured to receive a first input of the second moving object by the user in a case where the first photographing preview interface includes the second moving object;
a processor 1210 for photographing a second moving object through the second camera in response to the first input.
In this embodiment, under the condition that the first shooting preview interface includes the second moving object, the electronic device may shoot the second moving object through the second camera in response to the first input of the user to the second moving object, so as to change the shot moving object in a highlight manner, and meet diversified video recording requirements of the user.
Optionally, the user input unit 1207 is configured to receive a second input to the parameter adjustment control by the user when the parameter adjustment control is displayed in the second shooting preview interface;
a display unit 1206 for displaying a first identifier indicating a photographing parameter of the first moving object in response to the second input;
accordingly, the user input unit 1207 may be further configured to receive a third input of the first identifier from the user;
a processor 1210 for photographing a second moving object based on the photographing parameters of the first moving object in response to a third input.
In this embodiment, the electronic device may rapidly apply the shooting parameters of the first moving object to shoot the second moving object based on the input of the user to the first identifier, so as to improve the operation efficiency of the user.
Optionally, the parameter adjustment control comprises a frame rate adjustment sub-control,
accordingly, the user input unit 1207 may be specifically configured to receive a first sub-input of the frame rate adjustment sub-control by the user;
a processor 1210, configured to update the recording frame rate of the second camera in response to the first sub-input.
In this embodiment, the parameter adjustment control includes a frame rate adjustment sub-control, and the electronic device can adjust the recording frame rate of the second camera in response to a first sub-input of the frame rate adjustment sub-control by a user, which is beneficial to obtaining a special effect of accelerated playing or slow playing in a video recording process, and reduces the operation difficulty of the user.
Optionally, the parameter adjustment control comprises a background adjustment sub-control,
accordingly, the user input unit 1207 may be specifically configured to receive a second sub-input of the user to the background adjustment sub-control;
a processor 1210 for updating a background image parameter corresponding to the first moving object in response to the second sub-input, the background image parameter comprising at least one of: background blurring parameter, background color parameter.
In this embodiment, the parameter adjustment control includes a background adjustment sub-control, and the electronic device may update the background image parameter corresponding to the first moving object in response to the second sub-input when receiving the second sub-input to the background adjustment sub-control, so as to help obtain special effects such as background blurring or background color change during the video recording process, and reduce the operation difficulty of the user.
Optionally, the processor 1210 is configured to output a target video, where the target video includes a first video and a second video, the first video is a video recorded by the first camera, the second video is a video recorded by the second camera, and a play frame rate of the second video is less than or equal to a play frame rate of the first video.
In this embodiment, when the second video is played, the electronic device actually generates a special effect of slow playing of the video. The slow playing special effect can be obtained by directly recording the video instead of performing subsequent processing on the target video, so that the operation required by a user for obtaining the slow playing special effect can be greatly simplified.
Optionally, the display unit 1206 may be further configured to cancel displaying the second shooting preview interface in a case where the first moving object is beyond the shooting range of the second camera.
When the first moving object leaves the shooting range of the second camera, the electronic device may end shooting of the object that needs to be emphasized for shooting, and switch to performing normal shooting using the first camera. Therefore, the electronic equipment is facilitated to distinguish the shooting parameters of the first moving object from the shooting parameters of the conventional scene in the video recording process, and the effect of emphasizing the motion details of the first moving object is achieved.
It should be understood that, in the embodiment of the present application, the input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics Processing Unit 12041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1206 may include a display panel 12061, and the display panel 12061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1207 includes at least one of a touch panel 12071 and other input devices 12072. A touch panel 12071, also referred to as a touch screen. The touch panel 12071 may include two parts of a touch detection device and a touch controller. Other input devices 12072 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 1209 may be used to store software programs as well as various data. The memory 1209 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1209 may include volatile memory or nonvolatile memory, or the memory 1209 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1209 in the embodiments of the subject application include, but are not limited to, these and any other suitable types of memory.
Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the 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.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing video recording method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a 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 (such as a mobile phone, a computer, a server, 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 (11)

1. A method for video recording, comprising:
displaying a first shooting preview interface of a first camera;
and under the condition that the first shooting preview interface comprises a first moving object, shooting the first moving object through a second camera, wherein the focal length of the second camera is greater than that of the first camera.
2. The method of claim 1, wherein if the first photographic preview interface includes a first moving object, the method further comprises:
and under the condition that the first shooting preview interface of the first camera is displayed, displaying a second shooting preview interface of the second camera.
3. The method of claim 1, wherein a recording frame rate of the second camera is greater than a recording frame rate of the first camera.
4. The method of claim 2, wherein after the capturing of the first moving object by the second camera, the method further comprises:
receiving a first input of a user to a second moving object in the case that the first photographing preview interface includes the second moving object;
in response to the first input, the second moving object is photographed by the second camera.
5. The method of claim 4, wherein after displaying the second capture preview interface of the second camera, the method further comprises:
receiving a second input of the parameter adjusting control from a user under the condition that the parameter adjusting control is displayed in the second shooting preview interface;
displaying a first identifier in response to the second input, wherein the first identifier is used for indicating shooting parameters of the first moving object;
after the second moving object is photographed by the second camera, the method further includes:
receiving a third input of the first identification by the user;
in response to the third input, photographing the second moving object based on photographing parameters of the first moving object.
6. The method of claim 5, wherein the parameter adjustment control comprises a frame rate adjustment sub-control,
the receiving of the second input of the parameter adjustment control by the user comprises:
receiving a first sub-input of a user to the frame rate adjusting sub-control;
the method further comprises the following steps:
and responding to the first sub-input, and updating the recording frame rate of the second camera.
7. The method of claim 5, wherein the parameter adjustment control comprises a background adjustment sub-control,
the receiving of the second input of the parameter adjustment control by the user comprises:
receiving a second sub-input of the user to the background adjustment sub-control;
the method further comprises the following steps:
in response to the second sub-input, updating a background image parameter corresponding to the first moving object, the background image parameter including at least one of: background blurring parameter, background color parameter.
8. The method of claim 3, wherein after the capturing of the first moving object by the second camera, the method further comprises:
and outputting a target video, wherein the target video comprises a first video and a second video, the first video is a video recorded by the first camera, the second video is a video recorded by the second camera, and the playing frame rate of the second video is equal to that of the first video.
9. The method of claim 2, wherein after displaying the second capture preview interface of the second camera, the method further comprises:
and under the condition that the first moving object exceeds the shooting range of the second camera, canceling to display the second shooting preview interface.
10. A video recording apparatus, comprising:
the first display module is used for displaying a first shooting preview interface of the first camera;
the first shooting module is used for shooting the first moving object through a second camera under the condition that the first shooting preview interface comprises the first moving object, and the focal length of the second camera is larger than that of the first camera.
11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the video recording method of any of claims 1-9.
CN202210032194.8A 2022-01-12 2022-01-12 Video recording method and device and electronic equipment Active CN114422692B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210032194.8A CN114422692B (en) 2022-01-12 2022-01-12 Video recording method and device and electronic equipment
PCT/CN2023/071054 WO2023134583A1 (en) 2022-01-12 2023-01-06 Video recording method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210032194.8A CN114422692B (en) 2022-01-12 2022-01-12 Video recording method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114422692A true CN114422692A (en) 2022-04-29
CN114422692B CN114422692B (en) 2023-12-08

Family

ID=81274094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210032194.8A Active CN114422692B (en) 2022-01-12 2022-01-12 Video recording method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN114422692B (en)
WO (1) WO2023134583A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499589A (en) * 2022-09-19 2022-12-20 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium
WO2023134583A1 (en) * 2022-01-12 2023-07-20 维沃移动通信有限公司 Video recording method and apparatus, and electronic device
CN117177063A (en) * 2022-05-30 2023-12-05 荣耀终端有限公司 Shooting method and electronic equipment
WO2023231697A1 (en) * 2022-05-30 2023-12-07 荣耀终端有限公司 Photographing method and related device

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141710A (en) * 2007-12-06 2009-06-25 Keyence Corp Moving image imaging apparatus, moving image display method, moving image display program, and computer-readable recording medium
US20150281586A1 (en) * 2012-12-18 2015-10-01 Nokia Corporation Method and apparatus for forming a video sequence
US9835862B1 (en) * 2014-05-15 2017-12-05 Google Llc Graphic interface for real-time vision enhancement
US20180359411A1 (en) * 2016-01-13 2018-12-13 Nixie Labs, Inc. Cameras with autonomous adjustment and learning functions, and associated systems and methods
CN110557566A (en) * 2019-08-30 2019-12-10 维沃移动通信有限公司 Video shooting method and electronic equipment
CN111093023A (en) * 2019-12-19 2020-05-01 维沃移动通信有限公司 Video shooting method and electronic equipment
CN111526314A (en) * 2020-04-24 2020-08-11 华为技术有限公司 Video shooting method and electronic equipment
CN111567030A (en) * 2018-04-23 2020-08-21 Oppo广东移动通信有限公司 Method for automatically switching video capture and playback frame rates
CN111818263A (en) * 2020-07-09 2020-10-23 Oppo广东移动通信有限公司 Shooting parameter processing method and device, mobile terminal and storage medium
CN112333382A (en) * 2020-10-14 2021-02-05 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN112532865A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Slow-motion video shooting method and electronic equipment
CN112565611A (en) * 2020-12-08 2021-03-26 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
WO2021104236A1 (en) * 2019-11-29 2021-06-03 维沃移动通信有限公司 Method for sharing photographing parameter, and electronic apparatus
CN112954218A (en) * 2019-03-18 2021-06-11 荣耀终端有限公司 Multi-channel video recording method and equipment
CN113473007A (en) * 2021-06-24 2021-10-01 维沃移动通信(杭州)有限公司 Shooting method and device
CN113709354A (en) * 2020-05-20 2021-11-26 华为技术有限公司 Shooting method and electronic equipment
CN113766129A (en) * 2021-09-13 2021-12-07 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413324A (en) * 2017-08-16 2019-03-01 中兴通讯股份有限公司 A kind of image pickup method and mobile terminal
CN111835973A (en) * 2020-07-22 2020-10-27 Oppo(重庆)智能科技有限公司 Shooting method, shooting device, storage medium and mobile terminal
CN114422692B (en) * 2022-01-12 2023-12-08 西安维沃软件技术有限公司 Video recording method and device and electronic equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141710A (en) * 2007-12-06 2009-06-25 Keyence Corp Moving image imaging apparatus, moving image display method, moving image display program, and computer-readable recording medium
US20150281586A1 (en) * 2012-12-18 2015-10-01 Nokia Corporation Method and apparatus for forming a video sequence
US9835862B1 (en) * 2014-05-15 2017-12-05 Google Llc Graphic interface for real-time vision enhancement
US20180359411A1 (en) * 2016-01-13 2018-12-13 Nixie Labs, Inc. Cameras with autonomous adjustment and learning functions, and associated systems and methods
CN111567030A (en) * 2018-04-23 2020-08-21 Oppo广东移动通信有限公司 Method for automatically switching video capture and playback frame rates
CN112954218A (en) * 2019-03-18 2021-06-11 荣耀终端有限公司 Multi-channel video recording method and equipment
CN110557566A (en) * 2019-08-30 2019-12-10 维沃移动通信有限公司 Video shooting method and electronic equipment
CN112532865A (en) * 2019-09-19 2021-03-19 华为技术有限公司 Slow-motion video shooting method and electronic equipment
WO2021104236A1 (en) * 2019-11-29 2021-06-03 维沃移动通信有限公司 Method for sharing photographing parameter, and electronic apparatus
CN111093023A (en) * 2019-12-19 2020-05-01 维沃移动通信有限公司 Video shooting method and electronic equipment
CN111526314A (en) * 2020-04-24 2020-08-11 华为技术有限公司 Video shooting method and electronic equipment
CN113709354A (en) * 2020-05-20 2021-11-26 华为技术有限公司 Shooting method and electronic equipment
CN111818263A (en) * 2020-07-09 2020-10-23 Oppo广东移动通信有限公司 Shooting parameter processing method and device, mobile terminal and storage medium
CN112333382A (en) * 2020-10-14 2021-02-05 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN112565611A (en) * 2020-12-08 2021-03-26 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
CN113473007A (en) * 2021-06-24 2021-10-01 维沃移动通信(杭州)有限公司 Shooting method and device
CN113766129A (en) * 2021-09-13 2021-12-07 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁航飞;郭永飞;曲利新;司国良;马天波;: "基于地-气间辐射模型的航天相机自动调光系统", no. 02 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023134583A1 (en) * 2022-01-12 2023-07-20 维沃移动通信有限公司 Video recording method and apparatus, and electronic device
CN117177063A (en) * 2022-05-30 2023-12-05 荣耀终端有限公司 Shooting method and electronic equipment
WO2023231697A1 (en) * 2022-05-30 2023-12-07 荣耀终端有限公司 Photographing method and related device
CN115499589A (en) * 2022-09-19 2022-12-20 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2023134583A1 (en) 2023-07-20
CN114422692B (en) 2023-12-08

Similar Documents

Publication Publication Date Title
CN114422692B (en) Video recording method and device and electronic equipment
US20240144971A1 (en) System and Method for Performing a Rewind Operation with a Mobile Image Capture Device
CN113014801B (en) Video recording method, video recording device, electronic equipment and medium
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
WO2023093669A1 (en) Video filming method and apparatus, and electronic device and storage medium
CN114025237B (en) Video generation method and device and electronic equipment
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN114237800A (en) File processing method, file processing device, electronic device and medium
CN114285922A (en) Screenshot method, screenshot device, electronic equipment and media
CN113873147A (en) Video recording method and device and electronic equipment
CN114520874B (en) Video processing method and device and electronic equipment
CN114143455B (en) Shooting method and device and electronic equipment
CN114173178B (en) Video playing method, video playing device, electronic equipment and readable storage medium
CN115103112B (en) Lens control method and electronic equipment
CN115052108A (en) Shooting method and device and electronic equipment
CN115174812A (en) Video generation method, video generation device and electronic equipment
CN115242976A (en) Shooting method, shooting device and electronic equipment
CN116847187A (en) Shooting method, shooting device, electronic equipment and storage medium
CN116980759A (en) Shooting method, terminal, electronic device and readable storage medium
CN117294932A (en) Shooting method, shooting device and electronic equipment
CN116132617A (en) Video recording method, device, electronic equipment and storage medium
CN115278053A (en) Image shooting method and electronic equipment
CN115334242A (en) Video recording method, video recording device, electronic equipment and medium
CN114449172A (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