CN114827477A - Time-lapse shooting method and device, electronic equipment and medium - Google Patents

Time-lapse shooting method and device, electronic equipment and medium Download PDF

Info

Publication number
CN114827477A
CN114827477A CN202210589370.8A CN202210589370A CN114827477A CN 114827477 A CN114827477 A CN 114827477A CN 202210589370 A CN202210589370 A CN 202210589370A CN 114827477 A CN114827477 A CN 114827477A
Authority
CN
China
Prior art keywords
recording
video
frame rate
delayed
recording area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210589370.8A
Other languages
Chinese (zh)
Other versions
CN114827477B (en
Inventor
吴再稳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210589370.8A priority Critical patent/CN114827477B/en
Publication of CN114827477A publication Critical patent/CN114827477A/en
Application granted granted Critical
Publication of CN114827477B publication Critical patent/CN114827477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

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)

Abstract

The application discloses a method and a device for delayed photography, electronic equipment and a medium, and belongs to the field of electronic information. The method comprises the following steps: in the process of time-delay video recording, acquiring N frames of first images corresponding to a first recording area and M frames of second images corresponding to a second recording area; n, M is a positive integer greater than 1; extracting a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extracting a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate; obtaining a target delayed video based on the first delayed image and the second delayed image; wherein the first frame rate is different from the second frame rate.

Description

Time-lapse shooting method and device, electronic equipment and medium
Technical Field
The application belongs to the field of electronic information, and particularly relates to a method and device for delayed photography, electronic equipment and a medium.
Background
With the improvement of the living standard of people and the development of the electronic equipment technology, the requirement that a user uses the electronic equipment to shoot videos and record daily life is improved. In order to shoot scene changes, users generally adopt a Time-lag photography (Time-lag photography), also called Time-lapse photography and Time-lapse video recording, which is a shooting technique that compresses Time.
In the related art, a user takes a group of photos in a certain period of time through an electronic device, and the photos are connected in series to synthesize a video in a later period of time, so that the process of minutes, hours or even days is compressed to be played in a video mode in a short period of time. In a time-lapse video, the slow-changing process of a shot object is compressed to a short time, and a wonderful scene which cannot be perceived by naked eyes at ordinary times is presented. Specifically, in the delayed shooting process, the electronic device extracts one frame of video frame from the shot video frames at intervals of a predetermined frame according to a certain magnification to encode, so as to obtain a section of delayed shooting video.
However, in the process of the time-lapse shooting, the electronic device performs the time-lapse shooting with the same magnification in one shooting scene, so that the time-lapse shooting effect is single.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, an electronic device, and a medium for delayed photography, which can solve the problem of single delayed photography effect caused by using the same magnification to perform delayed photography in a shooting scene during a related delayed photography process.
In a first aspect, an embodiment of the present application provides a method for delayed photography, where the method includes: in the process of time-delay video recording, acquiring N frames of first images corresponding to a first recording area and M frames of second images corresponding to a second recording area; n, M is a positive integer greater than 1; extracting a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extracting a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate; obtaining a target delayed video based on the first delayed image and the second delayed image; wherein the first frame rate is different from the second frame rate.
In a second aspect, an embodiment of the present application provides an apparatus for delayed photography, where the apparatus includes: the device comprises an acquisition module, an extraction module and a processing module; the acquisition module is used for acquiring N frames of first images corresponding to the first recording area and M frames of second images corresponding to the second recording area in the delayed video recording process; n, M is a positive integer greater than 1; the extraction module is configured to extract a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extract a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate; the processing module is used for obtaining a target delayed video based on the first delayed image and the second delayed image; wherein the first frame rate is different from the second frame rate.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, in the process of recording the delayed video, the electronic device obtains N frames of first images corresponding to a first recording area and M frames of second images corresponding to a second recording area, then extracts a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, extracts a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate, and finally obtains a target delayed video based on the extracted first delayed image and the extracted second delayed image, wherein the first frame rate is different from the second frame rate. Therefore, in the process of recording the delayed videos, the delayed videos are recorded by using different frame rates for different recording objects in the same delayed video recording scene, and the diversity of delayed shooting effects is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for delayed photography according to an embodiment of the present application;
fig. 2 is a schematic view of an interface applied by a method of delayed photography according to an embodiment of the present application;
fig. 3 is a second schematic view of an interface applied in a method for delayed photography according to an embodiment of the present application;
fig. 4 is a third schematic view of an interface applied in a method of delayed photography according to an embodiment of the present application;
fig. 5 is a fourth schematic view of an interface applied in a method of delayed photography according to an embodiment of the present application;
fig. 6 is a fifth schematic view illustrating an interface applied by a method of delayed photography according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for delayed photography according to an embodiment of the present application;
fig. 8 is a second schematic structural diagram of a device for delayed photography according to an embodiment of the present application;
fig. 9 is a third schematic structural diagram of an apparatus for delayed photography according to an embodiment of the present application;
fig. 10 is a fourth schematic structural diagram of an apparatus for delayed photography according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 12 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, apparatus, electronic device, and medium for time-lapse photography according to the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Technical terms involved in technical solutions provided in embodiments of the present application will be explained below.
1) Time-lapse photography
Time-lapse photography (Time-lag photography), also called Time-lapse photography and Time-lapse video recording, is a shooting technique that compresses Time. The method takes a group of photos, and later, the photos are connected in series to form a video, so that the process of minutes, hours or even days is compressed to be played in a video mode in a short time. In a time-lapse video, the process of slowly changing objects or scenes is compressed to a short time, and a wonderful and wonderful scene which cannot be perceived by naked eyes at ordinary times is presented.
Specifically, in the delayed shooting process, the electronic device extracts one frame of video frame from the shot video frames at intervals of a predetermined frame according to a certain magnification to encode, so as to obtain a section of delayed shooting video.
2) Multiplying power (also called frame rate)
In the delayed shooting process, the electronic equipment can extract video frames from the video collected by the camera according to different magnifications, and then the video frames are processed to obtain the delayed shooting video.
For example, taking the magnification of 15 as an example, a frame of video is extracted every 15 frames or every 0.5 s; taking the magnification 960 as an example, a video frame is taken every 960 frames or every 32 s.
3)SAT
Generally, after the electronic device turns on the camera, in order to ensure that the image content does not change dramatically when the camera is switched, the electronic device starts the SAT function, so that the image switching when the camera is switched by the user is smooth.
Specifically, Spatial Alignment Transform (SAT) refers to: a process and mechanism for smooth switching (smooth transfer) of images from one camera to another. Generally, the user is not made aware of the switching of the cameras, as if the same sensor is being used, the transition is smooth. The image positions and the field angles of different cameras on one device are different, the installation deviation of the module can also cause the deviation of the camera angles, the distortion effects of the different cameras are also different, the jump of image pictures can be brought by direct switching, and the SAT translates the images of the two cameras through software.
As shown in fig. 1, the method for delayed photography according to the embodiment of the present application may include the following steps 201 to 203:
step 201: in the delayed video recording process, N frames of first images corresponding to the first recording area and M frames of second images corresponding to the second recording area are obtained.
Wherein N, M is a positive integer greater than 1.
In the embodiment of the present application, the delayed video recording interface displayed in the delayed video recording process includes: the first recording area and the second recording area.
In an example, the first recording area and the second recording area may be two different areas of the same delayed video recording interface.
In another example, the delayed video recording interface may include at least 2 delayed video recording sub-interfaces, and one recording area displays at least one delayed video recording sub-interface.
In the embodiment of the present application, in order to ensure the quality of the video recorded during the delayed video recording process, the delayed photography apparatus in the embodiment of the present application opens the SAT to enter the camera preview interface before the delayed video recording, as shown in fig. 2.
In the embodiment of the application, in the delayed video recording process, when a plurality of delayed recording scenes exist in the delayed video recording process, different frame rates can be allocated to different delayed recording scenes.
In the embodiment of the application, each time-delay recording scene corresponds to at least one recording object; or each time-delay recording scene corresponds to at least one type of recording object.
In the embodiment of the present application, the recording object includes, but is not limited to: fast traffic, moving crowd, sunrise or sunset, moving clouds, slow moving clouds, moving shadows, moving stars in the night sky, etc. The above recording object categories include, but are not limited to: humans, plants, animals, movable objects, and the like.
Optionally, in this embodiment of the application, the device for delayed shooting detects that a plurality of delayed recording scenes exist in the delayed video recording process, and different frame rates may be allocated to different delayed recording scenes.
In one possible embodiment, the apparatus for delayed photography may assign a frame rate to a delayed recording scene according to an object attribute or category of a recording object in the delayed recording scene. For example, a fast traffic flow corresponds to a frame rate of 15; the corresponding frame rate of the moving crowd is 30; the frame rate corresponding to sunrise or sunset is 60; the frame rate corresponding to the moving cloud is 120; the frame rate corresponding to the slowly moving clouds is 240; the frame rate corresponding to the moving shadow is 480; the corresponding frame rate of stars moving in the night sky is 960, etc.
In one possible embodiment, the user may manually set different frame rates for different time-lapse recording scenes.
Optionally, in this embodiment of the application, the N frames of first images and the M frames of second images may be images acquired by different cameras; for example, the N frames of first images and the M frames of second images are images acquired by a front camera and a rear camera in the same time period, respectively. Or, the N frames of first images and the M frames of second images may be images acquired by the same camera; for example, the N frames of first images and the M frames of second images are both images acquired by a front camera or a rear camera in the same time period.
Optionally, in this embodiment of the application, the first recording area and the second recording area may be different areas in the same delayed video recording interface.
Optionally, in this embodiment of the present application, before the step 201, the method for delayed photography provided in this embodiment of the present application may further include at least one of the following steps 201a and 201 b:
step 201 a: and if detecting that a plurality of recording objects exist in the video recording picture, displaying a delayed video recording split-screen interface.
The time-delay video recording split-screen interface comprises a first recording area and a second recording area; each recording area corresponds to at least one recording object.
It should be noted that the recording object corresponding to each recording area may be one or more recording objects, or may be one or more types of recording objects, which is not limited in this embodiment of the application.
Illustratively, when the delayed video is shot by using the same camera in the same time period, the delayed shooting device can detect the current environment in real time, and when a plurality of recorded scenes are detected, the recorded images of the delayed video can be divided, so that a screen division interface of the delayed video recording is displayed.
Step 201 b: if a plurality of recording objects are detected in the video recording picture, the video recording picture is segmented based on the areas where the plurality of recording objects are located, and a first recording area and a second recording area are obtained.
For example, in the process of recording the delayed video, if the device for delayed shooting detects that a plurality of recording objects exist in the delayed video recording picture, the device for delayed shooting may perform area division on the delayed video recording picture, so that each divided area corresponds to at least one recording object. In other words, when the delayed photography device detects that a plurality of recording objects exist in a delayed video recording picture, each frame of image acquired by the camera is subjected to image segmentation, so that each region segmented by each frame of image corresponds to at least one recording object.
It should be noted that the shape of each recording area may be regular or irregular. In other words, the shape of each recording area is determined based on the scene segmentation result, and may not be a conventional upper and lower split screen or a conventional left and right split screen, but may also be an irregular waveform, such as a wave shape, as shown in fig. 3, when there are both fast traffic and slow clouds in the delayed video recording picture, the delayed video recording picture is segmented into the irregular wave shape due to the irregular shapes of the two scenes.
Optionally, in this embodiment of the present application, in the step 201a, the method specifically includes step a 1:
step A1: and if a plurality of recording objects exist in the video recording picture and the frame rate difference value between the frame rates corresponding to different recording objects is larger than a preset threshold value, displaying a delayed video recording split-screen interface.
For example, if it is detected that a plurality of delayed recording scenes exist in the delayed video recording picture, the delayed photography apparatus may be divided into only 2 recording areas, or may be divided according to the number of specific delayed recording scenes. For example, only the delayed recording scene corresponding to the maximum frame rate and the delayed recording scene corresponding to the minimum frame rate may be segmented, and the scenes corresponding to the intermediate frame rate may be ignored.
Optionally, in this embodiment of the application, when it is detected that a plurality of recording objects exist in the delayed video recording picture and need to perform area division, the delayed shooting apparatus may generate a prompt message to prompt a user whether to perform a split screen operation.
Illustratively, the prompt message may be a text, a sound, an image, or the like.
For example, in a case where it is detected that a plurality of recording scenes in a video recording picture need to be area-divided, the apparatus for time-lapse shooting may generate the prompt information in a case where a first condition (for example, a difference between frame rates of the plurality of recording scene correspondence tables is greater than a first predetermined threshold, or a multiple between frame rates of the plurality of recording scene correspondence tables is greater than or equal to a second predetermined threshold) is satisfied.
For example, fast traffic and moving clouds are detected simultaneously, with a difference of 8 times corresponding to the recommended magnification. A recommendation split screen prompt box pops up as shown in fig. 4. If the user does not need to perform split-screen delayed recording, the delayed video interface is displayed as shown in fig. 2, if the user needs to perform split-screen delayed recording, the delayed video interface is displayed as shown in fig. 3, and the segmented scene result is displayed on the screen.
Therefore, different frame rates can be recommended for different time-delay shooting scenes through detection of different time-delay shooting scenes, and further the user can conveniently conduct further frame rate adjustment subsequently.
Optionally, in this embodiment of the application, the first recording area is configured to display N frames of first images acquired by a first camera; the second recording area is used for displaying M second images acquired by the second camera.
Illustratively, the first recording area is located on a first delayed video recording interface corresponding to the first camera, and the second recording area is located on a second delayed video recording interface corresponding to the second camera.
For example, the first camera may be a front camera, and the second camera may be a rear camera; the first camera may be a rear camera and the second camera may be a front camera. Generally, the delayed video recording interface corresponding to the rear camera is defaulted to be full-screen preview, the delayed video recording interface corresponding to the front camera is small-window preview, and the position of the small window can be dragged to any position. For example, as shown in fig. 5, a video frame captured by the rear camera is displayed in a full screen in the delayed video recording interface (e.g. 31 in fig. 5), and a video frame captured by the front camera is displayed through a small window (e.g. 32 in fig. 5) displayed in a floating manner on the delayed video recording interface. Subsequently, the cameras can be switched, so that the delayed video recording interface corresponding to the front camera is switched to full-screen preview, and the delayed video recording interface corresponding to the rear camera is switched to small-window preview.
For example, in a scenario where 2 cameras (e.g., a front camera and a rear camera) are used simultaneously for delayed video shooting, since each camera corresponds to at least one delayed recording scene, scene detection and segmentation are not required during the delayed video shooting. At this time, the video frames captured by the 2 cameras are previewed and displayed at the same time.
For example, in a scenario where 2 cameras (e.g., a front camera and a rear camera) are used simultaneously for delayed video shooting, for each delayed recording scenario, the apparatus for delayed shooting may use a frame rate corresponding to a recording object occupying the largest recording picture in the delayed recording scenario as a frame rate of the delayed recording scenario, or automatically recommend a frame rate suitable for the scenario by the apparatus for delayed shooting, and at the same time, the user may set the frame rate by himself.
Step 202: and extracting a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extracting a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate.
Wherein the first frame rate is different from the second frame rate.
In this embodiment of the present application, the first frame rate is a preset frame rate or a frame rate autonomously set by a user; and/or the second frame rate is a preset frame rate or a frame rate set by a user.
Step 203: and obtaining a target delayed video based on the first delayed image and the second delayed image.
In this embodiment of the application, after the delayed video is recorded, the delayed shooting device extracts a first delayed image with a corresponding frame number from N frames of first images according to the first frame rate, and simultaneously extracts a second delayed image with a corresponding frame number from M frames of second images according to the second frame rate, and then the delayed shooting device correspondingly splices the first delayed image and the second delayed image according to different scenes to obtain a target delayed video.
In a scene, a user uses images acquired by different cameras, a time-delay shooting device extracts a first time-delay image with a corresponding frame number from N frames of first images acquired by the first camera according to a first frame rate, and simultaneously extracts a second time-delay image with a corresponding frame number from M frames of second images acquired by the second camera according to a second frame rate, and at the moment, the time-delay shooting device splices each frame of first time-delay image and each frame of second time-delay image according to the time sequence of the extraction of the first time-delay image and the second time-delay image to obtain a target time-delay video.
In another scene, a user uses images collected by the same camera, the device for delayed shooting divides the collected initial images according to the divided different recording areas to obtain a first image and a second image, further, the device for delayed shooting extracts a first delayed image with a corresponding frame number from the divided N frames of first images according to a first frame rate, extracts a second delayed image with a corresponding frame number from the divided M frames of second images according to a second frame rate, and correspondingly splices each extracted first delayed image and each second delayed image to obtain a target delayed video.
In the method for delayed photography provided by the embodiment of the application, in a process of recording a delayed video, a first image of N frames corresponding to a first recording area and a second image of M frames corresponding to a second recording area are obtained, then, according to a first frame rate, a first delayed image of a corresponding frame number is extracted from the first image of N frames, and according to a second frame rate, a second delayed image of a corresponding frame number is extracted from the second image of M frames, and finally, a target delayed video is obtained based on the extracted first delayed image and the extracted second delayed image, wherein the first frame rate is different from the second frame rate. Therefore, in the process of recording the delayed videos, the delayed videos are recorded by using different frame rates for different recording objects in the same delayed video recording scene, and the diversity of delayed shooting effects is improved.
Optionally, in this embodiment of the present application, in the process of recording the delayed video, the method for delayed shooting according to this embodiment of the present application may include the following step 301:
step 301: carrying out time-delay video recording according to a first mode; or, the delayed video recording is carried out according to the second mode.
Exemplarily, the video recorded corresponding to the first recording area in the first mode has the same recording duration as the video recorded corresponding to the second recording area; and in the second mode, the playing time of the delayed video corresponding to the first recording area is the same as the playing time of the delayed video corresponding to the second recording area.
Illustratively, the first mode may be a split screen recording simultaneous long mode.
Illustratively, the second mode may be a split screen play simultaneous long mode.
Illustratively, the time-lapse video is obtained by synthesizing time-lapse images obtained by processing recorded videos.
For example, before the delayed video recording, the user may select a suitable mode by himself to perform the delayed video recording, or may use a default mode of the system to perform the delayed video recording.
In this embodiment of the application, after the delayed video is recorded, the delayed shooting device extracts a first delayed image with a corresponding frame number from N frames of first images according to the first frame rate, and simultaneously extracts a second delayed image with a corresponding frame number from M frames of second images according to the second frame rate, and then the delayed shooting device correspondingly splices the first delayed image and the second delayed image according to the first mode or the second mode, so as to obtain the target delayed video.
Illustratively, in the case of the first mode, the recording duration of the video recorded in the first recording area is the same as the recording duration of the video recorded in the second recording area, in other words, in the first mode, the number of frames of the first delayed image and the second delayed image extracted by the delayed photographing device is different, and the number of frames of the delayed image with a large magnification is smaller than the number of frames of the delayed image with a small magnification.
Illustratively, in the case of the second mode, the playing time lengths of the delayed video corresponding to the first recording area and the delayed video corresponding to the second recording area are the same, in other words, in the second mode, the delayed photographing device extracts the first delayed image and the second delayed image with the same frame number, and based on this, the delayed photographing device correspondingly splices the first delayed image and the second delayed image of each frame to obtain the target delayed video.
Further optionally, in this embodiment of the present application, in the case of performing time-lapse video recording according to the first mode, the method for time-lapse shooting provided by this embodiment of the present application may include the following step 302:
step 302: in the process of playing the target time-delay video, after the video playing in the first target recording area is finished, the last frame of image played in the first target recording area is displayed.
Exemplarily, the first target recording area is a first recording area in the delayed video recording interface when the first frame rate is greater than the second frame rate; or, in the case that the first frame rate is less than the second frame rate, the first target recording area is a second recording area in the delayed video recording interface.
In a possible example, a frame rate set for a video recorded in a first recording area is a first frame rate, a frame rate set for a video recorded in a second recording area is a second frame rate, when the first frame rate is greater than the second frame rate, in a process of playing a target delayed video by a delayed shooting device, a video recorded in the first recording area is shorter than a video playing time recorded in the second recording area, when the video recorded in the first recording area is finished, a last frame image of the video recorded in the first recording area is displayed in the first target recording area, and the video recorded in the second recording area continues to be played until the video is finished.
In a possible example, a frame rate set for a video recorded in a first recording area is a first frame rate, a frame rate set for a video recorded in a second recording area is a second frame rate, when the first frame rate is less than the second frame rate, in a process of playing a target delayed video by a delayed shooting device, a video recorded in the second recording area is shorter than a video playing time period recorded in the first recording area, when the video recorded in the second recording area is finished, a last frame image of the video recorded in the second recording area is displayed in the first target recording area, and the video recorded in the first recording area continues to be played until the video recorded in the first recording area is finished.
Further optionally, in this embodiment of the present application, in the process of performing time-lapse video recording according to the second mode, the method for time-lapse shooting provided by this embodiment of the present application may include the following step 303:
step 303: and after the first video is recorded, stopping recording the first video and continuously recording the second video.
Exemplarily, when the first frame rate is greater than the second frame rate, the first video is a video correspondingly recorded in a second recording area in the delayed video recording interface, and the second video is a video correspondingly recorded in the first recording area in the delayed video recording interface; or, when the first frame rate is less than the second frame rate, the first video is a video correspondingly recorded in a first recording area in the delayed video recording interface, and the second video is a video correspondingly recorded in a second recording area in the delayed video recording interface.
For example, if the user wants to obtain a delayed video in which the video recorded in the first recording area and the video recorded in the second recording area are simultaneously played, the user may select the second mode to record the delayed video.
In a possible example, the frame rate set for the video recorded in the first recording area is a first frame rate, the frame rate set for the video recorded in the second recording area is a second frame rate, when the first frame rate is greater than the second frame rate, in the process of performing the delayed video recording by the delayed shooting device, the video recorded in the second recording area is shorter than the recording time of the video recorded in the first recording area, when the video recorded in the second recording area, that is, after the first video recording is completed, the recording of the first video is stopped, and the video recorded in the first recording area, that is, the second video, continues to be recorded until the recording is completed.
In a possible example, the frame rate set for the video recorded in the first recording area is a first frame rate, the frame rate set for the video recorded in the second recording area is a second frame rate, when the first frame rate is less than the second frame rate, in the process of performing the delayed video recording by the delayed shooting device, the video recorded in the first recording area is shorter than the video recorded in the second recording area, when the video recorded in the first recording area, that is, after the first video recording is completed, the recording of the first video is stopped, and the video recorded in the second recording area, that is, the second video continues to be recorded until the recording is completed.
Therefore, the user can select different modes according to the self requirement, so that target delay videos with different effects are obtained, the man-machine interaction is improved, and the diversity of delay shooting effects is improved.
Optionally, in this embodiment of the present application, before the step 202, the method for delayed shooting provided in this embodiment of the present application may include the following steps 401 and 402:
step 401: a first press input by a user on a target recording area is received.
Step 402: and responding to the first press input, and setting the frame rate of the delayed photography corresponding to the target recording area as the target frame rate.
Illustratively, the target frame rate is a frame rate that matches the pressing power of the first pressing input.
Exemplarily, the target recording area is a first recording area in a delayed video recording interface, and the target frame rate is a first frame rate; and/or the target recording area is a second recording area in the delayed video recording interface, and the target frame rate is a second frame rate.
In general, if the magnification is adjusted first and then the exposure time, the initial magnification setting may be affected, whereas if the exposure time is adjusted first and then the magnification, the exposure time may be affected, in any case, subject to the last interactive selection by the user and ensuring that the user's parameter adjustment is provided with feedback and takes effect.
Illustratively, the pressing force of the fingers of the user in the corresponding recording area is detected by the delayed shooting device, so that the magnification of the corresponding recording area or the preview area can be adjusted in real time in the previewing and recording processes, and the magnification of the corresponding recording area or the preview area is adjusted according to the pressing force detected by the delayed shooting device (the larger the general pressing force is, the larger the magnification of the corresponding recording area is), meanwhile, the magnification adjusted by the delayed shooting device is updated in the delayed video recording interface in real time, and the magnification is selected after the fingers are released.
For example, as shown in fig. 6, when the user's finger presses the first recording area, the magnification is adjusted from current 120 to 90, and when the user's finger presses the second recording area, the magnification is adjusted from current 15 to 30.
Therefore, the user can quickly adjust the corresponding shooting magnification through pressing the corresponding recording area or the preview area by fingers, the magnification can be larger or smaller, the detected pressing force is larger, and meanwhile, the corresponding exposure time can be correspondingly adjusted in a self-adaptive mode.
According to the method for delayed photography provided by the embodiment of the application, the executive body can be a device for delayed photography. In the embodiment of the present application, a method for performing a delayed shooting by using a delayed shooting apparatus is taken as an example, and the delayed shooting apparatus provided in the embodiment of the present application is described.
As shown in fig. 7, an apparatus 800 for delayed photography includes: an acquisition module 801, an extraction module 802 and a processing module 803; the obtaining module 801 is configured to obtain N frames of first images corresponding to a first recording area and M frames of second images corresponding to a second recording area in the delayed video recording process; n, M is a positive integer greater than 1; the extracting module 802 is configured to extract a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extract a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate; the processing module 803 is configured to obtain a target delayed video based on the first delayed image and the second delayed image; wherein the first frame rate is different from the second frame rate.
Optionally, in this embodiment of the present application, in combination with fig. 7, as shown in fig. 8, the apparatus 800 further includes a display module 804; the display module 804 is configured to, in the delayed video recording process, display a delayed video recording split-screen interface if it is detected that a plurality of recording objects exist in a video recording picture; the delayed video recording split-screen interface comprises the first recording area and the second recording area; each recording area corresponds to at least one recording object.
Optionally, in this embodiment of the application, the display module 804 is specifically configured to display a delayed video recording split-screen interface if it is detected that a plurality of recording objects exist in a video recording picture and a frame rate difference between frame rates corresponding to different recording objects is greater than a predetermined threshold.
Optionally, in this embodiment of the application, the processing module 803 is specifically configured to, if it is detected that a plurality of recording objects exist in the video recording picture, divide the video recording picture based on areas where the plurality of recording objects are located, so as to obtain a first recording area and a second recording area.
Optionally, in this embodiment of the application, the first recording area is configured to display the N frames of first images acquired by the first camera; the second recording area is used for displaying the M frames of second images acquired by the second camera.
Optionally, in this embodiment of the application, with reference to fig. 7, as shown in fig. 9, the apparatus 800 further includes a recording module 805; the recording module 805 is configured to perform time-lapse video recording according to a first mode; or, the video recording device is used for recording the delayed video according to the second mode; the recording duration of the video recorded correspondingly to the first recording area and the recording duration of the video recorded correspondingly to the second recording area in the first mode are the same; in the second mode, the playing time of the delayed video corresponding to the first recording area is the same as the playing time of the delayed video corresponding to the second recording area.
Optionally, in this embodiment of the application, the display module 804 is further configured to, in a case that the delayed video is recorded according to the first mode, in a process of playing the target delayed video, after the video playing in the first target recording area is completed, display a last frame of image played in the first target recording area; under the condition that the first frame rate is greater than the second frame rate, the first target recording area is a first recording area in the delayed video recording interface; or, in the case that the first frame rate is less than the second frame rate, the first target recording area is a second recording area in the delayed video recording interface.
Optionally, in this embodiment of the application, the display module 804 is further configured to stop recording the first video and continue recording the second video after the first video is recorded in the process of performing the delayed video recording according to the second mode;
under the condition that the first frame rate is greater than the second frame rate, the first video is a video which is recorded correspondingly in a second recording area in the delayed video recording interface, and the second video is a video which is recorded correspondingly in the first recording area in the delayed video recording interface; or, when the first frame rate is less than the second frame rate, the first video is a video correspondingly recorded in a first recording area in the delayed video recording interface, and the second video is a video correspondingly recorded in a second recording area in the delayed video recording interface.
Optionally, in this embodiment of the application, the first frame rate is a first preset frame rate or a frame rate autonomously set by a user.
Optionally, in this embodiment of the application, the second frame rate is a second preset frame rate or a frame rate autonomously set by a user.
Optionally, in this embodiment of the present application, in combination with fig. 7, as shown in fig. 10, the apparatus 800 further includes a receiving module 806; the receiving module 806 is configured to receive a first pressing input of a user on a target recording area; the processing module 803 is further configured to set, in response to the received first press input of the user on the target recording area, the frame rate of the delayed shooting corresponding to the target recording area to the target frame rate; the target frame rate is a frame rate matched with the pressing force degree of the first pressing input of the user on the target recording area; the target recording area and the target frame rate satisfy at least one of the following conditions: the target recording area is a first recording area in a delayed video recording interface, and the target frame rate is a first frame rate; or the target recording area is a second recording area in the delayed video recording interface, and the target frame rate is a second frame rate.
In the device for delayed photography provided in the embodiment of the application, in a process of recording a delayed video, the device extracts a first delayed image of a corresponding frame number from N first images by acquiring N first images corresponding to a first recording area and M second images corresponding to a second recording area according to a first frame rate, extracts a second delayed image of the corresponding frame number from M second images according to a second frame rate, and finally obtains a target delayed video based on the extracted first delayed image and second delayed image, wherein the first frame rate is different from the second frame rate. Therefore, in the process of recording the delayed videos, the delayed videos are recorded by using different frame rates for different recording objects in the same delayed video recording scene, and the diversity of delayed shooting effects is improved.
The device for delayed shooting in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device for delayed photography in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device for delayed photography provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 6, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 11, an electronic device 1200 is further provided in an embodiment of the present application, and includes a processor 1201 and a memory 1202, where the memory 1202 stores a program or an instruction that can be executed on the processor 1201, and when the program or the instruction is executed by the processor 1201, the steps of the method embodiment for delayed shooting are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 12 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 110 is configured to, in the process of delayed video recording, acquire N first images corresponding to a first recording area and M second images corresponding to a second recording area; n, M is a positive integer greater than 1; the processor 110 is further configured to extract a first delayed image with a corresponding frame number from the N first images according to a first frame rate, and extract a second delayed image with a corresponding frame number from the M second images according to a second frame rate; the processor 110 is further configured to obtain a target delayed video based on the first delayed image and the second delayed image; wherein the first frame rate is different from the second frame rate.
Optionally, in this embodiment of the application, the display unit 106 is configured to, in the delayed video recording process, display a delayed video recording split-screen interface if it is detected that a plurality of recording objects exist in a video recording screen; the delayed video recording split-screen interface comprises the first recording area and the second recording area; each recording area corresponds to at least one recording object.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display a delayed video recording split-screen interface if it is detected that a plurality of recording objects exist in a video recording picture and a frame rate difference between frame rates corresponding to different recording objects is greater than a predetermined threshold.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to, if it is detected that a plurality of recording objects exist in a video recording picture, divide the video recording picture based on areas where the plurality of recording objects are located, so as to obtain a first recording area and a second recording area.
Optionally, in this embodiment of the application, the first recording area is configured to display the N frames of first images acquired by the first camera; the second recording area is used for displaying the M frames of second images acquired by the second camera.
Optionally, in this embodiment of the present application, the input unit 104 is configured to perform time-lapse video recording according to a first mode; or, the video recording device is used for recording the delayed video according to the second mode; the recording duration of the video recorded correspondingly to the first recording area and the recording duration of the video recorded correspondingly to the second recording area in the first mode are the same; in the second mode, the playing time of the delayed video corresponding to the first recording area is the same as the playing time of the delayed video corresponding to the second recording area.
Optionally, in this embodiment of the application, the display unit 106 is further configured to, in a case that the delayed video is recorded according to the first mode, display a last frame image played in a first target recording area after the video playing in the first target recording area is completed in a process of playing the target delayed video; under the condition that the first frame rate is greater than the second frame rate, the first target recording area is a first recording area in a delayed video recording interface; or, in a case that the first frame rate is less than the second frame rate, the first target recording area is a second recording area in the delayed video recording interface.
Optionally, in this embodiment of the application, the display unit 106 is further configured to, in the process of performing time-lapse video recording according to the second mode, stop recording the first video after the first video is recorded, and continue recording the second video; when the first frame rate is greater than the second frame rate, the first video is a video correspondingly recorded in the second recording area, and the second video is a video correspondingly recorded in the first recording area in the delayed video recording interface; or, when the first frame rate is less than the second frame rate, the first video is a video correspondingly recorded in a first recording area in the delayed video recording interface, and the second video is a video correspondingly recorded in a second recording area in the delayed video recording interface.
Optionally, in this embodiment of the application, the first frame rate is a first preset frame rate or a frame rate autonomously set by a user.
Optionally, in this embodiment of the application, the second frame rate is a second preset frame rate or a frame rate autonomously set by a user.
Optionally, in this embodiment of the present application, the user input unit 107 is configured to receive a first pressing input of a user on a target recording area; the processor 110 is further configured to set, in response to a received first press input of the user on the target recording area, a frame rate of the delayed shooting corresponding to the target recording area to be a target frame rate; the target frame rate is a frame rate matched with the pressing force degree of the first pressing input of the user on the target recording area; the target recording area and the target frame rate satisfy at least one of the following conditions: the target recording area is a first recording area in a delayed video recording interface, and the target frame rate is a first frame rate; or, the target recording area is a second recording area in the delayed video recording interface, and the target frame rate is a second frame rate.
In the electronic device provided in the embodiment of the present application, in a delayed video recording process, the electronic device obtains N frames of first images corresponding to a first recording region and M frames of second images corresponding to a second recording region, then extracts a first delayed image of a corresponding frame number from the N frames of first images according to a first frame rate, extracts a second delayed image of a corresponding frame number from the M frames of second images according to a second frame rate, and finally obtains a target delayed video based on the extracted first delayed image and second delayed image, where the first frame rate is different from the second frame rate. Therefore, in the process of recording the delayed videos, the delayed videos are recorded by using different frame rates for different recording objects in the same delayed video recording scene, and the diversity of delayed shooting effects is improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct RAM (DRRAM). Memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method for delayed photography, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing method for delayed photography, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing embodiments of the method for delayed photography, and achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of time lapse photography, the method comprising:
in the process of time-delay video recording, acquiring N frames of first images corresponding to a first recording area and M frames of second images corresponding to a second recording area; n, M is a positive integer greater than 1;
extracting a first delayed image with a corresponding frame number from the N frames of first images according to a first frame rate, and extracting a second delayed image with a corresponding frame number from the M frames of second images according to a second frame rate;
obtaining a target time-delay video based on the first time-delay image and the second time-delay image;
wherein the first frame rate is different from the second frame rate.
2. The method of claim 1, wherein before obtaining the N first images corresponding to the first recording area and the M first images corresponding to the second recording area, the method further comprises:
if a plurality of recording objects exist in the video recording picture, displaying a delayed video recording split-screen interface;
the delayed video recording split-screen interface comprises the first recording area and the second recording area; each recording area corresponds to at least one recording object.
3. The method of claim 2, wherein if it is detected that a plurality of recorded objects exist in the video recording picture, displaying a delayed video recording split screen interface comprises:
and if a plurality of recording objects exist in the video recording picture and the frame rate difference value between the frame rates corresponding to the different recording objects is larger than a preset threshold value, displaying a delayed video recording split-screen interface.
4. The method of claim 1, wherein prior to acquiring the first image and the second image, the method further comprises:
if a plurality of recording objects exist in the video recording picture, the video recording picture is divided based on the areas where the plurality of recording objects are located, and the first recording area and the second recording area are obtained.
5. The method of claim 1,
the first recording area is used for displaying the N frames of first images collected by the first camera;
the second recording area is used for displaying the M frames of second images acquired by the second camera.
6. The method according to any one of claims 1 to 5, further comprising:
carrying out time-delay video recording according to a first mode;
or, carrying out time-delay video recording according to a second mode;
in the first mode, the recording time lengths of the video recorded correspondingly to the first recording area and the video recorded correspondingly to the second recording area are the same;
and in the second mode, the playing time of the delayed video corresponding to the first recording area is the same as the playing time of the delayed video corresponding to the second recording area.
7. The method of claim 6, wherein in the case of time-lapse video recording according to the first mode, the method further comprises:
in the process of playing the target time-delay video, after the video playing in a first target recording area is finished, displaying the last frame of image played in the first target recording area;
wherein, when the first frame rate is greater than the second frame rate, the first target recording area is the first recording area;
or, the first target recording area is the second recording area when the first frame rate is less than the second frame rate.
8. The method of claim 6, wherein during the time-lapse video recording according to the second mode, the method further comprises:
after the first video is recorded, stopping recording the first video and continuously recording the second video;
when the first frame rate is greater than the second frame rate, the first video is a video recorded corresponding to the second recording area, and the second video is a video recorded corresponding to the first recording area;
or, when the first frame rate is less than the second frame rate, the first video is a video recorded corresponding to the first recording area, and the second video is a video recorded corresponding to the second recording area.
9. The method of claim 1, wherein the first frame rate is a first preset frame rate or a frame rate autonomously set by a user; the second frame rate is a second preset frame rate or a frame rate set by a user.
10. The method of claim 1, wherein before extracting a corresponding number of first delayed images from the N first images at the first frame rate to obtain the first delayed video, the method further comprises:
receiving a first press input of a user on a target recording area;
responding to the first press input, and setting the frame rate of the delayed photography corresponding to the target recording area as a target frame rate;
the target frame rate is a frame rate matched with the pressing force degree of the first pressing input;
the target recording area and the target frame rate meet at least one of the following conditions:
the target recording area is the first recording area, and the target frame rate is a first frame rate;
the target recording area is the second recording area, and the target frame rate is a second frame rate.
11. An apparatus for time-lapse photography, the apparatus comprising: the device comprises an acquisition module, an extraction module and a processing module;
the acquisition module is used for acquiring N frames of first images corresponding to the first recording area and M frames of second images corresponding to the second recording area in the delayed video recording process; n, M is a positive integer greater than 1;
the extraction module is configured to extract a first delayed image with a corresponding frame number from the N-frame first images acquired by the acquisition module according to a first frame rate, and extract a second delayed image with a corresponding frame number from the M-frame second images acquired by the acquisition module according to a second frame rate;
the processing module is configured to obtain a target delayed video based on the first delayed image and the second delayed image extracted by the extraction module;
wherein the first frame rate is different from the second frame rate.
12. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of time lapse photography of any one of claims 1 to 10.
CN202210589370.8A 2022-05-26 2022-05-26 Method, device, electronic equipment and medium for time-lapse photography Active CN114827477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210589370.8A CN114827477B (en) 2022-05-26 2022-05-26 Method, device, electronic equipment and medium for time-lapse photography

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210589370.8A CN114827477B (en) 2022-05-26 2022-05-26 Method, device, electronic equipment and medium for time-lapse photography

Publications (2)

Publication Number Publication Date
CN114827477A true CN114827477A (en) 2022-07-29
CN114827477B CN114827477B (en) 2024-03-29

Family

ID=82519622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210589370.8A Active CN114827477B (en) 2022-05-26 2022-05-26 Method, device, electronic equipment and medium for time-lapse photography

Country Status (1)

Country Link
CN (1) CN114827477B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086985A (en) * 2019-03-25 2019-08-02 华为技术有限公司 A kind of method for recording and electronic equipment of time-lapse photography
CN110337621A (en) * 2018-04-09 2019-10-15 深圳市大疆创新科技有限公司 Motion profile determination, time-lapse photography method, equipment and machine readable storage medium
CN112057842A (en) * 2020-09-11 2020-12-11 Oppo广东移动通信有限公司 Frame rate control method and device and electronic equipment
CN114466232A (en) * 2022-01-29 2022-05-10 维沃移动通信有限公司 Video processing method, video processing device, electronic equipment and medium
CN114520877A (en) * 2022-02-10 2022-05-20 维沃移动通信有限公司 Video recording method and device and electronic equipment
CN114520876A (en) * 2022-02-10 2022-05-20 维沃移动通信有限公司 Time-delay shooting video recording method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337621A (en) * 2018-04-09 2019-10-15 深圳市大疆创新科技有限公司 Motion profile determination, time-lapse photography method, equipment and machine readable storage medium
CN110086985A (en) * 2019-03-25 2019-08-02 华为技术有限公司 A kind of method for recording and electronic equipment of time-lapse photography
CN112057842A (en) * 2020-09-11 2020-12-11 Oppo广东移动通信有限公司 Frame rate control method and device and electronic equipment
CN114466232A (en) * 2022-01-29 2022-05-10 维沃移动通信有限公司 Video processing method, video processing device, electronic equipment and medium
CN114520877A (en) * 2022-02-10 2022-05-20 维沃移动通信有限公司 Video recording method and device and electronic equipment
CN114520876A (en) * 2022-02-10 2022-05-20 维沃移动通信有限公司 Time-delay shooting video recording method and device and electronic equipment

Also Published As

Publication number Publication date
CN114827477B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN111835982B (en) Image acquisition method, image acquisition device, electronic device, and storage medium
CN114520877A (en) Video recording method and device and electronic equipment
CN114520876A (en) Time-delay shooting video recording method and device and electronic equipment
CN111722775A (en) Image processing method, device, equipment and readable storage medium
WO2023134583A1 (en) Video recording method and apparatus, and electronic device
CN113259743A (en) Video playing method and device and electronic equipment
CN113852756B (en) Image acquisition method, device, equipment and storage medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN114466232A (en) Video processing method, video processing device, electronic equipment and medium
CN114170472A (en) Image processing method, readable storage medium and computer terminal
WO2023125669A1 (en) Image processing circuit, image processing method, electronic device, and readable storage medium
CN114025237B (en) Video generation method and device and electronic equipment
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
CN115278047A (en) Shooting method, shooting device, electronic equipment and storage medium
CN114827477B (en) Method, device, electronic equipment and medium for time-lapse photography
CN115499589A (en) Shooting method, shooting device, electronic equipment and medium
CN114500852A (en) Photographing method, photographing apparatus, electronic device, and readable storage medium
CN113873168A (en) Shooting method, shooting device, electronic equipment and medium
CN112887620A (en) Video shooting method and device and electronic equipment
CN112887624A (en) Shooting method and device and electronic equipment
CN112367464A (en) Image output method and device and electronic equipment
CN115334242B (en) Video recording method, device, electronic equipment and medium
CN114157810B (en) Shooting method, shooting device, electronic equipment and medium
CN114222069B (en) Shooting method, shooting device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant