US 12,445,569 B2
Video recording method and electronic device
Yuanyou Li, Shanhai (CN); Miaofeng Wang, Shanghai (CN); and Wei Luo, Shanghai (CN)
Assigned to Beijing Kunshi Intellectual Property Management Co., Ltd., Beijing (CN)
Appl. No. 17/041,971
Filed by Beijing Kunshi Intellectual Property Management Co., Ltd., Beijing (CN)
PCT Filed Mar. 26, 2018, PCT No. PCT/CN2018/080575
§ 371(c)(1), (2) Date Sep. 25, 2020,
PCT Pub. No. WO2019/183784, PCT Pub. Date Oct. 3, 2019.
Prior Publication US 2021/0092321 A1, Mar. 25, 2021
Int. Cl. H04N 5/783 (2006.01); G11B 27/34 (2006.01); H04N 5/262 (2006.01); H04N 5/77 (2006.01); H04N 23/63 (2023.01); H04N 23/951 (2023.01); G11B 20/10 (2006.01); G11B 27/00 (2006.01)
CPC H04N 5/783 (2013.01) [G11B 27/34 (2013.01); H04N 23/632 (2023.01); H04N 23/951 (2023.01); G11B 2020/10981 (2013.01); G11B 27/005 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for recording a video which is a combination of video segments of different types, comprising:
starting a camera of an electronic device;
displaying a video recording preview interface, wherein the video recording preview interface comprises a start button;
collecting, in a preview state, original video frames based on an original frame rate;
buffering the original video frames collected within a preset length of time;
receiving a video recording indication indicating that a user taps the start button, wherein the preset length of time is prior to the user tapping the start button;
performing, by the electronic device, a recording process, in response to the video recording indication according to a preset format selected by the user among a plurality of preset formats, wherein performing the recording process includes:
recording, by the electronic device, a first video segment without interpolation according to a first video recording type, wherein the first video recording type is a non-slow motion type, and wherein recording the first video segment comprises:
capturing, during a first time period, via an imaging sensor of the electronic device, a first set of video frames at a maximum framerate supported by the imaging sensor, and
performing evenly-spaced frame extraction processing on the captured first set of video frames to obtain the recorded first video segment, such that the recorded first video segment has less video frames than the captured first set of video frames;
switching, by the electronic device, from the first video recording type to a second video recording type, wherein the second video recording type is a slow motion type; and
based on having switched to the second video recording type, recording, by the electronic device, a second video segment with interpolation according to the second video recording type, wherein recording the second video segment with interpolation includes:
capturing, during a second time period after the first time period, via the imaging sensor of the electronic device, a second set of video frames at the maximum framerate supported by the imaging sensor; and
inserting, by the electronic device, interpolated video frames between adjacent frames of the second set of video frames to generate the second video segment with interpolation, wherein the second video segment with interpolation has a framerate higher than the maximum framerate supported by the imaging sensor; and
automatically generating, by the electronic device and in response to a stop indication from the user for the recording of the video, a combined video, as a recorded video in response to the video recording indication, including the original video frames, the first video segment without interpolation corresponding to a non-slow motion video and the second video segment with interpolation corresponding to a slow motion video;
wherein performing the recording process further includes: prior to switching from the first video recording type to the second video recording type, identifying an object, and detecting that a moving speed of the object is greater than or equal to a preset value;
wherein switching from the first video recording type to the second video recording type is in response to identifying the object and detecting that the moving speed of the object is greater than or equal to the preset value; and
wherein the second video recording type corresponds to a respective format corresponding to the identified object out of a plurality of formats corresponding to a plurality of objects, wherein the plurality of formats includes:
a first format comprising a first combination of at least two out of the following: a first fast motion video duration, a first slow motion video duration, and a first regular motion video duration; and
a second format comprising a second combination of at least two out of the following: a second fast motion video duration, a second slow motion video duration, and a second regular motion video duration.