WO2021036536A1 - 视频拍摄方法及电子设备 - Google Patents

视频拍摄方法及电子设备 Download PDF

Info

Publication number
WO2021036536A1
WO2021036536A1 PCT/CN2020/101062 CN2020101062W WO2021036536A1 WO 2021036536 A1 WO2021036536 A1 WO 2021036536A1 CN 2020101062 W CN2020101062 W CN 2020101062W WO 2021036536 A1 WO2021036536 A1 WO 2021036536A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
shooting
shoot
continuing
preset
Prior art date
Application number
PCT/CN2020/101062
Other languages
English (en)
French (fr)
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 WO2021036536A1 publication Critical patent/WO2021036536A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a video shooting method and electronic equipment.
  • Video shooting is an important function of electronic equipment, and users can record beautiful moments in life by shooting video through electronic equipment.
  • the completed video can only be edited in a later stage to obtain the shooting segment of interest, which is a cumbersome operation.
  • the embodiments of the present disclosure provide a video shooting method and an electronic device, so as to solve the problem in the related art that the operation of acquiring an interesting shooting segment in the video shooting process is relatively cumbersome.
  • embodiments of the present disclosure provide a video shooting method, including:
  • the second video is shot while continuing to shoot the first video.
  • an electronic device including:
  • a receiving module for receiving the first input
  • the first shooting module is configured to shoot a first video in response to the first input
  • the second shooting module is configured to shoot the second video if the preset condition is met during the shooting of the first video, while continuing to shoot the first video.
  • an embodiment of the present disclosure provides an electronic device, including: a memory, a processor, and a program stored on the memory and capable of running on the processor.
  • the program is executed by the processor, The steps in the video shooting method as described in the first aspect are implemented.
  • embodiments of the present disclosure provide a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the video shooting as described in the first aspect is implemented. Steps in the method.
  • a first input is received; in response to the first input, a first video is shot; in the process of shooting the first video, if a preset condition is met, the first video is continued to be shot In the case, shoot the second video. In this way, shooting the second video while continuing to shoot the first video can reduce the cumbersome degree of the operation of acquiring the shooting segment of interest in the process of video shooting.
  • FIG. 1 is one of the flowcharts of a video shooting method provided by an embodiment of the present disclosure
  • FIG. 2 is the second flowchart of a video shooting method provided by an embodiment of the present disclosure
  • FIG. 3 is the third flowchart of a video shooting method provided by an embodiment of the present disclosure.
  • FIG. 4 is a fourth flowchart of a video shooting method provided by an embodiment of the present disclosure.
  • FIG. 5 is the fifth flowchart of a video shooting method provided by an embodiment of the present disclosure.
  • FIG. 6 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 7 is a second structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 8 is a third structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
  • FIG. 1 is a flowchart of a video shooting method provided by an embodiment of the present disclosure. The method is applied to an electronic device, as shown in FIG. 1, and includes the following steps:
  • Step 101 Receive a first input.
  • the first input is used to shoot a first video
  • the first input may be an input of clicking an icon of an application program on the electronic device; or, the first input may be an input of pressing a hardware button on the electronic device Input; or, the first input may be an input of sliding a preset gesture on the screen of the electronic device.
  • the embodiment of the present disclosure does not limit the first input. Taking the electronic device as a mobile phone as an example, it can be clicked on the camera icon on the mobile phone to enter the video preview interface to shoot the first video.
  • Step 102 In response to the first input, shoot a first video.
  • the first video is taken.
  • Step 103 In the process of shooting the first video, if a preset condition is met, shooting a second video while continuing to shoot the first video.
  • satisfying the preset condition may be detecting a first input to the video preview interface of the first video, for example, detecting an operation of pressing a preset duration on the video preview interface of the first video Or, it may be detected that there is a moving object in the video preview interface of the first video; or, it may be that the first preset operation for the hardware button on the electronic device is detected, for example, it may be detected that the For the double-click operation of the hardware button on the electronic device, etc., the embodiment of the present disclosure does not limit the preset condition.
  • first video and the second video may be shot by the same camera, or the first video and the second video may be shot by different cameras. It may be that the first thread is activated to shoot the first video, and during the process of shooting the first video, if it is detected that the preset condition is met, the second thread is activated to shoot the second video.
  • the first video can have a first photo preview display screen
  • the second video can have a second photo preview display screen
  • the first photo preview display screen and the second photo preview display screen can be displayed in different windows
  • the second photo preview display The display screen may be reduced and displayed superimposed on the preset area of the first photo preview display screen, for example, it can be displayed in the upper right corner of the first photo preview display screen.
  • the electronic device includes a first camera and a second camera, and in the process of shooting the first video, if a preset condition is met, in the case of continuing to shoot the first video, shooting The second video includes: in the process of shooting the first video based on the first camera, if a preset condition is met, in the case of continuing to shoot the first video based on the first camera, based on all The second camera shoots a second video.
  • the shooting of the second video may be ended to obtain the second video file, and the shooting of the first video may be ended to obtain the first video file.
  • the shooting of the second video may be ended first to obtain the second video file, and then the shooting of the first video may be ended to obtain the first video file; or the shooting of the first video may be ended first to obtain the first video file, and then Then, the shooting of the second video is ended, and the second video file is obtained.
  • the condition for ending shooting of the second video may be that a second input to the video preview interface of the first video is detected, for example, it may be that it is detected that a preview is pressed on the video preview interface of the first video.
  • start shooting the second video After the operation of setting the duration, start shooting the second video, and after detecting the end of the pressing operation on the video preview interface of the first video, end shooting the second video; conditions for ending shooting the second video It may also be detected that the moving object in the shooting picture of the first video stops moving; or, it may also be detected that a second preset operation for a hardware button on the electronic device is detected, for example, it is detected that The click operation of the hardware button on the electronic device.
  • the embodiment of the present disclosure does not limit the conditions for ending the shooting of the second video.
  • the video shooting conditions for starting to shoot the second video and the conditions for ending shooting of the second video may or may not be related to a certain degree. For example, after detecting the operation of pressing the preset duration on the video preview interface of the first video, start shooting the second video, and after detecting the end of pressing on the video preview interface of the first video After the operation, the shooting of the second video is ended; or, after the operation of pressing the preset duration on the video preview interface of the first video is detected, the shooting of the second video is started. After the second preset operation of the hardware button on the electronic device, the shooting of the second video ends.
  • condition for ending shooting of the first video may be the detection of a third input to the video preview interface of the first video, for example, detection of a control button on the video preview interface of the first video.
  • the click operation or it may be the detection of the third preset operation for the hardware button on the electronic device, for example, the detection of the operation of pressing the hardware button on the electronic device for a preset duration.
  • the first video file and the second video file may be video files generated from image data buffered after shooting by the camera, and the first video The file and the second video file may both be video files of different durations obtained based on the same image data.
  • a first input is received; in response to the first input, a first video is shot; in the process of shooting the first video, if a preset condition is met, the first video is continued to be shot In the case, shoot the second video. In this way, shooting the second video while continuing to shoot the first video can reduce the cumbersome degree of the operation of acquiring the shooting segment of interest in the process of video shooting.
  • FIG. 2 is a flowchart of another video shooting method provided by an embodiment of the present disclosure. The method is applied to an electronic device, as shown in FIG. 2, and includes the following steps:
  • Step 201 Receive a first input.
  • This step is the same as step 101 in the foregoing method embodiment.
  • reference may be made to the description in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • Step 202 In response to the first input, shoot a first video.
  • step 102 is the same as step 102 in the foregoing method embodiment.
  • step 102 is the same as step 102 in the foregoing method embodiment.
  • Step 203 In the process of shooting the first video, if a second input is received, in response to the second input, shooting a second video while continuing to shoot the first video.
  • the second input may be an input for the video preview interface of the first video, or may be an input for a hardware button on the electronic device, or the like.
  • the second input may be an input of pressing a preset duration on the video preview interface of the first video; or it may be an input of clicking a control button on the video preview interface of the first video; Or it may be the operation of sliding a preset track on the video preview interface of the first video, etc.
  • the embodiment of the present disclosure does not limit the second input.
  • shooting the second video includes:
  • the second video is a video corresponding to the target area.
  • the electronic device is detecting After the operation of selecting the target area on the video preview interface of the first video, start to shoot the second video, and continue to shoot the first video.
  • the main camera can be used to capture the first video
  • the telephoto camera can be used to capture the second video.
  • the telephoto camera captures the target area corresponding to The video of, the shooting effect is better.
  • a second video is captured while continuing to shoot the first video; wherein, the second video is the target The video corresponding to the area, in this way, in the process of shooting the first video, a part of the video preview interface of the first video can be selected to shoot the second video, and the user experience is better.
  • a first input is received; in response to the first input, a first video is shot; in the process of shooting the first video, if a second input is received, in response to the second input , In the case of continuing to shoot the first video, shoot the second video.
  • the operation is more intuitive and simple, and the embodiments of the present disclosure can further reduce the cumbersome degree of the operation of acquiring the shooting segment of interest in the process of video shooting.
  • the video shooting method specifically includes the following steps:
  • Step 301 Start the camera.
  • Step 302 Record the first video.
  • the first video is recorded after receiving the operation of clicking the recording button.
  • Step 303 Detect whether the user presses the video recording interface. If it is detected that the user presses the video recording interface, step 304 is executed; otherwise, step 310 is executed.
  • the user can click on the video recording interface with a finger, and continue to press on the video recording interface.
  • Step 304 Record the second video, and continue to record the first video.
  • the user can start a new thread to record the second video.
  • Step 305 Detect whether the user presses the video recording interface for more than a preset time period. If it is detected that the user presses the video recording interface for more than the preset time period, step 307 is executed; otherwise, step 306 is executed.
  • the preset duration can be 3s or 5s, and so on.
  • Step 306 End recording the second video, and discard the second video file.
  • Step 307 Continue to record the second video, and continue to record the first video.
  • Step 308 Detect whether the user has finished pressing the video recording interface. If it is detected that the user has finished pressing the video recording interface, step 309 is executed; otherwise, step 307 is executed.
  • Step 309 End recording the second video, save the second video file, and continue to record the first video.
  • Step 310 Detect whether the user clicks the recording button. If it is detected that the user clicks the recording button, step 311 is executed; otherwise, step 302 is executed.
  • Step 311 End recording the first video, and save the first video file.
  • the user when the user is recording a video, the user provides the function of recording again.
  • the user When the user encounters a more beautiful scenery or a more exciting moment when recording the first video, he can press and hold the video interface with his finger. Restart the new thread to record the second video, and it will not affect the recording of the first video when the second video is recorded, so that it can capture the moment the user needs to record more in real time and ensure the completeness of the first video recording.
  • it saves a second video file on the basis of the first video file, giving users one more video recording option, so that users can capture more exciting moments and more beautiful scenery in real-time and more accurately.
  • FIG. 4 is a flowchart of another video shooting method provided by an embodiment of the present disclosure. The method is applied to an electronic device. As shown in FIG. 4, it includes the following steps:
  • Step 401 Receive a first input.
  • This step is the same as step 101 in the foregoing method embodiment.
  • reference may be made to the description in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • Step 402 In response to the first input, shoot a first video.
  • step 102 is the same as step 102 in the foregoing method embodiment.
  • step 102 is the same as step 102 in the foregoing method embodiment.
  • Step 403 In the process of shooting the first video, if there is a preset object in the video preview interface, shooting a second video while continuing to shoot the first video.
  • shooting the second video includes:
  • the preset object may be a moving object, or may be a preset object, such as a person, or an object with a specific shape, and so on.
  • shooting a second video may be shooting a second video for the area where the preset object is located.
  • shooting the first video is shooting with 1024*768 pixels, and the preset object may be used for shooting.
  • the second video may be to start shooting the second video when the moving object starts to move, and to end the shooting of the second video when the moving object stops moving.
  • a second video is shot for the preset object. In this way, shooting the second video for the preset object is convenient for the user to obtain the video of interest, and the user experience is better.
  • the preset object is a moving object with a moving speed greater than a preset value, and if there is a preset object in the video preview interface, in the case of continuing to shoot the first video, the preset object Object, shoot the second video, including:
  • the preset value can be 0, and the moving speed is greater than 0, which can be considered as a moving object; or, the preset value can also be 1, if the object moves more than 1 pixel in the video preview interface within 1s, It can be considered as a moving object; or, the preset value can also be 2. If the object moves more than 2 pixels in the video preview interface within 1s, it can be considered as a moving object.
  • Motion detection may be performed on the image frame of the first video to determine whether there is a moving object in the video preview interface.
  • the motion detection may be performed by using the inter-frame difference method, or the background subtraction method may be used for motion detection, for example, a three-frame interpolation detection algorithm may be used for motion detection. Detecting that there is a moving object in the video preview interface of the first video, it may be detecting that there is a moving object in a preset area of the video preview interface of the first video, for example, it may be the video where the first video is detected A moving object exists in the central area of the preview interface; or, it may be detected that a moving object exists in any area of the video preview interface of the first video, which is not limited in the embodiment of the present disclosure.
  • the shooting of the second video ends. It may be that when it is detected that the moving object in the video preview interface of the first video changes from a moving state to a static state, ending shooting of the second video.
  • the motion detection can be performed by using the inter-frame difference method, or the background subtraction method can be used for the motion detection.
  • the shooting station can be ended. Describe the second video.
  • the second video is started to be taken for the moving object; if the moving object is described in the video preview interface When the moving object stops moving, the shooting of the second video ends, and the degree of automation is high.
  • the method further includes:
  • N frames of images in the first video where the N frames of images are associated with the image frame where the preset object is located, and N is greater than or equal to 2;
  • the method further includes:
  • the value of N may be 3, or may be 5, or may be 10, etc., which is not limited in the embodiment of the present disclosure.
  • the N frames of images are associated with the image frame where the preset object is located, and may be that the N frames of images are continuous with the image frame where the preset object is located; or it may be that the N frames of images include the Part of the image frame where the preset object is located.
  • the preset object is a moving object with a moving speed greater than a preset value
  • the N frames of images may be associated with image frames for motion detection.
  • the N frames of images are associated with the image frames for motion detection.
  • the N frames of images may be continuous with the image frames for motion detection.
  • the image frames for motion detection start from the Mth frame.
  • the N frames of images are from the (MN)th frame to the (M-1)th frame images, and M is greater than N; or it may be that the N frames of images include all the frames in the image frames for motion detection, for example, for motion detection
  • the image frames of are the Mth frame, the (M+1)th frame, and the (M+2)th frame, and the N frame images are the (M-N+3)th frame to the (M+2)th frame image, M Is greater than (N-3), and N is greater than 3; or it may be that the N frames of images include part of the image frames for motion detection.
  • the image frame for motion detection is the Mth frame and the (M+th) image frame.
  • 1) Frame and the (M+2)th frame the N frames of images include the (M+2)th frame of images, and M is greater than zero.
  • Inserting the N frames of images into the second video may be the initial moment of inserting the second video, for example, using the N frames of images as the initial N frames of images of the second video file; adding the N frames The image is inserted into the second video. If it is detected that part or all of the N frames of the image are the same as one or more frames of the image starting at the initial time in the second video, the N In the frame image, the same image frame as the one or more frames from the initial moment in the second video is deleted.
  • N frames of images in the first video are stored, the N frames of images are associated with the image frame where the preset object is located, and N is greater than or equal to 2; the N frames of images are inserted into the In the second video.
  • multiple frames of images associated with the image frame where the preset object is located can exist in the second video, so that the second video file is more complete.
  • a first input is received; in response to the first input, a first video is shot; in the process of shooting the first video, if there is a preset object in the video preview interface, the shooting is continued.
  • the first video the second video is shot.
  • the embodiments of the present disclosure can further reduce the cumbersome degree of the operation of acquiring the captured segment of interest in the process of video capturing.
  • the video shooting method specifically includes the following steps:
  • Step 501 Start the camera.
  • Step 502 Record the first video.
  • Step 503 Store N frames of images in the first video.
  • the value of N can be 5, and the thread can be enabled to cache the 5 frames of the first video.
  • Step 504 Perform motion detection on the first video.
  • threads can be activated to perform motion detection, and three-frame difference detection can be performed on the image currently captured by the first video.
  • Step 505 Detect whether there is a moving object in the center of the shooting frame of the first video. If it is detected that there is a moving object in the center of the shooting frame of the first video, step 507 is executed; otherwise, step 506 is executed.
  • the center of the shooting image may be a preset area including the center position of the shooting image, for example, may be a 3cm*3cm area including the center position of the shooting image.
  • Step 506 Discard N frames of images in the first video.
  • Step 507 Record the second video.
  • Step 508 Detect whether the moving object stops moving. If it is detected that the moving object stops moving, step 509 is executed; otherwise, step 507 is executed.
  • Step 509 End recording the second video, and save the second video file.
  • Step 510 Detect whether the user clicks the recording button. If it is detected that the user clicks the recording button, step 511 is executed; otherwise, step 502 is executed.
  • Step 511 End recording the first video, and save the first video file.
  • the recording of the second video is ended, the second video file is saved, and the recording of the first video is ended, and the first video file is saved.
  • accurate capture is implemented in the recorded video, and motion detection is added.
  • smart capture is automatically enabled to record the second video, which has a high degree of automation.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 6, the electronic device 600 includes:
  • the receiving module 601 is configured to receive the first input
  • the first shooting module 602 is configured to shoot a first video in response to the first input
  • the second shooting module 603 is configured to shoot a second video if a preset condition is met during the shooting of the first video, while continuing to shoot the first video.
  • the second shooting module 603 is specifically configured to: in the process of shooting the first video, if a second input is received, in response to the second input, continue shooting the first video In the case of shooting a second video;
  • the second shooting module 603 is specifically configured to: in the process of shooting the first video, if there is a preset object in the video preview interface, shooting a second video while continuing to shoot the first video.
  • the second photographing module 603 is specifically configured to:
  • the second video is a video corresponding to the target area.
  • the second photographing module 603 is specifically configured to:
  • the preset object is a moving object with a moving speed greater than a preset value
  • the second photographing module 603 is specifically configured to:
  • the electronic device 600 further includes:
  • the storage module 604 is configured to store N frames of images in the first video, the N frames of images are associated with the image frame where the preset object is located, and N is greater than or equal to 2;
  • the inserting module 605 is configured to insert the N frames of images into the second video.
  • the electronic device 600 includes a first camera and a second camera, and the second photographing module 603 is specifically configured to:
  • the electronic device can implement each process implemented by the electronic device in the method embodiments of FIG. 1, FIG. 2 and FIG. 4. In order to avoid repetition, details are not described herein again.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present disclosure.
  • the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
  • a radio frequency unit 701 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power 711 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, robots, wearable devices, and pedometers.
  • the processor 710 is configured to execute the following process:
  • the second video is shot while continuing to shoot the first video.
  • a first input is received; in response to the first input, a first video is shot; in the process of shooting the first video, if a preset condition is met, the first video is continued to be shot In the case, shoot the second video. In this way, shooting the second video while continuing to shoot the first video can reduce the cumbersome degree of the operation of acquiring the shooting segment of interest in the process of video shooting.
  • shooting the second video in the case of continuing to shoot the first video includes:
  • the second video is shot while continuing to shoot the first video.
  • shooting the second video includes:
  • the second video is a video corresponding to the target area.
  • shooting the second video includes:
  • the preset object is a moving object with a moving speed greater than a preset value. If the preset object exists in the video preview interface executed by the processor 710, in the case of continuing to shoot the first video, Shooting a second video for the preset object includes:
  • processor 710 is further configured to execute:
  • N frames of images in the first video where the N frames of images are associated with the image frame where the preset object is located, and N is greater than or equal to 2;
  • the electronic device includes a first camera and a second camera.
  • a preset condition is met, it continues to shoot the first video.
  • a second video including:
  • the radio frequency unit 701 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 710; Uplink data is sent to the base station.
  • the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 702, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 703 may convert the audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output it as sound. Moreover, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic device 700 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 704 is used to receive audio or video signals.
  • the input unit 704 may include a graphics processing unit (GPU) 7041 and a microphone 7042.
  • the graphics processor 7041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 706.
  • the image frame processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or sent via the radio frequency unit 701 or the network module 702.
  • the microphone 7042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.
  • the electronic device 700 further includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 7061 and the display panel 7061 when the electronic device 700 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 706 is used to display information input by the user or information provided to the user.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 707 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072.
  • the touch panel 7071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 7071 or near the touch panel 7071. operating).
  • the touch panel 7071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 710, the command sent by the processor 710 is received and executed.
  • the touch panel 7071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 707 may also include other input devices 7072.
  • other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 7071 can be overlaid on the display panel 7061.
  • the touch panel 7071 detects a touch operation on or near it, it is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 7061.
  • the touch panel 7071 and the display panel 7061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 708 is an interface for connecting an external device and the electronic device 700.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 708 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 700 or can be used to connect the electronic device 700 to an external device. Transfer data between devices.
  • the memory 709 can be used to store software programs and various data.
  • the memory 709 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 710 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 709, and calls data stored in the memory 709 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 710 may include one or more processing units; optionally, the processor 710 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710.
  • the electronic device 700 may also include a power source 711 (such as a battery) for supplying power to various components.
  • a power source 711 such as a battery
  • the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 700 includes some functional modules not shown, which will not be repeated here.
  • the embodiments of the present disclosure also provide an electronic device, including a processor, a memory, and a program stored in the memory and running on the processor.
  • a program stored in the memory and running on the processor.
  • the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process in the above-mentioned video shooting method is realized, and the same can be achieved.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

本公开涉及通信技术领域,提供一种视频拍摄方法及电子设备,方法包括:接收第一输入;响应于第一输入,拍摄第一视频;在拍摄第一视频的过程中,若满足预设条件,则在继续拍摄第一视频的情况下,拍摄第二视频。

Description

视频拍摄方法及电子设备
相关申请的交叉引用
本申请主张在2019年8月30日在中国提交的中国专利申请号No.201910814752.4的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种视频拍摄方法及电子设备。
背景技术
随着电子设备的发展,电子设备的功能越来越多,已经成为人们必不可少的工具。视频拍摄是电子设备的一项重要功能,用户可以通过电子设备进行视频拍摄从而记录生活中的美好时刻。
相关技术中,在视频拍摄的过程中,若发现感兴趣的拍摄片段,只能通过后期对拍摄完成的视频进行剪辑,获取感兴趣的拍摄片段,操作较为繁琐。
发明内容
本公开实施例提供一种视频拍摄方法及电子设备,以解决相关技术中在视频拍摄的过程中获取感兴趣的拍摄片段的操作较为繁琐的问题。
为了解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种视频拍摄方法,包括:
接收第一输入;
响应于所述第一输入,拍摄第一视频;
在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
第二方面,本公开实施例提供了一种电子设备,包括:
接收模块,用于接收第一输入;
第一拍摄模块,用于响应于所述第一输入,拍摄第一视频;
第二拍摄模块,用于在拍摄所述第一视频的过程中,若满足预设条件, 则在继续拍摄所述第一视频的情况下,拍摄第二视频。
第三方面,本公开实施例提供了一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的视频拍摄方法中的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的视频拍摄方法中的步骤。
本公开实施例中,接收第一输入;响应于所述第一输入,拍摄第一视频;在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。这样,在继续拍摄所述第一视频的情况下拍摄第二视频,能够降低在视频拍摄的过程中获取感兴趣的拍摄片段的操作繁琐程度。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的一种视频拍摄方法的流程图之一;
图2是本公开实施例提供的一种视频拍摄方法的流程图之二;
图3是本公开实施例提供的一种视频拍摄方法的流程图之三;
图4是本公开实施例提供的一种视频拍摄方法的流程图之四;
图5是本公开实施例提供的一种视频拍摄方法的流程图之五;
图6是本公开实施例提供的一种电子设备的结构示意图之一;
图7是本公开实施例提供的一种电子设备的结构示意图之二;
图8是本公开实施例提供的一种电子设备的结构示意图之三。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。
参见图1,图1是本公开实施例提供的一种视频拍摄方法的流程图,所述方法应用于电子设备,如图1所示,包括以下步骤:
步骤101、接收第一输入。
其中,所述第一输入用于拍摄第一视频,所述第一输入可以是点击电子设备上的应用程序的图标的输入;或者,所述第一输入可以是按压电子设备上的硬件按钮的输入;或者,所述第一输入可以是在电子设备的屏幕上滑动预设手势的输入。本公开实施例对第一输入不进行限定。以电子设备为手机为例,可以是点击手机上的相机图标,进入视频预览界面,进行第一视频的拍摄。
步骤102、响应于所述第一输入,拍摄第一视频。
其中,在接收到第一输入后,进行第一视频的拍摄。
步骤103、在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
其中,所述满足预设条件,可以是检测到针对所述第一视频的视频预览界面的第一输入,例如,检测到在所述第一视频的视频预览界面上的按压预设时长的操作;或者,可以是检测到所述第一视频的视频预览界面中存在运动物体;或者,可以是检测到针对所述电子设备上的硬件按钮的第一预设操作,例如,检测到对所述电子设备上的硬件按钮的双击操作等,本公开实施例对所述预设条件不进行限定。
进一步的,第一视频和第二视频可以是通过同一个摄像头进行拍摄,或者,第一视频和第二视频可以是通过不同的摄像头进行拍摄。可以是,启用第一线程拍摄第一视频,在拍摄第一视频的过程中,若检测到满足预设条件,则启用第二线程拍摄第二视频。第一视频可以有第一拍照预览显示画面,第 二视频可以有第二拍照预览显示画面,第一拍照预览显示画面和第二拍照预览显示画面可以在不同的窗口显示,或者,第二拍照预览显示画面可以缩小后叠加在第一拍照预览显示画面的预设区域显示,例如,可以在第一拍照预览显示画面的右上角显示。
可选的,所述电子设备包括第一摄像头及第二摄像头,所述在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:在基于所述第一摄像头拍摄所述第一视频的过程中,若满足预设条件,则在基于所述第一摄像头继续拍摄所述第一视频的情况下,基于所述第二摄像头拍摄第二视频。
另外,在拍摄所述第二视频后,可以结束拍摄所述第二视频,得到第二视频文件,结束拍摄所述第一视频,得到第一视频文件。可以先结束拍摄所述第二视频,得到第二视频文件,然后再结束拍摄所述第一视频,得到第一视频文件;或者可以先结束拍摄所述第一视频,得到第一视频文件,然后再结束拍摄所述第二视频,得到第二视频文件。结束拍摄所述第二视频的条件可以是,在检测到针对所述第一视频的视频预览界面的第二输入,例如,可以是在检测到在所述第一视频的视频预览界面上按压预设时长的操作后,开始拍摄所述第二视频,在检测到结束对所述第一视频的视频预览界面的按压操作后,结束拍摄所述第二视频;结束拍摄所述第二视频的条件还可以是,检测到所述第一视频的拍摄画面中的运动物体停止运动;或者,还可以是,检测到针对所述电子设备上的硬件按钮的第二预设操作,例如,检测到对所述电子设备上的硬件按钮的单击操作。本公开实施例对结束拍摄所述第二视频的条件不进行限定。
需要说明的是,开始拍摄第二视频的视频拍摄条件与结束拍摄第二视频的条件可以存在一定的关联关系,也可以不存在关联关系。例如,可以是在检测到在所述第一视频的视频预览界面上按压预设时长的操作后,开始拍摄所述第二视频,在检测到结束对所述第一视频的视频预览界面的按压操作后,结束拍摄所述第二视频;也可以是,在检测到在所述第一视频的视频预览界面上按压预设时长的操作后,开始拍摄所述第二视频,在检测到针对所述电子设备上的硬件按钮的第二预设操作后,结束拍摄所述第二视频。
另外,结束拍摄所述第一视频的条件,可以是检测到针对所述第一视频的视频预览界面的第三输入,例如,检测到对所述第一视频的视频预览界面上的控件按钮的点击操作;或者可以是,检测到针对所述电子设备上的硬件按钮的第三预设操作,例如,检测到对所述电子设备上的硬件按钮的按压预设时长的操作。
进一步的,在第一视频和第二视频是通过同一个摄像头进行拍摄的情况下,第一视频文件和第二视频文件可以是由该摄像头拍摄后缓存的图像数据生成的视频文件,第一视频文件和第二视频文件可以都是基于同一图像数据得到的不同时长的视频文件。
本公开实施例中,接收第一输入;响应于所述第一输入,拍摄第一视频;在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。这样,在继续拍摄所述第一视频的情况下拍摄第二视频,能够降低在视频拍摄的过程中获取感兴趣的拍摄片段的操作繁琐程度。
参见图2,图2是本公开实施例提供的另一种视频拍摄方法的流程图,所述方法应用于电子设备,如图2所示,包括以下步骤:
步骤201、接收第一输入。
该步骤与上述方法实施例中的步骤101相同,具体可参考上述实施例中的描述,为避免重复,在此不再赘述。
步骤202、响应于所述第一输入,拍摄第一视频。
该步骤与上述方法实施例中的步骤102相同,具体可参考上述实施例中的描述,为避免重复,在此不再赘述。
步骤203、在拍摄所述第一视频的过程中,若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频。
其中,所述第二输入可以是针对所述第一视频的视频预览界面的输入,或者可以是针对所述电子设备上的硬件按钮的输入等。例如,所述第二输入可以是,在所述第一视频的视频预览界面上按压预设时长的输入;或者可以是,对所述第一视频的视频预览界面上的控件按钮的点击输入;或者可以是,在所述第一视频的视频预览界面上滑动预设轨迹的操作等,本公开实施例对 第二输入不进行限定。
可选的,所述若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;
其中,所述第二视频为所述目标区域对应的视频。
其中,当用户在拍摄第一视频的过程中,发现对拍摄画面的某个区域的图像内容感兴趣时,可以在所述第一视频的视频预览界面选取该区域作为目标区域,电子设备在检测到在所述第一视频的视频预览界面选择目标区域的操作后,开始拍摄第二视频,并持续拍摄所述第一视频。
另外,在通过第一摄像头拍摄所述第一视频,第二摄像头拍摄第二视频的情况下,可以采用主摄像头拍摄第一视频,采用长焦摄像头拍摄第二视频,长焦摄像头拍摄目标区域对应的视频,拍摄效果较佳。
该实施方式中,若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;其中,所述第二视频为所述目标区域对应的视频,这样,在拍摄第一视频的过程中,可以选择第一视频的视频预览界面中的部分区域拍摄第二视频,用户体验较好。
本公开实施例中,接收第一输入;响应于所述第一输入,拍摄第一视频;在拍摄所述第一视频的过程中,若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频。这样,在接收到第二输入的情况下,开始拍摄第二视频,操作更为直观及简便,本公开实施例能够进一步降低在视频拍摄的过程中获取感兴趣的拍摄片段的操作繁琐程度。
作为一种具体的实施方式,在所述电子设备为手机的情况下,如图3所示,所述视频拍摄方法具体包括如下步骤:
步骤301、启动相机。
步骤302、录制第一视频。
其中,可以是在接收到点击录制按钮的操作后,进行第一视频的录制。
步骤303、检测用户是否按压视频录制界面。若检测到用户按压视频录制界面,则执行步骤304,否则,执行步骤310。
其中,用户可以用手指点击在视频录制界面,并持续按压在视频录制界面。
步骤304、录制第二视频,并持续录制第一视频。
其中,用户可以开启新的线程录制第二视频。
步骤305、检测用户按压视频录制界面是否超过预设时长。若检测到用户按压视频录制界面超过预设时长,则执行步骤307,否则,执行步骤306。
其中,预设时长可以为3s或者可以为5s等等。
步骤306、结束录制第二视频,丢弃第二视频文件。
步骤307、继续录制第二视频,并持续录制第一视频。
步骤308、检测用户是否结束按压视频录制界面。若检测到用户结束按压视频录制界面,则执行步骤309,否则执行步骤307。
步骤309、结束录制第二视频,保存第二视频文件,并持续录制第一视频。
步骤310、检测用户是否点击录像按钮。若检测到用户点击录像按钮,则执行步骤311,否则,执行步骤302。
步骤311、结束录制第一视频,保存第一视频文件。
本公开实施例中,用户在录制视频时,提供了再一次录像的功能,当用户在录制第一视频时,遇到更美丽的景色或者更精彩瞬间时,通过手指长按录像界面,即能重新启动新的线程进行第二视频的录制,并且在录制第二视频时不影响第一视频的录制,从而能更实时准确地抓拍到用户需要录制的瞬间,在保证了第一视频录制的完整性的同时,又在第一视频文件的基础上保存了一份第二视频文件,给用户多了一次录像选择,从而让用户更实时更准确地抓拍到更精彩的瞬间和更美丽的风景,提升了用户对录制视频的需求,尤其是在抓拍小孩过程中,很多不经意的瞬间都是不定性的,可以确保原抓拍第一视频中小孩每个瞬间的完整性,又能更实时准确地抓取到小孩更可爱美丽的瞬间,使得录制拍摄更富有表现力,极大地优化了用户体验。
参见图4,图4是本公开实施例提供的另一种视频拍摄方法的流程图,所述方法应用于电子设备,如图4所示,包括以下步骤:
步骤401、接收第一输入。
该步骤与上述方法实施例中的步骤101相同,具体可参考上述实施例中的描述,为避免重复,在此不再赘述。
步骤402、响应于所述第一输入,拍摄第一视频。
该步骤与上述方法实施例中的步骤102相同,具体可参考上述实施例中的描述,为避免重复,在此不再赘述。
步骤403、在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
可选的,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。
其中,所述预设物体可以为运动物体,或者可以为预先设置的物体,例如,人物,或者,特定形状的物体等等。针对所述预设物体,拍摄第二视频,可以是,针对所述预设物体所在的区域拍摄第二视频,例如,拍摄第一视频是采用1024*768像素进行拍摄,可以将以预设物体为中心的300*300像素所在的区域拍摄第二视频;在预设物体为运动物体的情况下,针对所述预设物体,拍摄第二视频,还可以是,针对所述运动物体的状态拍摄第二视频,可以是在所述运动物体开始运动时,开始拍摄第二视频,在所述运动物体停止运动时,结束拍摄所述第二视频。
该实施方式中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。这样,针对预设物体进行第二视频的拍摄,便于用户获取到感兴趣的视频,用户体验较好。
可选的,所述预设物体为移动速度大于预设值的运动物体,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频,包括:
若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;
若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频。
其中,所述预设值可以为0,移动速度大于0,可以认为是运动物体;或者,预设值还可以为1,若物体在视频预览界面中在1s内移动的距离大于1个像素,可以认为是运动物体;或者,预设值还可以为2,若物体在视频预览界面中在1s内移动的距离大于2个像素,可以认为是运动物体。本公开实施例对预设值不进行限定。可以对所述第一视频的图像帧进行运动检测,确定所述视频预览界面中是否存在运动物体。可以是采用帧间差分法进行运动检测,或者可以采用背景相减法进行运动检测,例如,可以采用三帧插值检测算法进行运动检测。检测到所述第一视频的视频预览界面中存在运动物体,可以是检测到所述第一视频的视频预览界面的预设区域存在运动物体,例如,可以是检测到所述第一视频的视频预览界面的中心区域存在运动物体;或者,可以是检测到所述第一视频的视频预览界面的任意区域存在运动物体,本公开实施例对此不进行限定。
另外,若检测到所述第一视频的视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频。可以是在检测到所述第一视频的视频预览界面中所述运动物体由运动状态变为静止状态时,结束拍摄所述第二视频。可以是采用帧间差分法进行运动检测,或者可以采用背景相减法进行运动检测,可以在检测到所述第一视频的视频预览界面中由存在运动物体变为不存在运动物体时,结束拍摄所述第二视频。
该实施方式中,若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频,自动化程度较高。
可选的,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频之前,所述方法还包括:
存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;
所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频之后,所述方法还包括:
将所述N帧图像插入所述第二视频中。
其中,N的值可以为3,或者可以为5,或者可以为10等等,本公开实施例对此不进行限定。所述N帧图像与所述预设物体所在的图像帧相关联,可以是,所述N帧图像与所述预设物体所在的图像帧连续;或者可以是,所述N帧图像包括所述预设物体所在的图像帧的部分帧。在所述预设物体为移动速度大于预设值的运动物体时,所述N帧图像可以与进行运动检测的图像帧相关联。
进一步的,所述N帧图像与进行运动检测的图像帧相关联,可以是所述N帧图像与进行运动检测的图像帧连续,例如,进行运动检测的图像帧从第M帧开始,所述N帧图像为第(M-N)帧至第(M-1)帧图像,M大于N;或者可以是,所述N帧图像中包括进行运动检测的图像帧中的全部帧,例如,进行运动检测的图像帧为第M帧、第(M+1)帧以及第(M+2)帧,所述N帧图像为第(M-N+3)帧至第(M+2)帧图像,M大于(N-3),N大于3;或者可以是,所述N帧图像中包括进行运动检测的图像帧中的部分帧,例如,进行运动检测的图像帧为第M帧、第(M+1)帧以及第(M+2)帧,所述N帧图像包括第(M+2)帧图像,M大于0。将所述N帧图像插入所述第二视频中,可以是插入所述第二视频的初始时刻,例如,将所述N帧图像作为第二视频文件初始的N帧图像;将所述N帧图像插入所述第二视频中,若检测到所述N帧图像中的部分帧或全部帧与所述第二视频中的初始时刻开始的一帧或多帧图像相同时,可以将所述N帧图像中与所述第二视频中的初始时刻开始的一帧或多帧图像相同的图像帧删除。
该实施方式中,存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;将所述N帧图像插入所述第二视频中。这样,所述预设物体所在的图像帧关联的多帧图像能够存在于第二视频中,使得第二视频文件更为完整。
本公开实施例中,接收第一输入;响应于所述第一输入,拍摄第一视频;在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。这样,在视频预览界面中存在预设物体时自动进行第二视频的拍摄,本公开实施例能够进一步降低在视频拍摄的过程中获取感兴趣的拍摄片段的操作繁琐程度。
作为一种具体的实施方式,在所述电子设备为手机的情况下,如图5所示,所述视频拍摄方法具体包括如下步骤:
步骤501、启动相机。
步骤502、录制第一视频。
步骤503、存储所述第一视频中的N帧图像。
其中,N的值可以为5,可以启用线程缓存所述第一视频的5帧图像。
步骤504、对第一视频进行运动检测。
其中,可以启用线程进行运动检测,可以对所述第一视频当前拍摄的图像进行三帧差值检测。
步骤505、检测所述第一视频的拍摄画面中心是否存在运动物体。若检测到所述第一视频的拍摄画面中心存在运动物体,则执行步骤507,否则,执行步骤506。
其中,所述拍摄画面中心可以是包括拍摄画面中心位置的预设区域,例如,可以是包括拍摄画面中心位置的3cm*3cm大小的区域。
步骤506、丢弃所述第一视频中的N帧图像。
步骤507、录制第二视频。
步骤508、检测所述运动物体是否停止运动。若检测到所述运动物体停止运动,则执行步骤509,否则,执行步骤507。
步骤509、结束录制第二视频,保存第二视频文件。
步骤510、检测用户是否点击录像按钮。若检测到用户点击录像按钮,则执行步骤511,否则,执行步骤502。
步骤511、结束录制第一视频,保存第一视频文件。
其中,若在执行步骤509之前,用户点击录像按钮结束第一视频的录制,则结束录制第二视频,保存第二视频文件,且结束录制第一视频,保存第一视频文件。
本公开实施例中,在录制视频中实现精准抓拍,加入运动检测,当识别到拍摄画面中心存在运动物体时,自动启用智能抓拍录制第二视频,自动化程度较高。
参见图6,图6是本公开实施例提供的一种电子设备的结构示意图,如 图6所示,电子设备600包括:
接收模块601,用于接收第一输入;
第一拍摄模块602,用于响应于所述第一输入,拍摄第一视频;
第二拍摄模块603,用于在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
可选的,所述第二拍摄模块603具体用于:在拍摄所述第一视频的过程中,若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频;
或者,
所述第二拍摄模块603具体用于:在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
可选的,所述第二拍摄模块603具体用于:
在拍摄所述第一视频的过程中,若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;
其中,所述第二视频为所述目标区域对应的视频。
可选的,所述第二拍摄模块603具体用于:
在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。
可选的,所述预设物体为移动速度大于预设值的运动物体,所述第二拍摄模块603具体用于:
若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;
若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频。
可选的,所述电子设备600还包括:
存储模块604,用于存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;
插入模块605,用于将所述N帧图像插入所述第二视频中。
可选的,所述电子设备600包括第一摄像头及第二摄像头,所述第二拍摄模块603具体用于:
在基于所述第一摄像头拍摄所述第一视频的过程中,若满足预设条件,则在基于所述第一摄像头继续拍摄所述第一视频的情况下,基于所述第二摄像头拍摄第二视频。
电子设备能够实现图1、图2及图4的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
图8为实现本公开各个实施例的一种电子设备的硬件结构示意图。
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、机器人、可穿戴设备、以及计步器等。
处理器710,用于执行下述过程:
接收第一输入;
响应于所述第一输入,拍摄第一视频;
在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
本公开实施例中,接收第一输入;响应于所述第一输入,拍摄第一视频;在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。这样,在继续拍摄所述第一视频的情况下拍摄第二视频,能够降低在视频拍摄的过程中获取感兴趣的拍摄片段的操作繁琐程度。
可选的,处理器710执行的所述若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频;
或者,
若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
可选的,处理器710执行的所述若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;
其中,所述第二视频为所述目标区域对应的视频。
可选的,处理器710执行的所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。
可选的,所述预设物体为移动速度大于预设值的运动物体,处理器710执行的所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频,包括:
若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;
若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频。
可选的,处理器710还用于执行:
存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;
将所述N帧图像插入所述第二视频中。
可选的,所述电子设备包括第一摄像头及第二摄像头,处理器710执行的所述在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
在基于所述第一摄像头拍摄所述第一视频的过程中,若满足预设条件,则在基于所述第一摄像头继续拍摄所述第一视频的情况下,基于所述第二摄像头拍摄第二视频。
应理解的是,本公开实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与电子设备700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。
电子设备700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在电子设备700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、 分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。
用户输入单元707可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图8中,触控面板7071与显示面板7061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元708为外部装置与电子设备700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输 入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备700内的一个或多个元件或者可以用于在电子设备700和外部装置之间传输数据。
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器710是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器710可包括一个或多个处理单元;可选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。
电子设备700还可以包括给各个部件供电的电源711(比如电池),可选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备700包括一些未示出的功能模块,在此不再赘述。
本公开实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序,该程序被处理器执行时实现上述视频拍摄方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述视频拍摄方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、 随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (15)

  1. 一种视频拍摄方法,应用于电子设备,包括:
    接收第一输入;
    响应于所述第一输入,拍摄第一视频;
    在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
  2. 根据权利要求1所述的方法,其中,所述若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
    若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频;
    或者,
    若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
  3. 根据权利要求2所述的方法,其中,所述若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
    若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;
    其中,所述第二视频为所述目标区域对应的视频。
  4. 根据权利要求2所述的方法,其中,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
    若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。
  5. 根据权利要求4所述的方法,其中,所述预设物体为移动速度大于预设值的运动物体,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频,包括:
    若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;
    若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视 频。
  6. 根据权利要求4或5所述的方法,其中,所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频之前,所述方法还包括:
    存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;
    所述若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频之后,所述方法还包括:
    将所述N帧图像插入所述第二视频中。
  7. 根据权利要求1所述的方法,其中,所述电子设备包括第一摄像头及第二摄像头,所述在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频,包括:
    在基于所述第一摄像头拍摄所述第一视频的过程中,若满足预设条件,则在基于所述第一摄像头继续拍摄所述第一视频的情况下,基于所述第二摄像头拍摄第二视频。
  8. 一种电子设备,包括:
    接收模块,用于接收第一输入;
    第一拍摄模块,用于响应于所述第一输入,拍摄第一视频;
    第二拍摄模块,用于在拍摄所述第一视频的过程中,若满足预设条件,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
  9. 根据权利要求8所述的电子设备,其中,所述第二拍摄模块具体用于:在拍摄所述第一视频的过程中,若接收到第二输入,则响应于所述第二输入,在继续拍摄所述第一视频的情况下,拍摄第二视频;
    或者,
    所述第二拍摄模块具体用于:在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,拍摄第二视频。
  10. 根据权利要求9所述的电子设备,其中,所述第二拍摄模块具体用于:
    在拍摄所述第一视频的过程中,若接收到在所述视频预览界面中选择目标区域的操作,则在继续拍摄所述第一视频的情况下,拍摄第二视频;
    其中,所述第二视频为所述目标区域对应的视频。
  11. 根据权利要求9所述的电子设备,其中,所述第二拍摄模块具体用于:
    在拍摄所述第一视频的过程中,若视频预览界面中存在预设物体,则在继续拍摄所述第一视频的情况下,针对所述预设物体,拍摄第二视频。
  12. 根据权利要求11所述的电子设备,其中,所述预设物体为移动速度大于预设值的运动物体,所述第二拍摄模块具体用于:
    若视频预览界面中存在所述运动物体,则在继续拍摄所述第一视频的情况下,针对所述运动物体,开始拍摄第二视频;
    若所述视频预览界面中所述运动物体停止运动,则结束拍摄所述第二视频。
  13. 根据权利要求11或12所述的电子设备,还包括:
    存储模块,用于存储所述第一视频中的N帧图像,所述N帧图像与所述预设物体所在的图像帧相关联,N大于或等于2;
    插入模块,用于将所述N帧图像插入所述第二视频中。
  14. 根据权利要求8所述的电子设备,包括第一摄像头及第二摄像头,所述第二拍摄模块具体用于:
    在基于所述第一摄像头拍摄所述第一视频的过程中,若满足预设条件,则在基于所述第一摄像头继续拍摄所述第一视频的情况下,基于所述第二摄像头拍摄第二视频。
  15. 一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至7中任一项所述的视频拍摄方法中的步骤。
PCT/CN2020/101062 2019-08-30 2020-07-09 视频拍摄方法及电子设备 WO2021036536A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910814752.4A CN110557566B (zh) 2019-08-30 2019-08-30 视频拍摄方法及电子设备
CN201910814752.4 2019-08-30

Publications (1)

Publication Number Publication Date
WO2021036536A1 true WO2021036536A1 (zh) 2021-03-04

Family

ID=68738529

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/101062 WO2021036536A1 (zh) 2019-08-30 2020-07-09 视频拍摄方法及电子设备

Country Status (2)

Country Link
CN (1) CN110557566B (zh)
WO (1) WO2021036536A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035920A1 (zh) * 2021-09-07 2023-03-16 荣耀终端有限公司 一种录像中抓拍图像的方法及电子设备
CN116033261B (zh) * 2021-10-22 2023-10-20 荣耀终端有限公司 一种视频处理方法、电子设备、存储介质和芯片
CN117692762A (zh) * 2023-06-21 2024-03-12 荣耀终端有限公司 拍摄方法及电子设备

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557566B (zh) * 2019-08-30 2021-12-17 维沃移动通信有限公司 视频拍摄方法及电子设备
CN111147779B (zh) * 2019-12-31 2022-07-29 维沃移动通信有限公司 视频制作方法、电子设备及介质
CN112261218B (zh) * 2020-10-21 2022-09-20 维沃移动通信有限公司 视频控制方法、视频控制装置、电子设备和可读存储介质
CN113766130B (zh) * 2021-09-13 2023-07-28 维沃移动通信有限公司 视频拍摄方法、电子设备及装置
CN114125325B (zh) * 2021-11-30 2024-08-27 维沃移动通信有限公司 视频拍摄方法、装置和电子设备
CN114241014A (zh) * 2021-12-03 2022-03-25 上海锡鼎智能科技有限公司 一种用于实验考头戴式微型摄像头智能抓拍方法
CN114422692B (zh) * 2022-01-12 2023-12-08 西安维沃软件技术有限公司 视频录制方法、装置及电子设备
CN116708649A (zh) * 2022-02-28 2023-09-05 荣耀终端有限公司 视频处理方法、电子设备及可读介质
CN114598819B (zh) * 2022-03-16 2024-08-02 维沃移动通信有限公司 视频录制方法、装置和电子设备
CN116112781B (zh) * 2022-05-25 2023-12-01 荣耀终端有限公司 录像方法、装置及存储介质
CN117177063A (zh) * 2022-05-30 2023-12-05 荣耀终端有限公司 一种拍摄方法和电子设备
CN116055869B (zh) * 2022-05-30 2023-10-20 荣耀终端有限公司 一种视频处理方法和终端

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657299A (zh) * 2015-07-14 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种基于双摄像头的拍摄数据的处理方法及系统
CN105827935A (zh) * 2015-07-23 2016-08-03 维沃移动通信有限公司 一种终端截图的方法及终端
US20170099439A1 (en) * 2015-10-05 2017-04-06 Light Labs Inc. Methods and apparatus for compensating for motion and/or changing light conditions during image capture
CN106791455A (zh) * 2017-03-31 2017-05-31 努比亚技术有限公司 全景拍摄方法及装置
CN107707825A (zh) * 2017-11-27 2018-02-16 维沃移动通信有限公司 一种全景拍摄方法、移动终端和计算机可读存储介质
CN107786827A (zh) * 2017-11-07 2018-03-09 维沃移动通信有限公司 视频拍摄方法、视频播放方法、装置及移动终端
CN110072059A (zh) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 图像拍摄装置、方法及终端
CN110557566A (zh) * 2019-08-30 2019-12-10 维沃移动通信有限公司 视频拍摄方法及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148965B (zh) * 2011-05-09 2014-01-15 厦门博聪信息技术有限公司 多目标跟踪特写拍摄视频监控系统
WO2015197815A1 (en) * 2014-06-27 2015-12-30 Koninklijke Kpn N.V. Determining a region of interest on the basis of a hevc-tiled video stream
CN106506968B (zh) * 2016-11-29 2019-10-15 Oppo广东移动通信有限公司 控制方法、控制装置、电子装置
CN106713772B (zh) * 2017-03-31 2018-08-17 维沃移动通信有限公司 一种拍照方法及移动终端

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657299A (zh) * 2015-07-14 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种基于双摄像头的拍摄数据的处理方法及系统
CN105827935A (zh) * 2015-07-23 2016-08-03 维沃移动通信有限公司 一种终端截图的方法及终端
US20170099439A1 (en) * 2015-10-05 2017-04-06 Light Labs Inc. Methods and apparatus for compensating for motion and/or changing light conditions during image capture
CN106791455A (zh) * 2017-03-31 2017-05-31 努比亚技术有限公司 全景拍摄方法及装置
CN107786827A (zh) * 2017-11-07 2018-03-09 维沃移动通信有限公司 视频拍摄方法、视频播放方法、装置及移动终端
CN107707825A (zh) * 2017-11-27 2018-02-16 维沃移动通信有限公司 一种全景拍摄方法、移动终端和计算机可读存储介质
CN110072059A (zh) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 图像拍摄装置、方法及终端
CN110557566A (zh) * 2019-08-30 2019-12-10 维沃移动通信有限公司 视频拍摄方法及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035920A1 (zh) * 2021-09-07 2023-03-16 荣耀终端有限公司 一种录像中抓拍图像的方法及电子设备
CN116033261B (zh) * 2021-10-22 2023-10-20 荣耀终端有限公司 一种视频处理方法、电子设备、存储介质和芯片
CN117692762A (zh) * 2023-06-21 2024-03-12 荣耀终端有限公司 拍摄方法及电子设备

Also Published As

Publication number Publication date
CN110557566A (zh) 2019-12-10
CN110557566B (zh) 2021-12-17

Similar Documents

Publication Publication Date Title
WO2021036536A1 (zh) 视频拍摄方法及电子设备
CN110740259B (zh) 视频处理方法及电子设备
WO2019137429A1 (zh) 图片处理方法及移动终端
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
WO2020042890A1 (zh) 视频处理方法、终端及计算机可读存储介质
WO2020108261A1 (zh) 拍摄方法及终端
CN109597556B (zh) 一种截屏方法及终端
WO2019223494A1 (zh) 截屏方法及移动终端
CN109078319B (zh) 一种游戏界面显示方法和终端
CN108989672B (zh) 一种拍摄方法及移动终端
CN107786827B (zh) 视频拍摄方法、视频播放方法、装置及移动终端
WO2021104227A1 (zh) 拍照方法及电子设备
WO2021082772A1 (zh) 截屏方法及电子设备
CN108121486B (zh) 一种图片显示方法及移动终端
CN108132749B (zh) 一种图像编辑方法及移动终端
CN108124059B (zh) 一种录音方法及移动终端
CN110855921B (zh) 一种视频录制控制方法及电子设备
WO2020011080A1 (zh) 显示控制方法及终端设备
CN109618218B (zh) 一种视频处理方法及移动终端
WO2021129818A1 (zh) 视频播放方法及电子设备
WO2021083114A1 (zh) 照片查看方法及电子设备
WO2021190390A1 (zh) 调焦的方法、电子设备、存储介质及程序产品
WO2019120190A1 (zh) 拨号方法及移动终端
WO2021104159A1 (zh) 显示控制方法及电子设备
CN108881721B (zh) 一种显示方法及终端

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: 20856047

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20856047

Country of ref document: EP

Kind code of ref document: A1