WO2019183784A1 - 一种录像方法及电子设备 - Google Patents
一种录像方法及电子设备 Download PDFInfo
- Publication number
- WO2019183784A1 WO2019183784A1 PCT/CN2018/080575 CN2018080575W WO2019183784A1 WO 2019183784 A1 WO2019183784 A1 WO 2019183784A1 CN 2018080575 W CN2018080575 W CN 2018080575W WO 2019183784 A1 WO2019183784 A1 WO 2019183784A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- recording
- electronic device
- type
- frame rate
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 112
- 230000015654 memory Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 10
- 238000003384 imaging method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 34
- 238000013461 design Methods 0.000 description 22
- 238000012545 processing Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 18
- 230000000694 effects Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 9
- 238000003780 insertion Methods 0.000 description 7
- 230000037431 insertion Effects 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000012805 post-processing Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000001454 recorded image Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000002604 ultrasonography Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/77—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/782—Television signal recording using magnetic recording on tape
- H04N5/783—Adaptations for reproducing at a rate different from the recording rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/633—Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B2020/10935—Digital recording or reproducing wherein a time constraint must be met
- G11B2020/10981—Recording or reproducing data when the data rate or the relative speed between record carrier and transducer is variable
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/005—Reproducing at a different information rate from the information rate of recording
Definitions
- the present application relates to the field of electronic technologies, and in particular, to a video recording method and an electronic device.
- the number of frames played by the electronic device such as a mobile phone per second is less than the number of frames recorded per second during video recording, there will be a slow motion playback effect. For example, if the video is played at a frame rate of 30 frames per second (fps), if the electronic device records the video at a frame rate of 60 fps, there will be 2 times slow motion playback; if the electronic device Recording video at a video frame rate of 120fps will have 4 times slow motion playback.
- fps frames per second
- the human eye has limited ability to resolve high-speed moving objects, and slow-motion video helps people to see the details of motion during high-speed motion.
- the higher the recording frame rate when recording video the better the slow motion playback effect, and the easier it is for the human eye to see the specific motion details.
- the maximum frame rate supported by the image sensor is usually low, for example, 30fps, 60fps, 120fps or 240fps, and the recording frame rate of the electronic device is also 30fps, 60fps, 120fps or 240fps, which is usually not satisfied.
- People want to distinguish the need for high-speed motion processes For example, referring to the playback effect diagram shown in FIG. 1, when the video of the drop falling process is recorded at a video frame rate of 240 fps, when the video is played at a playback frame rate of 30 fps, it is still difficult for the user to see the rebound process of the water drop falling on the water surface or fall. The details of the movement of the small drops of water splashing into the water.
- the embodiment of the present invention provides a video recording method and an electronic device, which can make the video frame rate larger than the maximum frame rate supported by the image sensor hardware, and improve the user experience of recording slow motion video.
- the embodiment of the present application provides a video recording method, which can be applied to an electronic device having an image sensor, including: the electronic device first turns on the camera, then displays a video preview interface, and records a video after detecting the user's recording instruction.
- the video frame rate of the video is greater than the original frame rate, and the original frame rate is the maximum frame rate supported by the image sensor hardware during recording.
- the video includes a slow motion type of video.
- the recording frame rate of the electronic device can be greater than the maximum recording frame rate supported by the image sensor hardware, that is, the recording frame rate of the electronic device can be higher, and the slow motion video in the video recorded by the electronic device can be better. Meet the needs of users to distinguish high-speed motion processes.
- the video further includes at least one of a fast motion type video or a normal speed type video; the video recording frame rate is a slow motion type video recording frame rate, and a slow motion type video The maximum or average of the recording frame rate and the recording frame rate of the slow motion type video.
- the action of the video playback is fast and slow, which can give the user a strong visual impact and improve the user's shock and recording experience.
- the length of the video is a preset length
- the format of the video is a preset format.
- the format includes the position of the video corresponding to the video type and the video type in the video, and the video type includes slow motion video and normal speed. At least one of a video or a fast motion video.
- the method before recording the video, the method further includes: in the preview state, the electronic device collects the original video frame according to the original frame rate, and the electronic device caches the original video frame collected in the last T time, T is the preset length.
- the recording of the video by the electronic device specifically includes: the electronic device generates the video according to the buffered original video frame and a preset format. In this scheme, the electronic device can cache the original video frame a certain time in advance, and generate a video according to the buffered original video frame, so as to be able to more effectively record the high-speed motion process that the user wants to play in slow motion.
- the electronic device records the video, and specifically includes: the electronic device recording the video of the first video type. After the electronic device detects the second video type indication, switching to recording a video of the second video type, the first video type or the second video type is a slow motion video type. In this scheme, the user can control the type and format of the currently recorded video in real time.
- the electronic device recording the video further includes: after detecting the pause indication of the user, the electronic device pauses to record the video; after detecting the user's continued recording indication, the electronic device continues to record the video; After the user stops the instruction, the electronic device stops recording the video.
- the user can control the duration of the currently recorded video in real time.
- the method further includes: the electronic device saves the video; and after detecting the parameter information indication of the user, the electronic device displays the parameter information of the video.
- the parameter information includes a video frame rate of the video. In this way, the user can understand the video frame rate corresponding to the recorded video.
- the electronic device recording the video includes: the electronic device acquiring the original video frame according to the original frame rate; inserting at least one new video frame between the different original video frames; the electronic device according to the original video frame and the new Video frames generate video. That is to say, the electronic device can increase the video frame rate by inserting frames.
- the electronic device when the video to be recorded is of a slow motion type, the electronic device records the slow motion type video, which may include: the electronic device collects the original video frame according to the original video frame; the electronic device is adjacent to the original two. n new video frames are inserted between the video frames, n is a positive integer; the electronic device generates a slow motion type video according to the original video frame and the new video frame.
- the electronic device can increase the video frame rate by inserting a frame, thereby improving the playback effect of the slow motion video.
- the electronic device inserts n new video frames between two adjacent original video frames, where n is a positive integer, specifically including: the electronic device will be the first of the two adjacent original video frames.
- An original video frame and a second original video frame are respectively divided into q image blocks, and q is a positive integer.
- the electronic device searches for the image block j with the smallest residual value of the image block i in the preset range of the position corresponding to the image block i of the first original video frame on the second original video frame, and the image block j is the image Block i matches the image block.
- the electronic device determines a motion vector of the image block according to a position of the image block on the second original video frame that matches the first original video frame. Thereafter, the electronic device determines the position of the image block in the n new video frames to be inserted according to the motion vector of the image block. Then, the electronic device generates n new video frames to be inserted according to the positions of the image blocks in the n new video frames to be inserted. The electronic device then inserts the generated n new video frames between the first original video frame and the second original video frame. In this scheme, the electronic device can accurately determine the motion vector through the matched image block, and generate a video frame to be inserted according to the motion vector, thereby inserting a new video frame in a software manner, which can save cost and is easy to maintain.
- an embodiment of the present application provides a video recording method, including: First, an electronic device turns on a camera. Then, the electronic device displays a video preview interface. In the preview state, the electronic device acquires the original video frame according to the original frame rate. After detecting the user's recording instruction, the electronic device generates a video according to the cached original video frame and a preset format. The video frame rate of the video is greater than the original frame rate, and the original frame rate is the maximum frame rate supported by the image sensor hardware during recording, and the video includes a slow motion type video.
- the length of the video is a preset length
- the format of the video is a preset format, where the format includes a video type and a video type corresponding to the position of the video in the video, and the video type includes slow motion video, constant speed video, or fast motion video. At least one.
- an embodiment of the present application provides an electronic device, where the electronic device includes an image sensor, the electronic device further includes: an opening unit for turning on the camera; a display unit for displaying a video preview interface; and a recording unit for detecting Recording video after the user's recording instruction, the video recording frame rate is greater than the original frame rate, the original frame rate is the maximum frame rate supported by the image sensor hardware during recording, and the video includes slow motion type video.
- the video also includes at least one of a fast action type video or a normal speed type video.
- the video frame rate of the video is the maximum or average of the recording frame rate of the slow motion type video, the video frame rate of the slow motion type video, and the video frame rate of the slow motion type video.
- the length of the video is a preset length
- the format of the video is a preset format.
- the format includes the position of the video corresponding to the video type and the video type in the video, and the video type includes slow motion video and normal speed. At least one of a video or a fast motion video.
- the recording unit is specifically configured to: before the video is recorded, in the preview state, collect the original video frame according to the original frame rate; cache the original video frame collected in the last T time, and T is a preset length. ; Generate video based on the cached original video frame and the preset format.
- the recording unit is specifically configured to: record the video of the first video type; after detecting the second video type indication, switch to recording the video of the second video type, the first video type or the second
- the video type is a slow motion video type.
- the recording unit is specifically configured to: after detecting the pause indication of the user, pause the recording of the video; after detecting the continuous recording instruction of the user, continue to record the video; after detecting the stop instruction of the user , stop recording video.
- the electronic device further includes: a saving unit, configured to save the video after the recording unit records the video; the display unit is further configured to: after detecting the parameter information indication of the user, display the parameter information of the video, The parameter information includes the video frame rate of the video.
- the recording unit is specifically configured to: acquire an original video frame according to an original frame rate; insert at least one new video frame between different original video frames; generate a video according to the original video frame and the new video frame. .
- an embodiment of the present application provides an electronic device including one or more processors and one or more memories.
- the one or more memories are coupled to one or more processors for storing computer program code, the computer program code comprising computer instructions for causing the electronic device to perform when the one or more processors execute the computer instructions
- embodiments of the present application provide a computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform a video recording method in any of the above-described possible aspects.
- embodiments of the present application provide a computer program product that, when run on a computer, causes the computer to perform a video recording method in any of the possible designs of any of the above aspects.
- FIG. 1 is a schematic diagram of a slow motion video playback effect in the prior art
- FIG. 2 is a schematic structural diagram of hardware of a mobile phone according to an embodiment of the present application.
- FIG. 3 is a flowchart of a video recording method according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of a video recording process according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a slow motion video playback effect according to an embodiment of the present application.
- FIG. 7 is a comparison diagram of slow motion, normal speed, and fast motion video according to an embodiment of the present application.
- 8-1 is a schematic diagram of another video recording process according to an embodiment of the present application.
- 8-2 is a schematic diagram of another video recording process according to an embodiment of the present application.
- 8-3 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 10-1 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of another video recording process according to an embodiment of the present application.
- Figure 11-1 is a schematic diagram of a setting interface provided by an embodiment of the present application.
- FIG. 11-2 is a schematic diagram of another setting interface provided by an embodiment of the present application.
- FIG. 12 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 13 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 14-1 is a schematic diagram of another video recording process according to an embodiment of the present application.
- 14-2 is a schematic diagram of another video recording process according to an embodiment of the present application.
- FIG. 15 is a schematic diagram of another setting interface provided by an embodiment of the present application.
- FIG. 16-1 is a schematic diagram of a playback process according to an embodiment of the present application.
- FIG. 16 is a schematic diagram of a playback process according to an embodiment of the present application.
- FIG. 17-1 is a schematic diagram of parameter information display according to an embodiment of the present application.
- FIG. 17 is a schematic diagram of another parameter information display according to an embodiment of the present application.
- FIG. 18 is a flowchart of another video recording method according to an embodiment of the present application.
- FIG. 19 is a schematic diagram of a downsampling process according to an embodiment of the present application.
- FIG. 20 is a schematic diagram of a motion vector calculation process according to an embodiment of the present application.
- FIG. 21 is a schematic diagram of two motion vector fields provided by an embodiment of the present application.
- FIG. 22 is a schematic diagram of a frame insertion effect according to an embodiment of the present application.
- FIG. 23 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- Original Frame Rate The maximum number of video frames that can be captured per unit of time supported by the image sensor's hardware during video recording.
- Recording frame rate The number of video frames recorded by the electronic device per unit time.
- the video frame rate is the total number of video frames per unit time after the frame insertion, which is greater than the original frame rate.
- Play Frame Rate The number of video frames played by the electronic device per second during video playback.
- the recording method provided by the embodiment of the present application can be applied to a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, a super mobile personal computer (
- the ultra-mobile personal computer (UMPC), the netbook, the personal digital assistant (PDA), and the like can be used for any video recording by the camera.
- the mobile phone 200 may include a communication module 220, a memory 230, a sensor module 240, an input device 250, a display screen 260, an audio module 280, a processor 210, a camera module 291, a power management module 295, and the like. These components can be connected by bus or directly. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more components than FIG. 2, or combine some components, or different component arrangements.
- the camera module 291 can be used to collect images through the camera, thereby performing photographing, video recording, video chatting, video conferencing, scanning two-dimensional code/barcode, and facial information recognition.
- the video can include slow motion video, normal speed video or fast lens video.
- the communication module 220 is configured to communicate with other network entities, such as receiving information from a server or transmitting related data to a server.
- the communication module 220 may include a radio frequency (RF) module 229, a cellular module 221, a wireless fidelity (WIFI) module 223, a GPS module 227, and the like.
- the RF module 229 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, processing the received information to the processor 210; in addition, transmitting the signal generated by the processor 210.
- RF circuitry 21 may include, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
- the RF circuit 21 can also communicate with the network and other devices through wireless communication.
- the cellular module 221 and the WIFI module 223 can be used to connect to a network.
- the GPS module can be used for positioning or navigation.
- the processor 210 is a control center of the handset 200 that connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 230, and recalling data stored in the memory 230, The various functions and processing data of the mobile phone 200 are executed to perform overall monitoring of the mobile phone 200.
- processor 210 may include one or more processing units.
- the memory 230 can be used to store data, software programs, and modules, and can be a volatile memory, such as a random-access memory (RAM), or a non-volatile memory.
- RAM random-access memory
- non-volatile memory For example, a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or a combination of the above types of memories.
- the program code is stored in the memory 230, and the program code is used to enable the processor 210 to execute the prompt information display method provided by the embodiment of the present application by executing the program code.
- the memory 230 can include an internal memory 232 and an external memory 234.
- the sensor module 240 may include a gesture sensor 240A, a gyro sensor 240B, a barometric pressure sensor 240C, a magnetic sensor 240D, an acceleration sensor 240E, etc., and may be used to detect the magnitude of the acceleration of the mobile phone in various directions (generally three axes), and may be detected at rest.
- the size and direction of gravity can be used to identify the gesture of the phone (such as the angle of the phone tilt, face up, side up, horizontal and vertical screen switching, related games, magnetometer attitude calibration or motion), vibration recognition related functions (such as Pedometer, tapping or moving).
- the mobile phone 200 may further include other sensors, such as a grip force sensor (which can be used to detect whether the mobile phone is in a handheld state), a proximity sensor (a displacement sensor can be used to identify a close object to identify the proximity of the object), RGB Sensors, biometric sensors, temperature/humidity sensors, light sensors (which can be used to detect whether the phone is in a pocket, bag, etc.) or UV sensors, etc., are not described here.
- sensors such as a grip force sensor (which can be used to detect whether the mobile phone is in a handheld state), a proximity sensor (a displacement sensor can be used to identify a close object to identify the proximity of the object), RGB Sensors, biometric sensors, temperature/humidity sensors, light sensors (which can be used to detect whether the phone is in a pocket, bag, etc.) or UV sensors, etc., are not described here.
- the input device 250 can include a touch panel (TP) 252, a pen sensor 254, a button 256, an ultrasound input device 258, and an input sensing module 259, etc., for implementing input and output functions of the handset 200.
- TP touch panel
- pen sensor 254 a pen sensor 254
- button 256 a button 256
- ultrasound input device 258 an ultrasound input device 258
- input sensing module 259 etc.
- Display 260 can include devices such as display panel 262, holographic device 264, and projector 266.
- the display panel 262 can be used to display a graphical user interface (GUI) on the mobile phone, and the graphic user interface includes various application icons, service icons, widgets, or logos.
- GUI graphical user interface
- the display screen 260 may be an LCD or OLED screen with a touch function or the like.
- the touch panel 252 and the display panel 262 may also be referred to as a touch display screen, and the touch display screen may collect touch operations on or near the user (such as the user using a finger, a stylus, or the like, any suitable object or accessory in the touch display.
- the operation on the screen or near the touch display screen), and the corresponding connection device is driven according to a preset program. It can also be used to display information entered by the user or information provided to the user (such as images captured by the camera) as well as various menus of the mobile phone.
- the touch display screen can be implemented in various types, such as a resistive type, a capacitive type, an infrared light sensation, and an ultrasonic wave, which is not limited in the embodiment of the present invention.
- the operation of the user in the vicinity of the touch display screen may be referred to as a hovering touch
- the touch display screen capable of performing the hover touch may be implemented by using a capacitive type, an infrared light sense, and an ultrasonic wave.
- a target such as a finger approaches or moves away from the capacitive touch display screen
- the current of the self-capacitance and mutual capacitance in the touch display screen changes accordingly, so that the electronic device can detect the floating measurement and control.
- the infrared light touch display screen can use the infrared LED and the infrared light emitting diode to emit light, and the mobile phone realizes the recognition and tracking of the hovering gesture by detecting the screen light reflected back by the target such as the user's finger.
- the audio module 280 can include a speaker 282, a receiver 284, an earphone 286, or a microphone 288, etc., which the user can capture or play.
- the power management module 295 can include a battery 296 for logically connecting to the processor 210 through the power management system to implement functions such as managing charging, discharging, and power management through the power management system.
- the mobile phone 200 may further include a function module such as a user identification module, an indicator, a motor, and the like, and details are not described herein again.
- a function module such as a user identification module, an indicator, a motor, and the like, and details are not described herein again.
- an embodiment of the present application provides a video recording method, which can be applied to an electronic device having an image sensor, and the method may include:
- the electronic device turns on the camera.
- the user can instruct the electronic device to turn on the camera.
- the user can instruct the electronic device to turn on the camera by clicking the camera icon, or the user can instruct the electronic device to turn on the camera by voice, or the user can draw a "C" shaped trajectory on the screen in a black screen state to instruct the electronic device to turn on the camera, etc.
- the triggering manner of the electronic device to turn on the camera is not limited in the embodiment of the present application.
- the electronic device displays a video preview interface.
- the electronic device if the electronic device directly enters the photographing mode or other non-recording mode after the camera is turned on, the user can instruct to switch to the recording mode, and the electronic device opens the recording preview interface 110.
- the electronic device directly enters the recording mode after the camera is turned on (for example, the recording mode is defaulted after the electronic device is turned on, or the recording mode is used when the user last used the camera), the electronic device directly opens the recording preview interface. 110.
- the video preview interface the user can preview the object to be photographed.
- the electronic device records a video after detecting the user's recording instruction, and the video recording frame rate is greater than the original frame rate, and the original frame rate is a maximum frame rate supported by the image sensor hardware during recording, and the video includes a slow motion type video.
- the electronic device starts to record a video after detecting the user's recording instruction
- the recording instruction may be in various forms, for example, may be a voice indication, or may be a user clicking an indication of the recording button 120 as shown in FIG. 4 or FIG. 5, etc., the application The embodiment does not specifically limit this.
- the video frame rate of the video is greater than the original frame rate, that is, the video frame rate of the electronic device is not limited by the image sensor hardware capability in the electronic device. For example, if the maximum frame rate supported by the image sensor hardware of the electronic device is 240 fps, the actual recording frame rate when the electronic device records the video may be greater than 240 fps.
- the maximum frame rate that can be supported by the image sensor hardware used in the electronic device can be known according to the model of the image sensor, the data sheet, and the specification parameters.
- the average video frame rate of the video recorded by the electronic device and the actual video frame rate of the video during each time period can be obtained through testing.
- the higher the video frame rate the more video frames the electronic device records per unit time, the more motion details presented on the video frames, and the jump between image details on different video frames.
- the recording frame rate of the electronic device when the recording frame rate of the electronic device is greater than the maximum recording frame rate supported by the image sensor hardware, the recording frame rate of the electronic device can be higher, and the slow motion video in the video recorded by the electronic device can be more Good to meet the needs of users to distinguish high-speed motion process.
- FIG. 6 can be seen as a schematic diagram of the playback effect of the slow motion video recorded by the recording method provided by the embodiment of the present application. As can be seen by comparing Fig. 6 with Fig. 1, Fig. 6 allows the user to more clearly see the details of the motion of the collision and rebound when the water drop falls.
- the recording frame rate of the electronic device is larger than the maximum frame rate supported by the image sensor hardware, which is equivalent to expanding the recording capability of the image sensor itself, and the electronic device adopts an image sensor with a lower hardware configuration ( For example, when the original frame rate is 30fps or 60fps, the video frame rate can be increased to 960tps or higher, which can meet the user's demand for slow-motion video recording and improve the user's recording experience.
- the prior art which further includes a layer of dynamic random access memory (DRAM) between the pixel section and the circuit section.
- DRAM dynamic random access memory
- the DRAM can be used to temporarily store recorded image data, enabling the image sensor to process more image frames per unit time, enabling the three-layer image sensor hardware to support a maximum frame rate of 960 fps.
- the recording frame rate of the electronic device can only be the maximum frame rate supported by the image sensor hardware, and does not exceed the maximum frame rate supported by the image sensor hardware. .
- the electronic device using the special three-layer image sensor has a short recording time (for example, only 0.2 seconds can be recorded), and the resolution is low (for example, only 720p), which is difficult to satisfy the user. Video needs.
- the video frame rate of the electronic device can be not only greater than the maximum frame rate supported by the image sensor hardware, and the limitation of the hardware DRAM storage capacity is not considered, and the recording duration and resolution are not limited (for example, video recording)
- the duration can be ten minutes or longer, and the resolution can be 1080p or higher.
- Normal image sensors that do not include DRAM can also be used.
- the electronic device may first record the original video frame according to the original frame rate, and then insert the frame between the adjacent original video frames according to the original video frame, so that the recording frame rate is higher than the original frame rate.
- the electronic device can increase the recording frame rate by inserting a frame; and when recording a non-slow motion type video, the frame insertion processing is not performed, and the original frame rate is used for video recording.
- the video recorded by the electronic device may include at least one of a fast action type video or a normal speed type video, in addition to the slow motion type video.
- the fast action type may also include time-lapse photography (or time-lapse photography). That is to say, the video recorded by the electronic device can be a combination of videos of different video types.
- the slow motion type video can be understood as the video frame captured during the T1 time period is played in the T2 time period, and T1 ⁇ T2; corresponding to the slow motion video type, the fast motion type video can be understood as the T1 time period.
- the captured video frame is played during the T3 time period, and T1>T3.
- the video of the normal speed type is recorded and played according to the normal time relationship. It can be understood that the video frame captured during the T1 time period is played during the T1 time period.
- the electronic device may perform an equally spaced frame processing on the original video frame collected according to the original frame rate, thereby generating a fast action type video according to the framed video frame.
- the action of the video playback is fast and slow, which can give the user a strong visual impact and improve the user's shock and recording experience.
- the video frame rate of the video when the recorded video includes only the slow motion type video, the video is entirely a slow motion video, and the video frame rate of the video is the video frame rate of the slow motion type video, the slow motion type video.
- the video frame rate is greater than the original frame rate.
- the frame rate of the video may be the maximum value of the corresponding video frame rate of different types of video, or respectively corresponding to different types of video.
- the recording mode of the electronic device may include a plurality of types.
- the recording mode may specifically include a first recording mode and a second recording mode, where the first recording mode is used for recording a normal normal speed video; when the user selects the second recording mode, the electronic device passes the application.
- the method provided by the embodiment performs video recording, and the recording frame rate is greater than the original frame rate.
- the user can click the setting button to open various settings related to recording, and select one of a plurality of specific recording modes.
- the video preview interface of the super video mode is entered, and the electronic device performs video recording by using the method provided by the embodiment of the present application, and the recording frame rate is greater than the original frame. rate.
- the user can also click the setting button to open various settings related to photographing and recording, and select super recording from a variety of specific recording modes.
- the mode is to enter the video preview interface of the super video mode, and the video recording is performed by the method provided by the embodiment of the present application.
- the length of the video recorded by the electronic device may be a preset duration, which may be preset when the electronic device is shipped from the factory, or may be preset by the user.
- the video is a preset length, the user only needs to trigger the recording instruction, and the video recording can be automatically completed without triggering the stop instruction, thereby reducing the manual operation of the user and giving the user a better experience of intelligent recording.
- the electronic device may only include a recording button without including a pause button and a stop button.
- the preset length may be shorter, for example, may be less than or equal to 1 minute, to meet the requirement for the user to automatically record short video. Moreover, since some sharing platforms have restrictions on the duration of the video (for example, the duration of the video requested by WeChat should not exceed 10 s), when the video is a preset length, the preset length may be less than or equal to the duration limit of the sharing platform, so that It is convenient for users to upload and share this video.
- the electronic device may generate a video according to the cached original video frame. Before the step 303, in the preview state, the electronic device may also collect the original video frame according to the original frame rate, and cache the original video frame collected in the last T time.
- the motion process to be photographed may have started for a while, especially when the motion process is high speed.
- the motion process to be photographed may have ended, so the electronic device can buffer the original video frame a certain time in advance, and generate a video according to the buffered original video frame, so as to be able to record more effectively the user wants to play in slow motion.
- the high speed movement process The way in which an electronic device caches a video frame a certain time in advance can improve the user experience when recording an object that is instantaneously moving at a high speed.
- T may be the preset length.
- FIG. 10-1 and FIG. 10-2 a schematic diagram of a recording process corresponding to the implementation manner can be seen in FIG. 10-1 and FIG. 10-2.
- the electronic device may not generate a video immediately after the electronic device clicks the record button and display the generated video at 130 positions, see Figure 10-1 and Figure 10- (d) of 2, after a while, the electronic device will display the generated video at area 130 to prompt the user that the video has been recorded.
- the electronic device since the original video frame needs to be buffered in advance, in the preview state, the electronic device needs to align the subject to perform image acquisition in real time.
- the video recorded by the electronic device may have a plurality of different formats
- the format content may include a video type and a video type corresponding to the position of the video in the video, the video type including slow motion video, and often At least one of a speed video or a fast motion video.
- the format can be seen in Table 1 below.
- the format of the video recorded by the electronic device may be a preset format.
- the identification and identification of the electronic device or the electronic device of the model can be improved.
- the electronic device can automatically generate a video with strong identification and easy sharing after the user triggers the recording instruction.
- the electronic device can collect the original video frame according to the original frame rate, and cache the most recent video frame.
- the original video frame captured in the preset length T time.
- the electronic device may generate a video having a preset length and a preset format according to the buffered original video frame and a preset format.
- the recording process diagram can also be seen in FIG. 10-1 or FIG. 10-2.
- the user before recording a video, the user can open a setting interface to select a format to be recorded from among multiple candidate formats of the video; when recording the video, the electronic device can be based on the user. Record the video in the format you want to record.
- the user can also independently set the format of the video to be recorded, and the electronic device can generate a personalized video according to the format set by the user.
- the length of the video is controlled by the user in real time during the recording process according to actual needs, and the user can select the motion process to be recorded by pausing, continuing, and stopping instructions, skipping the unwanted motion.
- the motion of the recording Specifically, referring to FIG. 12, when the video is recorded, if the electronic device detects the user's pause indication, the video is paused; if the electronic device detects the user's continued recording instruction, the video is continuously recorded; if the electronic device detects the user's Stop the recording and stop recording the video.
- 160 denotes a pause button, 170 denotes a resume recording button, and 180 denotes a stop button.
- the electronic device may also collect the original video frame according to the original frame rate, and cache the most recent T time.
- the original video frame in step 303, the electronic device generates a video frame according to the buffered original video frame and the original video frame acquired after detecting the user's recording instruction.
- the electronic device may not cache the original video frame in advance, and the electronic device performs real-time processing according to the collected original video frame after detecting the user's recording instruction, thereby generating a video. Therefore, after the user triggers the stop instruction, the electronic device basically completes the recording of the video. As shown in FIG. 12, after the user clicks the stop button 180, the electronic device can display the generated video almost at the area 130.
- the recording of the video by the electronic device in step 303 may specifically include: the electronic device recording the video of the first video type; after detecting the second video type indication The electronic device switches to recording a video of the second video type.
- the first video type is different from the second video type, and the first video type or the second video type is a slow motion video type.
- the initial video type that the electronic device detects the user's recording instruction and has just started recording may be a preset video type.
- the electronic device may start recording the video corresponding to the initial video type after detecting the user's recording indication and the initial video type indication.
- the initial video type is a constant speed video type
- the user records a constant speed video type video after the user clicks the recording button
- the time period T before the detection of the user slow motion type indication time and the detection of the user may be specifically
- the slow motion type indicates that the video frame after the time is interpolated to generate a slow motion video.
- the motion process to be shot may have started for a while, especially When the motion process is a high-speed motion process, the motion process to be photographed may have ended, and thus the electronic device may record the slow motion video for a period of time in advance according to the original video frame in the time period T before the time indicating the user's slow motion type. So that the user can more effectively record the motion process that you want to play in slow motion.
- the electronic device can automatically switch the video recording type during the recording process. For example, when the moving speed of the subject is greater than or equal to the preset value, it can be switched to the slow motion type video for recording; when the moving speed of the subject is less than the preset value, it can be switched to the normal speed type or the fast motion type. Video recording.
- the electronic device recognizes the subject, the image is switched to the format corresponding to the object to be photographed for video shooting. For example, the electronic device can initially record a video of a default type (for example, a normal speed type).
- format 4 can be: fixed time 0.3s, fast motion video (0.05s) + slow motion video (0.25s).
- the electronic device automatically switches the video recording type, the type of video recorded at the current time can also be displayed in real time during recording.
- the correspondence between the object to be photographed and the format may be pre-stored in the electronic device.
- the electronic device detects the object to be photographed indicated by the user, the video may be recorded according to the format corresponding to the object to be photographed.
- the video recorded by the electronic device may also include only at least one of a fast action type or a slow motion type
- the format of the video in Table 1 may also include only the fast action type or the slow motion type. At least one of them.
- the format of the video in Table 1 may further include format 7: t1 second constant speed video + t2 second fast video + t3 second constant speed video.
- the electronic device can automatically play the recorded video, so that the user can view the recording effect of the slow motion video in time; or, after the video recording is completed, the electronic device can display the waiting as shown in Figure 16-1.
- the play interface plays the video after the user instructs to play; or, as shown in FIG. 16-2, after the video recording is completed, the video is played after the user's play instruction is detected.
- the electronic device may save the recorded video, and after detecting the parameter information indication used by the user to view the saved video, display the parameter information of the video.
- the parameter information includes the video frame rate of the video, so that the user can understand the recorded video, especially the video frame rate of the slow motion video.
- the parameter information can also have other information, so that the user has a more detailed understanding of various aspects of the video.
- other information may include one or more of a file name, time, location, file format, width, height, duration, file size, resolution, model, manufacturer, or path.
- the video frame rate of the video in the parameter information may also be the maximum value or the average value; or the parameter information may also display different types of video respectively.
- the corresponding video frame rate may also be the maximum value or the average value; or the parameter information may also display different types of video respectively.
- the electronic device displays specific parameter information.
- step 303 of the embodiment of the present application regardless of whether the format of the video to be recorded is a preset format, if the video or video to be recorded at the current moment is of a slow motion type, the electronic device records the video of the slow motion type. Specifically, it may include:
- the electronic device collects an original video frame according to the original video frame.
- the electronic device inserts n new video frames between two adjacent original video frames, where n is a positive integer.
- the original video frame in which the n new video frames are inserted may be the original video frame buffered in advance in the preview state, or may be the video frame collected by the electronic device after detecting the video indication of the user. By inserting the frame processing, the electronic device can increase the video frame rate to the n* original frame rate.
- the electronic device generates a slow motion type video according to the original video frame and the new video frame.
- the electronic device does not need to perform frame interpolation processing.
- FIG. 18 shows a flow chart of another type of electronic device recording a slow motion type video, which may mainly include an image sensor in the electronic device to acquire an original video frame, and an image signal processor.
- the image signal processing (ISP) processes the original video frame, and then the electronic device increases the video frame rate, and then the electronic device performs video encoding to generate a video.
- the process of increasing the video frame rate of the electronic device may include preprocessing, motion estimation, motion vector post-processing, and frame interpolation processing. The following description will be made by taking the adjacent original video frame 1 and the original video frame 2 as an example.
- a small image block subsequent processing will be based on the image block.
- the electronic device downsamples the original video frame 1 and the original video frame 2, respectively, into an image with a smaller resolution, so as to perform subsequent complicated calculation based on the small resolution map, thereby reducing the amount of calculation.
- 100 denotes an original video frame
- 190 denotes an image block
- small dots in Figs. (a) and (b) denote pixels.
- the electronic device calculates the motion vector (x+u, y+v) of the current image block 1 according to the coordinates of the current image block 1 in the original video frame 1 and the coordinates of the image block 2 in the original video frame 2.
- x, y represents the coordinates of the current image block 1 in the original video frame 1
- (u, v) represents the positional offset of the image block 2 with respect to the current image block 1.
- the electronic device can improve the accuracy and smoothness of the motion vector by smoothing filtering methods such as neighborhood value filtering or weighted average filtering.
- smoothing filtering methods such as neighborhood value filtering or weighted average filtering.
- the electronic device calculates the positions of the n image blocks corresponding to the image block 1 and the image block 2 among the n new video frames to be inserted according to the processed motion vector. After determining the positions of the q image blocks in the n new video frames to be inserted, respectively, the n image blocks to be inserted are generated, and the n image blocks to be inserted are inserted into the original video block 1 and the original video block. Between 2.
- a schematic diagram of the effect after inserting a frame can be seen in FIG. 22. Specifically, in Fig. 22, (a) and (b) represent original video frames, and (c) and (d) represent new video frames inserted between the original video frames (a) and (b).
- the embodiment of the present application performs frame insertion by a software method, which is lower in cost and easy to update and maintain.
- the recording method provided by the embodiment of the present application is to insert a frame during the recording process, and the frame insertion process can be transmitted to other devices or transferred to other devices during the recording process compared with the frame insertion process during the playback process. Slow motion playback is still achieved when the media is played back again.
- the electronic device includes corresponding hardware structures and/or software modules for performing various functions.
- the present application can be implemented in a combination of hardware or hardware and computer software in combination with the algorithmic steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
- the embodiments of the present application may divide the functional modules of the electronic device and the server according to the foregoing method.
- each functional module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiments of the present application is schematic, and only one logical function is divided, and the actual implementation may have another division manner.
- FIG. 23 is a schematic diagram showing a possible composition of the electronic device involved in the foregoing embodiment.
- the electronic device 2300 may include: a starting unit 2301. , a display unit 2302 and a recording unit 2303.
- the determining unit 2301 can be used to support the electronic device 2300 to perform step 301 in the recording method shown in FIG.
- the display unit 2302 can be used to support the electronic device 2300 to perform step 302 in the recording method shown in FIG.
- the recording unit 2303 can be used to support the electronic device 2300 to perform step 303 in the recording method shown in FIG.
- the recording unit 2303 is further configured to: support the electronic device 2300 to collect the original video frame according to the original frame rate in the preview state; cache the original video frame collected in the last T time, T is a preset length; according to the cached original video frame and the pre- Format the generated video.
- the recording unit 2303 is further configured to support the electronic device 2300 to first record the video of the first video type; after detecting the second video type indication, switch to record the video of the second video type, the first video type or the second video.
- the type is a slow motion video type.
- the recording unit 2303 is further configured to: after the electronic device 2300 detects the pause indication of the user, pause the recording of the video; after detecting the continuous recording instruction of the user, continue to record the video; after detecting the stop instruction of the user, stop recording the video. .
- the recording unit 2303 is further configured to support the electronic device 2300 to acquire an original video frame according to an original frame rate; insert at least one new video frame between different original video frames; and generate a video according to the original video frame and the new video frame.
- the electronic device 2300 may further include a saving unit 2304, which may be used to support the electronic device 2300 to save the video after the recording unit records the video.
- the display unit 232 is further configured to support the electronic device 2300 to display parameter information of the video after detecting the parameter information indication of the user, where the parameter information includes a video frame rate of the video.
- the electronic device provided by the embodiment of the present application is configured to perform the above recording method, and thus the same effects as the above-described recording method and GUI display method can be achieved.
- the above-mentioned opening unit 2301 and recording unit 2303 may be integrated into a processing module, and the above-mentioned display unit 2302 is integrated into a display module, and the above-mentioned saving unit is integrated into a storage module.
- the processing module is configured to control and manage the actions of the electronic device.
- the processing module is configured to support the electronic device to perform steps 301 and 303 in FIG. 3, and/or other processes for the techniques described herein.
- the display module can be used to support the electronic device to perform step 302 in FIG. 3, and can also display a graphical user interface, image or parameter information, and the like to the user.
- the storage module is used to store program code of the electronic device, recorded video, and various parameter information of the video.
- the processing module may be a processor or a controller, for example, may be a central processing unit (CPU), a graphics processing unit (GPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor can also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the display module can be a display, and can be used to display information input by the user, information provided to the user, and various menus of the terminal.
- the display can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- a touch panel can be integrated on the display for collecting touch events on or near the display, and transmitting the collected touch information to other devices (such as a processor, etc.).
- the memory module may be a memory, which may include a high speed RAM, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
- a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
- the electronic device can also include a communication module that can be used to support communication of the electronic device with other network entities, such as communication with a server.
- the communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a WIFI chip.
- the processing module is a processor
- the display module is a display
- the storage module is a memory
- the electronic device involved in the embodiment of the present application may specifically be the mobile phone shown in FIG. 2 .
- the embodiment of the present application further provides a computer storage medium, where the computer storage medium stores computer instructions.
- the computer instruction When the computer instruction is run on the electronic device, the electronic device performs the foregoing method steps to implement the recording method in the foregoing embodiment.
- the embodiment of the present application further provides a computer program product, when the computer program product is run on a computer, causing the computer to perform the above related method steps to implement the video recording method in the foregoing embodiment.
- the embodiment of the present application further provides a device, which may be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store a computer to execute instructions, when the device is running, The processor may execute a computer-executable instruction stored in the memory to cause the chip to perform the recording method in the various method embodiments described above.
- the electronic device, the computer storage medium, the computer program product, or the chip provided by the embodiment of the present application are all used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the corresponding correspondence provided above. The beneficial effects of the method are not repeated here.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or It can be integrated into another device, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- An integrated unit can be stored in a readable storage medium if it is implemented as a software functional unit and sold or used as a standalone product.
- the technical solution of the embodiments of the present application may be embodied in the form of a software product in the form of a software product in essence or in the form of a contribution to the prior art, and the software product is stored in a storage medium.
- a number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Television Systems (AREA)
- Printers Or Recording Devices Using Electromagnetic And Radiation Means (AREA)
- Recording Measured Values (AREA)
- Electrophotography Using Other Than Carlson'S Method (AREA)
Abstract
Description
Claims (19)
- 一种录像方法,应用于具有图像传感器的电子设备,其特征在于,包括:打开相机;显示录像预览界面;在检测到用户的录像指示后录制视频,所述视频的录像帧率大于原始帧率,所述原始帧率为录像时所述图像传感器硬件支持的最大帧率,所述视频包括慢动作类型的视频。
- 根据权利要求1所述的方法,其特征在于,所述视频还包括快动作类型的视频或常速类型的视频中的至少一种;所述视频的录像帧率为所述慢动作类型的视频的录像帧率、所述慢动作类型的视频的录像帧率和所述慢动作类型的视频的录像帧率中的最大值或平均值。
- 根据权利要求1或2所述的方法,其特征在于,所述视频的长度为预设长度,所述视频的格式为预设格式,所述格式包括视频类型和所述视频类型对应的视频在所述视频中的位置,所述视频类型包括慢动作视频、常速视频或快动作视频中的至少一种。
- 根据权利要求3所述的方法,其特征在于,在所述录制视频之前,所述方法还包括:在预览状态下,根据所述原始帧率采集原始视频帧;缓存最近T时间内采集的所述原始视频帧,T为所述预设长度;所述录制视频具体包括:根据缓存的所述原始视频帧以及所述预设格式生成视频。
- 根据权利要求1或2所述的方法,其特征在于,所述录制视频,具体包括:录制第一视频类型的视频;在检测到第二视频类型指示后,切换为录制第二视频类型的视频,所述第一视频类型或所述第二视频类型为慢动作视频类型。
- 根据权利要求1、2或5所述的方法,其特征在于,所述录制视频还包括:在检测到用户的暂停指示后,暂停录制视频;在检测到用户的继续录像指示后,继续录制视频;在检测到用户的停止指示后,停止录制视频。
- 根据权利要求1-6任一项所述的方法,其特征在于,在所述录制视频之后,所述方法还包括:保存所述视频;在检测到用户的参数信息指示后,显示所述视频的参数信息,所述参数信息包括所述视频的录像帧率。
- 根据权利要求1-3或5-7任一项所述的方法,其特征在于,录制所述视频包括:根据所述原始帧率采集原始视频帧;在不同所述原始视频帧之间插入至少一个新的视频帧;根据所述原始视频帧以及所述新的视频帧生成所述视频。
- 一种电子设备,所述电子设备包括图像传感器,其特征在于,所述电子设备还 包括:开启单元,用于打开相机;显示单元,用于显示录像预览界面;录制单元,在检测到用户的录像指示后录制视频,所述视频的录像帧率大于原始帧率,所述原始帧率为录像时所述图像传感器硬件支持的最大帧率,所述视频包括慢动作类型的视频。
- 根据权利要求9所述的电子设备,其特征在于,所述视频还包括快动作类型的视频或常速类型的视频中的至少一种;所述视频的录像帧率为所述慢动作类型的视频的录像帧率、所述慢动作类型的视频的录像帧率和所述慢动作类型的视频的录像帧率中的最大值或平均值。
- 根据权利要求9或10所述的电子设备,其特征在于,所述视频的长度为预设长度,所述视频的格式为预设格式,所述格式包括视频类型和所述视频类型对应的视频在所述视频中的位置,所述视频类型包括慢动作视频、常速视频或快动作视频中的至少一种。
- 根据权利要求11所述的电子设备,其特征在于,所述录制单元具体用于:在预览状态下,根据所述原始帧率采集原始视频帧;缓存最近T时间内采集的所述原始视频帧,T为所述预设长度;根据缓存的所述原始视频帧以及所述预设格式生成视频。
- 根据权利要求9或10所述的电子设备,其特征在于,所述录制单元具体用于:录制第一视频类型的视频;在检测到第二视频类型指示后,切换为录制第二视频类型的视频,所述第一视频类型或所述第二视频类型为慢动作视频类型。
- 根据权利要求9、10或13所述的电子设备,其特征在于,所述录制单元具体用于:在检测到用户的暂停指示后,暂停录制视频;在检测到用户的继续录像指示后,继续录制视频;在检测到用户的停止指示后,停止录制视频。
- 根据权利要求9-14任一项所述的电子设备,其特征在于,所述电子设备还包括:保存单元,用于在录制单元录制所述视频之后保存所述视频;所述显示单元还用于,在检测到用户的参数信息指示后,显示所述视频的参数信息,所述参数信息包括所述视频的录像帧率。
- 根据权利要求9-11或13-15任一项所述的电子设备,其特征在于,所述录制单元具体用于:根据所述原始帧率采集原始视频帧;在不同所述原始视频帧之间插入至少一个新的视频帧;根据所述原始视频帧以及所述新的视频帧生成所述视频。
- 一种电子设备,其特征在于,包括一个或多个处理器和一个或多个存储器;所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器用于存 储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,所述电子设备执行如权利要求1-8任一项所述的录像方法。
- 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-8任一项所述的录像方法。
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-8任一项所述的录像方法。
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18912537.0A EP3764632B1 (en) | 2018-03-26 | 2018-03-26 | Method and electronic device for video recording |
CN201880003516.8A CN110506415B (zh) | 2018-03-26 | 2018-03-26 | 一种录像方法及电子设备 |
CA3095209A CA3095209A1 (en) | 2018-03-26 | 2018-03-26 | Video recording method and electronic device |
JP2020551891A JP7139440B2 (ja) | 2018-03-26 | 2018-03-26 | ビデオ記録方法および電子デバイス |
KR1020207030586A KR102488747B1 (ko) | 2018-03-26 | 2018-03-26 | 비디오 레코딩 방법 및 전자 디바이스 |
PCT/CN2018/080575 WO2019183784A1 (zh) | 2018-03-26 | 2018-03-26 | 一种录像方法及电子设备 |
US17/041,971 US20210092321A1 (en) | 2018-03-26 | 2018-03-26 | Video recording method and electronic device |
ES18912537T ES2943093T3 (es) | 2018-03-26 | 2018-03-26 | Método y dispositivo electrónico para grabar video |
BR112020019378-0A BR112020019378A2 (pt) | 2018-03-26 | 2018-03-26 | Método e dispositivo eletrônico para gravação de vídeo |
AU2018415667A AU2018415667B2 (en) | 2018-03-26 | 2018-03-26 | Video recording method and electronic device |
PH12020551564A PH12020551564A1 (en) | 2018-03-26 | 2020-09-25 | Video recording method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/080575 WO2019183784A1 (zh) | 2018-03-26 | 2018-03-26 | 一种录像方法及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019183784A1 true WO2019183784A1 (zh) | 2019-10-03 |
Family
ID=68062417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/080575 WO2019183784A1 (zh) | 2018-03-26 | 2018-03-26 | 一种录像方法及电子设备 |
Country Status (11)
Country | Link |
---|---|
US (1) | US20210092321A1 (zh) |
EP (1) | EP3764632B1 (zh) |
JP (1) | JP7139440B2 (zh) |
KR (1) | KR102488747B1 (zh) |
CN (1) | CN110506415B (zh) |
AU (1) | AU2018415667B2 (zh) |
BR (1) | BR112020019378A2 (zh) |
CA (1) | CA3095209A1 (zh) |
ES (1) | ES2943093T3 (zh) |
PH (1) | PH12020551564A1 (zh) |
WO (1) | WO2019183784A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110636375A (zh) * | 2019-11-11 | 2019-12-31 | RealMe重庆移动通信有限公司 | 视频流处理方法、装置、终端设备及计算机可读存储介质 |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USD950574S1 (en) * | 2018-10-23 | 2022-05-03 | Capital One Services, Llc | Scanning device or portion thereof with a scanning user interface |
US11760281B2 (en) * | 2020-11-17 | 2023-09-19 | Ford Global Technologies, Llc | Battery-powered vehicle sensors |
US11953586B2 (en) | 2020-11-17 | 2024-04-09 | Ford Global Technologies, Llc | Battery-powered vehicle sensors |
CN114520886A (zh) * | 2020-11-18 | 2022-05-20 | 华为技术有限公司 | 一种慢动作录像方法及设备 |
CN112653920B (zh) * | 2020-12-18 | 2022-05-24 | 北京字跳网络技术有限公司 | 视频处理方法、装置、设备及存储介质 |
US11951937B2 (en) | 2021-03-12 | 2024-04-09 | Ford Global Technologies, Llc | Vehicle power management |
US11912235B2 (en) | 2021-03-12 | 2024-02-27 | Ford Global Technologies, Llc | Vehicle object detection |
US11916420B2 (en) | 2021-03-12 | 2024-02-27 | Ford Global Technologies, Llc | Vehicle sensor operation |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010086912A1 (ja) * | 2009-01-30 | 2010-08-05 | 日本ビクター株式会社 | 記録装置及び記録方法 |
CN103428460A (zh) * | 2012-05-24 | 2013-12-04 | 联发科技股份有限公司 | 针对影像撷取模组记录输出视讯序列的录影方法以及录影装置 |
CN105812651A (zh) * | 2015-07-27 | 2016-07-27 | 维沃移动通信有限公司 | 一种视频数据的处理方法及终端设备 |
CN106161943A (zh) * | 2016-07-29 | 2016-11-23 | 维沃移动通信有限公司 | 一种录像方法和移动终端 |
CN106210541A (zh) * | 2016-08-11 | 2016-12-07 | 北京优友兴缘科技有限公司 | 一种视频生成方法、装置及移动终端 |
CN107155068A (zh) * | 2017-07-11 | 2017-09-12 | 上海青橙实业有限公司 | 移动终端及用于视频拍摄的方法和装置 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7242850B2 (en) * | 2001-02-23 | 2007-07-10 | Eastman Kodak Company | Frame-interpolated variable-rate motion imaging system |
US8427578B2 (en) * | 2005-10-14 | 2013-04-23 | Broadcom Corporation | Method and system for frame rate adaptation |
US10298834B2 (en) * | 2006-12-01 | 2019-05-21 | Google Llc | Video refocusing |
JP5585693B2 (ja) | 2011-03-29 | 2014-09-10 | 株式会社ニコン | 画像再生装置 |
TW201318423A (zh) * | 2011-10-18 | 2013-05-01 | Acer Inc | 即時影像編輯方法與電子裝置 |
JP2014160927A (ja) | 2013-02-19 | 2014-09-04 | Nikon Corp | 撮像装置 |
JP2015056695A (ja) * | 2013-09-10 | 2015-03-23 | 株式会社東芝 | 動画再生装置 |
JP2015122734A (ja) * | 2013-11-25 | 2015-07-02 | パナソニックIpマネジメント株式会社 | 撮像装置及び撮像方法 |
JP2015106820A (ja) | 2013-11-29 | 2015-06-08 | 株式会社ニコン | 撮像装置、画像処理方法および画像処理プログラム |
US20150221335A1 (en) | 2014-02-05 | 2015-08-06 | Here Global B.V. | Retiming in a Video Sequence |
US9438868B2 (en) * | 2014-02-13 | 2016-09-06 | Semiconductor Components Industries, Llc | Adaptive image sensor systems and methods |
JP2015177341A (ja) * | 2014-03-14 | 2015-10-05 | 株式会社東芝 | フレーム補間装置、及びフレーム補間方法 |
US20160182866A1 (en) * | 2014-12-19 | 2016-06-23 | Sony Corporation | Selective high frame rate video capturing in imaging sensor subarea |
JP2017028466A (ja) | 2015-07-22 | 2017-02-02 | キヤノン株式会社 | 撮像装置及びその制御方法、プログラム |
KR102449872B1 (ko) * | 2015-12-18 | 2022-09-30 | 삼성전자주식회사 | 촬영 디바이스 및 그 제어 방법 |
JP2017192100A (ja) * | 2016-04-15 | 2017-10-19 | ソニー株式会社 | 撮像素子、撮像装置、および、撮像素子の制御方法 |
UA121608U (uk) * | 2017-06-19 | 2017-12-11 | Михайло Геннадійович Ковшов | Автоматизована система для створення, обробки та генерації відеофільмів |
JP7059662B2 (ja) * | 2018-02-02 | 2022-04-26 | トヨタ自動車株式会社 | 遠隔操作システム、及びその通信方法 |
-
2018
- 2018-03-26 JP JP2020551891A patent/JP7139440B2/ja active Active
- 2018-03-26 WO PCT/CN2018/080575 patent/WO2019183784A1/zh unknown
- 2018-03-26 ES ES18912537T patent/ES2943093T3/es active Active
- 2018-03-26 CN CN201880003516.8A patent/CN110506415B/zh active Active
- 2018-03-26 EP EP18912537.0A patent/EP3764632B1/en active Active
- 2018-03-26 BR BR112020019378-0A patent/BR112020019378A2/pt not_active Application Discontinuation
- 2018-03-26 US US17/041,971 patent/US20210092321A1/en active Pending
- 2018-03-26 CA CA3095209A patent/CA3095209A1/en active Pending
- 2018-03-26 KR KR1020207030586A patent/KR102488747B1/ko active IP Right Grant
- 2018-03-26 AU AU2018415667A patent/AU2018415667B2/en active Active
-
2020
- 2020-09-25 PH PH12020551564A patent/PH12020551564A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010086912A1 (ja) * | 2009-01-30 | 2010-08-05 | 日本ビクター株式会社 | 記録装置及び記録方法 |
CN103428460A (zh) * | 2012-05-24 | 2013-12-04 | 联发科技股份有限公司 | 针对影像撷取模组记录输出视讯序列的录影方法以及录影装置 |
CN105812651A (zh) * | 2015-07-27 | 2016-07-27 | 维沃移动通信有限公司 | 一种视频数据的处理方法及终端设备 |
CN106161943A (zh) * | 2016-07-29 | 2016-11-23 | 维沃移动通信有限公司 | 一种录像方法和移动终端 |
CN106210541A (zh) * | 2016-08-11 | 2016-12-07 | 北京优友兴缘科技有限公司 | 一种视频生成方法、装置及移动终端 |
CN107155068A (zh) * | 2017-07-11 | 2017-09-12 | 上海青橙实业有限公司 | 移动终端及用于视频拍摄的方法和装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3764632A4 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110636375A (zh) * | 2019-11-11 | 2019-12-31 | RealMe重庆移动通信有限公司 | 视频流处理方法、装置、终端设备及计算机可读存储介质 |
CN110636375B (zh) * | 2019-11-11 | 2022-03-11 | RealMe重庆移动通信有限公司 | 视频流处理方法、装置、终端设备及计算机可读存储介质 |
US11711623B2 (en) | 2019-11-11 | 2023-07-25 | Realme Chongqing Mobile Telecommunications Corp., Ltd. | Video stream processing method, device, terminal device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CA3095209A1 (en) | 2019-10-03 |
CN110506415A (zh) | 2019-11-26 |
AU2018415667A1 (en) | 2020-10-29 |
JP2021517415A (ja) | 2021-07-15 |
KR20200128581A (ko) | 2020-11-13 |
CN110506415B (zh) | 2021-03-30 |
EP3764632B1 (en) | 2023-02-22 |
PH12020551564A1 (en) | 2021-07-12 |
JP7139440B2 (ja) | 2022-09-20 |
EP3764632A1 (en) | 2021-01-13 |
US20210092321A1 (en) | 2021-03-25 |
KR102488747B1 (ko) | 2023-01-13 |
BR112020019378A2 (pt) | 2021-01-05 |
AU2018415667B2 (en) | 2022-05-19 |
ES2943093T3 (es) | 2023-06-08 |
EP3764632A4 (en) | 2021-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019183784A1 (zh) | 一种录像方法及电子设备 | |
CN110086905B (zh) | 一种录像方法及电子设备 | |
US11640235B2 (en) | Additional object display method and apparatus, computer device, and storage medium | |
WO2021093793A1 (zh) | 一种拍摄方法及电子设备 | |
US11785331B2 (en) | Shooting control method and terminal | |
US11276183B2 (en) | Relocalization method and apparatus in camera pose tracking process, device, and storage medium | |
KR102018887B1 (ko) | 신체 부위 검출을 이용한 이미지 프리뷰 | |
CN110505408B (zh) | 终端拍摄方法、装置、移动终端及可读存储介质 | |
CN107786827B (zh) | 视频拍摄方法、视频播放方法、装置及移动终端 | |
CN108886574B (zh) | 一种拍摄引导方法、设备及系统 | |
EP3104304A1 (en) | Electronic apparatus and method of extracting still images | |
US20240007588A1 (en) | Slow-motion video recording method and device | |
US12022190B2 (en) | Photographing method and electronic device | |
CN109618192B (zh) | 播放视频的方法、装置、系统和存储介质 | |
CN112749590B (zh) | 目标检测方法、装置、计算机设备和计算机可读存储介质 | |
WO2019134305A1 (zh) | 确定姿态的方法、装置、智能设备、存储介质和程序产品 | |
CN113095163A (zh) | 视频处理方法、装置、电子设备和存储介质 | |
WO2021218926A1 (zh) | 图像显示方法、装置和计算机设备 | |
CN117131225A (zh) | 视频处理方法、装置、电子设备及存储介质 | |
CN110012208B (zh) | 拍照对焦方法、装置、存储介质及电子设备 | |
RU2818577C1 (ru) | Способ и устройство видеозаписи с замедленной съемкой | |
WO2019015120A1 (zh) | 一种图像处理的方法及终端 | |
CN112738332A (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: 18912537 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 3095209 Country of ref document: CA |
|
ENP | Entry into the national phase |
Ref document number: 2020551891 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018912537 Country of ref document: EP Effective date: 20201008 Ref document number: 20207030586 Country of ref document: KR Kind code of ref document: A |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112020019378 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 2018415667 Country of ref document: AU Date of ref document: 20180326 Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 112020019378 Country of ref document: BR Kind code of ref document: A2 Effective date: 20200924 |