CN111464735B - Video shooting method and device, electronic equipment and computer storage medium - Google Patents

Video shooting method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN111464735B
CN111464735B CN201910054386.7A CN201910054386A CN111464735B CN 111464735 B CN111464735 B CN 111464735B CN 201910054386 A CN201910054386 A CN 201910054386A CN 111464735 B CN111464735 B CN 111464735B
Authority
CN
China
Prior art keywords
video
shooting
sequence
video clip
clip
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.)
Active
Application number
CN201910054386.7A
Other languages
Chinese (zh)
Other versions
CN111464735A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910054386.7A priority Critical patent/CN111464735B/en
Publication of CN111464735A publication Critical patent/CN111464735A/en
Application granted granted Critical
Publication of CN111464735B publication Critical patent/CN111464735B/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/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • 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)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video shooting method, a video shooting device, electronic equipment and a computer storage medium. The method comprises the following steps: shooting a video segment sequence used for generating the video in response to a shooting instruction, wherein the video segment sequence comprises at least one video segment; detecting a trigger event for video editing, which is set for each video clip; and updating the video segment sequence according to the detected trigger event until the video is generated.

Description

Video shooting method and device, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of video shooting technologies, and in particular, to a video shooting method, a video shooting apparatus, an electronic device for video shooting, and a computer storage medium.
Background
With the development of terminal equipment such as mobile phones and tablet computers, the video shooting function provided by the terminal equipment provides great convenience for people to shoot video recording life. Especially with the rise of short video platforms, people are more and more entertaining and socializing in the form of short videos.
In the existing video shooting method, a user usually has difficulty in adjusting the shot video in the video shooting process, but needs to edit the video by means of special video editing software. This affects the flexibility of the user in capturing video, and is not conducive to the user obtaining satisfactory video conveniently and quickly.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a new technical solution for video shooting.
According to a first aspect of the present invention, there is provided a video shooting method comprising: shooting a video segment sequence used for generating the video in response to a shooting instruction, wherein the video segment sequence comprises at least one video segment;
detecting a trigger event for video editing, which is set for each video clip;
and updating the video segment sequence according to the detected trigger event until the video is generated.
Optionally, the method further comprises:
and responding to a video generation instruction, and generating the video according to the latest video segment sequence.
Optionally, the generating the video according to the latest video segment sequence comprises:
splicing the video clips in the latest video clip sequence according to respective sequence to obtain the video.
Optionally, the method further comprises:
setting a first trigger event for deleting the corresponding video clip aiming at each video clip; and/or the presence of a gas in the gas,
and respectively setting a second trigger event for adjusting the sequence of the corresponding video clips in the video clip sequence aiming at each video clip.
Optionally, the capturing, in response to the capture instruction, the sequence of video segments for generating the video comprises:
and responding to at least one group of shooting instructions, shooting video segments corresponding to the groups of shooting instructions one by one, and obtaining a video segment sequence used for generating the video.
Optionally, the method further comprises:
detecting the total duration of the current video clip sequence;
and stopping the shooting of the video under the condition that the total duration reaches a preset duration.
Optionally, the method further comprises:
prior to generating the video, providing a presentation window, wherein the presentation window presents each video segment in the current sequence of video segments;
the trigger event comprises an operation on a display icon of the video clip in the display window.
Optionally, the providing a presentation window includes:
providing an unfolding entrance at a shooting interface for shooting the video clip sequence;
providing the presentation window in response to a presentation operation triggered via the expansion portal.
Optionally, the providing a deployment entry comprises:
after the shooting of each video clip is completed, providing the expansion entrance;
hiding the expansion entry during capturing each of the video segments.
Optionally, the method further comprises:
providing a stowing entry for stowing said display window;
hiding the display window in response to a stow operation triggered via the stow entry.
Optionally, the method further comprises:
in response to a show operation triggered via the expansion entry, further hiding a shooting control for triggering the shooting instruction;
the capture control is also provided in response to a stow operation triggered via the stow entry.
Optionally, the method further comprises:
providing a progress bar displaying a shooting progress of the video at a shooting interface for shooting the video clip sequence, wherein the progress bar has a separation indication between adjacent video clips;
synchronously updating the progress bar in response to an operation of updating the sequence of video segments.
According to a second aspect of the present invention, there is also provided a video camera comprising:
a shooting module, configured to shoot a sequence of video segments for generating the video in response to a shooting instruction, where the sequence of video segments includes at least one video segment;
the detection module is used for detecting a trigger event which is set for each video clip and used for video editing; and the number of the first and second groups,
and the synthesis module is used for updating the video segment sequence according to the detected trigger event until the video is generated.
According to a third aspect of the present invention, there is also provided an electronic apparatus comprising the video camera according to the second aspect of the present invention; alternatively, the electronic device includes:
a memory for storing executable instructions;
a processor for performing the video capture method according to the first aspect of the invention under the control of said executable instructions.
According to a fourth aspect of the present invention, there is also provided a computer storage medium storing executable instructions that, when executed by a processor, perform a video capture method as in the first aspect of the present invention.
The method and the device have the advantages that the video is generated by shooting the video clip sequence, and the video can be edited by operating each video clip in the video clip sequence, so that the flexibility of video shooting and the convenience of video editing are greatly improved, and a user can conveniently obtain the video meeting the expected requirements.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a configuration of a terminal device according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a video capture method according to an embodiment of the present invention.
Fig. 3 to 8 are schematic views of first to sixth states of a photographing interface during video photographing according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of the composition structure of the video camera according to the embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a schematic diagram of a configuration of a terminal device 1200 according to an embodiment of the present invention.
The terminal device 1200 may be a smartphone, a laptop, a desktop computer, a tablet computer, or the like. As shown in fig. 1, the terminal apparatus 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, a speaker 1270, a microphone 1280, and the like. The processor 1210 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1220 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1230 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1240 can perform wired or wireless communication, for example. The display device 1250 is, for example, a liquid crystal display, a touch display, or the like. The input device 1260 may include, for example, a touch screen, a keyboard, and the like. A user can output/input voice information through the speaker 1270 and the microphone 1280.
In one example, the input device 1260 of the terminal apparatus 1200 includes at least a camera that can be used to implement a video capture function.
The terminal device 1200 shown in fig. 1 is merely illustrative and is in no way intended to limit the present invention, its application, or uses.
< method examples >
Fig. 2 is a schematic flow chart of a video capture method according to an embodiment of the present invention.
In this embodiment, the video shooting method shown in fig. 2 may be implemented by a terminal device. The terminal device may be the terminal device 1200 as shown in fig. 1.
As shown in fig. 2, the video capturing method in the present embodiment includes the following steps S2100 to S2300:
in step S2100, in response to a shooting instruction, a sequence of video segments for generating a video is shot, wherein the sequence of video segments includes at least one video segment.
The video in this embodiment is generated from a sequence of video segments. The video clip sequence comprises at least one video clip, and the video clips in the video clip sequence have sequence. For example, when video clips are stored separately, the sequence number in the video clip sequence is set for each video clip.
In one example, in response to the shooting instruction in step S2100, shooting the sequence of video segments for generating a video further includes the following step S2110:
step S2110, responding to at least one group of shooting instructions, shooting video clips corresponding to the groups of shooting instructions one by one, and obtaining a video clip sequence used for generating videos.
In one example, the set of photographing instructions includes a photographing start instruction and a photographing stop instruction. The terminal apparatus 1200 starts video shooting in response to the shooting start instruction until the shooting stop instruction is obtained, thereby obtaining a video segment between the shooting start instruction and the corresponding shooting stop instruction.
In one example, the shooting start instruction may be to press a shooting control provided by the shooting interface, and the corresponding shooting stop instruction may be to release the shooting control.
In one example, the photographing start instruction may be to be released after pressing the photographing control, and the corresponding photographing stop instruction may be to press the photographing control again and release.
In the case where the shooting instruction is a plurality of sets, the terminal apparatus 1200 shoots a plurality of video clips corresponding one-to-one to the plurality of sets of shooting instructions.
In one example, the plurality of video segments form a sequence of video segments in shooting order. On the basis, the user can adjust the sequence of the video clips in the video clip sequence to obtain a new video clip sequence.
Step S2200 detects a trigger event for video editing, which is set for each video segment.
In this embodiment, the user is allowed to perform video editing by operating each video segment in the video sequence, and for this reason, a trigger event for performing video editing may be set for each video segment, and the trigger event is detected in step S2200.
In one example, the manner in which the video is edited may include deleting any one of the video segments.
In one example, the manner in which the video is edited may include adjusting the ordering of the video segments in the sequence of video segments.
In one example, the method for editing the video may include adjusting image quality parameters of any video segment, such as adjusting brightness, saturation, contrast, and the like of the video segment.
In one example, the manner of editing the video may include cutting the duration of any one video segment, cutting the screen size of the video segment, and the like.
In this embodiment, a trigger event for video editing may be set for each video segment according to an editing manner of any one or more of the above examples, so as to perform matching processing on the corresponding video segment according to the detected trigger event, thereby implementing video editing. The above matching processing is, for example, deleting the corresponding video segment, or adjusting the ordering of the corresponding video segment, and the like, and is not limited herein.
In this embodiment, one trigger event or multiple trigger events may be set according to the provided editing mode, where each trigger event corresponds to one editing mode, for example, the first trigger event corresponds to deleting a corresponding video segment, and the second trigger event corresponds to adjusting the sequence of the corresponding video segment in the video segment sequence, which is not limited herein.
And step S2300, updating the video clip sequence according to the detected trigger event until the video is generated.
And under the condition that the trigger event is detected, correspondingly updating the video clip sequence according to different trigger events.
For example, a specified video segment is deleted based on a detected trigger event to delete a particular video segment. As another example, the brightness of a given video segment is adjusted based on a detected trigger event that adjusts the brightness of a particular video segment.
In this embodiment, before generating a video from a video clip sequence, a user can edit the video clip sequence.
The video shooting method in the embodiment generates the video by shooting the video clip sequence, and can edit the video by operating each video clip in the video clip sequence, thereby greatly improving the flexibility of video shooting and the convenience of video adjustment, and facilitating a user to obtain the video which meets the expectation.
In one embodiment, the video capturing method of the present invention further includes the following step S2400:
step S2400, in response to the video generation instruction, generates a video according to the latest video segment sequence.
In one example, a user may input a video generation instruction to the terminal apparatus 1200 after shooting a sequence of video clips and editing. The terminal apparatus 1200 generates a video from the latest video clip sequence in response to the video generation instruction.
In one example, a user may take multiple cycles of capturing a sequence of video segments and editing the sequence of video segments during the capture of a video until a video can be generated based on the current latest sequence of video segments.
In one example, the video generation instruction may be an issuance instruction triggered by an issuance control, and the terminal apparatus 1200 generates a video from the latest video clip sequence in response to the issuance instruction, and issues the generated video through a network.
In one example, the video generation instruction may be a save instruction triggered by a save control, and the terminal device 1200 generates a video according to the latest video clip sequence in response to the save instruction, and saves the generated video locally.
In one example, the step S2400 of generating a video according to the latest video segment sequence may further include the following step S2410:
step S2410, splicing the video segments in the latest video segment sequence together according to respective sequence to obtain a video.
In this example, the latest video segment sequence refers to: the latest video segment sequence at the time of receiving the video generation instruction.
In one example, the terminal device 1200 sequentially concatenates the video segments in the latest video sequence according to the current order, and generates the final video.
In order to enable a user to edit a video by operating each video clip, an embodiment of the present invention may include: and respectively setting a triggering event for video editing aiming at each video clip.
For example, the video shooting method in the present embodiment further includes: and respectively setting a first trigger event for deleting the corresponding video clip aiming at each video clip. In this way, after the user completes the deletion operation according to the definition of the first trigger event, the operated video clip can be deleted in the video clip sequence.
For another example, the video shooting method of the present embodiment further includes: and respectively setting a second trigger event for adjusting the sequence of the corresponding video clips in the video clip sequence aiming at each video clip. Therefore, after the user finishes the operation of adjusting the sequence according to the definition of the second trigger event, the sequence of the operated video segments in the video segment sequence can be adjusted, and the sequence of other video segments in the video segment sequence can be further adaptively adjusted.
In this example, the trigger event for video editing of the video clip may be preset. The trigger event may be a default of software in the terminal device 1200 or may be user-defined.
In one example, the first trigger event may be set to be a click operation on a specific button. For example, a cross-selection control is provided on an icon of a video clip to set the first triggering event to be a click of the cross-selection control. For another example, the first trigger event may be set to perform a double-click operation on an icon of the video clip.
In one example, the second trigger event may be set to be a drag operation on an icon of the video segment, or the like.
In one embodiment, the video capture method of the present invention further includes the following step S2600:
step S2600, detecting the total duration of the current video segment sequence; and stopping the video shooting under the condition that the total time length reaches the preset time length.
In one example, there is a limit to the total duration of the video clip sequence, for example, the total duration does not exceed 30 seconds.
In one example, the terminal apparatus 1200 starts video shooting in response to a shooting start instruction until a shooting stop instruction is acquired. In the shooting process, whether the total duration of the current video clip sequence reaches a preset duration is detected. And under the condition that the total duration of the current video clip sequence reaches the preset duration, automatically stopping shooting of the current video clip without acquiring a shooting stop instruction.
In one embodiment, the video photographing method of the present invention further includes the following step S2700:
step S2700, before generating the video, providing a display window, wherein each video clip in the current video clip sequence is displayed in the display window; the triggering event comprises an operation on a display icon of the video clip in the presentation window.
In one example, the presentation window is provided in a region of the photographic interface.
In one example, the display window may be in the form of a pop-up window, or may be a floating window stacked on the shooting interface, or may directly use a certain area of the shooting interface as the display window.
In one example, the presentation window presents preview images, duration, etc. information for each video segment in the current sequence of video segments.
In one example, the ordering of the video segments in the sequence of video segments is represented by the position of their display icons in the presentation window. The ordering of the video segments is adjusted by adjusting the position of the displayed icons.
In one example, the step S2700 of providing the presentation window further includes the steps S2710-S2720 of:
in step S2710, an expansion entry is provided in the shooting interface where the video clip sequence is shot.
Step S2720, responding to a display operation triggered by the unfolding entrance, and providing a display window.
In one example, the expansion entrance is provided in the form of an expansion button arranged on the shooting interface, the user triggers the display operation by clicking the expansion button, and the terminal device provides the display window in response to the display operation. Therefore, the user can conveniently unfold the display window as required.
The step of providing the deployment entry in S2710 includes the following steps S2711 to S2712:
in step S2711, after the shooting of each video clip is completed, an expansion entry is provided.
In step S2712, the expansion entry is hidden during shooting of each video clip.
In one example, the end device 1200 starts video shooting in response to a shooting start instruction until a shooting stop instruction is acquired. During shooting of the video clip, namely in the case that a shooting start instruction is acquired and a shooting stop instruction is not acquired, the unfolding entrance is hidden so as not to interfere with shooting of a user. After the video is shot, namely under the condition that the shooting stop instruction is obtained, an expansion entrance is provided, so that a user can edit the video clip conveniently.
The video shooting method in this example further includes the following steps S2730-S2740:
step S2730, a stowing entrance for stowing the display window is provided.
Step S2740, hiding the display window in response to a stow operation triggered via the stow entry.
In one example, the stow entry is provided by way of a stow button provided at the capture interface. The user can trigger the retraction operation by clicking the retraction button, and the terminal equipment hides the display window in response to the retraction operation. Therefore, the user can conveniently hide the display window under the condition that the video is not required to be edited, and the interference of the display window to the shooting of the user is avoided.
The video shooting method in this example further includes the following steps S2750-S2760:
step S2750, in response to the display operation triggered via the expansion entry, further hiding a shooting control for triggering a shooting instruction;
step S2760, in response to a stow operation triggered via the stow entry, also provides a shooting control.
In one example, in response to a show operation triggered via the expand portal, a show window is provided while a capture control for triggering a capture instruction is also hidden. In response to a stow operation triggered via the stow entry, a capture control is also provided while hiding the presentation window.
Generally, the user's shooting of the video and editing of the video are not performed simultaneously. The shooting control and the display window are selected and provided according to the using state of the user, so that the shooting interface is simple and easy to use.
In one embodiment, the video capture method of the present invention further includes the following steps S2800-S2900:
step S2800, providing a progress bar showing a shooting progress of the video at a shooting interface where the sequence of video clips is shot, wherein the progress bar has a separation indication between adjacent video clips;
in step S2900, the progress bar is updated synchronously in response to the operation of updating the video clip sequence.
In one example, the progress of shooting of the video is represented by a progress bar. The progress bar is provided with separation prompts between adjacent video clips, so that the progress bar is divided into sub-progress bars corresponding to the video clips one by one, and the duration of the corresponding video clip is represented by the length of each sub-progress bar.
When the video segment sequence is updated, for example, a new video segment is shot, or the video segment sequence is edited, the progress bar is also updated synchronously.
In one example, there is a limit to the total duration of a sequence of video segments. In this case, the maximum length of the progress bar represents the maximum allowable total duration of the video clip sequence.
By providing the progress bar on the shooting interface, a user can conveniently know the shooting progress.
< example >
The following describes a process implemented by the video shooting method according to an embodiment of the present invention with a specific example.
The video shooting method in this example is implemented by the terminal apparatus 1200 shown in fig. 1.
Fig. 3 to 8 are schematic views of first to sixth states of a photographing interface during video photographing according to an embodiment of the present invention. The video shooting process in this example will be described below in conjunction with the state of the shooting interface.
Fig. 3 is a schematic diagram of a first state of the shooting interface. At this time, the user captures a sequence of video clips for generating a video through the terminal apparatus 1200. The lower part of the shooting interface is provided with a shooting control which can be a shooting button. The user can input a photographing instruction through the photographing button member.
In this example, the user takes a video clip by long-pressing the take button. When the user presses a shooting button, the terminal apparatus 1200 acquires a shooting start instruction and starts video shooting in response to the instruction. When the user keeps the pressed state of the shooting button, the video shooting is continuously performed. When the user releases the shooting button, the terminal apparatus 1200 acquires a shooting stop instruction and stops shooting in response to the instruction. Thus, the user inputs a set of corresponding shooting start instruction and shooting stop instruction to the terminal apparatus 1200 by a long-press operation of the shooting button once, so that a video clip can be shot.
In other examples, the user may input a set of shooting instructions by clicking the shooting button a first time to trigger a shooting start instruction and clicking the shooting button a second time to trigger a shooting stop instruction.
In this example, the terminal apparatus 1200 provides a progress bar on the upper part of the shooting interface. The progress bar is used to indicate the progress of video capture. For example, in the shooting state shown in fig. 3, the user is shooting the first video segment, and the progress bar at this time may reflect the duration of the currently shot video segment.
In this example, there is a limit to the total duration of the video clip sequence. The maximum length of the progress bar represents the maximum total length of time that the sequence of video segments is allowed to be shot.
Fig. 4 is a schematic diagram of a second state of the shooting interface. At this time, the user has shot a plurality of video clips by long-pressing the shooting button a plurality of times. Specifically, the video clip sequence at this time includes 4 video clips.
As shown in fig. 4, the progress bar above the shooting interface at this time is divided into 4 sub-progress bars according to the divided indication. The 4 sub-progress bars correspond to 4 video clips photographed successively in order from left to right. The length of each sub-progress bar represents the duration of the corresponding video clip.
As shown in fig. 4, when the terminal device 1200 is in a non-shooting state, an expansion button is provided as an expansion entry at the upper right portion of the shooting interface, and a user can trigger a presentation operation by clicking the expansion button, and the terminal device 1200 provides a presentation window to the user in response to the presentation operation.
Note that the terminal apparatus 1200 in fig. 3 is in a shooting state, and the expansion button is hidden.
After the user triggers the display operation, the shooting interface changes to the third state as shown in fig. 5.
As shown in fig. 5, a presentation window is now provided in the upper portion of the shooting interface. Display icons corresponding to the 4 video segments are included in the presentation window. Each display icon displays a preview (not shown) and a time length of a corresponding video clip, for example, the time lengths of the video clips corresponding to the 4 display icons from left to right in fig. 5 are 16 seconds, 4 seconds, 8 seconds, and 10 seconds in this order.
Further, the position of each display icon represents the ordering of the corresponding video segments in the sequence of video segments, e.g., the order of the display icons from left to right represents the front to back order of the corresponding video segments in the sequence.
By operating the display icon, a trigger event for video editing can be triggered, and further the update of the video clip sequence is realized.
For example, the top right corner of each display icon in FIG. 5 is provided with a cross-selection control. The user may trigger a first trigger event by clicking on the cross-selection control. The terminal device 1200 deletes the video segment corresponding to the display icon from the video segment sequence in response to the first trigger event.
For another example, as shown in FIG. 6, the user triggers a second trigger event by dragging the fourth displayed icon and swapping it with the third displayed icon. The terminal device 1200 switches the order of the video segments corresponding to the two display icons in the video segment sequence in response to the second trigger event. For example, the operation of the user to exchange the order of the third video clip and the fourth video clip is represented by hand symbols in fig. 6.
It should be noted that, after the user clicks the expansion button, the terminal device 1200 hides the shooting button while providing the display window. For example, in fig. 5 and 6, the shooting button below the shooting interface has been hidden. Because the shooting and editing of the video are usually not performed simultaneously, the number of buttons displayed in the shooting interface can be reduced, and the shooting interface is simpler.
It should be noted that, after the display operation is triggered by the expansion button, the expansion button itself is also hidden.
As shown in fig. 5 to 7, a stowing button as a stowing inlet is further provided below the display window. As shown in fig. 7, the user may trigger the stowing operation by clicking the stowing button, and the terminal device 1200 hides the display window in response to the stowing operation, and displays the hidden shooting button. At this time, the shooting interface changes to the state shown in fig. 8.
Note that, after the stow operation is triggered by the stow button, the stow button itself is also hidden.
In fig. 8, since the user exchanges the order of the third video clip and the fourth video clip, correspondingly, the positions of the third sub progress bar and the fourth sub progress bar are also exchanged, i.e., the terminal device 1200 synchronously updates the progress bars in response to the user's operation of updating the sequence of the video clips. Similarly, if a user deletes a certain video segment, the sub-progress bar corresponding to the video segment is also deleted.
Based on the state shown in fig. 8, the user can continue to take the video clip within the time limit. In this example, the maximum total duration of the sequence of video segments allowed to be captured is, for example, 60 seconds. Assuming that the user takes the 5 th video clip on the basis of the existing video clip sequence, when the video clip continues to be taken for the 22 nd second, since the total duration of the video clip sequence reaches 60 seconds at this time, even if the user does not trigger the shooting stop instruction, the terminal apparatus 1200 automatically stops shooting because the total duration reaches the limit condition.
In this example, as shown in fig. 4 and 8, in the case where a video clip sequence has been shot, the terminal apparatus 1200 is provided with a video generation button on the right side of the shooting button. The video generation button may be a save button. The user triggers a video generation instruction by clicking the save button, and the terminal apparatus 1200 generates a video from the latest video clip sequence in response to the video generation instruction and saves the generated video locally. For example, the terminal device 1200 splices the video segments in the latest video segment sequence together in the front-back order as represented by the display icon, resulting in the final video.
In this example, after the terminal apparatus 1200 provides the video generation button, the video generation button is displayed or hidden along with the video shooting button.
After the terminal device 1200 generates a video according to the video clip sequence and stores the video locally, the shooting interface thereof can return to the initial state again, which is convenient for the user to shoot the next video.
< hardware embodiment >
The present embodiment provides an electronic device, including:
a memory for storing executable commands;
a processor for performing a video capture method as any of the embodiments of the present invention.
Specifically, the embodiment of the video shooting method can be used to explain the electronic device in the embodiment, and details in the embodiment of the electronic device are not repeated.
In one example, the electronic device may be terminal device 1200 of fig. 1.
In further embodiments, the electronic device may further include a video camera 3000 as shown in fig. 9.
As shown in fig. 9, the video photographing apparatus 3000 may include a photographing module 3100, a detection module 3200, and a composition module 3300.
The shooting module 3100 is configured to shoot a sequence of video segments for generating a video in response to a shooting instruction, wherein the sequence of video segments includes at least one video segment.
The detection module 3200 is configured to detect a trigger event for video editing, which is set for each video segment.
The composition module 3300 is configured to update the sequence of video segments according to the detected trigger event until the video is generated.
In one embodiment, the capture module 3100 may be configured to: and responding to at least one group of shooting instructions, shooting video segments corresponding to the groups of shooting instructions one by one, and obtaining a video segment sequence used for generating the video.
In one embodiment, the detection module 3200 may be configured to: the total duration of the current video segment sequence is detected. The capture module 3100 may be configured to: and stopping the video shooting under the condition that the total time length reaches the preset time length.
In one embodiment, the synthesis module 3300 may be used to: and responding to the video generation instruction, and generating the video according to the latest video segment sequence.
In one embodiment, the synthesis module 3300 may be used to: and splicing the video clips in the latest video clip sequence according to respective sequence to obtain the video.
In one embodiment, the synthesis module 3300 may be used to: setting a first trigger event for deleting a corresponding video clip aiming at each video clip; and/or setting a second trigger event for adjusting the sequencing of the corresponding video clip in the video clip sequence for each video clip respectively.
In one embodiment, the camera 3000 may further include a display module (not shown), which is configured to: before generating the video, providing a display window, wherein the display window displays each video clip in the current video clip sequence; the triggering event comprises an operation on a display icon of the video clip in the presentation window.
In one example, the display module may be further configured to: providing an unfolding inlet on a shooting interface for shooting a video clip sequence; a presentation window is provided in response to a presentation operation triggered via the deployment entry.
In one example, the display module may be further configured to: after the shooting of each video clip is completed, providing an unfolding entrance; during the capture of each video segment, the expansion entry is hidden.
In one example, the display module may be further configured to: providing a stow entry for stowing the display window; the display window is hidden in response to a stow operation triggered via the stow entry.
In one example, the display module may be further configured to: in response to a show operation triggered through the expansion entrance, further hiding a shooting control used for triggering a shooting instruction; a capture control is also provided in response to a stow operation triggered via the stow entry.
In one example, the display module may be further configured to: providing a progress bar for displaying the shooting progress of the video at a shooting interface for shooting a video clip sequence, wherein the progress bar has a separation indication between adjacent video clips; the progress bar is updated synchronously in response to an operation to update the sequence of video segments.
For each embodiment, unless otherwise specified, all the constituent modules of the photographing apparatus 3000 may be located in one physically independent device or may be located in a plurality of physically independent devices, and are not limited herein.
In another embodiment, a computer storage medium is provided that stores executable instructions that, when executed by a processor, perform a video capture method as any embodiment of the present invention.
Specifically, the foregoing embodiments of the video shooting method can be used to explain the computer storage medium in the embodiments, and details are not repeated in the embodiments of the computer storage medium.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (12)

1. A video capture method, comprising:
shooting a video segment sequence used for generating the video in response to a shooting instruction triggered by a shooting control provided by a shooting interface, wherein the video segment sequence comprises at least one video segment;
after the shooting of each video clip is finished, providing an expansion entrance on the shooting interface;
in response to a showing operation triggered by the expansion entrance, providing a showing window showing each video clip in the video clip sequence on the shooting interface, and hiding the shooting control;
under the condition that a display window is provided, a retraction entrance for retracting the display window is provided on the shooting interface;
hiding the display window in the shooting interface and providing the shooting control in response to a retracting operation triggered by the retracting entrance; detecting a trigger event for video editing, which is set for each video clip displayed in the display window respectively;
and updating the video segment sequence according to the detected trigger event until the video is generated.
2. The method of claim 1, wherein the method further comprises:
providing a progress bar displaying a shooting progress of the video at a shooting interface for shooting the video clip sequence, wherein the progress bar has a separation indication between adjacent video clips;
synchronously updating the progress bar in response to an operation of updating the sequence of video segments.
3. The method of claim 1, wherein the method further comprises:
hiding the expansion entry at the capture interface during capturing each of the video segments.
4. The method of claim 1, wherein the method further comprises:
and responding to a video generation instruction, and generating the video according to the latest video segment sequence.
5. The method of claim 4, wherein the generating the video from the latest sequence of video segments comprises:
splicing the video clips in the latest video clip sequence according to respective sequence to obtain the video.
6. The method of claim 1, wherein the method further comprises:
setting a first trigger event for deleting the corresponding video clip aiming at each video clip; and/or the presence of a gas in the gas,
and respectively setting a second trigger event for adjusting the sequence of the corresponding video clips in the video clip sequence aiming at each video clip.
7. The method of claim 1, wherein said filming a sequence of video segments used to generate the video in response to a filming instruction comprises:
and responding to at least one group of shooting instructions, shooting video segments corresponding to the groups of shooting instructions one by one, and obtaining a video segment sequence used for generating the video.
8. The method of claim 1, wherein the method further comprises:
detecting the total duration of the current video clip sequence;
and stopping the shooting of the video under the condition that the total duration reaches a preset duration.
9. The method of any one of claims 1 to 8,
the trigger event comprises an operation on a display icon of the video clip in the display window.
10. A video camera, comprising:
the shooting module is used for responding to a shooting instruction triggered by a shooting control provided by a shooting interface, and shooting a video clip sequence used for generating the video, wherein the video clip sequence comprises at least one video clip;
the display module is used for providing an expansion entrance on the shooting interface after the shooting of each video clip is finished; in response to a display operation triggered by the expansion entrance, providing a display window for displaying each video clip in the video clip sequence on the shooting interface, and hiding a shooting control for triggering the shooting instruction; under the condition that a display window is provided, a retraction entrance for retracting the display window is provided on the shooting interface; and in response to a stow operation triggered via the stow entry, hiding the presentation window at the capture interface and providing the capture control;
the detection module is used for detecting a trigger event for video editing, which is set for each video clip displayed in the display window; and the number of the first and second groups,
and the synthesis module is used for updating the video segment sequence according to the detected trigger event until the video is generated.
11. An electronic device comprising the video camera of claim 10; alternatively, the electronic device includes:
a memory for storing executable instructions;
a processor for performing the method of any one of claims 1 to 9 under the control of the executable instructions.
12. A computer storage medium storing executable instructions that, when executed by a processor, perform the method of any of claims 1-9.
CN201910054386.7A 2019-01-21 2019-01-21 Video shooting method and device, electronic equipment and computer storage medium Active CN111464735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910054386.7A CN111464735B (en) 2019-01-21 2019-01-21 Video shooting method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910054386.7A CN111464735B (en) 2019-01-21 2019-01-21 Video shooting method and device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN111464735A CN111464735A (en) 2020-07-28
CN111464735B true CN111464735B (en) 2021-10-08

Family

ID=71680647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910054386.7A Active CN111464735B (en) 2019-01-21 2019-01-21 Video shooting method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111464735B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055730B (en) * 2021-02-07 2023-08-18 深圳市欢太科技有限公司 Video generation method, device, electronic equipment and storage medium
CN114025087A (en) * 2021-10-29 2022-02-08 北京字跳网络技术有限公司 Video shooting method, device, storage medium and program product
CN115278051B (en) * 2022-06-20 2024-08-13 北京字跳网络技术有限公司 Method, apparatus, device and storage medium for content shooting

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101710522B1 (en) * 2015-11-27 2017-02-27 주식회사 아이티엑스엠투엠 Monitored video processing apparatus for minimizing control load
CN108024083A (en) * 2017-11-28 2018-05-11 北京川上科技有限公司 Handle method, apparatus, electronic equipment and the computer-readable recording medium of video
CN108156407A (en) * 2017-12-13 2018-06-12 深圳市金立通信设备有限公司 A kind of video clipping method and terminal
CN108965706B (en) * 2018-07-19 2020-07-07 北京微播视界科技有限公司 Video shooting method and device, terminal equipment and storage medium
CN108616696B (en) * 2018-07-19 2020-04-14 北京微播视界科技有限公司 Video shooting method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN111464735A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
JP7138201B2 (en) Video shooting method, device, terminal device and storage medium
US9055210B2 (en) Device for detecting a camera obstruction
CN111464735B (en) Video shooting method and device, electronic equipment and computer storage medium
CN105892868B (en) Screenshotss method and apparatus
CN107729522B (en) Multimedia resource fragment intercepting method and device
EP4131935A1 (en) Video processing method and apparatus, and electronic device, and non-transitory computer readable storage medium
US20160156837A1 (en) Alternative camera function control
US20200007944A1 (en) Method and apparatus for displaying interactive attributes during multimedia playback
WO2022161268A1 (en) Video photographing method and apparatus
WO2016106997A1 (en) Screen capture method and device, and mobile terminal
CN112653920B (en) Video processing method, device, equipment and storage medium
CN110891191B (en) Material selection method, device and storage medium
EP3147802A1 (en) Method and apparatus for processing information
CN112822388B (en) Shooting mode triggering method, device, equipment and storage medium
EP3525446A1 (en) Photographing method and terminal
CN107678640A (en) A kind of long screenshotss method, apparatus, mobile terminal and computer-readable recording medium
CN111523346A (en) Image recognition method and device, electronic equipment and storage medium
CN110781349A (en) Method, equipment, client device and electronic equipment for generating short video
WO2019006768A1 (en) Parking space occupation method and device based on unmanned aerial vehicle
CN114691115A (en) Business process system generation method and device, electronic equipment and storage medium
CN104850643B (en) Picture comparison method and device
CN109936756A (en) The determination method and device of video cover
CN114282022A (en) Multimedia editing method and device, electronic equipment and storage medium
CN109756783B (en) Poster generation method and device
CN106897967A (en) Background image generation method and device

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