CN114500852A - Photographing method, photographing apparatus, electronic device, and readable storage medium - Google Patents

Photographing method, photographing apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
CN114500852A
CN114500852A CN202210180022.5A CN202210180022A CN114500852A CN 114500852 A CN114500852 A CN 114500852A CN 202210180022 A CN202210180022 A CN 202210180022A CN 114500852 A CN114500852 A CN 114500852A
Authority
CN
China
Prior art keywords
shooting
input
video
video clip
user
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
CN202210180022.5A
Other languages
Chinese (zh)
Other versions
CN114500852B (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 CN202210180022.5A priority Critical patent/CN114500852B/en
Publication of CN114500852A publication Critical patent/CN114500852A/en
Application granted granted Critical
Publication of CN114500852B publication Critical patent/CN114500852B/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/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, and belongs to the field of shooting. The shooting method comprises the following steps: receiving a first input of a user to a shooting preview interface; determining a first photographic subject and a second photographic subject in response to a first input; shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip; generating a target video based on the first video segment and the second video segment; the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.

Description

Photographing method, photographing apparatus, electronic device, and readable storage medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
With the rise of short videos, more and more users share their lives and daily lives through the short videos.
The current mode of shooting short videos by electronic equipment is single, and users need to carry out further optimization processing after shooting videos.
The method is limited by the using capacity of the user on the electronic equipment, most users do not master the video optimizing function, the users are difficult to obtain creative videos, and the effect of shot videos is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a shooting method, a shooting apparatus, an electronic device, and a readable storage medium, which can quickly obtain an authoring type video.
In a first aspect, an embodiment of the present application provides a shooting method, where the method includes:
receiving a first input of a user to a shooting preview interface;
determining a first photographic subject and a second photographic subject in response to a first input;
shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip;
generating a target video based on the first video segment and the second video segment;
the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the receiving module is used for receiving first input of a user to the shooting preview interface;
a determination module that determines a first photographic subject and a second photographic subject in response to a first input;
the shooting module is used for sequentially shooting the first shooting object and the second shooting object according to a preset track to obtain a first video clip and a second video clip;
the generation module generates a target video based on the first video segment and the second video segment;
the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
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, embodiments of the present application provide 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 a method as in the first aspect.
In the embodiment of the application, the ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed with details, a user can be given a feeling that the first shooting object is closer and closer, then the shooting object is gradually changed from the first shooting object to the second shooting object, and the user can feel the feeling of a surrounding object as if the user is personally around a plurality of shooting objects as different shooting objects sequentially enter the preview interface, so that the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without creation capability, videos with better effects can be shot, so that the operation of the users is simplified, and the use experience of the users on the electronic equipment is improved.
Drawings
Fig. 1 is a schematic flow chart of a shooting method in an embodiment of the present application;
FIG. 2 is a schematic diagram of a preview interface in an embodiment of the present application;
FIG. 3 is one of schematic diagrams illustrating a preview interface in which a plurality of photographic subjects are identified according to an embodiment of the present application;
FIG. 4 is a second schematic diagram illustrating a preview interface with multiple shot objects identified in the embodiment of the present application;
FIG. 5 is one of schematic diagrams of a shot object after being displayed and enlarged in a preview interface in an embodiment of the application;
FIG. 6 is a second schematic diagram of the preview interface showing the enlarged shot object in the embodiment of the present application;
fig. 7 is a third schematic diagram of a shot object displayed and enlarged in a preview interface in the embodiment of the present application;
FIG. 8 is a second illustration of a preview interface in an embodiment of the present application;
FIG. 9 is a third illustration of a preview interface in an embodiment of the present application;
fig. 10 is a schematic diagram of a preview interface after a plurality of photographic subjects are reduced in size in the embodiment of the present application;
fig. 11 is a schematic block diagram of a photographing apparatus in an embodiment of the present application;
FIG. 12 is a schematic block diagram of an electronic device in an embodiment of the application;
fig. 13 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
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 shooting method, the shooting device, the electronic device and the readable storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
As shown in fig. 1, in an embodiment of the present application, there is provided a photographing method including:
step 102, receiving a first input of a user to a shooting preview interface.
Step 104, in response to the first input, determining a first photographic subject and a second photographic subject.
When a user needs to use the electronic device to shoot an image, the user usually needs to start the shooting function. After the camera shooting function is started, the object to be shot can be displayed on the shooting preview interface of the electronic equipment, and the display interface of the electronic equipment is the shooting preview interface.
When the electronic device receives the first input, the electronic device can identify a photographic subject within the photographic preview interface.
As shown in fig. 2, the photographic subjects may be main objects within the photographic preview interface, and a first photographic subject 100, a second photographic subject 200, and a third photographic subject 300 are displayed in fig. 2, illustratively, mountains, buildings, and the like in a distant scene, fruits, trees, pedestrians, vehicles, and the like in a near scene. The main object may be embodied as an object distinguished from surrounding scenes, for example, in a distant scene of the photographing preview interface, the surroundings of a mountain are sky, so the mountain is highlighted as the main object, so that the mountain can be recognized as a photographing object.
As shown in fig. 3, three recognized subjects are displayed on the preview interface, and the numerals are 100, 200, and 300, respectively, and as shown in fig. 4, four recognized subjects are displayed on the preview interface, and the numerals are 100, 200, 300, and 400, respectively.
The first input may be: the user may specifically determine the specific gesture input by the user, which is not limited in the embodiment of the present application, according to the actual use requirement.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
When the electronic device receives the first input, which indicates that the user wants to enter a specific shooting mode, the electronic device recognizes the first photographic object and the second photographic object in the shooting preview interface.
And 106, sequentially shooting the first shooting object and the second shooting object according to a preset track to obtain a first video clip and a second video clip.
Step 108, generating a target video based on the first video segment and the second video segment; the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
The preset track is preset, and the first shooting object and the second shooting object are shot in sequence according to the preset track. After the first photographic subject and the second photographic subject are determined, the first photographic subject is photographed to obtain a first video section, and the first video section is the first photographic subject which is clear for photographing. And then shooting a second video clip according to a preset track, wherein the second video clip is used for shooting a second shooting object which is clear. Specifically, when the first photographic subject is photographed, the proportion of the image area where the first photographic subject is located is gradually increased, so that the image area where the first photographic subject is located is gradually enlarged and displayed. Since the display size of the image area where the first photographic subject is located is large, the first photographic subject can be clearly displayed. When the first object is captured, the first video segment may be a close-up of the first object gradually transformed from a wide field of view, with the aim of clarifying the capture of the first object. In this embodiment, the proportion of the image area where the first photographic subject is located refers to the proportion of the image area where the first photographic subject is located compared to the photographic preview interface.
After the image area where the first shot object is located is enlarged and displayed, the camera is controlled to rotate according to a preset track, the first shot object gradually disappears in the shooting preview interface, and the second shot object gradually enters the shooting preview interface. In this embodiment, the second video clip may be a process of switching from the first shooting object to the second shooting object, and in this process, the focal length of the camera may be unchanged, may also gradually become larger, and may also gradually become smaller until the second shooting object is clearly shot.
The shooting mode of the second shot object can be selected in various ways, for example, the focal length of the camera is adjusted, the ratio of the image area where the first shot object is located is reduced when the first video clip is shot, and the user feels that the second shot object is farther away from the first shot object.
If the details of the first photographic subject can be clearly observed, the focal length of the camera needs to be adjusted, and the proportion of the image area where the first photographic subject is located is kept unchanged when the first video clip is shot.
The ratio of the image area of the first shooting object can be increased when the first video clip is shot, so that the first shooting object can be observed with details, a user can be given a feeling that the first shooting object is closer and closer, then the shooting object is gradually changed from the first shooting object to the second shooting object, and the user can feel the feeling of surrounding objects as if the user is personally surrounding a plurality of shooting objects as different shooting objects sequentially enter the preview interface, so that the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without creation capability, videos with better effects can be shot, so that the operation of the users is simplified, and the use experience of the users on the electronic equipment is improved.
The target video provides a user with the experience of shooting around a plurality of objects, so that the electronic equipment can enter a stereo surrounding shooting mode after receiving the first input, and the target video with better effect can be automatically generated at the moment.
Under the shooting mode of stereo surround, the target video can be automatically generated, even if a user does not master the skill of shooting the effect of stereo surround, the target video of stereo surround can be obtained through the shooting mode of stereo surround, and the difficulty of making special effect video is favorably reduced.
In a possible application, in the moving shooting process of the camera, the lens of the electronic device can realize the shooting function through modes of locking a focus, optically zooming, data zooming and the like, and the shooting effect of a video is ensured. Have a plurality of cameras among the electronic equipment, the magnification of different cameras to the image is different, in order to further promote video capture effect, needs to guarantee the seamless switching of a plurality of magnifying lenses.
In a possible embodiment, after receiving the first input of the shooting preview interface from the user, the method further includes: determining a third photographic subject in response to the first input; shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip, comprising: shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; generating a target video based on the first video segment and the second video segment, comprising: generating a target video based on the first video segment, the second video segment and the third video segment; and the target shooting object of the third video clip is the third shooting object.
In this embodiment, after the first input by the user is received, the third photographic subject is also determined, so the number of photographic subjects may be plural without being limited to two photographic subjects within the photographic preview interface.
As the number of subjects increases, the number of video segments also increases, and the subject of the third video segment is the third subject.
The same as the second video clip, when shooting the third shot object, there can be multiple choices, and the focal length of the camera is adjusted according to whether the third shot object is clear in the shooting preview interface until the third shot object can be clearly displayed.
In a possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: and receiving a second input of the user, and determining the preset track in response to the second input.
In this embodiment, after the plurality of shooting objects are acquired, there may be a default trajectory, and the user may adjust the default trajectory through the second input to obtain the preset trajectory.
Illustratively, the default display order may be from near to far, from left to right, from top to bottom. As shown in fig. 3, the preview interface has three subjects, and the subject at reference numeral 100 should be the first subject according to the pre-display order from top to bottom, and then the subject at reference numeral 200 may be the second subject according to the pre-display order from right and left. Finally, the shooting object at reference numeral 300 is determined as a third shooting object, and the user can adjust the default display order to determine the preset trajectory, so that the three shooting objects can be shot in sequence.
As shown in fig. 5, 6 and 7, the subject at reference numeral 100 is first photographed, the subject at reference numeral 200 is displayed in the preview interface as the camera is rotated, and finally the subject at reference numeral 300 is displayed in the preview interface.
If the user is not satisfied with the shooting track, the shooting track can be actively adjusted, so that the shooting sequence of a plurality of shooting objects can be adjusted according to the preference of the user.
Illustratively, the second input may be: the user may specifically determine the actual use requirement according to a click input of the preview interface by the user, or a voice instruction input by the user, or a specific gesture input by the user, which is not limited in the embodiment of the present application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
In one possible application, as shown in fig. 8, five photographed objects in the photographing preview interface are respectively numbered 100, 200, 300, 400 and 500, a "custom track" option is provided on the photographing preview interface, the second input may be a click input of the "custom track" by the user, and after the user clicks the "custom track", a preset display sequence may be set by the user.
The user can actively adjust the preset track, so that the flexibility of the user in the process of making the target video is improved. Moreover, the preset track can be adjusted in a mode of selecting the sequence of the shot objects for the user, and the preset track is adjusted in a simple mode, so that the operation of the user is facilitated.
In a possible application, if the second input is not received, the preset trajectory needs to be determined according to the first input, that is, the plurality of photographic subjects are sequentially photographed according to the determined sequence of the photographic subjects.
In a possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: receiving a third input of the user; in response to a third input, image content update rates for the first video segment and the second video segment are determined.
In this embodiment, a preset update speed is determined based on the third input, and then the image content is updated at the preset update speed. Specifically, the speed of the shot transition when the video segment is shot is determined based on the third input, for example, the first photographic subject is shot clearly at a faster shot transition speed (zoom speed is fast), or the first photographic subject is converted into the second photographic subject at a faster speed.
Before the first shooting object is displayed in an enlarged mode, the user can actively adjust the updating speed according to the selection of the user.
For example, the specific input mode of the third input may refer to the second input, and is not described herein again.
In one possible application, as shown in fig. 9, five photographic subjects in the photographic preview interface, respectively, reference numeral 100, reference numeral 200, reference numeral 300, reference numeral 400 and reference numeral 500, have an option of "custom flight speed" on the preview interface, the third input may be a click input of the user on "custom flight speed", and after the user clicks "custom flight speed", the update speed may be set autonomously.
Illustratively, after clicking on the option of "custom airspeed", the preview interface displays the options of slow, default, fast, and extremely fast, which the user can select autonomously.
The user can actively adjust the updating speed, so that the flexibility of the user in the process of making the video is improved. Moreover, the updating speed can be adjusted by selecting options corresponding to different speeds for the user, and the updating speed is adjusted simply and is convenient for the user to operate.
In case no third input is received, the update speed is determined with the first input, i.e. the image content is updated with a default update speed.
In a possible embodiment, a fourth video segment is obtained by shooting, the ratio of the image area where the second shooting object is located in the fourth video segment is gradually reduced, and the difference value between the final visual field range of the fourth video segment and the initial visual field range of the first video segment is smaller than a preset threshold value.
In this embodiment, after the first video clip and the second video clip are captured, the proportion of the image area where the second photographic subject is located is reduced, as shown in fig. 10, so that the first photographic subject and the second photographic subject can be simultaneously displayed within the photographic preview interface. Three photographic subjects, which are respectively reference numeral 100, reference numeral 200 and reference numeral 300, are simultaneously displayed in the figure.
The proportion of the image area where the shooting object is located is increased, and the user can be provided with the impression of approaching the shooting object. The proportion of the image area where the shooting object is located is reduced, and the user can be given the appearance of being far away from the shooting object again.
The target video is generated in the mode, so that the visual impact of the user is further enhanced, and the production effect of the target video is favorably improved.
It should be noted that when the third subject is present, the ratio of the image area in which the third subject is present in the fourth video segment needs to be gradually decreased.
In a possible embodiment, after the target video is generated, the method further includes: in response to a fourth input, the target video is saved.
In an embodiment, after generating the target video, the user may watch the target video, then decide whether to guarantee the target video, and save the target video to local (album) when the electronic device receives the fourth input.
In a possible application, the fourth input is a single-click input, a double-click input, a sliding input, or the like, and the second input may be referred to specifically, which is not described herein again. For example, the preview interface has a "save" option that the user can click on to save the target video. Or, the shooting preview interface is provided with a 'recording ending' option, and when the user clicks the 'recording ending' option, the electronic equipment stores the target video.
The fourth input can also be in a voice input or gesture input interaction mode, and the user can save the target video in the voice interaction or gesture interaction mode, so that the use convenience of the user on the electronic equipment is improved.
The user can select whether to store the target video, the process of generating the video is more flexible, and the user experience is improved.
Certainly, in other embodiments, after the target video is generated, the target video can be automatically stored, so that the situation that the target video is deleted due to misoperation of a user is avoided, and the user can obtain the target video.
In a possible embodiment, after the target video is generated, the method further includes: displaying a thumbnail icon; wherein the thumbnail icon is associated with the target video.
In this embodiment, after the target video is saved, the target video is displayed in the form of thumbnail icons within the shooting preview interface.
Exemplarily, as shown in fig. 10, thumbnails of reference numeral 100, reference numeral 200, and reference numeral 300 are displayed in the lower left corner within the photographing preview interface.
The occupied area of the thumbnail icons on the shooting preview interface is small, so that the thumbnail icons are not easy to influence other operations of the user. Since the thumbnail icon is associated with the target video, when the user wants to view the target video, the thumbnail icon can be clicked, and the target video is displayed in the shooting preview interface. By displaying the thumbnail icons on the shooting preview interface, a user can conveniently and quickly browse the target video, convenience for the user to check the target video is improved, and operation difficulty of the user is simplified.
In a possible embodiment, after the target video is generated, the method further includes: and any shooting object is separated from the preset track, and the shooting is stopped and the target video is stored.
In this embodiment, in the process of generating the target video, if a shooting object deviating from the preset track exists in the plurality of recognized shooting objects, the shooting of the continuous shooting video segment may be stopped, and the currently generated target video may be automatically saved.
When a user faces a camera of the electronic device to a scene to be shot, when any shot object is separated from the preset track, the identified shot object is changed, and it is possible that the user moves the electronic device in a large range, and at this time, the target video needs to be automatically stored, so that the situation that the target video is lost is avoided.
In a possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: determining a shooting algorithm according to the first shooting object and the second shooting object; wherein, the shooting algorithm includes: a high dynamic range algorithm or a hyper-divide algorithm.
In this embodiment, the shooting algorithm is selected according to the first shooting object and the second shooting object, so that the corresponding shooting algorithm can be selected according to different shooting scenes.
Illustratively, under the irradiation of the strong light source, the high-brightness region and the shadow region exist at the same time, and at this time, the high dynamic range algorithm may be selected to complete the shooting process.
When the resolution needs to be improved or the denoising process needs to be performed, a hyper-resolution algorithm can be selected.
Of course, the high dynamic range algorithm and the hyper-resolution algorithm may also be combined during the shooting process.
According to the first shooting object and the second shooting object, the current shooting scene can be determined, and the shooting algorithm corresponding to the current shooting scene is selected, so that the video shooting effect is improved, and the video shooting quality is improved.
According to the shooting method provided by the embodiment of the application, the execution main body can be a shooting device. The embodiment of the present application takes a method for executing shooting by a shooting device as an example, and describes the shooting device provided by the embodiment of the present application.
As shown in fig. 11, some of the present applications provide a photographing apparatus 1100 including:
the receiving module 1110 is configured to receive a first input of a user to a shooting preview interface;
a determination module 1120 that determines a first photographic subject and a second photographic subject in response to a first input;
a shooting module 1130, configured to sequentially shoot a first shooting object and a second shooting object according to a preset track, so as to obtain a first video segment and a second video segment;
a generation module 1140, which generates a target video based on the first video segment and the second video segment;
the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
In the embodiment of the application, the ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed with details, a user can be given a feeling that the first shooting object is closer and closer, then the shooting object is gradually changed from the first shooting object to the second shooting object, and the user can feel the feeling of a surrounding object as if the user is personally around a plurality of shooting objects as different shooting objects sequentially enter the preview interface, so that the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without creation capability, videos with better effects can be shot, so that the operation of the users is simplified, and the use experience of the users on the electronic equipment is improved.
In a possible embodiment, after receiving the first input of the shooting preview interface from the user, the determining module is further configured to: determining a third photographic subject in response to the first input; the shooting module is specifically used for: shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; the generation module is specifically configured to: generating a target video based on the first video segment, the second video segment and the third video segment; and the target shooting object of the third video clip is the third shooting object.
In one possible embodiment, the first input comprises: a first sub-input and a second sub-input; the first determining module is specifically configured to: determining a first photographic object in response to the first sub-input; in response to the second sub-input, a second photographic subject is determined.
In a possible embodiment, before the first photographic object and the second photographic object are sequentially photographed according to the preset track, the determining module is further configured to: and in the case that the first object and the second object in the shooting preview interface satisfy a preset condition, determining the first object as the first shooting object and determining the second object as the second shooting object.
In one possible embodiment, after determining the first photographic subject and the second photographic subject, the photographic apparatus further comprises: an adjusting module: a second input for receiving a user; in response to a second input, a preset trajectory is determined.
In a possible embodiment, after determining the first photographic subject and the second photographic subject, the photographic apparatus further comprises: an update module: a third input for receiving a user; in response to a third input, image content update rates for the first video segment and the second video segment are determined.
In a possible embodiment, after obtaining the first video segment and the second video segment, the shooting module is further configured to: and shooting to obtain a fourth video clip, wherein the proportion of an image area where a second shooting object is located in the fourth video clip is gradually reduced, and the difference value between the final visual field range of the fourth video clip and the initial visual field range of the first video clip is smaller than a preset threshold value.
In a possible embodiment, the camera 1100 further comprises: and the storage module is used for responding to the fourth input and storing the target video after the target video is generated.
In a possible embodiment, the camera 1100 further comprises: the display module is used for displaying the thumbnail icons after the target video is generated; wherein the thumbnail icon is associated with the target video.
In a possible embodiment, the saving module is further configured to: and (4) any shooting object is separated from the preset track, and the target video is stored.
In one possible embodiment, the camera 1100 further comprises: the shooting algorithm module is used for determining a shooting algorithm according to the first shooting object and the second shooting pair after determining the first shooting object and the second shooting object; wherein, the shooting algorithm comprises: a high dynamic range algorithm or a hyper-divide algorithm.
The shooting device in the embodiment of the present application may be an electronic device, or may be a component in the 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 photographing apparatus in the embodiment of the present application may be an apparatus 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 shooting provided by the embodiment of the application can realize each process realized by the method embodiments of fig. 1 to fig. 10, and the same technical effect is realized, and for avoiding repetition, the details are not repeated here.
Optionally, as shown in fig. 12, 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 shooting method embodiment are implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware configuration diagram of an electronic device 1300 implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, a processor 1310, and the like.
Those skilled in the art will appreciate that the electronic device 1300 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 13 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 omitted here.
A user input unit 1307, configured to receive a first input of the shooting preview interface from the user; the processor 1310 is configured to determine a first photographic subject and a second photographic subject in response to a first input; sequentially shooting a first shooting object and a second shooting object according to a preset track to obtain a first video clip and a second video clip; and generating the target video based on the first video segment and the second video segment.
In the embodiment of the application, the ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed with details, a user can be given a feeling that the first shooting object is closer and closer, then the shooting object is gradually changed from the first shooting object to the second shooting object, and the user can feel the feeling of a surrounding object as if the user is personally around a plurality of shooting objects as different shooting objects sequentially enter the preview interface, so that the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without creation capability, videos with better effects can be shot, so that the operation of the users is simplified, and the use experience of the users on the electronic equipment is improved.
Optionally, after receiving a first input of the shooting preview interface from the user, the processor 1310 is further configured to determine a third shooting object in response to the first input; shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; and generating the target video based on the first video segment, the second video segment and the third video segment.
Optionally, the first input comprises: a first sub-input and a second sub-input, processor 1310, further configured to determine a first photographic subject in response to the first sub-input; in response to the second sub-input, a second photographic subject is determined.
Alternatively, before the first photographing object and the second photographing object are sequentially photographed according to the preset trajectory, the processor 1310 is further configured to determine the first object as the first photographing object and determine the second object as the second photographing object if the first object and the second object in the photographing preview interface satisfy the preset condition.
Alternatively, after the first photographic subject and the second photographic subject are determined, the user input unit 1307 is configured to receive a second input from the user, and the processor 1310 is further configured to determine the preset trajectory in response to the second input.
Alternatively, after the first photographic subject and the second photographic subject are determined, the user input unit 1307 is further configured to receive a third input from the user; the processor 1310 is further configured to determine an image content update rate for the first video segment and the second video segment in response to a third input.
Optionally, after the first video segment and the second video segment are obtained, the processor 1310 is further configured to obtain a fourth video segment by shooting, where the ratio of the image area where the second shooting object is located in the fourth video segment is gradually decreased, and a difference between the final visual field range of the fourth video segment and the initial visual field range of the first video segment is smaller than a preset threshold.
It should be understood that in the embodiment of the present application, the input Unit 1304 may include a Graphics Processing Unit (GPU) 13041 and a microphone 13042, and the Graphics processor 13041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. A touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 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 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, memory 1309 can comprise volatile memory or nonvolatile memory, or memory 1309 can comprise both volatile and nonvolatile 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 Memory bus RAM (DRRAM). Memory 1309 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1310 may include one or more processing units; optionally, the processor 1310 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 processor 1310.
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 foregoing shooting method embodiment, 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 in the above embodiment. Readable storage media, including computer readable storage media such as computer read only memory ROM, random access memory RAM, magnetic or optical disks, 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 execute a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted 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 shooting method embodiments, and achieve the same technical effects, and in order to avoid repetition, 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 identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the 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 present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (10)

1. A shooting method, characterized by comprising:
receiving a first input of a user to a shooting preview interface;
determining a first photographic subject and a second photographic subject in response to the first input;
shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip;
generating a target video based on the first video clip and the second video clip;
the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
2. The photographing method according to claim 1,
after the receiving of the first input of the user to the shooting preview interface, the method further includes:
determining a third photographic subject in response to the first input;
the shooting the first shooting object and the second shooting object in sequence according to the preset track to obtain a first video clip and a second video clip comprises:
sequentially shooting the first shooting object, the second shooting object and the third shooting object according to a preset track to obtain a first video clip, a second video clip and a third video clip;
generating a target video based on the first video segment and the second video segment, comprising:
generating a target video based on the first video segment, the second video segment, and the third video segment;
wherein the target photographic object of the third video segment is the third photographic object.
3. The photographing method according to claim 1,
the first input includes: a first sub-input and a second sub-input;
the determining, in response to the first input, a first photographic subject and a second photographic subject includes:
determining the first photographic object in response to the first sub-input;
determining the second photographic subject in response to the second sub-input.
4. The shooting method according to claim 1, wherein before the shooting the first shooting object and the second shooting object in sequence according to a preset track, the method further comprises:
and in the case that the first object and the second object in the shooting preview interface satisfy a preset condition, determining the first object as a first shooting object and determining the second object as a second shooting object.
5. The photographing method according to any one of claims 1 to 4,
after the first photographic object and the second photographic object are determined, the method further comprises the following steps:
receiving a second input of the user;
in response to the second input, determining the preset trajectory.
6. The photographing method according to any one of claims 1 to 4,
after the first photographic object and the second photographic object are determined, the method further comprises the following steps:
receiving a third input of the user;
in response to the third input, determining an image content update rate for the first video segment and the second video segment.
7. The photographing method according to any one of claims 1 to 4,
after the obtaining of the first video segment and the second video segment, the method further includes:
and shooting to obtain a fourth video clip, wherein the proportion of an image area where the second shooting object is located in the fourth video clip is gradually reduced, and the difference value between the final visual field range of the fourth video clip and the initial visual field range of the first video clip is smaller than a preset threshold value.
8. A camera, comprising:
the receiving module is used for receiving first input of a user to the shooting preview interface;
a determination module that determines a first photographic subject and a second photographic subject in response to the first input;
the shooting module is used for sequentially shooting the first shooting object and the second shooting object according to a preset track to obtain a first video clip and a second video clip;
a generation module that generates a target video based on the first video segment and the second video segment;
the proportion of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
9. An electronic device, characterized by comprising a processor and a memory, said memory storing a program or instructions executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the shooting method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the shooting method according to any one of claims 1 to 7.
CN202210180022.5A 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium Active CN114500852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210180022.5A CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210180022.5A CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114500852A true CN114500852A (en) 2022-05-13
CN114500852B CN114500852B (en) 2024-04-19

Family

ID=81483727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210180022.5A Active CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114500852B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
CN110771150A (en) * 2018-09-29 2020-02-07 深圳市大疆创新科技有限公司 Video processing method, video processing device, shooting system and computer readable storage medium
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112738401A (en) * 2020-12-30 2021-04-30 维沃移动通信(杭州)有限公司 Zooming method and device and electronic equipment
WO2021244295A1 (en) * 2020-05-30 2021-12-09 华为技术有限公司 Method and device for recording video
CN113923350A (en) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
CN110771150A (en) * 2018-09-29 2020-02-07 深圳市大疆创新科技有限公司 Video processing method, video processing device, shooting system and computer readable storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
WO2021244295A1 (en) * 2020-05-30 2021-12-09 华为技术有限公司 Method and device for recording video
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112738401A (en) * 2020-12-30 2021-04-30 维沃移动通信(杭州)有限公司 Zooming method and device and electronic equipment
CN113923350A (en) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114500852B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN111669507A (en) Photographing method and device and electronic equipment
WO2023134583A1 (en) Video recording method and apparatus, and electronic device
CN108200477B (en) Method, device and equipment for generating and playing video file
CN112911147A (en) Display control method, display control device and electronic equipment
CN114466232A (en) Video processing method, video processing device, electronic equipment and medium
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN112784081A (en) Image display method and device and electronic equipment
CN111866379A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114025237A (en) Video generation method and device and electronic equipment
CN113873319A (en) Video processing method and device, electronic equipment and storage medium
CN112954197A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114390205B (en) Shooting method and device and electronic equipment
CN112672059B (en) Shooting method and shooting device
CN114520874B (en) Video processing method and device and electronic equipment
CN114222069B (en) Shooting method, shooting device and electronic equipment
CN115442527A (en) Shooting method, device and equipment
CN114173178A (en) Video playing method, video playing device, electronic equipment and readable storage medium
CN115052108A (en) Shooting method and device and electronic equipment
CN115209056A (en) Shooting method, shooting device, electronic equipment and storage medium
CN117528250A (en) Multimedia file processing method, multimedia file processing device and electronic equipment
CN115174812A (en) Video generation method, video generation 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