WO2023174223A1 - Video recording method and apparatus, and electronic device - Google Patents

Video recording method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023174223A1
WO2023174223A1 PCT/CN2023/081168 CN2023081168W WO2023174223A1 WO 2023174223 A1 WO2023174223 A1 WO 2023174223A1 CN 2023081168 W CN2023081168 W CN 2023081168W WO 2023174223 A1 WO2023174223 A1 WO 2023174223A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
image
target object
preview interface
shooting
Prior art date
Application number
PCT/CN2023/081168
Other languages
French (fr)
Chinese (zh)
Inventor
田云
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023174223A1 publication Critical patent/WO2023174223A1/en

Links

Classifications

    • 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
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • This application belongs to the field of video technology, and specifically relates to a video recording method, device and electronic equipment.
  • the purpose of the embodiments of the present application is to provide a video recording method, device and electronic device that can solve the problems of cumbersome operations and low video quality caused by manually editing the video when the user desires to obtain the video content of the object of interest.
  • embodiments of the present application provide a video recording method, which method includes:
  • the shooting preview interface In response to the first input, in the shooting preview interface, display a video preview image with the target object as the video subject;
  • a video recording device which includes:
  • a first receiving module configured to receive the user's first input of the target object in the shooting preview interface
  • a first display module configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
  • a recording module configured to record a target video with the target object as the subject of the video.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the programs or instructions are processed by the processor.
  • the processor is executed, the steps of the method described in the first aspect are implemented.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented. .
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • embodiments of the present application provide a computer program product, the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the method as described in the first aspect.
  • embodiments of the present application provide a communication device configured to perform the method described in the first aspect.
  • the user's first input to the target object in the shooting preview interface is received.
  • a video preview image with the target object as the video subject is displayed, and the video preview image with the target object as the video subject is recorded.
  • the target video of the video body In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the video content of the object of interest in the video, avoiding cumbersome operations; and, there is no need to perform secondary compression on the video, which improves the video quality. Picture quality.
  • Figure 1 is a flow chart of a video recording method provided by an embodiment of the present application.
  • Figure 2 is one of the interface display schematic diagrams of an electronic device provided by an embodiment of the present application.
  • Figure 3 is a second schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 4 is a third schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 5 is a fourth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 6 is a fifth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 7 is a sixth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 8 is a seventh schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 9 is an eighth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application.
  • Figure 10 is a schematic structural diagram of a video recording device provided by an embodiment of the present application.
  • Figure 11 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present application.
  • FIG. 12 is a second structural schematic diagram of an electronic device provided by an embodiment of the present application.
  • the execution subject of the video recording method provided by the embodiments of the present application may be the video recording device provided by the embodiments of the present application, or an electronic device integrated with the video recording device, where the video recording device may be implemented in hardware or software.
  • Figure 1 is a flow chart of a video recording method provided by an embodiment of the present application. This embodiment mainly illustrates the application of this method to electronic devices. As shown in Figure 1, it includes the following steps:
  • Step 101 Receive the user's first input on the target object in the shooting preview interface.
  • the shooting preview interface is used to preview the images collected by the camera.
  • the electronic device displays a shooting preview interface and receives the user's first input of the target object in the shooting preview interface.
  • the shooting preview interface may be displayed when the user starts the camera application, or may be displayed when the user selects a preset shooting mode in the camera application, which is not limited in this embodiment.
  • the target object can be a person, an animal, an object, etc.
  • the first input is used to select the target object.
  • the first input may be an operation of clicking the target object; or it may be an operation of frame-selecting the target object; or it may be an operation of sliding on the target object according to a preset gesture; etc.
  • This embodiment does not process the first input. Make restrictions.
  • the first input may be before starting to record the video, or may be after starting to record the video.
  • selecting the target object is the exact job before recording the video.
  • the electronic device may display at least one photographed object on the shooting preview interface, and the at least one object includes a target object; the first input may be an input to the target object displayed on the shooting preview interface.
  • the electronic device can enter the shooting preview interface when the user clicks on the camera application, display at least one photographed object on the shooting preview interface, and receive the user's first input on the target object displayed on the shooting preview interface.
  • Step 102 In response to the first input, in the shooting preview interface, display a video preview image with the target object as the video subject.
  • the target object can be determined as the subject of the video through the first input, and in the shooting preview interface, a video preview image with the target object as the subject of the video is displayed.
  • Target audience as video The subject can be the target object as the main object of the video recording, so that the target object in the video recording screen can be tracked in real time and the target object can be photographed.
  • the electronic device can display a video preview image with the target object as the main body of the video in the shooting preview interface before starting to record the video; or, after starting to record the video, the electronic device can display a video preview image with the target object as the main body of the video. Video preview image.
  • the electronic device displays a video preview image with the target object as the subject of the video in the shooting preview interface.
  • the video recording image may be cropped to obtain a cropped image corresponding to the area where the target object is located, and the cropped image is displayed in the shooting preview interface. image; or, it can be to display the stitched image in the shooting preview interface, and the stitched image is an image obtained by splicing the video recording image and the cropped image; or, it can be when the cropped image contains shooting objects other than the target object,
  • the area where the subject is located in the cropped image is blurred, and the blurred cropped image is displayed in the shooting preview interface; etc.
  • This embodiment is not limited to this.
  • the electronic device can receive the user's click operation on the start shooting control of the shooting preview interface and perform video shooting.
  • the electronic device can receive the user's click operation on the start shooting control of the shooting preview interface and perform video shooting.
  • Step 103 Record a target video with the target object as the main body of the video.
  • the target video may be a general direct-shot video, and the target object serves as the main shooting object of the direct-shot video.
  • the electronic device can obtain the target video with the target object as the main body of the video when receiving the user's input to end the video recording, or can automatically end the recording video after the preset duration of recording, and obtain the target video with the target object as the main body of the video. target video.
  • the user's input to end the video recording can be an operation of clicking on the end shooting control; or it can be an operation of pressing a preset hardware button to end shooting; or it can be an operation of sliding on the screen according to a preset gesture to end shooting; etc.
  • the target video with the target object as the subject of the video can be a video generated by a cropped image corresponding to the area where the target object is located; or it can be a video generated by a spliced image obtained by splicing the video recording image and the cropped image; or it can be a video generated by splicing the video recording image and the cropped image. Is caused by cropping the image except for the target object
  • the video can be generated from a cropped image obtained by blurring the area where the shooting object is located; or it can be a video generated from an image obtained by blurring the area other than the target object in the video recording image; etc., this embodiment is suitable for This is not limited.
  • direct shooting refers to filming only one person's entire performance during a male and female group's performance. Because direct shooting is conducive to directly comparing the performance of two people's dance movements, it is often used in talent show variety shows. With the popularity of the idol economy, emerging domestic idol groups are emerging one after another. They shine and show their charm on various stages. Some viewers hope to focus solely on their idol's performance when enjoying the group stage. They will manually focus on their idol throughout the video recording on the spot; or they will edit the recorded panoramic performance video in post-production. way to create direct shots of idols to enjoy and save. There are the following problems with on-site manual recording: the stage is generally dynamic, and the recording needs to change with the movement of the stage.
  • Video provides a direct-shooting video recording method, which allows the photographer to select the person of interest in the picture during video recording and automatically record the corresponding direct-shooting video.
  • the original complex direct-shooting video production becomes simple and easy to use, solving the pain points of using mobile phones to shoot direct-shooting videos, and at the same time It can effectively avoid defects such as low image quality caused by post-processing.
  • the user's first input to the target object in the shooting preview interface is received; in response to the first input, in the shooting preview interface, a video preview image with the target object as the main subject of the video is displayed; and the recording is performed with the target object as the main body of the video.
  • the target video of the video body In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the interesting content in the video.
  • the video content of interesting objects avoids cumbersome operations; moreover, there is no need to perform secondary compression on the video, which improves the video quality.
  • the video recording method further includes: displaying at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range; and receiving user comments on targets in the at least two shooting range candidate boxes.
  • the user can select the target object in the initial shooting preview interface, that is, the first input acts on the target object in the initial shooting preview interface; or, the user can select the target object in the shooting preview interface of the video shooting range corresponding to the target candidate box. Select the target object, that is, the first input acts on the target object in the shooting preview interface of the video shooting range corresponding to the target candidate frame.
  • each of the at least two shooting range candidate boxes corresponds to a video shooting range.
  • the video shooting range may correspond to the field of view, and the electronic device may include multiple cameras, and each camera may correspond to a video shooting range; or the electronic device may include one or more cameras, and each camera may correspond to multiple video shooting ranges.
  • the second input may be an operation of clicking the target candidate box; or it may be an operation of selecting the target candidate box; or it may be an operation of sliding on the target candidate box according to a preset gesture; etc. This embodiment does not accept the second input. Make restrictions.
  • At least two shooting range candidate frames are displayed in the initial shooting preview interface, the user's second input for the target candidate frame in the at least two shooting range candidate frames is received, and the initial shooting preview interface is adjusted to the target candidate frame
  • the shooting preview interface corresponding to the video shooting range allows the user to select a suitable video shooting range for shooting without requiring the user to move the electronic device to obtain a better shooting angle, avoiding the jitter caused by moving the electronic device, thereby improving the generated video Video quality.
  • the video recording method before displaying a video preview image with the target object as the video subject in the shooting preview interface, the video recording method further includes: displaying at least two video subject mode options in the shooting preview interface; the video subject mode option is used to Select a subject mode of the video subject; receive a third input from the user for a target option among at least two video subject mode options; and in response to the third input, determine the subject mode corresponding to the target option as the subject of the target object in the target video model.
  • the third input may be an operation of clicking on the target option; or it may be an operation of frame-selecting the target option; or it may be an operation of sliding on the target option according to a preset gesture; and so on.
  • the third input Not limited.
  • the main mode represented by the at least two video main mode options may include a single display mode, a highlighted display mode, a spliced display mode, etc., which is not limited in this embodiment.
  • the individual display mode can be to display a cropped image corresponding to the area where the target object is located.
  • the method of obtaining the cropped image can be: crop the video recording image according to the location of the target object to obtain a cropped image corresponding to the area where the target object is located; highlight mode
  • the cropped image after blur processing may be displayed, and the acquisition method of the cropped image after blur processing may be: when the cropped image contains a subject other than the target object, blurring the area where the subject is located in the cropped image , to obtain the cropped image after blur processing;
  • the splicing display mode can be to display the spliced image, and the spliced image can be an image obtained by splicing the video recording image and the cropped image.
  • the electronic device can crop out and display the area where the target object is located in each frame captured by the video, so that the target object can be directly displayed; or, it can remove the target object from each frame captured by the video.
  • the area outside the area where the target object is located is blurred, so as to present the video recording image after blurring the area outside the target object; or, the spliced image of the video recording image and the area where the target object is located can be displayed, thereby realizing the panoramic perspective and Stitching from a direct perspective.
  • At least two video subject mode options are displayed in the shooting preview interface, the user's third input for the target option in the at least two video subject mode options is received, and the subject mode corresponding to the target option is determined as the target object.
  • the subject mode in the target video enables the user to select the subject mode of the target object in the target video, thereby improving the interactive experience between the user and the electronic device.
  • the shooting preview interface in response to the first input, display a video preview image with the target object as the subject of the video, including: in response to the first input, obtaining a video recording image containing the target object; according to the location of the target object , crop the video recording image to obtain the cropped image corresponding to the area where the target object is located; display the cropped image in the shooting preview interface.
  • the shape of the cropped image may be a square, a circle, a diamond, or the shape of a target object, etc.
  • This embodiment does not limit the shape of the cropped image.
  • the size of the cropped image can be set in advance.
  • the cropped image can be an image area with a preset size of the target object displayed in the video recording image. For example, the minimum value of the distance between the boundary line of the cropped image and the contour line of the target object is the preset size.
  • the size of the cropped image can be determined by the user's input, an activity box with the target object selected can be displayed on the video recording image, the user's adjustment input to the activity box can be received, and the activity after the adjustment input
  • the image area where the frame is located is used as the cropped image. This embodiment does not limit the size of the cropped image.
  • cropping the video recording image may include determining the location of the target object in the video recording image during the video shooting process, determining the cropping area in the video recording image based on the location of the target object, and cropping The area is cropped to obtain a cropped image.
  • the cropping area can be a frame-selected area with the target object.
  • the electronic device can use the center point of the target object as the center point of the cropping area, and update the cropping area in real time based on the movement of the center point of the target object; alternatively, the electronic device can identify the target.
  • the contour line of the object updates the cropping area in real time based on the movement of the contour line of the target object, so that the contour line of the target object is within the clipping area.
  • the target object may include at least a first object and a second object, the area where the target object is located includes the area where the first object is located and the area where the second object is located in the video recording image, and the cropped image is displayed in the shooting preview interface, The spliced image of the cropped image of the area where the first object is located and the cropped image of the area where the second object is located may be displayed in the shooting preview interface.
  • the target object may also include a third object or more objects, thereby achieving the effect of direct shooting of multiple people.
  • a video recording image containing the target object is obtained, the video recording image is cropped according to the location of the target object, a cropped image corresponding to the area where the target object is located is obtained, and the cropped image is displayed in the shooting preview interface, thereby facilitating the user See the target object intuitively and clearly.
  • the video recording method before displaying the cropped image in the shooting preview interface, also includes: When the cropped image contains subjects other than the target object, blur the area where the subject is located in the cropped image; display the cropped image in the shooting preview interface, including: displaying the blurred crop in the shooting preview interface image.
  • blurring the area where the subject is located in the cropped image may be blurring the area where the subject is located except the target object in the cropped image.
  • Blur processing may be blur processing, or may be mosaic processing, or may be processing to adjust transparency, etc. This embodiment does not limit the blur processing.
  • the cropped image contains a photographic object other than the target object
  • the area where the photographic object is located in the cropped image is blurred, and the blurred cropped image is displayed in the shooting preview interface, so that it can be used during shooting.
  • the target object is highlighted in the preview interface.
  • displaying the cropped image in the shooting preview interface includes: displaying a spliced image in the shooting preview interface, where the spliced image is an image obtained by splicing the video recording image and the cropped image.
  • the video recording image and the cropped image may be spliced in a left-right splicing manner to obtain a spliced image, or may be spliced in an up-and-down splicing manner to obtain a spliced image, or may be spliced in other forms to obtain a spliced image, This embodiment does not limit this.
  • a spliced image is displayed in the shooting preview interface.
  • the spliced image is an image obtained by splicing the video recording image and the cropped image, so that the viewer can compare and view the complete picture and the partial picture including only the target object.
  • the video recording method before displaying the cropped image in the shooting preview interface, also includes: performing detail enhancement processing on the cropped image; displaying the cropped image in the shooting preview interface, including: displaying the detail enhancement processing in the shooting preview interface cropped image.
  • detail enhancement processing can be used to enhance the clarity of the cropped image, compensate for possible flaws in the cropped image, and improve the picture quality of the cropped image.
  • detail enhancement processing is performed on the cropped image, and the cropped image after the detail enhancement processing is displayed in the shooting preview interface, so that high-resolution intelligent detail enhancement can be performed on the video content to make up for the possible loss of clarity after cropping. , enhance the look and feel of the video.
  • the video recording image is used to generate the original recording video; the video recording method also includes: After the target video is recorded, the target video and the original recorded video corresponding to the target video are stored.
  • the electronic device can simultaneously store the target video and the original recorded video corresponding to the target video in the photo album.
  • the processed target video can be automatically saved as a new video in the album, and the original recorded video can be stored at the same time. Therefore, after taking a direct shot of the stage, the user can view the complete stage video in the album, or view Processed direct video.
  • the target video and the original recorded video corresponding to the target video are stored, thereby facilitating the user to view the complete video and the direct-shot video.
  • the video recording method further includes: receiving a fourth input from the user to the video preview image; and adjusting the shooting preview in response to the fourth input.
  • the display size of the target object in the interface is not limited to:
  • the fourth input may be an operation of enlarging or reducing the border of the area where the target object is located in the video preview image; or it may be an operation of inputting the display size of the target object on the video preview image; or it may be clicking on the video preview
  • the operation of adjusting the display size of the target object in the area where the target object is located in the image; etc., any operation that can be used to adjust the display size of the target object can be used as the fourth input.
  • This embodiment does not specify the specific expression form of the fourth input. Make restrictions. For example, you can zoom and adjust the angle of view with your thumb and index finger to adjust the display size of the target object in the shooting preview interface.
  • the fourth input of the video preview image from the user is received, and the display size of the target object in the shooting preview interface is adjusted in response to the fourth input.
  • the user can adjust the display size of the target object in the shooting preview interface in real time.
  • the video recording method may include the following process:
  • the user turns on the camera video function of the mobile phone and selects the smart direct shooting function. As shown in Figure 2, the user points the mobile phone at the stage scene.
  • the display content of the shooting preview interface 11 of the mobile phone includes the entire stage.
  • the mobile phone Before video recording, guide the user to choose the appropriate shooting range.
  • the field of view (FOV) of all cameras is displayed on the shooting preview interface, and the user manually selects the appropriate field of view to record direct video.
  • the mobile phone can display at least two shooting range candidate boxes 12 on the shooting preview interface 11 , and each shooting range candidate box 12 can correspond to a field of view angle.
  • the mobile phone can intelligently identify several video objects 13 in the preview screen for the user to select.
  • the user can select an object of interest in the shooting preview interface, and the background will automatically lock the object of interest as the subject of the video.
  • Mode 1 As shown in Figure 5, separate display mode, only the main body of the video is retained in the video image;
  • Mode 2 As shown in Figure 6, the highlight mode blurs the parts of the video image other than the main body of the video, such as blurring or mosaic processing;
  • the splicing display mode splices the video recording image and the video image containing the video subject (such as the video image obtained through the above mode one or mode two).
  • One side is the panoramic view display area 14.
  • the video image of the original video is displayed; one side is a direct shooting perspective display area 15, which displays the video image of the video subject.
  • the user can click on the object of interest, and the mobile phone locks the video object selected by the user as the video subject.
  • the video subject can be displayed on the shooting preview interface.
  • the user can manually select the video object.
  • the user can select the object of interest in the shooting preview interface, and the phone will automatically lock the object of interest as the subject of the video.
  • the preview images corresponding to the three video subject modes of the video subject can be displayed on the shooting preview interface. The user can click on the preview image corresponding to a certain video subject mode to select the video subject mode.
  • the phone's camera will calculate the position of the video subject in the video recording image through human body tracking, and then lock the direct shot on the selected video subject.
  • the background will follow the video subject around the video subject based on the recording content.
  • users can also zoom with two fingers in the direct shooting perspective display area 15 in the shooting preview interface to customize the display size of the video subject for recording.
  • the user can select the export control according to the on-screen prompts. As shown in Figure 9, the screen will display a processing progress bar to instruct the user to wait.
  • high-resolution intelligent detail enhancement can be performed on the video content to make up for the possible loss of clarity after cropping and enhance the look and feel of the picture.
  • a pop-up box prompts the user that the direct-shot video has been processed, and the original video and direct-shot video are stored in the local album. The user can watch the original video and direct-shot video in the album, or share them to social applications. wait.
  • the shooting preview interface of the mobile phone will display portraits of multiple performers.
  • the mobile phone tracks the target object in real time.
  • the mobile phone can use the center point of the target object as the center point of the cropping area, update the cropping area in real time based on the movement of the center point of the target object, and crop the cropping area to include the target object.
  • the cropped image is displayed in the shooting preview interface, and the straight-shot video is composed of the cropped image; when the user selects the highlight mode, the area except the target object is blurred, and the blur is displayed in the shooting preview interface
  • the processed image, and the blurred image constitutes a direct-shot video; when the user selects the splicing display mode, the video recording image and the cropped image are spliced, and the spliced image is displayed in the shooting preview interface, and the spliced image is Constitute a direct video.
  • This embodiment can capture the video subject throughout the entire process while maintaining the stability of the captured image.
  • the execution subject may be a video recording device.
  • the method of performing video recording by a video recording device is taken as an example to illustrate the video recording device provided by the embodiment of the present application.
  • FIG 10 is a schematic structural diagram of a video recording device provided by an embodiment of the present application.
  • the video recording device 200 includes:
  • the first receiving module 201 is used to receive the user's first input on the target object in the shooting preview interface
  • the first display module 202 is configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
  • the recording module 203 is used to record a target video with the target object as the main body of the video.
  • the video recording device 200 also includes:
  • the second display module is used to display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
  • a second receiving module configured to receive a second input from the user to the target candidate frame in the at least two shooting range candidate frames
  • the first adjustment module is configured to adjust the initial shooting preview interface to the shooting preview interface of the video shooting range corresponding to the target candidate frame in response to the second input.
  • the video recording device 200 also includes:
  • the third display module is used to display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
  • a third receiving module configured to receive a third input from the user to a target option among at least two video subject mode options
  • the determining module is configured to respond to the third input and determine the subject mode corresponding to the target option as the subject mode of the target object in the target video.
  • the first display module 202 includes:
  • an acquisition unit configured to acquire a video recording image containing the target object in response to the first input
  • the cropping unit is used to crop the video recording image according to the location of the target object, and obtain the cropped image corresponding to the area where the target object is located;
  • the display unit is used to display the cropped image in the shooting preview interface.
  • the video recording device 200 also includes:
  • a blur processing module used to blur the area where the subject is located in the cropped image when the cropped image contains subjects other than the target object
  • the display unit is specifically used for:
  • the display unit is specifically used for:
  • the spliced image is an image obtained by splicing the video recording image and the cropped image.
  • the video recording device 200 also includes:
  • Enhancement processing module used to enhance details of cropped images
  • the display unit is specifically used for:
  • the video recording image is used to generate the original recorded video
  • the video recording device 200 also includes:
  • the storage module is used to store the target video and the original recorded video corresponding to the target video after the target video is recorded.
  • the video recording device 200 also includes:
  • the fourth receiving module is used to receive the user's fourth input of the video preview image
  • the second adjustment module is configured to adjust the display size of the target object in the shooting preview interface in response to the fourth input.
  • the first receiving module receives the user's first input on the target object in the shooting preview interface; the first display module responds to the first input and displays a video with the target object as the subject of the video in the shooting preview interface. Preview the image; the recording module records the target video with the target object as the main body of the video.
  • the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the video content of the object of interest in the video, avoiding cumbersome operations; and, there is no need to perform secondary compression on the video, which improves the video quality. Picture quality.
  • the video recording device in the embodiment of the present application may be an electronic device or a component of the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or something other than a terminal. other equipment.
  • the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR).
  • MID mobile Internet device
  • AR augmented reality
  • VR virtual reality
  • UMPC ultra-mobile personal computers
  • PDA personal digital assistants
  • NAS Network Attached Storage
  • PC personal computer
  • TV television
  • teller machine or self-service machine etc.
  • the video recording device in the embodiment of the present application may be a device with an operating system.
  • the operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • the video recording device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 1. To avoid duplication, the details will not be described here.
  • this embodiment of the present application also provides an electronic device 300, including a processor 301 and a memory 302.
  • the memory 302 stores programs or instructions that can be run on the processor 301, and the program or When the instructions are executed by the processor 301, each step of the above video recording method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Figure 12 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, etc. part.
  • the electronic device 400 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 410 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device, and the electronic device may include more than what is shown in the figure. or fewer components, or combination of certain components, or different component arrangements, which will not be described again here.
  • the user input unit 407 is used to receive the user's first input to the target object in the shooting preview interface
  • the display unit 406 is configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
  • Processor 410 configured to: record a target video with the target object as the main body of the video.
  • the user input unit receives the user's first input on the target object in the shooting preview interface; the display unit responds to the first input and displays a video preview image with the target object as the video subject in the shooting preview interface;
  • the processor records a target video with the target object as the subject of the video.
  • the display unit 406 is also configured to display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
  • the user input unit 407 is also configured to receive a second input from the user to the target candidate frame among the at least two shooting range candidate frames;
  • the processor 410 is also configured to adjust the initial shooting preview interface to the shooting preview interface of the video shooting range corresponding to the target candidate frame in response to the second input.
  • the display unit 406 is also configured to display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
  • the user input unit 407 is also configured to receive a third input from the user to the target option among the at least two video body mode options;
  • the processor 410 is also configured to respond to the third input and determine the subject mode corresponding to the target option as the subject mode of the target object in the target video.
  • the processor 410 is also configured to obtain a video recording image containing the target object in response to the first input;
  • the processor 410 is also used to crop the video recording image according to the location of the target object, Obtain the cropped image corresponding to the area where the target object is located;
  • the display unit 406 is also used to display the cropped image in the shooting preview interface.
  • the processor 410 is also configured to blur the area where the photographed object is located in the cropped image when the cropped image contains a photographic object other than the target object;
  • the display unit 406 is also used to display the blurred cropped image in the shooting preview interface.
  • the display unit 406 is also used to display a spliced image in the shooting preview interface.
  • the spliced image is an image obtained by splicing the video recording image and the cropped image.
  • the processor 410 is also used to perform detail enhancement processing on the cropped image
  • the display unit 406 is also used to display the cropped image after detail enhancement processing in the shooting preview interface.
  • the video recording image is used to generate the original recorded video
  • the processor 410 is also configured to store the target video and the original recorded video corresponding to the target video after the target video is recorded.
  • the user input unit 407 is also used to receive the user's fourth input to the video preview image
  • the processor 410 is also configured to adjust the display size of the target object in the shooting preview interface in response to the fourth input.
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072 . Touch panel 4071, also called touch screen.
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 4072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 409 may be used to store software programs as well as various data.
  • Memory 409 may mainly include A first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.) wait.
  • memory 409 may include volatile memory or nonvolatile memory, or memory 409 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
  • Enhanced SDRAM, ESDRAM synchronous link dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • the processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 410.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by the processor, each process of the above video recording method embodiment is implemented, and the same technology can be achieved. The effect will not be described here in order to avoid repetition.
  • Readable storage media includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above video recording method.
  • Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • Embodiments of the present application provide a computer program product, which is stored in a storage medium.
  • the computer program product is executed by at least one processor to implement each process of the above video recording method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • the embodiment of the present application provides a communication device that is configured to perform each process of the above video recording method embodiment and can achieve the same technical effect. To avoid duplication, the details will not be described here.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.

Abstract

The present application belongs to the technical field of videos. Disclosed are a video recording method and apparatus, and an electronic device. The method comprises: receiving a first input of a user for a target object in a photographing preview interface; in response to the first input, displaying, in the photographing preview interface, a video preview image that takes the target object as a video subject; and recording a target video that takes the target object as a video subject.

Description

视频录制方法、装置和电子设备Video recording methods, devices and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年3月16日在中国提交的中国专利申请No.202210258726.X的优先权,其全部内容通过引用包含于此。This application claims priority from Chinese Patent Application No. 202210258726.X filed in China on March 16, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于视频技术领域,具体涉及一种视频录制方法、装置和电子设备。This application belongs to the field of video technology, and specifically relates to a video recording method, device and electronic equipment.
背景技术Background technique
随着技术的发展,电子设备的功能更加多样化,不仅能够实现更便捷的通信,而且给人们生活带来更多的娱乐性。尤其是,用户能够使用电子设备拍摄视频,记录生活的点点滴滴。With the development of technology, the functions of electronic devices have become more diversified, which not only enables more convenient communication, but also brings more entertainment to people's lives. In particular, users can use electronic devices to shoot videos and record every moment of their lives.
目前,对于拍摄得到的视频,用户有时期望获得视频中感兴趣对象的视频内容,例如演出视频中某个演出人员的视频内容。在现有技术中,用户在后期通过专业的视频编辑软件对视频进行剪辑来获得视频中感兴趣对象的视频内容,操作繁琐,且视频的二次压缩也会导致画质损失。Currently, for captured videos, users sometimes expect to obtain the video content of the object of interest in the video, such as the video content of a performer in a performance video. In the existing technology, users use professional video editing software to edit the video in the later stage to obtain the video content of the object of interest in the video. The operation is cumbersome, and secondary compression of the video will also cause a loss of image quality.
发明内容Contents of the invention
本申请实施例的目的是提供一种视频录制方法、装置和电子设备,能够解决用户期望获得感兴趣对象的视频内容时,手动对视频进行剪辑所导致的操作繁琐且视频画质低的问题。The purpose of the embodiments of the present application is to provide a video recording method, device and electronic device that can solve the problems of cumbersome operations and low video quality caused by manually editing the video when the user desires to obtain the video content of the object of interest.
第一方面,本申请实施例提供了一种视频录制方法,该方法包括:In a first aspect, embodiments of the present application provide a video recording method, which method includes:
接收用户对拍摄预览界面中目标对象的第一输入;Receive the user's first input on the target object in the shooting preview interface;
响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像;In response to the first input, in the shooting preview interface, display a video preview image with the target object as the video subject;
录制以所述目标对象作为视频主体的目标视频。 Record a target video with the target object as the main body of the video.
第二方面,本申请实施例提供了一种视频录制装置,所述装置包括:In a second aspect, embodiments of the present application provide a video recording device, which includes:
第一接收模块,用于接收用户对拍摄预览界面中目标对象的第一输入;A first receiving module configured to receive the user's first input of the target object in the shooting preview interface;
第一显示模块,用于响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像;A first display module configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
录制模块,用于录制以所述目标对象作为视频主体的目标视频。A recording module, configured to record a target video with the target object as the subject of the video.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.
第六方面,本申请实施例提供一种计算机程序产品,该计算机程序产品被存储在存储介质中,该计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the computer program product is stored in a storage medium, and the computer program product is executed by at least one processor to implement the method as described in the first aspect.
第七方面,本申请实施例提供一种通信设备,被配置为执行如第一方面所述的方法。In a seventh aspect, embodiments of the present application provide a communication device configured to perform the method described in the first aspect.
在本申请实施例中,接收用户对拍摄预览界面中目标对象的第一输入,响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像,录制以目标对象作为视频主体的目标视频。这样,能够直接录制用户感兴趣对象的视频,无需用户在后期对视频进行剪辑来获得视频中感兴趣对象的视频内容,避免了繁琐的操作;并且,无需对视频进行二次压缩,提高了视频画质。In the embodiment of the present application, the user's first input to the target object in the shooting preview interface is received. In response to the first input, in the shooting preview interface, a video preview image with the target object as the video subject is displayed, and the video preview image with the target object as the video subject is recorded. The target video of the video body. In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the video content of the object of interest in the video, avoiding cumbersome operations; and, there is no need to perform secondary compression on the video, which improves the video quality. Picture quality.
附图说明 Description of the drawings
图1是本申请实施例提供的一种视频录制方法的流程图;Figure 1 is a flow chart of a video recording method provided by an embodiment of the present application;
图2是本申请实施例提供的一种电子设备的界面显示示意图之一;Figure 2 is one of the interface display schematic diagrams of an electronic device provided by an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的界面显示示意图之二;Figure 3 is a second schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的一种电子设备的界面显示示意图之三;Figure 4 is a third schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的界面显示示意图之四;Figure 5 is a fourth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图6是本申请实施例提供的一种电子设备的界面显示示意图之五;Figure 6 is a fifth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图7是本申请实施例提供的一种电子设备的界面显示示意图之六;Figure 7 is a sixth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的界面显示示意图之七;Figure 8 is a seventh schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的界面显示示意图之八;Figure 9 is an eighth schematic diagram of an interface display of an electronic device provided by an embodiment of the present application;
图10是本申请实施例提供的一种视频录制装置的结构示意图;Figure 10 is a schematic structural diagram of a video recording device provided by an embodiment of the present application;
图11是本申请实施例提供的一种电子设备的结构示意图之一;Figure 11 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present application;
图12是本申请实施例提供的一种电子设备的结构示意图之二。FIG. 12 is a second structural schematic diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
本申请实施例提供的视频录制方法,其执行主体可以是本申请实施例提供的视频录制装置,或者集成了该视频录制装置的电子设备,其中该视频录制装置可以采用硬件或软件的方式实现。 The execution subject of the video recording method provided by the embodiments of the present application may be the video recording device provided by the embodiments of the present application, or an electronic device integrated with the video recording device, where the video recording device may be implemented in hardware or software.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频录制方法、装置和电子设备进行详细地说明。The video recording method, device and electronic device provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
参见图1,图1是本申请实施例提供的一种视频录制方法的流程图,本实施例主要以该方法应用于电子设备来举例说明,如图1所示,包括以下步骤:Referring to Figure 1, Figure 1 is a flow chart of a video recording method provided by an embodiment of the present application. This embodiment mainly illustrates the application of this method to electronic devices. As shown in Figure 1, it includes the following steps:
步骤101、接收用户对拍摄预览界面中目标对象的第一输入。Step 101: Receive the user's first input on the target object in the shooting preview interface.
其中,拍摄预览界面用于预览摄像头采集的图像。Among them, the shooting preview interface is used to preview the images collected by the camera.
可选地,电子设备显示拍摄预览界面,接收用户对拍摄预览界面中目标对象的第一输入。该拍摄预览界面可以在用户启动相机应用程序的情况下显示,也可以在用户选择相机应用程序中的预设拍摄模式的情况下显示,本实施例对此不进行限定。Optionally, the electronic device displays a shooting preview interface and receives the user's first input of the target object in the shooting preview interface. The shooting preview interface may be displayed when the user starts the camera application, or may be displayed when the user selects a preset shooting mode in the camera application, which is not limited in this embodiment.
可选地,目标对象可以是人、动物、物体等。Alternatively, the target object can be a person, an animal, an object, etc.
可选地,第一输入用于选择目标对象。示例地,第一输入可以是点击目标对象的操作;或者可以是框选目标对象的操作;或者可以是按照预设手势在目标对象上滑动的操作;等等,本实施例对第一输入不进行限定。Optionally, the first input is used to select the target object. For example, the first input may be an operation of clicking the target object; or it may be an operation of frame-selecting the target object; or it may be an operation of sliding on the target object according to a preset gesture; etc. This embodiment does not process the first input. Make restrictions.
可选地,第一输入可以是在开始录制视频之前,或者,可以是在开始录制视频之后。当第一输入在开始录制视频之前时,选择目标对象为录制视频前的准确工作。Optionally, the first input may be before starting to record the video, or may be after starting to record the video. When the first input is before starting to record the video, selecting the target object is the exact job before recording the video.
可选地,电子设备可以在拍摄预览界面显示拍摄的至少一个对象,至少一个对象包括目标对象;第一输入可以是对拍摄预览界面显示的目标对象的输入。示例地,电子设备可以在用户点击相机应用程序时,进入拍摄预览界面,在拍摄预览界面显示拍摄的至少一个对象,接收用户对拍摄预览界面显示的目标对象的第一输入。Optionally, the electronic device may display at least one photographed object on the shooting preview interface, and the at least one object includes a target object; the first input may be an input to the target object displayed on the shooting preview interface. For example, the electronic device can enter the shooting preview interface when the user clicks on the camera application, display at least one photographed object on the shooting preview interface, and receive the user's first input on the target object displayed on the shooting preview interface.
步骤102、响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像。Step 102: In response to the first input, in the shooting preview interface, display a video preview image with the target object as the video subject.
其中,通过该第一输入可以将目标对象确定为视频主体,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像。以目标对象作为视频 主体,可以是以目标对象作为视频录制的主要对象,从而能够实时跟踪视频录制画面中的目标对象,对目标对象进行拍摄。Wherein, the target object can be determined as the subject of the video through the first input, and in the shooting preview interface, a video preview image with the target object as the subject of the video is displayed. Target audience as video The subject can be the target object as the main object of the video recording, so that the target object in the video recording screen can be tracked in real time and the target object can be photographed.
可选地,电子设备可以在开始录制视频前,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;或者,电子设备可以在开始录制视频后,显示以目标对象作为视频主体的视频预览图像。Optionally, the electronic device can display a video preview image with the target object as the main body of the video in the shooting preview interface before starting to record the video; or, after starting to record the video, the electronic device can display a video preview image with the target object as the main body of the video. Video preview image.
可选地,电子设备在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像,可以是对视频录制图像进行裁剪,获得目标对象所在区域对应的裁剪图像,在拍摄预览界面中显示裁剪图像;或者,可以是在拍摄预览界面中显示拼接图像,拼接图像是由视频录制图像和裁剪图像拼接得到的图像;或者,可以是在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理,在拍摄预览界面中显示模糊处理后的裁剪图像;等等,本实施例对此不进行限定。Optionally, the electronic device displays a video preview image with the target object as the subject of the video in the shooting preview interface. The video recording image may be cropped to obtain a cropped image corresponding to the area where the target object is located, and the cropped image is displayed in the shooting preview interface. image; or, it can be to display the stitched image in the shooting preview interface, and the stitched image is an image obtained by splicing the video recording image and the cropped image; or, it can be when the cropped image contains shooting objects other than the target object, The area where the subject is located in the cropped image is blurred, and the blurred cropped image is displayed in the shooting preview interface; etc. This embodiment is not limited to this.
可选地,电子设备在接收用户对拍摄预览界面显示的目标对象的第一输入之后,电子设备可以接收用户对拍摄预览界面的开始拍摄控件的点击操作,进行视频拍摄,在视频拍摄的过程中,在拍摄预览界面中显示以目标对象作为视频主体的视频预览图像。Optionally, after the electronic device receives the user's first input on the target object displayed on the shooting preview interface, the electronic device can receive the user's click operation on the start shooting control of the shooting preview interface and perform video shooting. During the video shooting process , display a video preview image with the target object as the video subject in the shooting preview interface.
步骤103、录制以所述目标对象作为视频主体的目标视频。Step 103: Record a target video with the target object as the main body of the video.
可选地,目标视频可以是通用的直拍视频,目标对象作为该直拍视频的主要拍摄对象。Optionally, the target video may be a general direct-shot video, and the target object serves as the main shooting object of the direct-shot video.
可选地,电子设备可以在接收到用户结束录制视频的输入时,得到以目标对象作为视频主体的目标视频,或者可以在录制预设时长后自动结束录制视频,得到以目标对象作为视频主体的目标视频。用户结束录制视频的输入可以是点击结束拍摄控件的操作;或者可以是按压预设硬件按键以结束拍摄的操作;或者可以是按照预设手势在屏幕上滑动以结束拍摄的操作;等等。Optionally, the electronic device can obtain the target video with the target object as the main body of the video when receiving the user's input to end the video recording, or can automatically end the recording video after the preset duration of recording, and obtain the target video with the target object as the main body of the video. target video. The user's input to end the video recording can be an operation of clicking on the end shooting control; or it can be an operation of pressing a preset hardware button to end shooting; or it can be an operation of sliding on the screen according to a preset gesture to end shooting; etc.
可选地,以目标对象作为视频主体的目标视频,可以是由目标对象所在区域对应的裁剪图像生成的视频;或者可以是由视频录制图像和裁剪图像拼接得到的拼接图像生成的视频;或者可以是由对裁剪图像中除目标对象以外 的拍摄对象所在区域进行模糊处理后得到的裁剪图像生成的视频;或者可以是由对视频录制图像中除目标对象以外的区域进行模糊处理后得到的图像生成的视频;等等,本实施例对此不进行限定。Optionally, the target video with the target object as the subject of the video can be a video generated by a cropped image corresponding to the area where the target object is located; or it can be a video generated by a spliced image obtained by splicing the video recording image and the cropped image; or it can be a video generated by splicing the video recording image and the cropped image. Is caused by cropping the image except for the target object The video can be generated from a cropped image obtained by blurring the area where the shooting object is located; or it can be a video generated from an image obtained by blurring the area other than the target object in the video recording image; etc., this embodiment is suitable for This is not limited.
需要说明的是,直拍是指男女团表演的时候单独只拍摄某一个人的全程表演。因为直拍有利于直接比较两个人舞蹈动作的表现情况,所以选秀类综艺节目中使用的较多。随着偶像经济的风靡,国内的新兴偶像团体组合层出不穷,他们在各式各样的舞台上发光发热,展现魅力。部分观众在欣赏团体舞台时,希望能只专注于自己偶像的表现,她们会在现场录制视频时,全程手动将焦点对在自己偶像身上拍摄;或是将录制好的全景演出视频通过后期剪辑的方式,制作出偶像的直拍来欣赏和保存。采用现场手动录制的方式存在以下问题:舞台一般是动态的,录制时需要随着舞台走位的变化而变化,在远距离变焦放大拍摄画面时,手部稍微的晃动会引起画面内容的剧烈变化,画面较难拍摄准确,也较难拍摄清晰。采用后期剪辑的方式存在以下问题:视频后期剪辑复杂度高于图片,耗时耗力,而且视频的二次压缩可能导致画质的损失。It should be noted that direct shooting refers to filming only one person's entire performance during a male and female group's performance. Because direct shooting is conducive to directly comparing the performance of two people's dance movements, it is often used in talent show variety shows. With the popularity of the idol economy, emerging domestic idol groups are emerging one after another. They shine and show their charm on various stages. Some viewers hope to focus solely on their idol's performance when enjoying the group stage. They will manually focus on their idol throughout the video recording on the spot; or they will edit the recorded panoramic performance video in post-production. way to create direct shots of idols to enjoy and save. There are the following problems with on-site manual recording: the stage is generally dynamic, and the recording needs to change with the movement of the stage. When zooming in and shooting the picture from a long distance, a slight shake of the hand will cause drastic changes in the content of the picture. , it is difficult to shoot accurately and clearly. There are the following problems with the post-editing method: video post-editing is more complex than pictures, time-consuming and labor-intensive, and secondary compression of the video may lead to loss of image quality.
而在本申请实施例中,通过接收用户对拍摄预览界面中目标对象的第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像,录制以目标对象作为视频主体的目标视频,提供了一种视频直拍的录制方式,能够让拍摄者在视频录制时,选定画面中感兴趣的人物,自动录制对应的直拍视频。本申请实施例中,通过将主体识别和视频剪辑整合成一个完整的智能直拍录制操作,将原本复杂的直拍视频制作变得简单易上手,解决了使用手机拍摄直拍视频的痛点,同时可以有效避免由后期处理带来的画质不高等缺陷。In the embodiment of the present application, by receiving the user's first input of the target object in the shooting preview interface, the video preview image with the target object as the main body of the video is displayed in the shooting preview interface, and the target with the target object as the main body of the video is recorded. Video provides a direct-shooting video recording method, which allows the photographer to select the person of interest in the picture during video recording and automatically record the corresponding direct-shooting video. In the embodiment of this application, by integrating subject recognition and video editing into a complete intelligent direct-shooting recording operation, the original complex direct-shooting video production becomes simple and easy to use, solving the pain points of using mobile phones to shoot direct-shooting videos, and at the same time It can effectively avoid defects such as low image quality caused by post-processing.
在本申请实施例中,接收用户对拍摄预览界面中目标对象的第一输入;响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;录制以目标对象作为视频主体的目标视频。这样,能够直接录制用户感兴趣对象的视频,无需用户在后期对视频进行剪辑来获得视频中感兴 趣对象的视频内容,避免了繁琐的操作;并且,无需对视频进行二次压缩,提高了视频画质。In the embodiment of the present application, the user's first input to the target object in the shooting preview interface is received; in response to the first input, in the shooting preview interface, a video preview image with the target object as the main subject of the video is displayed; and the recording is performed with the target object as the main body of the video. The target video of the video body. In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the interesting content in the video. The video content of interesting objects avoids cumbersome operations; moreover, there is no need to perform secondary compression on the video, which improves the video quality.
可选地,该视频录制方法还包括:在初始拍摄预览界面中显示至少两个拍摄范围候选框;拍摄范围候选框用于选择视频拍摄范围;接收用户对至少两个拍摄范围候选框中的目标候选框的第二输入;响应于第二输入,将初始拍摄预览界面调整为目标候选框对应的视频拍摄范围的拍摄预览界面。Optionally, the video recording method further includes: displaying at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range; and receiving user comments on targets in the at least two shooting range candidate boxes. A second input of the candidate frame; in response to the second input, the initial shooting preview interface is adjusted to a shooting preview interface of the video shooting range corresponding to the target candidate frame.
可选地,用户可以在初始拍摄预览界面中选择目标对象,即第一输入作用在初始拍摄预览界面中的目标对象上;或者,用户可以在目标候选框对应的视频拍摄范围的拍摄预览界面中选择目标对象,即第一输入作用在目标候选框对应的视频拍摄范围的拍摄预览界面中的目标对象上。Alternatively, the user can select the target object in the initial shooting preview interface, that is, the first input acts on the target object in the initial shooting preview interface; or, the user can select the target object in the shooting preview interface of the video shooting range corresponding to the target candidate box. Select the target object, that is, the first input acts on the target object in the shooting preview interface of the video shooting range corresponding to the target candidate frame.
可选地,至少两个拍摄范围候选框中每个拍摄范围候选框对应一个视频拍摄范围。视频拍摄范围可以与视场角对应,电子设备可以包括多个摄像头,每个摄像头可以对应一个视频拍摄范围;或者,电子设备可以包括一个或多个摄像头,每个摄像头可以对应多个视频拍摄范围。第二输入可以是点击目标候选框的操作;或者可以是框选目标候选框的操作;或者可以是按照预设手势在目标候选框上滑动的操作;等等,本实施例对第二输入不进行限定。Optionally, each of the at least two shooting range candidate boxes corresponds to a video shooting range. The video shooting range may correspond to the field of view, and the electronic device may include multiple cameras, and each camera may correspond to a video shooting range; or the electronic device may include one or more cameras, and each camera may correspond to multiple video shooting ranges. . The second input may be an operation of clicking the target candidate box; or it may be an operation of selecting the target candidate box; or it may be an operation of sliding on the target candidate box according to a preset gesture; etc. This embodiment does not accept the second input. Make restrictions.
该实施例中,在初始拍摄预览界面中显示至少两个拍摄范围候选框,接收用户对至少两个拍摄范围候选框中的目标候选框的第二输入,将初始拍摄预览界面调整为目标候选框对应的视频拍摄范围的拍摄预览界面,从而能够选择合适的视频拍摄范围进行拍摄,不需要用户移动电子设备以获得较好的拍摄角度,避免了移动电子设备带来的抖动,从而能够提高生成的视频的质量。In this embodiment, at least two shooting range candidate frames are displayed in the initial shooting preview interface, the user's second input for the target candidate frame in the at least two shooting range candidate frames is received, and the initial shooting preview interface is adjusted to the target candidate frame The shooting preview interface corresponding to the video shooting range allows the user to select a suitable video shooting range for shooting without requiring the user to move the electronic device to obtain a better shooting angle, avoiding the jitter caused by moving the electronic device, thereby improving the generated video Video quality.
可选地,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像之前,该视频录制方法还包括:在拍摄预览界面中显示至少两个视频主体模式选项;视频主体模式选项用于选择视频主体的主体模式;接收用户对至少两个视频主体模式选项中的目标选项的第三输入;响应于第三输入,将目标选项对应的主体模式,确定为目标对象在目标视频中的主体模式。 Optionally, before displaying a video preview image with the target object as the video subject in the shooting preview interface, the video recording method further includes: displaying at least two video subject mode options in the shooting preview interface; the video subject mode option is used to Select a subject mode of the video subject; receive a third input from the user for a target option among at least two video subject mode options; and in response to the third input, determine the subject mode corresponding to the target option as the subject of the target object in the target video model.
可选地,第三输入可以是点击目标选项的操作;或者可以是框选目标选项的操作;或者可以是按照预设手势在目标选项上滑动的操作;等等,本实施例对第三输入不进行限定。Optionally, the third input may be an operation of clicking on the target option; or it may be an operation of frame-selecting the target option; or it may be an operation of sliding on the target option according to a preset gesture; and so on. In this embodiment, the third input Not limited.
可选地,至少两个视频主体模式选项表示的主体模式可以包括单独显示模式、突出显示模式及拼接显示模式,等等,本实施例对此不进行限定。单独显示模式可以是显示目标对象所在区域对应的裁剪图像,该裁剪图像的获取方式可以为:按照目标对象所在位置,对视频录制图像进行裁剪,获得目标对象所在区域对应的裁剪图像;突出显示模式可以是显示模糊处理后的裁剪图像,该模糊处理后的裁剪图像的获取方式可以为:在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理,得到模糊处理后的裁剪图像;拼接显示模式可以是显示拼接图像,拼接图像可以是由视频录制图像和裁剪图像拼接得到的图像。Optionally, the main mode represented by the at least two video main mode options may include a single display mode, a highlighted display mode, a spliced display mode, etc., which is not limited in this embodiment. The individual display mode can be to display a cropped image corresponding to the area where the target object is located. The method of obtaining the cropped image can be: crop the video recording image according to the location of the target object to obtain a cropped image corresponding to the area where the target object is located; highlight mode The cropped image after blur processing may be displayed, and the acquisition method of the cropped image after blur processing may be: when the cropped image contains a subject other than the target object, blurring the area where the subject is located in the cropped image , to obtain the cropped image after blur processing; the splicing display mode can be to display the spliced image, and the spliced image can be an image obtained by splicing the video recording image and the cropped image.
在实际应用中,电子设备可以将视频拍摄得到的每一帧中的目标对象所在的区域裁剪出来进行显示,从而可以直接显示目标对象;或者,可以对视频拍摄得到的每一帧中除目标对象所在的区域外的区域进行模糊处理,从而呈现将目标对象外的区域进行模糊处理后的视频录制图像;或者,可以显示视频录制图像及目标对象所在的区域的拼接画面,从而实现将全景视角及直拍视角进行拼接。In practical applications, the electronic device can crop out and display the area where the target object is located in each frame captured by the video, so that the target object can be directly displayed; or, it can remove the target object from each frame captured by the video. The area outside the area where the target object is located is blurred, so as to present the video recording image after blurring the area outside the target object; or, the spliced image of the video recording image and the area where the target object is located can be displayed, thereby realizing the panoramic perspective and Stitching from a direct perspective.
该实施例中,在拍摄预览界面中显示至少两个视频主体模式选项,接收用户对至少两个视频主体模式选项中的目标选项的第三输入,将目标选项对应的主体模式,确定为目标对象在目标视频中的主体模式,从而能够由用户选择目标对象在目标视频中的主体模式,提高用户与电子设备之间的交互体验。In this embodiment, at least two video subject mode options are displayed in the shooting preview interface, the user's third input for the target option in the at least two video subject mode options is received, and the subject mode corresponding to the target option is determined as the target object. The subject mode in the target video enables the user to select the subject mode of the target object in the target video, thereby improving the interactive experience between the user and the electronic device.
可选地,响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像,包括:响应于第一输入,获取包含目标对象的视频录制图像;按照目标对象所在位置,对视频录制图像进行裁剪,获得目标对象所在区域对应的裁剪图像;在拍摄预览界面中显示裁剪图像。 Optionally, in response to the first input, in the shooting preview interface, display a video preview image with the target object as the subject of the video, including: in response to the first input, obtaining a video recording image containing the target object; according to the location of the target object , crop the video recording image to obtain the cropped image corresponding to the area where the target object is located; display the cropped image in the shooting preview interface.
可选地,裁剪图像的形状可以为方形,或者可以为圆形,或者可以为菱形,或者可以为目标对象的形状,等等,本实施例对裁剪图像的形状不进行限定。裁剪图像的大小可以预先设置,裁剪图像可以为视频录制图像中显示有目标对象的预设大小的图像区域,例如,裁剪图像的边界线与目标对象的轮廓线之间的距离的最小值为预设值;或者,裁剪图像的大小可以由用户的输入确定,可以在视频录制图像上显示框选有目标对象的活动框,可以接收用户对该活动框的调整输入,将该调整输入后的活动框所在的图像区域作为裁剪图像。本实施例对裁剪图像的大小不进行限定。Optionally, the shape of the cropped image may be a square, a circle, a diamond, or the shape of a target object, etc. This embodiment does not limit the shape of the cropped image. The size of the cropped image can be set in advance. The cropped image can be an image area with a preset size of the target object displayed in the video recording image. For example, the minimum value of the distance between the boundary line of the cropped image and the contour line of the target object is the preset size. Set value; alternatively, the size of the cropped image can be determined by the user's input, an activity box with the target object selected can be displayed on the video recording image, the user's adjustment input to the activity box can be received, and the activity after the adjustment input The image area where the frame is located is used as the cropped image. This embodiment does not limit the size of the cropped image.
需要说明的是,对视频录制图像进行裁剪,可以是,在视频拍摄的过程中确定视频录制图像中的目标对象所在的位置,基于目标对象所在的位置确定视频录制图像中的裁剪区域,对裁剪区域进行裁剪,得到裁剪图像。裁剪区域可以是框选有目标对象的区域。It should be noted that cropping the video recording image may include determining the location of the target object in the video recording image during the video shooting process, determining the cropping area in the video recording image based on the location of the target object, and cropping The area is cropped to obtain a cropped image. The cropping area can be a frame-selected area with the target object.
可选地,电子设备在视频拍摄的过程中,可以将目标对象的中心点作为裁剪区域的中心点,基于目标对象的中心点的移动实时更新裁剪区域;另可选地,电子设备可以识别目标对象的轮廓线,基于目标对象的轮廓线的移动实时更新裁剪区域,使得目标对象的轮廓线处于裁剪区域内。Optionally, during the video shooting process, the electronic device can use the center point of the target object as the center point of the cropping area, and update the cropping area in real time based on the movement of the center point of the target object; alternatively, the electronic device can identify the target. The contour line of the object updates the cropping area in real time based on the movement of the contour line of the target object, so that the contour line of the target object is within the clipping area.
可选地,目标对象可以至少包括第一对象和第二对象,目标对象所在的区域包括视频录制图像中第一对象所在的区域及第二对象所在的区域,在拍摄预览界面中显示裁剪图像,可以是在拍摄预览界面中显示,第一对象所在的区域的裁剪图像与第二对象所在的区域的裁剪图像的拼接图像。需要说明的是,目标对象在包括第一对象和第二对象之外,还可以包括第三对象或者更多的对象,从而能够实现多人对比直拍的效果。Optionally, the target object may include at least a first object and a second object, the area where the target object is located includes the area where the first object is located and the area where the second object is located in the video recording image, and the cropped image is displayed in the shooting preview interface, The spliced image of the cropped image of the area where the first object is located and the cropped image of the area where the second object is located may be displayed in the shooting preview interface. It should be noted that, in addition to the first object and the second object, the target object may also include a third object or more objects, thereby achieving the effect of direct shooting of multiple people.
该实施例中,获取包含目标对象的视频录制图像,按照目标对象所在位置,对视频录制图像进行裁剪,获得目标对象所在区域对应的裁剪图像,在拍摄预览界面中显示裁剪图像,从而能够便于用户直观地、清晰地观看到目标对象。In this embodiment, a video recording image containing the target object is obtained, the video recording image is cropped according to the location of the target object, a cropped image corresponding to the area where the target object is located is obtained, and the cropped image is displayed in the shooting preview interface, thereby facilitating the user See the target object intuitively and clearly.
可选地,在拍摄预览界面中显示裁剪图像之前,该视频录制方法还包括: 在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理;在拍摄预览界面中显示裁剪图像,包括:在拍摄预览界面中显示模糊处理后的裁剪图像。Optionally, before displaying the cropped image in the shooting preview interface, the video recording method also includes: When the cropped image contains subjects other than the target object, blur the area where the subject is located in the cropped image; display the cropped image in the shooting preview interface, including: displaying the blurred crop in the shooting preview interface image.
可选地,对裁剪图像中拍摄对象所在区域进行模糊处理,可以是,对裁剪图像中除目标对象以外的拍摄对象所在区域进行模糊处理。模糊处理,可以是虚化处理,或者可以是马赛克处理,或者可以是调整透明度的处理,等等,本实施例对模糊处理不进行限定。Optionally, blurring the area where the subject is located in the cropped image may be blurring the area where the subject is located except the target object in the cropped image. Blur processing may be blur processing, or may be mosaic processing, or may be processing to adjust transparency, etc. This embodiment does not limit the blur processing.
该实施例中,在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理,在拍摄预览界面中显示模糊处理后的裁剪图像,从而能够在拍摄预览界面中突出显示目标对象。In this embodiment, when the cropped image contains a photographic object other than the target object, the area where the photographic object is located in the cropped image is blurred, and the blurred cropped image is displayed in the shooting preview interface, so that it can be used during shooting. The target object is highlighted in the preview interface.
可选地,在拍摄预览界面中显示裁剪图像,包括:在拍摄预览界面中,显示拼接图像,拼接图像是由视频录制图像和裁剪图像拼接得到的图像。Optionally, displaying the cropped image in the shooting preview interface includes: displaying a spliced image in the shooting preview interface, where the spliced image is an image obtained by splicing the video recording image and the cropped image.
可选地,视频录制图像和裁剪图像可以是以左右拼接的方式进行拼接得到拼接图像,或者,可以是以上下拼接的方式进行拼接得到拼接图像,或者还可以是以其他形式拼接得到拼接图像,本实施例对此不进行限定。Optionally, the video recording image and the cropped image may be spliced in a left-right splicing manner to obtain a spliced image, or may be spliced in an up-and-down splicing manner to obtain a spliced image, or may be spliced in other forms to obtain a spliced image, This embodiment does not limit this.
该实施例中,在拍摄预览界面中,显示拼接图像,拼接图像是由视频录制图像和裁剪图像拼接得到的图像,从而能够便于观看者对比观看完整画面及仅包括目标对象的部分画面。In this embodiment, a spliced image is displayed in the shooting preview interface. The spliced image is an image obtained by splicing the video recording image and the cropped image, so that the viewer can compare and view the complete picture and the partial picture including only the target object.
可选地,在拍摄预览界面中显示裁剪图像之前,该视频录制方法还包括:对裁剪图像进行细节增强处理;在拍摄预览界面中显示裁剪图像,包括:在拍摄预览界面中显示细节增强处理后的裁剪图像。Optionally, before displaying the cropped image in the shooting preview interface, the video recording method also includes: performing detail enhancement processing on the cropped image; displaying the cropped image in the shooting preview interface, including: displaying the detail enhancement processing in the shooting preview interface cropped image.
可选地,细节增强处理可以用于增强裁剪图像的清晰度,对裁剪图像上可能存在的瑕疵进行弥补,提高裁剪图像的画面质感。Optionally, detail enhancement processing can be used to enhance the clarity of the cropped image, compensate for possible flaws in the cropped image, and improve the picture quality of the cropped image.
该实施例中,对裁剪图像进行细节增强处理,在拍摄预览界面中显示细节增强处理后的裁剪图像,从而能够针对视频内容进行高分辨率的智能细节增强,弥补裁剪之后可能导致的清晰度损失,加强视频的画面观感。In this embodiment, detail enhancement processing is performed on the cropped image, and the cropped image after the detail enhancement processing is displayed in the shooting preview interface, so that high-resolution intelligent detail enhancement can be performed on the video content to make up for the possible loss of clarity after cropping. , enhance the look and feel of the video.
可选地,视频录制图像用于生成原始录制视频;该视频录制方法还包括: 在目标视频录制后,存储目标视频,以及目标视频对应的原始录制视频。Optionally, the video recording image is used to generate the original recording video; the video recording method also includes: After the target video is recorded, the target video and the original recorded video corresponding to the target video are stored.
可选地,电子设备可以在相册同时存储目标视频,以及目标视频对应的原始录制视频。经过后台处理之后,能够自动将处理后得到的目标视频在相册另存为新视频,并同时存储原始录制视频,从而在对舞台直拍后,用户可以在相册进行完整舞台视频的查看,也可以查看处理后的直拍视频。Optionally, the electronic device can simultaneously store the target video and the original recorded video corresponding to the target video in the photo album. After background processing, the processed target video can be automatically saved as a new video in the album, and the original recorded video can be stored at the same time. Therefore, after taking a direct shot of the stage, the user can view the complete stage video in the album, or view Processed direct video.
该实施例中,在目标视频录制后,存储目标视频,以及目标视频对应的原始录制视频,从而便于用户查看完整视频及直拍视频。In this embodiment, after the target video is recorded, the target video and the original recorded video corresponding to the target video are stored, thereby facilitating the user to view the complete video and the direct-shot video.
可选地,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像之后,该视频录制方法还包括:接收用户对视频预览图像的第四输入;响应于第四输入,调整拍摄预览界面中目标对象的显示尺寸。Optionally, after displaying a video preview image with the target object as the subject of the video in the shooting preview interface, the video recording method further includes: receiving a fourth input from the user to the video preview image; and adjusting the shooting preview in response to the fourth input. The display size of the target object in the interface.
可选地,第四输入可以是放大或缩小视频预览图像中目标对象所在区域的边框的操作;或者可以是,在视频预览图像上输入目标对象的显示尺寸的操作;或者可以是,点击视频预览图像中目标对象所在区域以调整目标对象的显示尺寸的操作;等等,凡是可以用于调整目标对象的显示尺寸的操作均可以作为第四输入,本实施例对第四输入的具体表现形式不进行限定。示例地,可以拇指和食指双指缩放调整视角,以调整拍摄预览界面中目标对象的显示尺寸。Optionally, the fourth input may be an operation of enlarging or reducing the border of the area where the target object is located in the video preview image; or it may be an operation of inputting the display size of the target object on the video preview image; or it may be clicking on the video preview The operation of adjusting the display size of the target object in the area where the target object is located in the image; etc., any operation that can be used to adjust the display size of the target object can be used as the fourth input. This embodiment does not specify the specific expression form of the fourth input. Make restrictions. For example, you can zoom and adjust the angle of view with your thumb and index finger to adjust the display size of the target object in the shooting preview interface.
该实施例中,接收用户对视频预览图像的第四输入,响应于第四输入,调整拍摄预览界面中目标对象的显示尺寸,这样,能够便于用户实时调整拍摄预览界面中目标对象的显示尺寸。In this embodiment, the fourth input of the video preview image from the user is received, and the display size of the target object in the shooting preview interface is adjusted in response to the fourth input. In this way, the user can adjust the display size of the target object in the shooting preview interface in real time.
作为一种具体的实施例,视频录制方法可以包括如下过程:As a specific embodiment, the video recording method may include the following process:
(1)用户打开手机的相机录像功能,选择智能直拍功能,如图2所示,将手机对准舞台场景,手机的拍摄预览界面11的显示内容包含整个舞台。(1) The user turns on the camera video function of the mobile phone and selects the smart direct shooting function. As shown in Figure 2, the user points the mobile phone at the stage scene. The display content of the shooting preview interface 11 of the mobile phone includes the entire stage.
(2)在视频录制前,引导用户选择合适的拍摄范围。在拍摄预览界面显示出所有摄像头的视场角(Field of view,FOV),由用户手动选择合适的视场角录制直拍视频。如图3所示,手机可以在拍摄预览界面11显示有至少两个拍摄范围候选框12,每个拍摄范围候选框12可以对应一个视场角。 (2) Before video recording, guide the user to choose the appropriate shooting range. The field of view (FOV) of all cameras is displayed on the shooting preview interface, and the user manually selects the appropriate field of view to record direct video. As shown in FIG. 3 , the mobile phone can display at least two shooting range candidate boxes 12 on the shooting preview interface 11 , and each shooting range candidate box 12 can correspond to a field of view angle.
(3)引导用户确认视频主体,如图4所示,手机可以智能识别出预览画面中的几个视频对象13,供用户选择,用户单击其中一个视频对象13,即锁定该视频对象13作为视频主体;或者,用户也可以手动选择视频主体,例如,用户可以在拍摄预览界面框选感兴趣对象,后台会自动锁定该感兴趣对象为视频主体。(3) Guide the user to confirm the subject of the video. As shown in Figure 4, the mobile phone can intelligently identify several video objects 13 in the preview screen for the user to select. The user clicks one of the video objects 13, which locks the video object 13 as The subject of the video; alternatively, the user can also manually select the subject of the video. For example, the user can select an object of interest in the shooting preview interface, and the background will automatically lock the object of interest as the subject of the video.
(4)在确定视频主体后,引导用户选择视频主体的视频主体模式。(4) After determining the video subject, guide the user to select the video subject mode of the video subject.
可以提供以下三种模式供用户选择:The following three modes are available for users to choose from:
模式一:如图5所示,单独显示模式,视频图像中仅保留视频主体;Mode 1: As shown in Figure 5, separate display mode, only the main body of the video is retained in the video image;
模式二:如图6所示,突出显示模式对视频主体以外的视频图像部分进行模糊处理,例如虚化或马赛克处理;Mode 2: As shown in Figure 6, the highlight mode blurs the parts of the video image other than the main body of the video, such as blurring or mosaic processing;
模式三:如图7所示,拼接显示模式,将视频录制图像与包含视频主体的视频图像(例如通过上述模式一或模式二得到的视频图像)进行拼接,一侧为全景视角显示区域14,显示原视频的视频图像;一侧为直拍视角显示区域15,显示视频主体的视频图像。Mode three: As shown in Figure 7, the splicing display mode splices the video recording image and the video image containing the video subject (such as the video image obtained through the above mode one or mode two). One side is the panoramic view display area 14. The video image of the original video is displayed; one side is a direct shooting perspective display area 15, which displays the video image of the video subject.
例如,当手机识别到的对象中存在用户感兴趣对象时,用户可以单击感兴趣对象,手机锁定用户选择的视频对象作为视频主体,在确定视频主体后,可以在拍摄预览界面显示视频主体的三种视频主体模式对应的预览图像,用户可以点击某个视频主体模式对应的预览图像,从而选中视频主体模式。For example, when there is an object of interest to the user among the objects recognized by the mobile phone, the user can click on the object of interest, and the mobile phone locks the video object selected by the user as the video subject. After the video subject is determined, the video subject can be displayed on the shooting preview interface. Preview images corresponding to the three video main modes. Users can click on the preview image corresponding to a certain video main mode to select the video main mode.
例如,当手机识别到的对象中不存在用户感兴趣的主体时,用户可以手动选择视频对象,用户可以在拍摄预览界面框选感兴趣对象,手机会自动锁定该感兴趣对象为视频主体,在确定视频主体后,可以在拍摄预览界面显示视频主体的三种视频主体模式对应的预览图像,用户可以点击某个视频主体模式对应的预览图像,从而选中视频主体模式。For example, when there is no subject of interest to the user among the objects recognized by the phone, the user can manually select the video object. The user can select the object of interest in the shooting preview interface, and the phone will automatically lock the object of interest as the subject of the video. After the video subject is determined, the preview images corresponding to the three video subject modes of the video subject can be displayed on the shooting preview interface. The user can click on the preview image corresponding to a certain video subject mode to select the video subject mode.
需要说明的是,在团体表演时,当用户仅想要观看某个表演者的视频时,可以选择单独显示模式或突出显示模式,当用户想要同时观看团体与单个表演者的表演时,可以选择拼接显示模式。It should be noted that during a group performance, when the user only wants to watch the video of a certain performer, he or she can choose the individual display mode or the highlight mode. When the user wants to watch the performance of the group and a single performer at the same time, he or she can Select the tiled display mode.
(5)在用户确认视频主体,且选定视频主体模式后,用户点击视频录制 控件即可开始录制视频,手机的相机将会通过人体追踪,计算视频录制图像中视频主体的位置,进而将直拍锁定在所选视频主体上,后台根据录制内容,跟随视频主体在视频主体四周通过计算裁切一个大小适当的框,作为视频主体的直拍视频的呈现视角,这样就能够生成视频主体的直拍视频。(5) After the user confirms the video subject and selects the video subject mode, the user clicks video recording Control to start recording video. The phone's camera will calculate the position of the video subject in the video recording image through human body tracking, and then lock the direct shot on the selected video subject. The background will follow the video subject around the video subject based on the recording content. By calculating and cropping a frame of appropriate size as the presentation angle of the direct-shot video of the video subject, a direct-shot video of the video subject can be generated.
如图8所示,用户也可在拍摄预览界面中的直拍视角显示区域15双指缩放,自定义调整视频主体的显示尺寸进行录制。As shown in Figure 8, users can also zoom with two fingers in the direct shooting perspective display area 15 in the shooting preview interface to customize the display size of the video subject for recording.
(6)视频录制完毕之后,用户可以根据屏幕提示,选择导出控件,如图9所示,屏幕会显示处理进度条,指示用户等待。(6) After the video recording is completed, the user can select the export control according to the on-screen prompts. As shown in Figure 9, the screen will display a processing progress bar to instruct the user to wait.
(7)在生成视频主体的直拍视频之后,可以针对视频内容进行高分辨率的智能细节增强,弥补裁切之后可能导致的清晰度损失,加强画面观感。(7) After generating a direct-shot video of the video subject, high-resolution intelligent detail enhancement can be performed on the video content to make up for the possible loss of clarity after cropping and enhance the look and feel of the picture.
(8)经过后台处理之后,弹框提示用户直拍视频已处理完成,并且将原视频和直拍视频存储至本地相册,用户可以在相册观看原视频和直拍视频,也可分享到社交应用等。(8) After background processing, a pop-up box prompts the user that the direct-shot video has been processed, and the original video and direct-shot video are stored in the local album. The user can watch the original video and direct-shot video in the album, or share them to social applications. wait.
需要说明的是,在对团体表演进行直拍时,在手机的拍摄预览界面会显示多个表演者的人像,此时,用户单击选择某个表演者的人像作为目标对象,该目标对象即为视频的视频主体。手机实时跟踪目标对象,在用户选择单独显示模式时,手机可以将目标对象的中心点作为裁剪区域的中心点,基于目标对象的中心点的移动实时更新裁剪区域,对裁剪区域裁剪得到包括目标对象的裁剪图像,在拍摄预览界面中显示该裁剪图像,并由该裁剪图像构成直拍视频;在用户选择突出显示模式时,将除目标对象外的区域进行模糊处理,在拍摄预览界面中显示模糊处理后的图像,并由该模糊处理后的图像构成直拍视频;在用户选择拼接显示模式时,将视频录制图像与裁剪图像进行拼接,在拍摄预览界面中显示拼接图像,并由该拼接图像构成直拍视频。It should be noted that when taking a direct shot of a group performance, the shooting preview interface of the mobile phone will display portraits of multiple performers. At this time, the user clicks to select a portrait of a performer as the target object, and the target object is is the video subject of the video. The mobile phone tracks the target object in real time. When the user selects the individual display mode, the mobile phone can use the center point of the target object as the center point of the cropping area, update the cropping area in real time based on the movement of the center point of the target object, and crop the cropping area to include the target object. The cropped image is displayed in the shooting preview interface, and the straight-shot video is composed of the cropped image; when the user selects the highlight mode, the area except the target object is blurred, and the blur is displayed in the shooting preview interface The processed image, and the blurred image constitutes a direct-shot video; when the user selects the splicing display mode, the video recording image and the cropped image are spliced, and the spliced image is displayed in the shooting preview interface, and the spliced image is Constitute a direct video.
本实施例可以在保持拍摄画面稳定性的同时,全程拍摄视频主体。This embodiment can capture the video subject throughout the entire process while maintaining the stability of the captured image.
需要说明的是,本申请实施例提供的视频录制方法,执行主体可以为视频录制装置。本申请实施例中以视频录制装置执行视频录制的方法为例,说明本申请实施例提供的视频录制的装置。 It should be noted that, for the video recording method provided by the embodiment of the present application, the execution subject may be a video recording device. In the embodiment of the present application, the method of performing video recording by a video recording device is taken as an example to illustrate the video recording device provided by the embodiment of the present application.
参见图10,图10是本申请实施例提供的一种视频录制装置的结构示意图,如图10所示,视频录制装置200包括:Referring to Figure 10, Figure 10 is a schematic structural diagram of a video recording device provided by an embodiment of the present application. As shown in Figure 10, the video recording device 200 includes:
第一接收模块201,用于接收用户对拍摄预览界面中目标对象的第一输入;The first receiving module 201 is used to receive the user's first input on the target object in the shooting preview interface;
第一显示模块202,用于响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;The first display module 202 is configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
录制模块203,用于录制以目标对象作为视频主体的目标视频。The recording module 203 is used to record a target video with the target object as the main body of the video.
可选地,视频录制装置200还包括:Optionally, the video recording device 200 also includes:
第二显示模块,用于在初始拍摄预览界面中显示至少两个拍摄范围候选框;拍摄范围候选框用于选择视频拍摄范围;The second display module is used to display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
第二接收模块,用于接收用户对至少两个拍摄范围候选框中的目标候选框的第二输入;a second receiving module, configured to receive a second input from the user to the target candidate frame in the at least two shooting range candidate frames;
第一调整模块,用于响应于第二输入,将初始拍摄预览界面调整为目标候选框对应的视频拍摄范围的拍摄预览界面。The first adjustment module is configured to adjust the initial shooting preview interface to the shooting preview interface of the video shooting range corresponding to the target candidate frame in response to the second input.
可选地,视频录制装置200还包括:Optionally, the video recording device 200 also includes:
第三显示模块,用于在拍摄预览界面中显示至少两个视频主体模式选项;视频主体模式选项用于选择视频主体的主体模式;The third display module is used to display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
第三接收模块,用于接收用户对至少两个视频主体模式选项中的目标选项的第三输入;A third receiving module configured to receive a third input from the user to a target option among at least two video subject mode options;
确定模块,用于响应于第三输入,将目标选项对应的主体模式,确定为目标对象在目标视频中的主体模式。The determining module is configured to respond to the third input and determine the subject mode corresponding to the target option as the subject mode of the target object in the target video.
可选地,第一显示模块202包括:Optionally, the first display module 202 includes:
获取单元,用于响应于第一输入,获取包含目标对象的视频录制图像;an acquisition unit configured to acquire a video recording image containing the target object in response to the first input;
裁剪单元,用于按照目标对象所在位置,对视频录制图像进行裁剪,获得目标对象所在区域对应的裁剪图像;The cropping unit is used to crop the video recording image according to the location of the target object, and obtain the cropped image corresponding to the area where the target object is located;
显示单元,用于在拍摄预览界面中显示裁剪图像。The display unit is used to display the cropped image in the shooting preview interface.
可选地,视频录制装置200还包括: Optionally, the video recording device 200 also includes:
模糊处理模块,用于在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理;A blur processing module used to blur the area where the subject is located in the cropped image when the cropped image contains subjects other than the target object;
显示单元具体用于:The display unit is specifically used for:
在拍摄预览界面中显示模糊处理后的裁剪图像。Display the blurred cropped image in the shooting preview interface.
可选地,显示单元具体用于:Optionally, the display unit is specifically used for:
在拍摄预览界面中,显示拼接图像,拼接图像是由视频录制图像和裁剪图像拼接得到的图像。In the shooting preview interface, a spliced image is displayed. The spliced image is an image obtained by splicing the video recording image and the cropped image.
可选地,视频录制装置200还包括:Optionally, the video recording device 200 also includes:
增强处理模块,用于对裁剪图像进行细节增强处理;Enhancement processing module, used to enhance details of cropped images;
显示单元具体用于:The display unit is specifically used for:
在拍摄预览界面中显示细节增强处理后的裁剪图像。Display the cropped image after detail enhancement in the shooting preview interface.
可选地,视频录制图像用于生成原始录制视频;Optionally, the video recording image is used to generate the original recorded video;
视频录制装置200还包括:The video recording device 200 also includes:
存储模块,用于在目标视频录制后,存储目标视频,以及目标视频对应的原始录制视频。The storage module is used to store the target video and the original recorded video corresponding to the target video after the target video is recorded.
可选地,视频录制装置200还包括:Optionally, the video recording device 200 also includes:
第四接收模块,用于接收用户对视频预览图像的第四输入;The fourth receiving module is used to receive the user's fourth input of the video preview image;
第二调整模块,用于响应于第四输入,调整拍摄预览界面中目标对象的显示尺寸。The second adjustment module is configured to adjust the display size of the target object in the shooting preview interface in response to the fourth input.
在本申请实施例中,第一接收模块接收用户对拍摄预览界面中目标对象的第一输入;第一显示模块响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;录制模块录制以目标对象作为视频主体的目标视频。这样,能够直接录制用户感兴趣对象的视频,无需用户在后期对视频进行剪辑来获得视频中感兴趣对象的视频内容,避免了繁琐的操作;并且,无需对视频进行二次压缩,提高了视频画质。In the embodiment of the present application, the first receiving module receives the user's first input on the target object in the shooting preview interface; the first display module responds to the first input and displays a video with the target object as the subject of the video in the shooting preview interface. Preview the image; the recording module records the target video with the target object as the main body of the video. In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the video content of the object of interest in the video, avoiding cumbersome operations; and, there is no need to perform secondary compression on the video, which improves the video quality. Picture quality.
本申请实施例中的视频录制装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之 外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video recording device in the embodiment of the present application may be an electronic device or a component of the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or something other than a terminal. other equipment. For example, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (PDA), etc., and can also be servers, network attached storage (Network Attached Storage, NAS), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的视频录制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video recording device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的视频录制装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The video recording device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 1. To avoid duplication, the details will not be described here.
可选地,如图11所示,本申请实施例还提供一种电子设备300,包括处理器301和存储器302,存储器302上存储有可在处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述视频录制方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 11, this embodiment of the present application also provides an electronic device 300, including a processor 301 and a memory 302. The memory 302 stores programs or instructions that can be run on the processor 301, and the program or When the instructions are executed by the processor 301, each step of the above video recording method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
需要说明的是,本申请实施例中的电子设备包括上述移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图12为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 12 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The electronic device 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, etc. part.
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多 或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 410 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 12 does not constitute a limitation on the electronic device, and the electronic device may include more than what is shown in the figure. or fewer components, or combination of certain components, or different component arrangements, which will not be described again here.
其中,用户输入单元407,用于接收用户对拍摄预览界面中目标对象的第一输入;Among them, the user input unit 407 is used to receive the user's first input to the target object in the shooting preview interface;
显示单元406,用于响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;The display unit 406 is configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
处理器410,用于:录制以目标对象作为视频主体的目标视频。Processor 410, configured to: record a target video with the target object as the main body of the video.
在本申请实施例中,用户输入单元接收用户对拍摄预览界面中目标对象的第一输入;显示单元响应于第一输入,在拍摄预览界面中,显示以目标对象作为视频主体的视频预览图像;处理器录制以目标对象作为视频主体的目标视频。这样,能够直接录制用户感兴趣对象的视频,无需用户在后期对视频进行剪辑来获得视频中感兴趣对象的视频内容,避免了繁琐的操作;并且,无需对视频进行二次压缩,提高了视频画质。In the embodiment of the present application, the user input unit receives the user's first input on the target object in the shooting preview interface; the display unit responds to the first input and displays a video preview image with the target object as the video subject in the shooting preview interface; The processor records a target video with the target object as the subject of the video. In this way, the video of the object of interest to the user can be directly recorded, without the need for the user to edit the video later to obtain the video content of the object of interest in the video, avoiding cumbersome operations; and, there is no need to perform secondary compression on the video, which improves the video quality. Picture quality.
可选地,显示单元406,还用于在初始拍摄预览界面中显示至少两个拍摄范围候选框;拍摄范围候选框用于选择视频拍摄范围;Optionally, the display unit 406 is also configured to display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
用户输入单元407,还用于接收用户对至少两个拍摄范围候选框中的目标候选框的第二输入;The user input unit 407 is also configured to receive a second input from the user to the target candidate frame among the at least two shooting range candidate frames;
处理器410,还用于响应于第二输入,将初始拍摄预览界面调整为目标候选框对应的视频拍摄范围的拍摄预览界面。The processor 410 is also configured to adjust the initial shooting preview interface to the shooting preview interface of the video shooting range corresponding to the target candidate frame in response to the second input.
可选地,显示单元406,还用于在拍摄预览界面中显示至少两个视频主体模式选项;视频主体模式选项用于选择视频主体的主体模式;Optionally, the display unit 406 is also configured to display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
用户输入单元407,还用于接收用户对至少两个视频主体模式选项中的目标选项的第三输入;The user input unit 407 is also configured to receive a third input from the user to the target option among the at least two video body mode options;
处理器410,还用于响应于第三输入,将目标选项对应的主体模式,确定为目标对象在目标视频中的主体模式。The processor 410 is also configured to respond to the third input and determine the subject mode corresponding to the target option as the subject mode of the target object in the target video.
可选地,处理器410,还用于响应于第一输入,获取包含目标对象的视频录制图像;Optionally, the processor 410 is also configured to obtain a video recording image containing the target object in response to the first input;
处理器410,还用于按照目标对象所在位置,对视频录制图像进行裁剪, 获得目标对象所在区域对应的裁剪图像;The processor 410 is also used to crop the video recording image according to the location of the target object, Obtain the cropped image corresponding to the area where the target object is located;
显示单元406,还用于在拍摄预览界面中显示裁剪图像。The display unit 406 is also used to display the cropped image in the shooting preview interface.
可选地,处理器410,还用于在裁剪图像中包含除目标对象以外的拍摄对象的情况下,对裁剪图像中拍摄对象所在区域进行模糊处理;Optionally, the processor 410 is also configured to blur the area where the photographed object is located in the cropped image when the cropped image contains a photographic object other than the target object;
显示单元406,还用于在拍摄预览界面中显示模糊处理后的裁剪图像。The display unit 406 is also used to display the blurred cropped image in the shooting preview interface.
可选地,显示单元406,还用于在拍摄预览界面中,显示拼接图像,拼接图像是由视频录制图像和裁剪图像拼接得到的图像。Optionally, the display unit 406 is also used to display a spliced image in the shooting preview interface. The spliced image is an image obtained by splicing the video recording image and the cropped image.
可选地,处理器410,还用于对裁剪图像进行细节增强处理;Optionally, the processor 410 is also used to perform detail enhancement processing on the cropped image;
显示单元406,还用于在拍摄预览界面中显示细节增强处理后的裁剪图像。The display unit 406 is also used to display the cropped image after detail enhancement processing in the shooting preview interface.
可选地,视频录制图像用于生成原始录制视频;Optionally, the video recording image is used to generate the original recorded video;
处理器410,还用于在目标视频录制后,存储目标视频,以及目标视频对应的原始录制视频。The processor 410 is also configured to store the target video and the original recorded video corresponding to the target video after the target video is recorded.
可选地,用户输入单元407,还用于接收用户对视频预览图像的第四输入;Optionally, the user input unit 407 is also used to receive the user's fourth input to the video preview image;
处理器410,还用于响应于第四输入,调整拍摄预览界面中目标对象的显示尺寸。The processor 410 is also configured to adjust the display size of the target object in the shooting preview interface in response to the fourth input.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072中的至少一种。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. The graphics processor 4041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and at least one of other input devices 4072 . Touch panel 4071, also called touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括 存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器409可以包括易失性存储器或非易失性存储器,或者,存储器409可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器409包括但不限于这些和任意其它适合类型的存储器。Memory 409 may be used to store software programs as well as various data. Memory 409 may mainly include A first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.) wait. Additionally, memory 409 may include volatile memory or nonvolatile memory, or memory 409 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 409 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器410可包括一个或多个处理单元;可选地,处理器410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 410.
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by the processor, each process of the above video recording method embodiment is implemented, and the same technology can be achieved. The effect will not be described here in order to avoid repetition.
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the above embodiment. Readable storage media includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述视频录制方法实 施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above video recording method. Each process of the embodiment can achieve the same technical effect, so to avoid repetition, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
本申请实施例提供一种计算机程序产品,该计算机程序产品被存储在存储介质中,该计算机程序产品被至少一个处理器执行以实现如上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product, which is stored in a storage medium. The computer program product is executed by at least one processor to implement each process of the above video recording method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
本申请实施例提供一种通信设备,被配置为执行如上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application provides a communication device that is configured to perform each process of the above video recording method embodiment and can achieve the same technical effect. To avoid duplication, the details will not be described here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。 Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (18)

  1. 一种视频录制方法,所述方法包括:A video recording method, the method includes:
    接收用户对拍摄预览界面中目标对象的第一输入;Receive the user's first input on the target object in the shooting preview interface;
    响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像;In response to the first input, in the shooting preview interface, display a video preview image with the target object as the video subject;
    录制以所述目标对象作为视频主体的目标视频。Record a target video with the target object as the main body of the video.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, further comprising:
    在初始拍摄预览界面中显示至少两个拍摄范围候选框;所述拍摄范围候选框用于选择视频拍摄范围;Display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
    接收用户对所述至少两个拍摄范围候选框中的目标候选框的第二输入;receiving a second input from the user to a target candidate frame among the at least two shooting range candidate frames;
    响应于所述第二输入,将所述初始拍摄预览界面调整为所述目标候选框对应的视频拍摄范围的拍摄预览界面。In response to the second input, the initial shooting preview interface is adjusted to the shooting preview interface of the video shooting range corresponding to the target candidate frame.
  3. 根据权利要求1所述的方法,其中,所述在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像之前,所述方法还包括:The method according to claim 1, wherein before displaying a video preview image with the target object as the subject of the video in the shooting preview interface, the method further includes:
    在所述拍摄预览界面中显示至少两个视频主体模式选项;所述视频主体模式选项用于选择视频主体的主体模式;Display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
    接收用户对所述至少两个视频主体模式选项中的目标选项的第三输入;receiving a third user input for a target option among the at least two video body mode options;
    响应于所述第三输入,将所述目标选项对应的主体模式,确定为所述目标对象在所述目标视频中的主体模式。In response to the third input, the subject mode corresponding to the target option is determined as the subject mode of the target object in the target video.
  4. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像,包括:The method according to claim 1, wherein in response to the first input, displaying a video preview image with the target object as the video subject in the shooting preview interface includes:
    响应于所述第一输入,获取包含所述目标对象的视频录制图像;In response to the first input, obtaining a video recording image containing the target object;
    按照所述目标对象所在位置,对所述视频录制图像进行裁剪,获得所述目标对象所在区域对应的裁剪图像;Cropping the video recording image according to the location of the target object to obtain a cropped image corresponding to the area where the target object is located;
    在所述拍摄预览界面中显示所述裁剪图像。 The cropped image is displayed in the shooting preview interface.
  5. 根据权利要求4所述的方法,其中,所述在所述拍摄预览界面中显示所述裁剪图像之前,所述方法还包括:The method according to claim 4, wherein before displaying the cropped image in the shooting preview interface, the method further includes:
    在所述裁剪图像中包含除所述目标对象以外的拍摄对象的情况下,对所述裁剪图像中所述拍摄对象所在区域进行模糊处理;In the case where the cropped image contains a photographic object other than the target object, blurring is performed on the area where the photographic object is located in the cropped image;
    所述在所述拍摄预览界面中显示所述裁剪图像,包括:Displaying the cropped image in the shooting preview interface includes:
    在所述拍摄预览界面中显示模糊处理后的所述裁剪图像。The cropped image after blur processing is displayed in the shooting preview interface.
  6. 根据权利要求4所述的方法,其中,所述在所述拍摄预览界面中显示所述裁剪图像,包括:The method of claim 4, wherein displaying the cropped image in the shooting preview interface includes:
    在所述拍摄预览界面中,显示拼接图像,所述拼接图像是由所述视频录制图像和所述裁剪图像拼接得到的图像。In the shooting preview interface, a spliced image is displayed, which is an image obtained by splicing the video recording image and the cropped image.
  7. 根据权利要求4所述的方法,其中,所述在所述拍摄预览界面中显示所述裁剪图像之前,所述方法还包括:The method according to claim 4, wherein before displaying the cropped image in the shooting preview interface, the method further includes:
    对所述裁剪图像进行细节增强处理;Perform detail enhancement processing on the cropped image;
    所述在所述拍摄预览界面中显示所述裁剪图像,包括:Displaying the cropped image in the shooting preview interface includes:
    在所述拍摄预览界面中显示细节增强处理后的所述裁剪图像。The cropped image after detail enhancement processing is displayed in the shooting preview interface.
  8. 根据权利要求4所述的方法,其中,所述视频录制图像用于生成原始录制视频;The method of claim 4, wherein the video recording image is used to generate an original recorded video;
    所述方法还包括:The method also includes:
    在所述目标视频录制后,存储所述目标视频,以及所述目标视频对应的原始录制视频。After the target video is recorded, the target video and the original recorded video corresponding to the target video are stored.
  9. 根据权利要求1所述的方法,其中,所述在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像之后,所述方法还包括:The method according to claim 1, wherein after displaying a video preview image with the target object as the subject of the video in the shooting preview interface, the method further includes:
    接收用户对所述视频预览图像的第四输入;receiving a fourth input from the user to the video preview image;
    响应于所述第四输入,调整所述拍摄预览界面中所述目标对象的显示尺寸。In response to the fourth input, the display size of the target object in the shooting preview interface is adjusted.
  10. 一种视频录制装置,所述装置包括:A video recording device, the device includes:
    第一接收模块,用于接收用户对拍摄预览界面中目标对象的第一输入; A first receiving module configured to receive the user's first input of the target object in the shooting preview interface;
    第一显示模块,用于响应于所述第一输入,在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像;A first display module configured to, in response to the first input, display a video preview image with the target object as the video subject in the shooting preview interface;
    录制模块,用于录制以所述目标对象作为视频主体的目标视频。A recording module, configured to record a target video with the target object as the subject of the video.
  11. 根据权利要求10所述的装置,其中,所述装置还包括:The device of claim 10, wherein the device further comprises:
    第二显示模块,用于在初始拍摄预览界面中显示至少两个拍摄范围候选框;所述拍摄范围候选框用于选择视频拍摄范围;The second display module is used to display at least two shooting range candidate boxes in the initial shooting preview interface; the shooting range candidate boxes are used to select the video shooting range;
    第二接收模块,用于接收用户对所述至少两个拍摄范围候选框中的目标候选框的第二输入;a second receiving module configured to receive a second input from the user to the target candidate frame in the at least two shooting range candidate frames;
    第一调整模块,用于响应于所述第二输入,将所述初始拍摄预览界面调整为所述目标候选框对应的视频拍摄范围的拍摄预览界面。A first adjustment module, configured to adjust the initial shooting preview interface to the shooting preview interface of the video shooting range corresponding to the target candidate frame in response to the second input.
  12. 根据权利要求10所述的装置,其中,所述在所述拍摄预览界面中,显示以所述目标对象作为视频主体的视频预览图像之前,所述装置还包括:The device according to claim 10, wherein before displaying a video preview image with the target object as the video subject in the shooting preview interface, the device further includes:
    第三显示模块,用于在所述拍摄预览界面中显示至少两个视频主体模式选项;所述视频主体模式选项用于选择视频主体的主体模式;The third display module is used to display at least two video subject mode options in the shooting preview interface; the video subject mode option is used to select the subject mode of the video subject;
    第三接收模块,用于接收用户对所述至少两个视频主体模式选项中的目标选项的第三输入;A third receiving module configured to receive a third input from the user to the target option among the at least two video body mode options;
    确定模块,用于响应于所述第三输入,将所述目标选项对应的主体模式,确定为所述目标对象在所述目标视频中的主体模式。A determining module, configured to respond to the third input and determine the subject mode corresponding to the target option as the subject mode of the target object in the target video.
  13. 根据权利要求10所述的装置,其中,所述第一显示模块包括:The device of claim 10, wherein the first display module includes:
    获取单元,用于响应于所述第一输入,获取包含所述目标对象的视频录制图像;an acquisition unit configured to acquire a video recording image containing the target object in response to the first input;
    裁剪单元,用于按照所述目标对象所在位置,对所述视频录制图像进行裁剪,获得所述目标对象所在区域对应的裁剪图像;A cropping unit, configured to crop the video recording image according to the location of the target object, and obtain a cropped image corresponding to the area where the target object is located;
    显示单元,用于在所述拍摄预览界面中显示所述裁剪图像。A display unit configured to display the cropped image in the shooting preview interface.
  14. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1-9任一项所述的视频录制方法的步骤。 An electronic device, including a processor and a memory, the memory stores a program or instructions that can be run on the processor, wherein when the program or instructions are executed by the processor, any of claims 1-9 is implemented. One step of the video recording method.
  15. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1-9任一项所述的视频录制方法的步骤。A readable storage medium on which a program or instructions are stored, wherein when the program or instructions are executed by a processor, the steps of the video recording method according to any one of claims 1 to 9 are implemented.
  16. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-9任一项所述的视频录制方法。A chip including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the video recording method according to any one of claims 1-9 .
  17. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-9任一项所述的视频录制方法。A computer program product, wherein the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the video recording method according to any one of claims 1-9 .
  18. 一种通信设备,其中,被配置为执行如权利要求1-9任一项所述的视频录制方法。 A communication device configured to perform the video recording method according to any one of claims 1-9.
PCT/CN2023/081168 2022-03-16 2023-03-13 Video recording method and apparatus, and electronic device WO2023174223A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210258726.X 2022-03-16
CN202210258726.XA CN114598819A (en) 2022-03-16 2022-03-16 Video recording method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023174223A1 true WO2023174223A1 (en) 2023-09-21

Family

ID=81808732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/081168 WO2023174223A1 (en) 2022-03-16 2023-03-13 Video recording method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN114598819A (en)
WO (1) WO2023174223A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598819A (en) * 2022-03-16 2022-06-07 维沃移动通信有限公司 Video recording method and device and electronic equipment
CN116074620B (en) * 2022-05-27 2023-11-07 荣耀终端有限公司 Shooting method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193050A (en) * 2009-02-17 2010-09-02 Nikon Corp Electronic camera
CN109729266A (en) * 2018-12-25 2019-05-07 努比亚技术有限公司 A kind of image capturing method, terminal and computer readable storage medium
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112995500A (en) * 2020-12-30 2021-06-18 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and medium
CN113766129A (en) * 2021-09-13 2021-12-07 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
CN114598819A (en) * 2022-03-16 2022-06-07 维沃移动通信有限公司 Video recording method and device and electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836956A (en) * 2015-05-09 2015-08-12 陈包容 Processing method and device for cellphone video
CN106375872A (en) * 2015-07-24 2017-02-01 三亚中兴软件有限责任公司 Method and device for video editing
CN108848419B (en) * 2018-06-07 2020-12-11 康佳集团股份有限公司 Television interaction method based on biological characteristic recognition, smart television and storage medium
US20200304708A1 (en) * 2019-03-18 2020-09-24 Motorola Solutions, Inc Method and apparatus for acquiring an image
CN110557566B (en) * 2019-08-30 2021-12-17 维沃移动通信有限公司 Video shooting method and electronic equipment
CN112446255A (en) * 2019-08-31 2021-03-05 华为技术有限公司 Video image processing method and device
CN110769174B (en) * 2019-10-31 2022-05-06 维沃移动通信有限公司 Video viewing method and electronic equipment
CN111263187B (en) * 2020-02-13 2021-07-13 腾讯科技(深圳)有限公司 Video clipping method and device, computer equipment and computer-readable storage medium
CN111651632A (en) * 2020-04-23 2020-09-11 深圳英飞拓智能技术有限公司 Method and device for outputting voice and video of speaker in video conference
CN113067983B (en) * 2021-03-29 2022-11-15 维沃移动通信(杭州)有限公司 Video processing method and device, electronic equipment and storage medium
CN113873148A (en) * 2021-09-14 2021-12-31 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010193050A (en) * 2009-02-17 2010-09-02 Nikon Corp Electronic camera
CN109729266A (en) * 2018-12-25 2019-05-07 努比亚技术有限公司 A kind of image capturing method, terminal and computer readable storage medium
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112995500A (en) * 2020-12-30 2021-06-18 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and medium
CN113766129A (en) * 2021-09-13 2021-12-07 维沃移动通信(杭州)有限公司 Video recording method, video recording device, electronic equipment and medium
CN114598819A (en) * 2022-03-16 2022-06-07 维沃移动通信有限公司 Video recording method and device and electronic equipment

Also Published As

Publication number Publication date
CN114598819A (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
WO2023174223A1 (en) Video recording method and apparatus, and electronic device
WO2022111463A1 (en) Photography method, photography apparatus, and electronic device
US10048858B2 (en) Method and apparatus for swipe shift photo browsing
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
WO2023151611A1 (en) Video recording method and apparatus, and electronic device
WO2018166069A1 (en) Photographing preview method, graphical user interface, and terminal
CN107231524A (en) Image pickup method and device, computer installation and computer-readable recording medium
WO2022089284A1 (en) Photographing processing method and apparatus, electronic device, and readable storage medium
WO2023143531A1 (en) Photographing method and apparatus, and electronic device
US20140152873A1 (en) Real-time camera view through drawn region for image capture
CN102611835B (en) Digital photographing apparatus and its control method
WO2023134583A1 (en) Video recording method and apparatus, and electronic device
WO2023151609A1 (en) Time-lapse photography video recording method and apparatus, and electronic device
WO2024061134A1 (en) Photographing method and apparatus, electronic device, and medium
WO2024022349A1 (en) Image processing method and apparatus, and electronic device and storage medium
WO2023093669A1 (en) Video filming method and apparatus, and electronic device and storage medium
WO2023143529A1 (en) Photographing method and apparatus, and electronic device
CN114025237A (en) Video generation method and device and electronic equipment
CN114245018A (en) Image shooting method and device
CN112887624A (en) Shooting method and device and electronic equipment
CN112672059B (en) Shooting method and shooting device
WO2023045963A1 (en) Video generation method and apparatus, device and storage medium
CN114157810B (en) Shooting method, shooting device, electronic equipment and medium
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23769725

Country of ref document: EP

Kind code of ref document: A1