WO2020015333A1 - 视频拍摄方法、装置、终端设备及存储介质 - Google Patents

视频拍摄方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2020015333A1
WO2020015333A1 PCT/CN2018/124756 CN2018124756W WO2020015333A1 WO 2020015333 A1 WO2020015333 A1 WO 2020015333A1 CN 2018124756 W CN2018124756 W CN 2018124756W WO 2020015333 A1 WO2020015333 A1 WO 2020015333A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
shooting
instruction
target
control
Prior art date
Application number
PCT/CN2018/124756
Other languages
English (en)
French (fr)
Inventor
郝一鹏
Original Assignee
北京微播视界科技有限公司
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 北京微播视界科技有限公司 filed Critical 北京微播视界科技有限公司
Priority to GB2100218.3A priority Critical patent/GB2590204B/en
Priority to JP2020572831A priority patent/JP7138201B2/ja
Publication of WO2020015333A1 publication Critical patent/WO2020015333A1/zh
Priority to US17/020,104 priority patent/US20210006715A1/en
Priority to US17/249,709 priority patent/US11611701B2/en

Links

Images

Classifications

    • 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
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • 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/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Definitions

  • Embodiments of the present disclosure relate to the field of communications technologies, and for example, to a video shooting method, device, terminal device, and storage medium.
  • terminal equipment such as mobile phones and tablet computers have become an indispensable part of people's work and, with the increasing popularity of terminal equipment, terminal equipment provides The video shooting function also brings great convenience to users.
  • terminal devices are used for video shooting.
  • the video obtained from one shot is a complete video. If you want to stitch or edit multiple shots of video, you need to use special video processing software to process it. All videos are at normal speed. If you want to speed up or slow down, you need to post-process the normal speed video, for example, also use special video processing software.
  • Embodiments of the present disclosure provide a video shooting method, device, terminal device, and storage medium to improve the flexibility of users in shooting and processing video, and improve the user experience.
  • an embodiment of the present disclosure provides a video shooting method.
  • the method includes:
  • the video shooting mode instruction includes a shooting speed, and a shooting speed of different video shooting modes is different;
  • a target video is generated according to an existing video segment.
  • an embodiment of the present disclosure further provides a video shooting method.
  • the method includes:
  • a jump is made from the target interface to the video storage interface, and the result of synthesizing the existing video clips to obtain the target video is displayed on the video storage interface.
  • an embodiment of the present disclosure further provides a video shooting device, and the device includes:
  • the video shooting mode instruction acquisition module is configured to obtain a video shooting mode instruction, where the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different;
  • the video segment generation module is configured to, when the video shooting instruction is obtained, perform video shooting on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and then obtain between the video shooting instruction and the video shooting pause instruction Video clips;
  • the video generation instruction determination module is configured to determine whether a video generation instruction is obtained
  • the video generation instruction obtaining module is configured to, if the video generation instruction is not obtained, repeatedly obtain the video shooting mode instruction, the video shooting instruction, and the video shooting pause instruction to obtain corresponding video fragments until the video is obtained. Until the instruction is generated;
  • the target video generation module is configured to generate a target video based on an existing video segment based on the video generation instruction.
  • an embodiment of the present disclosure further provides a video shooting device, and the device includes:
  • the selection and trigger operation detection module is configured to detect a user's selection operation of a video shooting mode control on a target interface and a trigger operation of a video shooting control;
  • the video clip storage module is configured to display the captured target scene on the target interface until the release operation of the video shooting control is detected, to obtain a video clip corresponding to the video shooting mode selected by the user and display the video clip on the target interface. Displaying the video shooting mode control and the video shooting control;
  • a next control trigger judgment module configured to determine whether a user's trigger operation on the next control on the target interface is detected
  • the next control trigger detection module is configured to, if the user's trigger operation on the next control on the target interface is not detected, when the selection operation of the video shooting mode control and the trigger of the video shooting control are repeatedly detected Corresponding video clips are obtained during the operation and the release operation of the video shooting control until a user's trigger operation on the next control on the target interface is detected;
  • the target video generation module is configured to jump from the target interface to a video storage interface according to the trigger operation of the next control, and display on the video storage interface a result of synthesizing existing video clips to obtain the target video.
  • an embodiment of the present disclosure further provides a terminal device.
  • the terminal device includes:
  • One or more processors are One or more processors;
  • Memory set to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a method provided by any embodiment of the present disclosure.
  • the embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored on which a computer program is stored.
  • FIG. 1 is a flowchart of a video shooting method in an embodiment of the present disclosure
  • FIG. 2 is a flowchart of another video shooting method according to an embodiment of the present disclosure.
  • FIG. 3 is a flowchart of still another video shooting method in the embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an initial target interface according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another initial target interface according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of still another initial target interface according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a special effect selection interface according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another special effect selection interface according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of still another special effect selection interface according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of still another special effect selection interface according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of still another special effect selection interface according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a shooting interface according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of another shooting interface according to an embodiment of the present disclosure.
  • 15 is a schematic structural diagram of a deletion interface according to an embodiment of the present disclosure.
  • 16 is a schematic structural diagram of another deletion interface according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of still another shooting interface according to an embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of a target interface according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of another target interface according to an embodiment of the present disclosure.
  • FIG. 20 is a schematic structural diagram of a video storage interface according to an embodiment of the present disclosure.
  • 21 is a schematic structural diagram of another video editing interface according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic structural diagram of another video editing interface in the embodiment of the present disclosure.
  • FIG. 23 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • FIG. 24 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • 25 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • 26 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • FIG. 27 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • FIG. 28 is a schematic structural diagram of still another video editing interface according to an embodiment of the present disclosure.
  • 29 is a schematic structural diagram of still another target interface in the embodiment of the present disclosure.
  • FIG. 30 is a schematic structural diagram of a video storage mode interface according to an embodiment of the present disclosure.
  • FIG. 31 is a schematic structural diagram of a user homepage interface in an embodiment of the present disclosure.
  • FIG. 32 is a schematic structural diagram of a video playback interface according to an embodiment of the present disclosure.
  • FIG. 34 is a schematic structural diagram of a video storage interface according to an embodiment of the present disclosure.
  • FIG. 35 is a schematic structural diagram of a video shooting device in an embodiment of the present disclosure.
  • FIG. 36 is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure.
  • FIG. 37 is a schematic structural diagram of a terminal device in an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a video shooting method according to an embodiment of the present disclosure. This embodiment is applicable to a situation that reduces the difficulty of video processing.
  • the method may be performed by a video shooting device, and the device may use software and / or hardware.
  • the device can be implemented in a terminal device, such as a mobile phone and / or a tablet computer. As shown in FIG. 1, the method includes steps 110 to 160.
  • a video shooting mode instruction is acquired.
  • the video shooting mode instruction includes a shooting speed, and shooting speeds of different shooting modes are different.
  • a complete video may be synthesized from multiple video clips. Because each video clip may capture different target scenes, it may also be that the target scenes are the same, but the timing Showing change. In an embodiment, in order to present a better shooting effect, it may be necessary to set a corresponding shooting speed for each video clip, so that the finally synthesized video can present a better shooting effect.
  • a video shooting mode instruction is acquired before shooting a target scene. The video shooting mode instruction may be used to determine a corresponding shooting speed. In an embodiment, the video shooting mode instruction may include a shooting speed, and the shooting speed corresponding to different video shooting modes is different. The shooting speed may refer to the number of video frames captured in a unit time.
  • the video shooting mode instruction may include a normal shooting speed, a fast shooting speed, and a slow shooting shooting speed, wherein the fast shooting may further include a 2 ⁇ fast shooting, a 3 ⁇ fast shooting or a 4 ⁇ fast shooting, etc.
  • the lens can include 1/2 slow motion, 1/3 slow motion, or 1/4 slow motion.
  • the playback speed of the video clips obtained under the instruction of different video shooting modes is the same.
  • the playback duration of the video clips captured in a unit time is different.
  • the double speed is an integer greater than 1, the number of video frames captured relative to the normal shooting speed in unit time is small, which is a fast lens shooting speed; if the double speed is a fraction less than 1, the relative shooting speed is shot in unit time
  • the number of video frames is large, which belongs to the slow-motion shooting speed.
  • the normal shooting speed is 60 frames / s, so the 2 times fast lens shooting speed is 30 frames / s, and the 1/2 slow lens shooting speed is 120 frames / s.
  • the playback duration of a video clip captured in a unit time is: the playback duration of a video clip captured at a normal shooting speed is 1 s, and the playback duration of a video clip captured at a 2 times faster lens shooting speed is 0.5 s. , The playback time of a video clip shot at 1/2 slow-motion shooting speed is 2s.
  • the shooting speeds of different video shooting modes are different, so the performance requirements of the hardware devices that perform shooting, including but not limited to cameras or cameras, are higher.
  • the hardware devices that perform shooting support multiple Shooting speed.
  • Step 120 Determine whether the video shooting instruction is obtained; if yes, go to step 130; if no, continue to step 120.
  • Step 130 Perform video shooting on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and then obtain a video clip between the video shooting mode instruction and the video shooting pause instruction.
  • the video shooting instruction may be used to start a current shooting process. If a video shooting instruction is obtained, it indicates that the current shooting process is started, and the target scene can be video captured according to the shooting speed until the video shooting pause instruction is obtained, and then the current shooting process can be ended to obtain a video shooting instruction and a video shooting pause instruction.
  • Video clip The target scene may refer to the object that the user desires to shoot and the surrounding environment.
  • the video shooting pause instruction can be used to end the shooting of the current video clip.
  • Step 140 Determine whether a video generation instruction is obtained; if yes, go to step 160; if no, go to step 150.
  • Step 150 Repeatedly acquire a video shooting mode instruction, a video shooting instruction, and a video shooting pause instruction to obtain corresponding video clips, and then return to step 140.
  • Step 160 Based on the video generation instruction, generate a target video according to an existing video segment.
  • the video generation instruction may be used to synthesize an existing video segment to obtain a target video. That is, if the video generation instruction is obtained, it means that the current entire video shooting process can be ended without performing the next video segment. You can generate a target video based on an existing video clip; if you do not get a video generation instruction, it means that the current video shooting process is not over. To shoot the next video clip, you need to repeatedly obtain the video shooting mode instruction, The video shooting instruction and the video shooting pause instruction obtain corresponding video fragments until a video generation instruction is obtained, and then generate a target video based on the existing video fragments, that is, each time step 150 is performed, a corresponding video fragment can be obtained.
  • the corresponding shooting speeds of the obtained multiple video clips may be the same or different. If the set video shooting mode commands are the same, different video clips correspond to The shooting speed is the same; if the set video shooting mode command is different, the shooting speed corresponding to different video clips is different.
  • the target scene corresponding to each video clip may be the same or different, and may be determined according to actual conditions, which is not specifically limited herein.
  • the number of existing video clips may be one or at least two, and the number of video clips is related to the acquisition timing of the video generation instruction. That is, if the first video clip is obtained, the video is obtained.
  • the generation instruction indicates that the current entire video shooting process can be ended, and a target video is generated based on an existing video clip.
  • the number of video clips is one. If no video generation instruction is obtained after the first video segment is obtained, it indicates that the current video shooting process is not over and the next video segment is to be shot. At this time, the number of video segments is at least two. Exemplarily, three video clips are obtained, and the target scenes corresponding to the three video clips are the same, and they are all in the same corner of a classroom. The three video clips are video clip 1, video clip 2 and video clip 3.
  • the video shooting mode command obtained when shooting video clip 1 is the normal shooting shooting speed
  • the video shooting mode command obtained when shooting video clip 2 is 2 Faster camera shooting speed
  • the video shooting mode command obtained when shooting video clip 3 is 1/2 slow camera shooting speed.
  • the target video may be obtained by splicing and synthesizing existing video clips according to the generated sequence.
  • the three video clips described above, video clip 1, video clip 2, and video clip 3 are generated in chronological order. If video clip 3 is obtained and a video generation instruction is obtained, it means that the current entire video clip can be ended.
  • the existing video fragment 1, video fragment 2 and video fragment 3 are synthesized to obtain a target video.
  • the video shooting mode instruction and video shooting instruction mentioned above may be generated by a user triggering or selecting a corresponding control on the shooting interface of the terminal; the video shooting pause instruction and video generating instruction may be released or triggered by the user by the user
  • the corresponding controls on the shooting interface are generated, and the video shooting pause instruction and video generating instruction can also be generated by detecting that the shooting time length reaches a predetermined shooting time threshold.
  • the predetermined shooting time threshold may be set according to actual conditions, and is not specifically limited herein.
  • a video shooting mode instruction is generated by a user's selection operation on a video shooting mode control
  • a video shooting instruction is generated by a user's trigger operation on a video shooting instruction
  • a video shooting pause instruction is generated by a user's release operation on a video shooting control.
  • Example 1 The video shooting mode instruction, video shooting instruction, video shooting pause instruction, and video generation instruction are generated by the user to trigger, select, or release corresponding controls on the shooting interface of the terminal.
  • the current initial shooting interface displays the video shooting mode controls and video shooting controls.
  • the user triggers the normal shooting speed control according to the actual situation to select the shooting speed as the normal shooting speed and triggers the video shooting control. In this case, the camera starts to target the scene. Perform video shooting until the user releases the video shooting control, then end the shooting of the current video clip to get video clip 1, at the same time, the video shooting mode control and video shooting control will be displayed at the same time on the shooting interface, and the video generation control will also be displayed.
  • the user triggers the fast lens shooting speed control again according to the actual situation to select the shooting speed as the fast lens shooting speed and triggers the video shooting control again.
  • the camera starts video shooting on the target scene again until the user releases the video shooting again.
  • Control end the current video clip shooting to get video clip 2
  • the video shooting mode control and video shooting control will be displayed simultaneously for the third time on the shooting interface, and the video generation control will be displayed for the second time.
  • the user triggers the slow-motion shooting speed control for the third time according to the actual situation to select the slow-motion shooting speed, and triggers the video shooting control for the third time.
  • the camera starts video shooting of the target scene for the third time.
  • the shooting of the current video clip is ended to obtain video clip 3.
  • the video capture mode control and video capture control will be displayed simultaneously for the fourth time on the shooting interface, and the third display video will be generated Control, the user triggers the video generation control, then ends the current entire video shooting and synthesizes the existing video fragment 1, video fragment 2 and video fragment 3 to obtain the target video.
  • Example 2 The video shooting mode instruction and video shooting instruction are generated by the user triggering or selecting the corresponding controls on the shooting interface of the terminal, and the video shooting pause instruction before the shooting time length reaches the predetermined shooting time threshold is not detected by the user by triggering the shooting of the terminal Corresponding controls on the interface are generated, and when it is detected that the shooting time length reaches the predetermined shooting time threshold, the user does not need to release the corresponding controls on the shooting interface of the terminal to generate a video shooting pause instruction, but automatically generates a video shooting pause.
  • the user triggers the corresponding control on the shooting interface of the terminal to generate a video generation instruction, but automatically generates a video generation instruction at the same time.
  • Example 1 The process is the same as Example 1 to obtain video clip 1, video clip 2, and video clip 3, except that when video clip 3 is shot, the sum of the shooting time lengths of video clip 1, video clip 2, and video clip 3 is equal to the predetermined shooting time threshold At this time, video clip 3 can be obtained without ending the current video clip shooting by releasing the video shooting control by the user. At the same time, it is not necessary to end the current video shooting by triggering the video generating control by the user. Video clip 1, video clip 2, and video clip 3 are synthesized to obtain the target video.
  • the triggering of the video shooting control described herein may refer to long-pressing the video shooting control, and when the video shooting control is released, it is determined that the current video clip has been shot.
  • the video shooting mode instruction includes a shooting speed, and the shooting speeds of different video shooting modes are different.
  • a video shooting instruction is obtained, a video shooting is performed on the target scene according to the shooting speed until the video shooting mode instruction is obtained.
  • the video shooting pause instruction obtains the video clip between the video shooting instruction and the video shooting pause instruction, and determines whether a video generation instruction is obtained. If the video shooting instruction is not obtained, the video shooting mode instruction, the video shooting instruction, and the video shooting pause are repeatedly obtained.
  • the instruction obtains the corresponding video clips until the video generation instruction is obtained, and the target video is generated based on the existing video clips.
  • the processing of the fast and / or slow video clips is completed, and the implementation scheme is fast and simple, which improves the user The flexibility to shoot and process video enhances the user experience.
  • the video shooting pause instruction may be triggered by a user, or may be triggered by determining whether a shooting time length reaches a predetermined shooting time threshold.
  • the video shooting pause instruction may be generated by a user trigger, or may be generated by determining whether a shooting time length reaches a predetermined shooting time threshold, wherein the video shooting pause instruction is generated by a user trigger and is applicable to When the shooting time length does not reach the predetermined shooting time threshold, and the video shooting pause instruction is triggered by judging whether the shooting time length reaches the predetermined shooting time threshold, and is generated to be suitable for a situation where the shooting time length reaches the predetermined shooting time threshold.
  • the predetermined shooting time threshold may be 15 seconds, video clip 1 and video clip 2 have been obtained, wherein the shooting length of video clip 1 is 3 seconds and the shooting time of video clip 2 is 8 seconds.
  • the video shooting pause instruction corresponding to video clip 1 is generated by user trigger. Because the shooting time length of shooting video clip 2 is 8 seconds, the sum of the shooting time length of video clip 1 and 11 seconds, and the 15 seconds set by the predetermined shooting time threshold is not reached. Therefore, the video corresponding to video clip 2 is obtained.
  • the shooting pause command is also generated by a user trigger. The next video clip is currently being shot. When the shooting time length of the video clip reaches 4 seconds, the sum of the shooting time length of the video clip and the shooting time length of video clip 1 and video clip 2 is equal to 15 seconds. Since the preset shooting time threshold is set to 15 seconds, the video shooting pause instruction can be automatically generated without the user's trigger, and video clip 3 is obtained accordingly.
  • the video generation instruction may be generated by a user trigger, or may be generated by determining that a shooting time length reaches a predetermined shooting time threshold, wherein the video generation instruction is generated by a user trigger and is applicable to a shooting time length that does not reach a predetermined length.
  • the shooting time threshold, and the video generating instruction is triggered by judging whether the shooting time length reaches the predetermined shooting time threshold to generate a case suitable for the shooting time length reaching the predetermined shooting time threshold.
  • the predetermined shooting time threshold may be 15 seconds, video clip 1 and video clip 2 have been obtained, wherein the shooting length of video clip 1 is 3 seconds and the shooting time of video clip 2 is 8 seconds.
  • a video generation instruction is obtained, and the video generation instruction is generated by being triggered by a user.
  • the sum of the shooting time length of shooting video clip 1 and the shooting time length of shooting video clip 2 is 11 seconds, which does not reach the 15 seconds set by the predetermined shooting time threshold.
  • the next video clip is currently being shot.
  • the shooting time length of the video clip reaches 4 seconds, the sum of the shooting time length of the video clip and the shooting time length of video clip 1 and video clip 2 is equal to 15 seconds.
  • the preset shooting time threshold is set to 15 seconds. Therefore, while the video shooting pause instruction is automatically generated, the video generation instruction is not automatically generated by a user trigger.
  • the video shooting instruction can be generated at the same time as the video shooting pause instruction without the user's trigger.
  • the length of the captured video (or the length of the captured time) may include the length of the captured time of one captured video or the total length of the captured time of multiple captured videos.
  • the video shooting pause instruction is triggered by determining whether the length of time reaches a predetermined shooting time threshold. In one embodiment, it is determined whether the length of a captured video reaches a predetermined shooting time threshold. If the length of the video reaches the predetermined shooting time threshold, the video shooting pause instruction can be triggered without being triggered by the user; if the length of the captured video does not reach the predetermined shooting time threshold, the video shooting pause instruction is triggered by the user.
  • the length (or shooting time length) of the captured video may include the shooting time length of one captured video or the total shooting time length of multiple captured videos.
  • the length when the video has been captured, When the length includes the length of time of a captured video, it indicates that the length of time of the captured video has reached the predetermined shooting time threshold; when the length of the captured video includes the total length of time of multiple captured videos , Indicating that the total length of the shooting time of the multiple captured videos has reached the predetermined shooting time threshold.
  • the predetermined shooting time threshold is 15 seconds
  • the length of the captured video is the length of the video of video segment 1.
  • the video length of video segment 1 is 7 seconds and the video length of video segment 2 is 8 seconds. Since the total length of the videos of Video Clip 1 and Video Clip 2 is 15 seconds, the length of the captured video is the total length of the videos of Video Clip 1 and Video Clip 2.
  • the video generation instruction is triggered by determining whether the shooting time length reaches a predetermined shooting time threshold, which may include: determining whether the length of the captured video reaches the predetermined shooting time threshold, and if it has reached, triggering the video generation instruction, which has been shot.
  • the length (or shooting time length) of the video may include the shooting time length of one shot video or the total shooting time length of multiple shot videos.
  • Case 1 It is determined that the shooting time length has not reached the predetermined shooting time threshold.
  • both the video shooting pause instruction and the video generating instruction can only be generated by a user trigger, that is, the user will not generate the video shooting pause instruction and the video generating instruction unless the user triggers.
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • a video shooting instruction is obtained, video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction is obtained through a user trigger, and a video segment between the video shooting instruction and the video shooting pause instruction is obtained.
  • Video clips until a video generation instruction generated by a user trigger is obtained, the existing video clips are synthesized to obtain a target video.
  • Case 2 It is determined that the shooting time length has reached the predetermined shooting time threshold.
  • the description is based on the target video including only one video segment and the target video including at least two video segments, namely:
  • the target video includes only one video segment, that is, the shooting duration of a video segment obtained by shooting reaches a predetermined shooting time threshold.
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction generated by triggering the shooting time length to reach a predetermined shooting time threshold is obtained, and then the video shooting instruction and the video shooting pause instruction are obtained.
  • the video segment also obtains a video generation instruction that is generated by triggering the shooting and the shooting time length has reached a predetermined shooting time threshold, and synthesizes the existing video segments to obtain the target video.
  • the target video includes at least two video clips, that is, the sum of the shooting time lengths of the obtained multiple video clips reaches a predetermined shooting time threshold.
  • the video shooting pause instruction and video generation instruction corresponding to the last video clip in the multiple video clips. Both are generated when the shooting time length reaches a predetermined shooting time threshold.
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • the video shooting pause instruction generated when the time length reaches the predetermined shooting time threshold If there is no video shooting pause instruction generated by the shooting time length reaching the predetermined shooting time threshold, then the video shooting mode instruction and the video shooting instruction are repeatedly obtained and the user repeatedly generates the user's trigger.
  • the video shooting pause instruction to get the corresponding video clip until the video shooting pause instruction generated by the shooting time length reaches the predetermined shooting time threshold is obtained to obtain the last video clip, and at the same time, the video generated by the shooting time length reaching the predetermined shooting time threshold is obtained
  • the existing video clips are synthesized to obtain the target video.
  • the video shooting pause instruction corresponding to the last video segment is generated by the shooting time length reaching a predetermined shooting time threshold, and the video generating instruction is also generated by the shooting time length reaching the predetermined shooting time threshold.
  • a video shooting instruction when a video shooting instruction is obtained, video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and before a video clip between the video shooting instruction and the video shooting pause instruction is obtained, it may be Including: determining whether to obtain the first special effect instruction.
  • a video shooting instruction when a video shooting instruction is obtained, video shooting is performed on the target scene according to the shooting speed until the video shooting pause instruction is obtained, to obtain a video segment between the video shooting instruction and the video shooting pause instruction, which may include: if the first For a special effect instruction, when a video shooting instruction is obtained, video shooting is performed on the target scene according to the first special effect instruction and the shooting speed until a video shooting pause instruction is obtained, and a video segment between the video shooting instruction and the video shooting pause instruction is obtained.
  • a shooting special effect may be set before video shooting of a target scene.
  • the first special effect instruction may include at least one of a beautification instruction, a prop instruction, or a countdown instruction
  • the beautification instruction may include a filter At least one of a mirror instruction, a microdermabrasion instruction, or a big-eye thin face instruction
  • an item instruction may include a variety of items
  • a filter instruction may include normal, Japanese, age, or innocence. Characterization, such as 0, 1, or 2.
  • the target scene can be video-captured according to the first special effect instruction and the shooting speed, that is, the special effect corresponding to the first special effect instruction is added to the video shooting process, so that a better video shooting effect can be presented.
  • the shooting of the current video clip can be ended to obtain a corresponding video clip.
  • the first special effect instruction includes a beautification instruction and a prop instruction, and it is determined to start the shooting of the video shooting of the target scene according to the obtained video shooting instruction.
  • the current video clip shooting can be ended to obtain a video clip between the video shooting instruction and the video shooting pause instruction.
  • the obtained corresponding video segment includes the effect that can be achieved by the first special effect instruction.
  • the method may further include: determining whether an editing instruction is obtained. If an editing instruction is obtained, the target video is processed according to the editing instruction to obtain a processed target video.
  • the target video may be edited after the target video is generated from the existing video clip.
  • the editing instruction may include at least one of a music cutting instruction, a music selection instruction, or a cover selection instruction.
  • the editing instruction may further include a second special effect instruction and a filter instruction, the second special effect instruction may include a filter special effect instruction or a time special effect instruction, and the filter special effect instruction may include a soul-out trick, an illusion, or a shake, etc.
  • Time special effects instructions can include time passing, flashing, or slow motion.
  • the filter command described here is the same as the filter command in the beautification command described above.
  • the second special effect instruction may include a filter special effect instruction and a time special effect instruction
  • the first special effect instruction may include a beautification instruction, a prop instruction, and a countdown instruction
  • the contents of the two are not the same.
  • the second special effect instruction described here is for the post-editing processing of the synthesized target video. The second special effect instruction can be applied to a specific moment selected in the target video.
  • the target video is processed according to the editing instruction to obtain a processed target video, that is, the target video is subjected to post-editing processing, so that a better video shooting effect can be presented.
  • processing the target video according to the editing instruction to obtain a processed target video may further include: determining whether to obtain a storage mode instruction, and the storage mode instruction includes a draft box instruction or a release instruction . If a storage mode instruction is obtained, the processed target video is stored according to the storage mode instruction.
  • the storage mode instruction may refer to a storage form of the target video, and may include a draft box instruction or a release instruction. If the selected storage mode instruction is a draft box instruction, the target video will be saved to the draft box, and the draft The target video in the box can only be seen by the current user; if the selected storage mode instruction is a release instruction, the target video will be uploaded to the network, so that the target video can also be seen by other users.
  • the processed target video When the processed target video is obtained, it is determined whether a storage mode instruction is obtained. If a storage mode instruction is obtained, the processed target video may be correspondingly stored according to the storage mode instruction.
  • the above implementation enables the user to select a suitable storage form of the target video according to the actual situation.
  • the method may further include: determining whether to obtain a video playback instruction. If a video playback instruction is obtained, the processed target video is played according to the video playback instruction.
  • the processed target video when the processed target video is correspondingly stored according to the storage mode instruction, it can be determined whether a video playback instruction is obtained. If a video playback instruction is obtained, the processed target video can be processed according to the video playback instruction. Play.
  • the target video since the target video is obtained by combining at least one video segment, wherein each video segment corresponds to its own shooting speed during shooting, therefore, the target video can directly present the corresponding shooting during playback.
  • An effect that is, a video clip with a normal shooting speed may be presented in the target video, a video clip with a fast shooting speed may be presented, and a video clip with a slow shooting speed may be presented. That is, the target video may have multiple rendering effects during playback, rather than a single rendering effect.
  • the first special effect instruction may be generated by triggering, selecting, or releasing corresponding controls on the shooting interface of the terminal.
  • Editing instructions, storage mode instructions, and playback instructions can also be generated by triggering or selecting the corresponding controls on the target interface.
  • a deletion operation may be performed on the obtained video clip, which may be: determining whether a delete instruction is obtained. If a delete instruction is obtained, the corresponding obtained video clip is deleted according to the delete instruction.
  • the above applies to a situation where the user is not satisfied with a certain video clip taken, and the corresponding video clip can be deleted by the delete instruction.
  • the video clip to be deleted may be the previous video clip of the current video clip, or several video clips of the current video clip, which may be determined according to the actual situation, and is not specifically limited herein.
  • FIG. 2 is a flowchart of another video shooting method according to an embodiment of the present disclosure. This embodiment may be applicable to a case of reducing the difficulty of video processing.
  • the method may be performed by a video shooting device, and the device may use software and / or It is implemented in hardware, and the device can be configured in a terminal device, such as a mobile phone and / or a tablet computer. As shown in FIG. 2, the method includes the following steps 201 to 213.
  • a video shooting mode instruction is acquired.
  • the video shooting mode instruction includes a shooting speed, and shooting speeds of different video shooting modes are different.
  • step 202 it is determined whether a special effect instruction is obtained, and if yes, step 203 is performed; if not, step 204 is performed.
  • step 203 when the video shooting instruction is obtained, the target scene is video captured according to the special effect instruction and the shooting speed until the video shooting pause instruction is obtained, then a video clip between the video shooting instruction and the video shooting pause instruction is obtained, and Go to step 205.
  • step 204 when a video shooting instruction is obtained, video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction is obtained, then a video segment between the video shooting instruction and the video shooting pause instruction is obtained, and the process proceeds to the execution step. 205.
  • step 205 it is determined whether a video generation instruction is obtained; if so, step 207 is performed; if not, step 206 is performed.
  • step 206 the video capture mode instruction, the video capture instruction, and the video capture pause instruction are repeatedly acquired to obtain the corresponding video clip, and then the process returns to step 205.
  • step 207 the target video is synthesized based on the existing video clip.
  • step 208 it is determined whether an editing instruction is obtained; if yes, step 209 is performed; if no, step 210 is performed.
  • step 209 the target video is processed according to the editing instruction to obtain a processed target video.
  • step 210 it is determined whether a storage mode instruction is obtained; if yes, step 211 is performed; if not, step 210 is continued.
  • step 211 the target video or the processed target video is stored according to the storage mode instruction.
  • step 212 it is determined whether a video playback instruction is obtained; if yes, step 213 is performed; if not, step 212 is returned.
  • step 213 the target video or the processed target video is played according to the video playback instruction.
  • the special effect instruction may include at least one of a beautification instruction, a prop instruction, or a countdown instruction; an editing instruction may include at least one of a music cut instruction, a music selection instruction, or a cover selection instruction; a storage mode instruction Can include draft box instructions or release instructions.
  • the video shooting mode instruction includes a shooting speed, and the shooting speeds of different video shooting modes are different.
  • a video shooting instruction is obtained, a video shooting is performed on the target scene according to the shooting speed until the video shooting mode instruction is obtained.
  • the video shooting pause instruction is to obtain the video clip between the video shooting instruction and the video shooting pause instruction to determine whether a video generation instruction is obtained. If the video shooting instruction is not obtained, the video shooting mode instruction, video shooting instruction, and video shooting pause are repeatedly obtained.
  • FIG. 3 is a flowchart of still another video shooting method according to an embodiment of the present disclosure. This embodiment is applicable to a case of reducing the difficulty of video processing. As shown in FIG. 3, the method includes steps 310 to 350.
  • step 310 a user's selection operation of a video shooting mode control on the target interface and a triggering operation of the video shooting control are detected.
  • step 320 the captured target scene is displayed on the target interface until the release operation of the video shooting control is detected, a video segment corresponding to the video shooting mode selected by the user is obtained, and the video shooting mode control and the video shooting mode control are displayed on the target interface.
  • Video capture controls are provided.
  • step 330 it is determined whether the user's triggering operation for the next control on the target interface is detected; if yes, go to step 350; if not, go to step 340.
  • step 340 when a user's selection operation of the video shooting mode control, a trigger operation of the video shooting control, and a release operation of the video shooting control are detected, a corresponding video segment is obtained, and then the process returns to step 330.
  • step 350 according to a trigger operation of the next control, a jump is made from the target interface to a video storage interface, and a result of synthesizing the existing video clips to obtain the target video is displayed on the video storage interface.
  • the video shooting process may be implemented by a user's operation of related controls on a target interface, where the target interface may refer to a shooting interface that the user can operate.
  • a user's selection operation and a video capture control trigger operation on the target interface of the video shooting mode control are detected, and the user's selection operation of the video capture mode control on the target interface can be used to select the corresponding Video shooting mode, video shooting mode corresponds to shooting speed;
  • the user's trigger operation on the video shooting control on the target interface can be used to indicate that the current video shooting process is started;
  • the user's release operation on the video shooting control on the target interface can be used to indicate the end The shooting of the current video clip;
  • the user's trigger operation on the next control on the target interface can be used to indicate the end of the current video shooting and trigger the synthesis of the existing video clip to obtain the target video.
  • the number of video shooting mode controls is at least two.
  • the video shooting mode controls may include a fast lens control, a normal control, and a slow motion control.
  • the fast lens control in the video shooting mode control the corresponding shooting of the target scene for video shooting may be explained.
  • the speed is fast lens shooting speed; if the user selects the normal control in the video shooting mode control, it can be explained that the shooting speed corresponding to the video shooting of the target scene is the normal shooting speed; if the user selects the slow in the video shooting mode control
  • the lens control can indicate that the shooting speed corresponding to the video of the target scene is the slow-shot shooting speed.
  • more video shooting mode controls can be set on the target interface, such as 2x fast lens control or 1/2 slow lens control, etc., which can be set according to the actual situation It is not specifically limited here.
  • Detecting the user's selection operation of the video shooting mode control on the target interface to determine the corresponding shooting speed and detecting the user's triggering operation of the video shooting control on the target interface to determine the start of video shooting of the target scene displayed in the target interface During the shooting process, video shooting is performed on the target scene at the shooting speed until the user's release operation of the video shooting control is detected, the current video clip shooting can be ended to obtain the corresponding video clip and stored, and at the same time, the target interface will be displayed again Video shooting mode controls and video shooting controls to facilitate shooting of the next video clip. Determine whether the user's trigger operation on the next control on the target interface is detected.
  • the user's selection of the video shooting mode control on the target interface is repeatedly detected. Operation and trigger operation of video shooting control, determine the corresponding shooting speed according to the user's selection operation of the video shooting mode control on the target interface, and determine the startup display on the target interface according to the user's trigger operation on the video shooting control on the target interface
  • the shooting process of the video shooting of the target scene is performed. At the shooting speed, the video shooting of the target scene is performed until the release operation of the shooting control is detected by the user, then the current video clip shooting can be ended to obtain the corresponding video clip and store it. At the same time, The video capture mode controls and video capture controls will be displayed on the target interface again to facilitate the next video clip.
  • each time step 340 is performed, a corresponding video segment can be obtained, and each video segment corresponds to its own shooting speed.
  • the entire current video shooting process can be ended, and the existing video clips can be synthesized to obtain the target video.
  • the target video may be obtained by splicing and synthesizing existing video clips according to the generated sequence.
  • Trigger operation jump to the video storage interface and display the result of combining the existing video clips to obtain the target video.
  • the processing of the fast and / or slow video clips is completed.
  • the method may further include displaying a progress bar while displaying the target scene on the target interface. If it is detected that the progress bar is displayed completely, jump from the target interface to the video storage interface and display on the video storage interface the result of synthesizing existing video clips to obtain the target video.
  • a progress bar is also displayed.
  • the progress bar can represent the length of the shooting time, that is, as the video shooting progresses, the length of the progress bar is extended accordingly. If the progress bar is completely displayed, it can indicate that the shooting time length has reached a predetermined shooting time threshold. That is, at this time, it is not necessary for the user to generate a video shooting pause instruction by releasing the video shooting control by the user, and to generate a video generating instruction by the user triggering the next control. Then, the video shooting instruction can be automatically generated at the same time as the video shooting pause instruction , And then jump to the video storage interface and display the result of synthesizing the existing video clips to obtain the target video.
  • the video shooting pause instruction is generated by the user releasing the video shooting control, and at the same time, the video generating instruction is generated by the user triggering the next control, it may indicate that the progress bar is not displayed completely, so Correspondingly, the video shooting pause instruction and video generation instruction are not automatically generated, and then jump to the video storage interface and display the result of synthesizing the existing video clips to obtain the target video. If the progress bar is displayed in full, only the last video clip corresponding to the acquired video shooting pause instruction is different from the previously existing video clip corresponding to the obtained video shooting pause instruction, and at the same time, the video generation instruction is obtained. This is not the case if the progress bar is not displayed in its entirety.
  • the user's selection operation of the video shooting mode control on the target interface and the trigger operation of the video shooting control are detected, and the target scene is displayed on the target interface until the user's video shooting is detected.
  • the control is released, the corresponding video clip is obtained and the video shooting mode control and video shooting control are displayed on the target interface.
  • the user continues to detect the user's selection operation of the video shooting mode control on the target interface, the trigger operation of the video shooting control, and When the video shooting control is released, the corresponding video clip is obtained (for all video clips before the last video clip); or, the user's last selection operation of the video shooting mode control on the target interface and the triggering of the video shooting control are detected.
  • the video shooting pause instruction is obtained
  • it jumps to the video storage interface and displays the result of synthesizing the existing video clips to obtain the target video.
  • the method may further include: detecting a selection operation of the first special effect control on the target interface by the user.
  • displaying the target scene on the target interface may include: displaying the target scene superimposed on the first special effect control selected by the user on the target interface.
  • a shooting special effect may be set before video shooting of a target scene.
  • it may be implemented by a user's trigger operation on the first special effect control on the target interface. Based on the foregoing, before the user's trigger operation on the video shooting control is detected, the user's selection operation of the first special effect control on the target interface is detected, where the first special effect control may include a beautification control, a prop control, or a countdown control.
  • At least two types of beautification controls can include at least one of filter controls, microdermabrasion controls, or big-eye thin face controls; prop controls can include multiple props; filter controls can include controls such as normal, Japanese, young, or innocent , Microdermabrasion controls and big-eye thin face controls.
  • the target scene is displayed on the target interface until the user's release operation of the video shooting control is detected, then the corresponding video clip is obtained and the target interface will display the video shooting mode control and video shooting control in addition to the video shooting control.
  • the first special effect control is applied to the target scene.
  • the method may further include: jumping to a video editing interface.
  • the video editing interface includes an editing control and a next control. . If a user's selection operation on the editing control is detected and a user's triggering operation on the next control on the video editing interface is detected, the video editing interface jumps to the video storage mode interface; wherein the video storage mode interface includes storage Mode control.
  • the target video in order to present a better video shooting effect, can be edited.
  • the user can jump to the video storage interface and display the existing video clip to obtain the target. After the result of the video, jump to the video editing interface.
  • the video editing interface may include editing controls and next controls.
  • the editing controls may include at least two of the cut music control, the selected music control, the selected cover control, or the filter control. Species.
  • the editing control may further include a second special effect control and a filter control, the second special effect control may include a filter special effect control or a time special effect control, and the filter special effect control may include controls such as soul out, illusion, or shake ,
  • Time effects controls can include controls such as time passing, flashing, or slow motion.
  • the user's trigger operation on the next control on the video editing interface can be used to jump from the video editing interface to the video storage mode interface.
  • the filter control in the edit control described here is the same as the filter control in the beautification control described above.
  • the second special effect control described herein performs post-editing processing on a target video that is synthesized but has not been edited.
  • the user selects the editing controls on the video editing interface to edit the target video. Based on the above, if the user's selection operation on the editing control is detected, the target video will be edited according to the selected editing control, and the user's trigger operation on the next control on the editing interface is detected, and the video storage mode will be jumped to. interface.
  • the video storage mode interface may include a storage mode control, and the user may select a suitable storage form of the target video through a selection operation of the storage mode control.
  • next control on the target interface there is also a next control on the target interface.
  • the user's trigger operation on the next control on the target interface can be used to indicate the end of the current entire video. Capture and trigger the synthesis of existing video clips and jump from the target interface to the video storage interface to display the result of the target video.
  • the user ’s trigger operation on the next control on the video editing interface can be used to indicate that the video The editing interface jumps to the video storage mode interface.
  • both the second special effect control and the first special effect control in the embodiment of the present disclosure described above can play a role of adding special effects.
  • the second special effect control includes a filter special effect control or a time special effect control.
  • the first special effect control includes at least two of a beautification control, a prop control, or a countdown control, and the contents of the two controls are different.
  • the video storage mode interface after jumping to the video storage mode interface, and the video storage mode interface includes the storage mode control, it may further include: if a user's selection operation for the storage mode control is detected, jumping from the video storage mode interface Go to the video presentation mode interface and display the storage result of the target video corresponding to the selection operation of the storage mode control on the video presentation mode interface; wherein the storage mode control includes a draft box control and a release control.
  • a user may select a suitable storage form of a target video through a selection operation on a storage mode control. If a user's selection operation of the storage mode control on the video storage interface is detected, it will jump to the video presentation mode interface and display the storage result of the target video, where the storage mode control may include a draft box control and a release control.
  • the storage mode control is a draft box control, the target video will be saved to the draft box, and the target video in the draft box is only visible to the current user; if the selected storage mode control is a release control, the target video will be uploaded to the network, making The target video can also be viewed by other users.
  • the target video described herein refers to a target video after editing processing.
  • the target video refers to a video obtained by direct synthesis.
  • the method may further include: if a trigger operation of a work control on a user homepage interface is detected, jumping to a video playback interface and playing the target video on the video playback interface.
  • the user homepage interface usually displays user basic information and user work information, and the above information can be used to perform related operations through corresponding controls on the user homepage interface, such as modifying the user's basic information and the user. Works for playback, etc.
  • the user watches the target video, it can be achieved by triggering the work control on the user homepage interface.
  • the video playback interface also displays sharing controls, like controls, and comment controls.
  • the user can trigger the sharing control to share the target video to other application software.
  • the user can like the target video by triggering the like control.
  • the user can comment on the target video by triggering a comment control and entering corresponding text or expressions.
  • the video shooting mode control and the video shooting control are displayed on the target interface, and a delete control can also be displayed.
  • the trigger delete control can be used to perform an operation on the obtained video clip.
  • the deleted or deleted video segment may be the previous video segment of the current video segment, or may be several previous video segments of the current video segment, which may be determined according to actual conditions, and is not specifically limited herein. The above is applicable to a situation where a user is not satisfied with a certain video clip taken, and the corresponding video clip can be deleted by triggering a delete control on the target interface.
  • FIG. 4 is a flowchart of still another video shooting method according to an embodiment of the present disclosure. This embodiment is applicable to a case of reducing the difficulty of video processing. As shown in FIG. 4, the method includes steps 401 to 412.
  • step 401 a trigger operation of a video shooting mode control on a user target interface and a selection operation of a first special effect control are detected, and the process proceeds to step 403.
  • step 402 a trigger operation of the video shooting module control on the target interface by the user is detected, and the process proceeds to step 403.
  • step 403 a target scene and a progress bar are displayed on the target interface.
  • step 404 it is determined whether the progress bar is displayed completely; if yes, go to step 408; if no, go to step 405.
  • step 405 until the release operation of the video shooting control by the user is detected, the corresponding video clip is obtained and the video shooting mode control, the video shooting control, and the first special effect control are displayed on the target interface.
  • step 406 it is determined whether a user's trigger operation on the next control on the target interface is detected; if yes, go to step 408; if not, go to step 407.
  • a corresponding video segment is obtained when a user's selection operation of the video shooting mode control, a selection operation of the first special effect control, a trigger operation of the video shooting control, and a release operation of the video shooting control are detected; or, the user is detected
  • the corresponding video clip is obtained, and then the process returns to step 406.
  • step 408 jump to the video storage interface and display the result of synthesizing the existing video clips to obtain the target video.
  • step 409 the video editing interface is jumped to, and the video editing interface includes an editing control and a next control.
  • step 410 if the user's selection operation on the edit control is detected and the user's trigger operation on the next control is detected, the video storage mode interface is jumped to; or, if the user's trigger operation on the next control is detected, the jump Go to the video storage mode interface; the video storage mode interface includes storage mode controls.
  • step 411 when a user's selection operation of the storage mode control is detected, the user jumps to the video presentation mode interface and displays the storage result of the target video.
  • the storage mode control includes a draft box control and a next control.
  • step 412 when the user's trigger operation on the work control on the user homepage interface is detected, the user jumps to the video playback interface and plays the target video.
  • a video sharing software on a terminal is taken as an example for description below:
  • the initial target interface may include: video shooting mode control 1, video shooting control 2, first special effect control 3 ( (Not shown in the figure), next control 4 and return control 5, wherein the video shooting mode control 1 may include: a fast lens control 11, a normal control 12 and a slow motion control 13.
  • the video shooting mode control The number of 1 is more than one, and is not limited to that shown in FIG. 5.
  • the first special effect control 3 may include a beautification control 31, a prop control 32, and a countdown control 33.
  • the user completes the selection operation of the shooting mode and the special effect form by manipulating related controls on the initial target interface.
  • the user selects the fast lens control 11 by selecting the video shooting mode control 1 on the initial target interface; as shown in FIG. 7, the user controls the The trigger operation of the beautification control 31 jumps to the beautification interface shown in FIG. 8.
  • the beautification interface displays filter controls, microdermabrasion controls, and big-eye thin face controls. Jump to the microdermabrasion selection interface shown in Figure 9 by triggering the microdermabrasion control, and select the value 1, and jump to big eyes and thin face as shown in Figure 10 by the triggering operation on the big-eye thin-face control. Select interface and select value 1. As shown in FIG.
  • the user jumps to the prop interface shown in FIG. 12 through a trigger operation on the prop control 32 on the initial target interface, and selects the college entrance examination to refuel.
  • the countdown control 33 is not triggered, no countdown operation is performed. At this point, the selection of the video shooting mode and special effect form is completed.
  • the user jumps to the shooting interface shown in FIG. 14 by triggering the video shooting control 2.
  • the user can press and hold the shooting control 2 to take a video shot of the target scene and in the upper left corner of the shooting interface A progress bar is displayed.
  • the shooting of the current video clip is completed, the corresponding current video clip is obtained, and the target interface shown in FIG. 15 is jumped to.
  • the target interface also includes a undo control 6, which can be set to trigger the undo control 6. Delete the last stored video clip.
  • the user jumps to the undo interface as shown in FIG. 17 by triggering the undo control 6 on the target interface, and displays a dialog box on the undo interface.
  • the control on the undo interface Triggering operation As shown in the figure, by confirming the control on the undo interface Triggering operation, it jumps to the target interface as shown in Figure 18. Compared with the target interface before undoing, the difference is that the progress bar shown in the upper left corner of the figure is located. After deleting the corresponding video clip, The length of the corresponding position of the progress bar will also be deleted.
  • the user may repeatedly perform the foregoing selection operation of the video shooting mode control 1, the first special effect control 3, the trigger operation of the video shooting control 2, and subsequent shooting operations. In an embodiment, when the progress bar is not completely displayed, the user ends the shooting of each video segment by releasing the video shooting control 2.
  • the video editing interface may include editing controls 7 (not shown in the figure).
  • the editing controls 7 may include: a cut music control 71, a selected music control 72, and a selected cover.
  • the filter control 74 described here is the same as the filter in the beautification control described above.
  • the editing control 7 may further include a second special effect control 75. As shown in FIG. 22, the second special effect control selection interface shown in FIG.
  • the second special effect control selection interface includes a filter special effect.
  • Control and time effect control by selecting the filter effect control, the first one of the filter effects is selected, and by triggering the time effect control, it jumps to the time effect selection interface shown in FIG. 24, And selected the first time effect; as shown in FIG. 25, the user jumps to the cover selection interface as shown in FIG. 26 by triggering the cover selection control 73 on the video editing interface, and selects the first of them As shown in FIG. 27, the user jumps to the filter selection interface shown in FIG. 28 by triggering the filter control 74 on the video editing interface, and selects normal.
  • the cut music control 71 and the music selection control 72 are not triggered, that is, the above-mentioned editing processing mode is not selected. So far, the operation of synthesizing the video clip and the operation of editing the target video obtained by the synthesizing have been completed.
  • the video storage mode interface may include a storage mode control 8 (not shown in the figure). (Shown), the storage mode control 8 may include a draft box control 81 and a release control 82. The user jumps to the user homepage interface as shown in FIG. 31 by triggering the release control 82.
  • the user homepage interface may include the work control 9. The trigger operation on the work control 9 jumps to the video playback interface shown in FIG. 32 and plays the target video.
  • the video playback interface may include a sharing control, a like control, and a comment control.
  • both the first special effect control and the second special effect control in this embodiment can play a role of adding special effects.
  • the first special effect control includes a beautification control, a prop control, and a countdown control
  • the second special effect control Including filter effects controls or time effects controls, the contents of the two controls are not the same.
  • the video storage interface is jumped to. It is not necessary to jump to the video storage interface without detecting the user's trigger operation on the next control on the target interface.
  • the video storage interface shown in FIG. 34 to synthesize the obtained video clips to obtain the target video.
  • the user can still keep the Trigger operation on video shooting control 2.
  • the target video is synthesized, it jumps to the video editing interface as shown in FIG. 21.
  • the video shooting mode instruction includes a shooting speed, and the shooting speeds of different video shooting modes are different.
  • a video shooting instruction is obtained, a video shooting is performed on the target scene according to the shooting speed until the video shooting mode instruction is obtained.
  • the video shooting pause instruction is to obtain the video clip between the video shooting instruction and the video shooting pause instruction to determine whether a video generation instruction is obtained. If the video shooting instruction is not obtained, the video shooting mode instruction, video shooting instruction, and video shooting pause are repeatedly obtained.
  • the instruction obtains the corresponding video clips until the video generation instruction is obtained, and the target video is generated based on the existing video clips.
  • the video shooting pause instruction may be triggered by a user, or may be triggered by determining whether a shooting time length reaches a predetermined shooting time threshold.
  • FIG. 35 is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure. This embodiment can be applied to reduce the difficulty of video processing.
  • the device can be implemented by software and / or hardware.
  • the device can be configured on a terminal. In the device, for example, a mobile phone and / or a tablet computer are typically used.
  • the device includes a video shooting mode instruction acquisition module 510, a video fragment generation module 520, a video generation instruction determination module 530, a video generation instruction acquisition module 540, and a target video generation module 550. among them,
  • the video shooting mode instruction acquisition module 510 is configured to obtain a video shooting mode instruction.
  • the video shooting mode instruction includes a shooting speed, and the shooting speeds of different video shooting modes are different.
  • the video clip generation module 520 is configured to, when the video shooting instruction is obtained, perform video shooting on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and then obtain a video clip between the video shooting instruction and the video shooting pause instruction.
  • the video generation instruction determination module 530 is configured to determine whether to obtain a video generation instruction.
  • the video generation instruction obtaining module 540 if the video generation instruction is not obtained, repeatedly obtains a video shooting mode instruction, a video shooting instruction, and a video shooting pause instruction to obtain a corresponding video segment until the video generation instruction is obtained.
  • the target video generating module 550 is configured to generate a target video based on an existing video segment based on the video generating instruction.
  • a video shooting mode instruction is obtained through the video shooting mode instruction acquisition module 510.
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • the video clip generation module 520 obtains a video shooting instruction
  • the video shooting is performed on the target scene according to the shooting speed until the video shooting pause instruction is obtained, and a video segment between the video shooting instruction and the video shooting pause instruction is obtained.
  • the video generation instruction judgment module 530 determines whether a video generation instruction is obtained and the video generation instruction is obtained. If the module 540 does not obtain the video generation instruction, it repeatedly obtains the video shooting mode instruction, the video shooting instruction, and the video shooting pause instruction to obtain the corresponding video segment until the video generation instruction is obtained.
  • the target video generation module 550 generates a target based on the existing video fragment.
  • the processing of fast and / or slow video clips is completed during the video shooting process, and the implementation scheme is fast and simple, which improves the flexibility of users to shoot and process videos, and improves the user experience.
  • the video shooting pause instruction may be triggered by a user, or may be triggered by determining whether a shooting time length reaches a predetermined shooting time threshold.
  • the shooting time length includes a shooting time length of one shot video or multiple shots Total video recording time.
  • the length of the captured video includes the length of time of one recorded video or the total time of multiple videos length.
  • the apparatus may further include:
  • the special effect instruction judgment module is configured to determine whether to obtain a special effect instruction.
  • the video clip generation module 520 may include:
  • the video clip generating unit is configured to, if the special effect instruction is obtained, perform video shooting on the target scene according to the special effect instruction and shooting speed until the video shooting instruction is obtained, and then obtain the video shooting instruction and video shooting Video clip between pause instructions.
  • the apparatus may further include:
  • the editing instruction judgment module is configured to judge whether an editing instruction is obtained.
  • the target video processing module is configured to, if the editing instruction is obtained, process the target video according to the editing instruction to obtain a processed target video.
  • the apparatus may further include:
  • the storage mode instruction determination module is configured to determine whether a storage mode instruction is obtained; the target video storage module is configured to, if the storage mode instruction is obtained, store the processed target video according to the storage mode instruction;
  • the storage mode instruction includes a draft box instruction or a release instruction.
  • the apparatus may further include:
  • the video playback instruction determination module is configured to determine whether a video playback instruction is obtained.
  • the target video playback module is configured to, if the video playback instruction is obtained, play the processed target video according to the video playback instruction.
  • the video shooting device provided by the embodiment of the present disclosure can execute the video shooting method provided by any embodiment of the present disclosure, and has function modules and effects corresponding to the execution method.
  • FIG. 36 is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure. This embodiment can be applied to reduce the difficulty of video processing.
  • the device can be implemented in software and / or hardware.
  • the device can be configured in
  • the terminal device is typically a mobile phone and / or a tablet computer, for example.
  • the device includes a selection and trigger operation detection module 610, a video clip storage module 620, a next-control trigger judgment module 630, a next-control trigger detection module 640, and a target video generation module 650, of which:
  • the selection and trigger operation detection module 610 is configured to detect a user's selection operation of a video shooting mode control on the target interface and a trigger operation of the video shooting control.
  • the video clip storage module 620 is configured to display the captured target scene on the target interface until the release operation of the video shooting control is detected, to obtain a video clip corresponding to the video shooting mode selected by the user and display the video shooting mode on the target interface. Controls and video capture controls.
  • the next control trigger determination module 630 is configured to determine whether a user's trigger operation on the next control on the target interface is detected.
  • the next control trigger detection module 640 is configured to, if the user's trigger operation on the next control on the target interface is not detected, when the selection operation of the video shooting mode control, the trigger operation of the video shooting control, and the video shooting control are repeatedly detected The corresponding video segment is obtained during the release operation until the user's trigger operation on the next control on the target interface is detected.
  • the target video generating module 650 is configured to jump from the target interface to a video storage interface according to a trigger operation of the next control, and display on the video storage interface a result of synthesizing existing video clips to obtain a target video. .
  • the selection and trigger operation detection module 610 detects the user's selection operation of the video shooting mode control on the target interface and the trigger operation of the video shooting control, and the video clip storage module 620 displays the target scene on the target interface until Detect the user's release operation of the video shooting control, then get the corresponding video clip and display the video shooting mode control and video shooting control on the target interface.
  • the next control triggers the judgment module 630 to determine whether the user has detected a down on the target interface.
  • One-step control trigger operation If the next-control trigger detection module 640 does not detect the user's trigger operation on the next control on the target interface, it repeatedly detects the user's selection operation of the video shooting mode control and the trigger operation of the video shooting control.
  • the corresponding video clip is obtained during the release operation of the video shooting control until the user's trigger operation on the next control on the target interface is detected.
  • the target video generation module 650 jumps to the video storage interface and displays the existing video clips.
  • Target video As a result, the video capture process is completed fast and / or slow processing of video clips, quick and easy implementation, improve the flexibility of the user's shooting and video processing to enhance the user experience.
  • the video clip storage module 620 is configured to:
  • a progress bar is displayed while the captured target scene is displayed on the target interface.
  • the apparatus may further include:
  • the special effect control selection operation detection module is configured to detect the selection operation of the special effect control on the target interface.
  • the video clip storage module 620 is set to:
  • the target interface displays the target scene superimposed by the user-selected special effect control.
  • the apparatus may further include:
  • the video editing interface jump module is set to jump to the video editing interface.
  • the video editing interface can include editing controls and next controls;
  • the video storage mode interface jump module is configured to jump from the video editing interface to the video storage mode interface if a user's selection operation on the editing control is detected and a trigger operation on the next control on the video editing interface is detected. ;
  • the video storage mode interface may include a storage mode control.
  • the apparatus may further include:
  • the video presentation module interface jump module is configured to jump from the video storage mode interface to the video presentation mode interface and display the target video and the video on the video presentation mode interface if a user's selection operation of a storage mode control is detected.
  • the storage result corresponding to the selection operation of the storage mode control; wherein the storage mode control may include a draft box control and a release control.
  • the apparatus may further include:
  • the target video playback module is configured to jump to a video playback interface and play the target video on the video playback interface if a trigger operation of a work control on a user homepage interface is detected.
  • the video shooting device provided by the embodiment of the present disclosure can execute the video shooting method provided by any embodiment of the present disclosure, and has function modules and effects corresponding to the execution method.
  • FIG. 37 is a schematic diagram illustrating a hardware structure of a terminal device according to an embodiment of the present disclosure.
  • the terminal device may be implemented in one or more forms, and the terminal device in the present disclosure may include, but is not limited to, such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), Tablet PC (Portable Device, PAD), Portable Multimedia Player (Portable Media Player, PMP), navigation device, vehicle terminal equipment, vehicle display terminal, vehicle electronic rearview mirror, etc. and mobile terminal equipment such as digital television (Television, TV), desktop computers, etc.
  • PDA personal digital assistant
  • Tablet PC Portable Multimedia Player
  • PMP Portable Multimedia Player
  • navigation device vehicle terminal equipment, vehicle display terminal, vehicle electronic rearview mirror, etc.
  • mobile terminal equipment such as digital television (Television, TV), desktop computers, etc.
  • the terminal device 100 may include a wireless communication unit 61, an audio / video (A / V) input unit 62, a user input unit 63, a sensing unit 64, an output unit 65, a memory 66, and an interface.
  • FIG. 7 illustrates a terminal device having various components, but it should be understood that implementation of all the illustrated components is not required. More or fewer components may be implemented instead.
  • the wireless communication unit 61 allows radio communication between the terminal device 100 and a wireless communication system or network.
  • the A / V input unit 62 is configured to receive an audio or video signal.
  • the user input unit 63 may generate key input data according to a command input by the user to control one or more operations of the terminal device.
  • the sensing unit 64 detects the current state of the terminal device 100, the position of the terminal device 100, the presence or absence of a user's touch input to the terminal device 100, the orientation of the terminal device 100, the acceleration or deceleration movement and direction of the terminal device 100, and so on, and A command or signal for controlling the operation of the terminal device 100 is generated.
  • the interface unit 67 functions as an interface through which at least one external device can be connected to the terminal device 100.
  • the output unit 65 is configured to provide an output signal in a visual, audio, and / or tactile manner.
  • the memory 66 may store software programs and the like for processing and control operations performed by the processor 68, or may temporarily store data that has been or will be output.
  • the memory 66 may include at least one type of storage medium.
  • the terminal device 100 can cooperate with a network storage device that performs a storage function of the memory 66 through a network connection.
  • the processor 68 generally controls the overall operation of the terminal device.
  • the processor 68 may include a multimedia module for reproducing or playing back multimedia data.
  • the processor 68 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images.
  • the power supply unit 69 receives external power or internal power under the control of the processor 68 and provides appropriate power required to operate each element and component.
  • the processor 68 executes one or more functional applications and data processing by running a program stored in the memory 66, for example, to implement a video shooting method provided by an embodiment of the present disclosure, that is, when the processor 68 executes, it implements :
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and a video segment between the video shooting instruction and the video shooting pause instruction is obtained.
  • the video generation instruction is not obtained, repeatedly acquiring a video shooting mode instruction, a video shooting instruction, and a video shooting pause instruction to obtain a corresponding video fragment until the video generation instruction is obtained;
  • a target video is generated according to an existing video segment.
  • a video shooting method provided by the embodiment of the present disclosure may also be implemented, that is, when the processor 68 executes the program, the following is implemented:
  • a user's selection operation of the video shooting mode control on the target interface and a trigger operation of the video shooting control are detected.
  • a jump is made from the target interface to a video storage interface and a result of synthesizing existing video fragments to obtain the target video is displayed on the video storage interface.
  • An embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the program is executed by a processor, a video shooting method provided by the embodiment of the present disclosure is implemented, that is, when executed :
  • the video shooting mode instruction includes a shooting speed, and the shooting speed of different video shooting modes is different.
  • video shooting is performed on the target scene according to the shooting speed until a video shooting pause instruction is obtained, and a video segment between the video shooting instruction and the video shooting pause instruction is obtained.
  • the video generation instruction is not obtained, repeatedly acquiring a video shooting mode instruction, a video shooting instruction, and a video shooting pause instruction to obtain a corresponding video fragment until the video generation instruction is obtained;
  • a target video is generated according to an existing video segment.
  • a video shooting method provided by an embodiment of the present disclosure may also be implemented, that is, when executed, the following may be implemented:
  • a user's selection operation of the video shooting mode control on the target interface and a trigger operation of the video shooting control are detected.
  • a jump is made from the target interface to the video storage interface, and the result of synthesizing the existing video clips to obtain the target video is displayed on the video storage interface.
  • the computer storage medium of the embodiment of the present disclosure may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • Computer-readable storage media includes: electrical connections with one or more wires, portable computer disks, hard disks, Random Access Memory (RAM), Read-Only Memory , ROM), Erasable Programmable Read-Only Memory (EPROM) or flash memory, optical fiber, Compact Disc Read-Only Memory (CD-ROM), optical storage devices, A magnetic memory device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. This transmitted data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), or any suitable combination of the foregoing.
  • RF radio frequency
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including programming languages such as Java, Smalltalk, C ++, Ruby, Go, Also included are conventional procedural programming languages-such as "C" or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN)-or it can be connected to an external computer ( (E.g. using an Internet service provider to connect via the Internet).
  • LAN local area network
  • WAN wide area network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本文公开了一种视频拍摄方法,包括:获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同;当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段;判断是否获得视频生成指令;若没有获得视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得视频生成指令为止;基于所述视频生成指令,根据已有的视频片段生成目标视频。本文还公开了一种视频拍摄装置、终端设备以及存储介质。

Description

视频拍摄方法、装置、终端设备及存储介质
本申请要求在2018年07月19日提交中国专利局、申请号为201810799343.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及通信技术领域,例如涉及一种视频拍摄方法、装置、终端设备及存储介质。
背景技术
随着通信技术和终端设备设备的发展,一种或多种终端设备例如手机和平板电脑等已经成为了人们工作和中不可或缺的一部分,而且随着终端设备的日益普及,终端设备提供的视频拍摄功能也给用户带来了极大地便利。
目前,利用终端设备进行视频拍摄,一次拍摄得到的视频即为一个完整的视频,而如果想将多次拍摄的视频进行拼接或剪辑,则要使用专门的视频处理软件进行处理,同时,拍摄得到的视频均是正常速度的,如果想得到加快拍摄或慢速拍摄的视频,则要对正常速度的视频进行后期处理,例如,也通过专门的视频处理软件进行处理。上述导致在操作上技术门槛较高,不利于用户的日常使用,影响用户体验。
发明内容
本公开实施例提供一种视频拍摄方法、装置、终端设备及存储介质,以提高用户拍摄及处理视频的灵活性,提升用户体验。
在一实施例中,本公开实施例提供了一种视频拍摄方法,该方法包括:
获取视频拍摄模式指令,所述视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同;
当获得视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段;
判断是否获得视频生成指令;
若没有获得所述视频生成指令,则重复获取所述视频拍摄模式指令、所述视频拍摄指令和所述视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
基于所述视频生成指令,根据已有的视频片段生成目标视频。
在一实施例中,本公开实施例还提供了一种视频拍摄方法,该方法包括:
检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作;
在所述目标界面显示拍摄地目标场景直至检测到所述视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在所述目标界面上显示所述视频拍摄模式控件和所述视频拍摄控件;
判断是否检测到用户对所述目标界面上的下一步控件的触发操作;
若没有检测到用户对所述目标界面上的下一步控件的触发操作,则当重复检测到所述视频拍摄模式控件的选择操作、所述视频拍摄控件的触发操作和所述视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止;
根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,本公开实施例还提供了一种视频拍摄装置,该装置包括:
视频拍摄模式指令获取模块,设置为获取视频拍摄模式指令,所述视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同;
视频片段生成模块,设置当获得所述视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段;
视频生成指令判断模块,设置为判断是否获得视频生成指令;
视频生成指令获得模块,设置为若没有获得所述视频生成指令,则重复获取所述视频拍摄模式指令、所述视频拍摄指令和所述视频拍摄暂停指令得到对 应的视频片段,直至获得所述视频生成指令为止;
目标视频生成模块,设置为基于所述视频生成指令,根据已有的视频片段生成目标视频。
在一实施例中,本公开实施例还提供了一种视频拍摄装置,该装置包括:
选择和触发操作检测模块,设置为检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作;
视频片段存储模块,设置为在所述目标界面显示拍摄的目标场景直至检测到所述视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在所述目标界面上显示所述视频拍摄模式控件和所述视频拍摄控件;
下一步控件触发判断模块,设置为判断是否检测到用户对所述目标界面上的下一步控件的触发操作;
下一步控件触发检测模块,设置为若没有检测到用户对所述目标界面上的下一步控件的触发操作,则当重复检测到所述视频拍摄模式控件的选择操作、所述视频拍摄控件的触发操作和所述视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止;
目标视频生成模块,设置为根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,本公开实施例还提供了一种终端设备,该终端设备包括:
一个或多个处理器;
存储器,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开任意实施例所提供的方法。
在一实施例中,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本公开任意实施例所提供的方法。
附图说明
图1是本公开实施例中的一种视频拍摄方法的流程图;
图2是本公开实施例中的另一种视频拍摄方法的流程图;
图3是本公开实施例中的再一种视频拍摄方法的流程图;
图4是本公开实施例中的又一种视频拍摄方法的流程图;
图5是本公开实施例中的一种初始目标界面的结构示意图;
图6是本公开实施例中的另一种初始目标界面的结构示意图;
图7是本公开实施例中的再一种初始目标界面的结构示意图;
图8是本公开实施例中的一种特效选择界面的结构示意图;
图9是本公开实施例中的另一种特效选择界面的结构示意图;
图10是本公开实施例中的再一种特效选择界面的结构示意图;
图11是本公开实施例中的又一种特效选择界面的结构示意图;
图12是本公开实施例中的还一种特效选择界面的结构示意图;
图13是本公开实施例中的一种拍摄界面的结构示意图;
图14是本公开实施例中的另一种拍摄界面的结构示意图;
图15是本公开实施例中的一种删除界面的结构示意图;
图16是本公开实施例中的另一种删除界面的结构示意图;
图17是本公开实施例中的再一种拍摄界面的结构示意图;
图18是本公开实施例中的一种目标界面的结构示意图;
图19是本公开实施例中的另一种目标界面的结构示意图;
图20是本公开实施例中的一种视频存储界面的结构示意图;
图21是本公开实施例中的另一种视频编辑界面的结构示意图;
图22是本公开实施例中的一再种视频编辑界面的结构示意图;
图23是本公开实施例中的又一种视频编辑界面的结构示意图;
图24是本公开实施例中的还一种视频编辑界面的结构示意图;
图25是本公开实施例中的还一种视频编辑界面的结构示意图;
图26是本公开实施例中的还一种视频编辑界面的结构示意图;
图27是本公开实施例中的还一种视频编辑界面的结构示意图;
图28是本公开实施例中的还一种视频编辑界面的结构示意图;
图29是本公开实施例中的再一种目标界面的结构示意图;
图30是本公开实施例中的一种视频存储模式界面的结构示意图;
图31是本公开实施例中的一种用户主页界面的结构示意图;
图32是本公开实施例中的一种视频播放界面的结构示意图;
图33是本公开实施例中的再一种目标界面的结构示意图;
图34是本公开实施例中的一种视频存储界面的结构示意图;
图35是本公开实施例中的一种视频拍摄装置的结构示意图;
图36是本公开实施例中的另一种视频拍摄装置的结构示意图;
图37是本公开实施例中的一种终端设备的结构示意图。
具体实施方式
下面结合附图和实施例对本公开进行说明。此处所描述的实施例仅仅用于解释本公开,而非对本公开的限定。为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。
实施例一
图1为本公开实施例提供的一种视频拍摄方法的流程图,本实施例可适用于降低视频处理难度的情况,该方法可以由视频拍摄装置来执行,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于终端设备中,例如典型的是手机和/或平板电脑等。如图1所示,该方法包括步骤110至步骤160。
在步骤110中,获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同拍摄模式的拍摄速度不同。
在本公开的实施例中,一个完整的视频可以是由多个视频片段合成的,其中,由于每个视频片段可能拍摄的目标场景不同,也可能虽然拍摄的目标场景 相同,但从时序上要呈现出变化。在一实施例中,为了呈现更好的拍摄效果可能要为每个视频片段设置对应的拍摄速度,以便最终合成的视频可以呈现更好的拍摄效果。在一实施例中,在对目标场景进行拍摄前要获取视频拍摄模式指令。其中,视频拍摄模式指令可以用于确定对应的拍摄速度。在一实施例中,视频拍摄模式指令可以包括拍摄速度,不同视频拍摄模式对应的拍摄速度不同,其中,拍摄速度可以指单位时间内拍摄的视频帧数。在一实施例中,视频拍摄模式指令可以包括正常拍摄速度、快镜头拍摄速度和慢镜头拍摄速度,其中,快镜头又可以包括2倍快镜头、3倍快镜头或4倍快镜头等,慢镜头又可以包括1/2慢镜头、1/3慢镜头或1/4慢镜头等。在一实施例中,上述在不同视频拍摄模式指令下拍摄得到的视频片段的播放速度相同,在一实施例中,单位时间内拍摄的视频片段的播放时长便不同。快镜头拍摄速度和慢镜头拍摄速度是相对于正常拍摄速度而言的,示例性的,如拍摄速度=正常拍摄速度/倍速,该倍速可以为大于1的整数,如2、3或4等,也可以为小于1的分数,如1/2、1/3或1/4等。如果倍速为大于1的整数,则在单位时间内相对于正常拍摄速度拍摄的视频帧数少,属于快镜头拍摄速度;如果倍速为小于1的分数,则在单位时间内相对于正常拍摄速度拍摄的视频帧数多,属于慢镜头拍摄速度。现假设正常拍摄速度为60帧/s,于是,2倍快镜头拍摄速度为30帧/s,1/2慢镜头拍摄速度为120帧/s。在一实施例中,单位时间内拍摄的视频片段的播放时长分别为:以正常拍摄速度拍摄的视频片段的播放时长为1s,以2倍快镜头拍摄速度拍摄的视频片段的播放时长为0.5s,以1/2慢镜头拍摄速度拍摄的视频片段的播放时长为2s。
在一实施例中,不同视频拍摄模式的拍摄速度不同,从而对执行拍摄的硬件设备,包括但不限于摄像机或者摄像头等的性能要求更高;在一实施例中,执行拍摄的硬件设备支持多种拍摄速度。
步骤120、判断是否获得所述视频拍摄指令;若是,则执行步骤130;若否,则继续执行步骤120。
步骤130、根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍照暂停指令,则得到视频拍摄模式指令和视频拍摄暂停指令之间的视频片段。
在本公开的实施例中,视频拍摄指令可以用于启动当前拍摄进程。如果获 得视频拍摄指令,则说明启动了当前拍摄进程,可以根据拍摄速度对目标场景进行视频拍摄,直至获取到视频拍摄暂停指令,则可以结束当前拍摄进程得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。其中,目标场景可以指用户期望拍摄的物体以及其周边的环境。视频拍摄暂停指令可以用于结束当前视频片段的拍摄。
步骤140、判断是否获得视频生成指令;若是,则执行步骤160;若否,则执行步骤150。
步骤150、重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段后返回执行步骤140。
步骤160、基于所述视频生成指令,根据已有的视频片段生成目标视频。
在本公开的实施例中,视频生成指令可以用于将已有的视频片段进行合成得到目标视频,即如果获得视频生成指令,则说明可以结束当前整个视频拍摄进程,不再进行下一个视频片段的拍摄,便可以根据已有的视频片段生成目标视频;如果没有获得视频生成指令,则说明当前整个视频拍摄进程未结束,要进行下一个视频片段的拍摄,即再重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段直至获得视频生成指令,再根据已有的视频片段生成目标视频,也即每执行一次步骤150,便可以得到一个对应的视频片段。在一实施例中,由于不同视频拍摄模式的拍摄速度不同,因此得到的多个视频片段对应的拍摄速度可能相同,也可能不同,如果设定的视频拍摄模式指令相同,则不同视频片段对应的拍摄速度相同;如果设定的视频拍摄模式指令不同,则不同视频片段对应的拍摄速度不同。在一实施例中,每个视频片段对应的目标场景可以相同,也可以不同,可以根据实际情况确定,在此不作具体限定。在一实施例中,已有的视频片段的个数可以为一个或至少两个,视频片段的个数与视频生成指令的获取时机有关,即如果得到第一个视频片段后,便获得了视频生成指令,则说明可以结束当前整个视频拍摄进程,根据已有的视频片段生成目标视频,此时,视频片段的个数为一个。如果得到第一个视频片段后,未获得视频生成指令,则说明当前整个视频拍摄进程未结束,要进行下一个视频片段的拍摄,此时,视频片段的个数为至少两个。示例性的,现得到三个视频片段,三个视频片段对应的目标场景相同,均为某教室的同一个角 落。三个视频片段分别为视频片段1、视频片段2和视频片段3,拍摄视频片段1时获取到的视频拍摄模式指令为正常拍摄拍摄速度,拍摄视频片段2时获取到的视频拍摄模式指令为2倍快镜头拍摄速度,拍摄视频片段3时获取到的视频拍摄模式指令为1/2慢镜头拍摄速度。在一实施例中,目标视频可以由已有的视频片段按照生成的先后顺序进行拼接合成得到。示例性的,如前文所述的三个视频片段,视频片段1、视频片段2和视频片段3按照时间顺序依次生成,如果得到视频片段3后,获得了视频生成指令,则说明可以结束当前整个视频拍摄进程,将已有的视频片段1、视频片段2和视频片段3合成得到目标视频。
在一实施例中,上述所述的视频拍摄模式指令和视频拍摄指令可以通过用户触发或选择终端的拍摄界面上的相应控件生成;视频拍摄暂停指令和视频生成指令可以通过用户释放或触发终端的拍摄界面上的相应控件生成,视频拍摄暂停指令和视频生成指令也可以通过检测到拍摄时间长度达到预定拍摄时间阈值生成。预定拍摄时间阈值可根据实际情况进行设定,在此不作具体限定。示例性的,如通过用户对视频拍摄模式控件的选择操作生成视频拍摄模式指令,通过用户对视频拍摄指令的触发操作生成视频拍摄指令以及通过用户对视频拍摄控件的释放操作生成视频拍摄暂停指令。
下面以终端上的某视频分享软件为例进行说明。在一实施例中。用户有拍摄视频的需求时,通过点击终端的显示屏上该视频分享软件的图标的方式,以启动该视频分享软件的应用程序,并进入初始拍摄界面,初始拍摄界面上设置有视频拍摄模式控件和视频拍摄控件,当拍摄得到一个视频片段后,拍摄界面上在同时显示视频拍摄模式控件和视频拍摄控件外,还将显示视频生成控件。其中,视频拍摄模式控件的个数为至少一个,每个视频拍摄模式控件对应一种视频拍摄模式,相应的,也就对应一种拍摄速度。视频拍摄模式控件可以包括正常拍摄速度控件、快镜头拍摄速度控件和慢镜头拍摄速度控件。
示例一:视频拍摄模式指令、视频拍摄指令、视频拍摄暂停指令和视频生成指令通过用户触发、选择或释放终端的拍摄界面上的相应控件生成。当前初始拍摄界面上显示视频拍摄模式控件和视频拍摄控件,用户根据实际情况触发正常拍摄速度控件从而选定拍摄速度为正常拍摄速度,并触发视频拍摄控件,在此情况下,摄像头开始对目标场景进行视频拍摄,直至用户释放视频拍摄控件,则结束当前视频片段的拍摄得到视频片段1,同时,拍摄界面上将再次同时 显示视频拍摄模式控件和视频拍摄控件,此外还将显示视频生成控件。用户再次根据实际情况触发快镜头拍摄速度控件从而选定拍摄速度为快镜头拍摄速度,并再次触发视频拍摄控件,在此情况下,摄像头再次开始对目标场景进行视频拍摄,直至用户再次释放视频拍摄控件,则结束当前视频片段的拍摄得到视频片段2,同时,拍摄界面上将第三次同时显示视频拍摄模式控件和视频拍摄控件,以及将第二次显示视频生成控件。用户第三次根据实际情况触发慢镜头拍摄速度控件从而选定拍摄速度为慢镜头拍摄速度,并第三次触发视频拍摄控件,在此情况下,摄像头第三次开始对目标场景进行视频拍摄,直至用户第三次释放视频拍摄控件,则结束当前视频片段的拍摄得到视频片段3,同时,拍摄界面上将第四次同时显示视频拍摄模式控件和视频拍摄控件,以及将第三次显示视频生成控件,用户触发视频生成控件,则结束当前整个视频拍摄并将已有的视频片段1、视频片段2和视频片段3合成得到目标视频。
示例二:视频拍摄模式指令和视频拍摄指令通过用户触发或选择终端的拍摄界面上的相应控件生成,未检测到拍摄时间长度达到预定拍摄时间阈值前的视频拍摄暂停指令由用户通过触发终端的拍摄界面上的相应控件生成,而检测到拍摄时间长度达到预定拍摄时间阈值时无需通过用户释放终端的拍摄界面上的相应控件来生成视频拍摄暂停指令而是自动生成视频拍摄暂停,此外,也无需通过用户触发终端的拍摄界面上的相应控件来生成视频生成指令,而是同时自动生成视频生成指令。与示例一得到视频片段1、视频片段2和视频片段3的过程相同,只是当拍摄得到视频片段3后,视频片段1、视频片段2和视频片段3的拍摄时间长度之和等于预定拍摄时间阈值,此时,无需再通过用户释放视频拍摄控件来结束当前视频片段拍摄,便可得到视频片段3,同时,也无需通过用户触发视频生成控件来结束当前整个视频拍摄,便可以自动将已有的视频片段1、视频片段2和视频片段3合成得到目标视频。
在一实施例中,这里所述的触发视频拍摄控件可以指长按视频拍摄控件,当释放视频拍摄控件时,确定当前视频片段已拍摄结束。
本实施例的技术方案,通过获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同,当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,判断是否获得视频生成指令, 若没有获得视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得视频生成指令,根据已有的视频片段生成目标视频,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。
在一实施例中,视频拍摄暂停指令可以通过用户触发,或者可以通过判断拍摄时间长度是否达到预定拍摄时间阈值触发。
在本公开的实施例中,视频拍摄暂停指令可以通过用户触发而生成,也可以通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发而生成,其中,视频拍摄暂停指令通过用户触发而生成适用于拍摄时间长度未达到预定拍摄时间阈值的情况,而视频拍摄暂停指令通过判断拍摄时间长度是否达到预定拍摄时间阈值触发而生成适用于拍摄时间长度达到预定拍摄时间阈值的情况。示例性的,如预定拍摄时间阈值可以为15秒,当前已得到视频片段1和视频片段2,其中,视频片段1的拍摄时间长度为3秒,视频片段2的拍摄时间长度为8秒。由于拍摄视频片段1的拍摄时间长度为3秒未达到预定拍摄时间阈值所设定的15秒,因此,得到视频片段1对应的视频拍摄暂停指令为通过用户触发而生成。由于拍摄视频片段2的拍摄时间长度为8秒,与视频片段1的拍摄时间长度之和为11秒,也未达到预定拍摄时间阈值所设定的15秒,因此,得到视频片段2对应的视频拍摄暂停指令也为通过用户触发而生成。现正在进行下一个视频片段的拍摄,当该视频片段的拍摄时间长度达到4秒时,由于该视频片段的拍摄时间长度与视频片段1和视频片段2的拍摄时间长度之和等于15秒,达到了预定拍摄时间阈值所设定的15秒,因此,视频拍摄暂停指令无需通过用户触发便可以自动生成,相应的得到了视频片段3。
在一实施例中,视频生成指令可以通过用户触发而生成,也可以通过确定拍摄时间长度达到预定拍摄时间阈值触发而生成,其中,视频生成指令通过用户触发而生成适用于拍摄时间长度未达到预定拍摄时间阈值的情况,而视频生成指令通过判断拍摄时间长度是否达到预定拍摄时间阈值触发而生成适用于拍摄时间长度达到预定拍摄时间阈值的情况。示例性的,如预定拍摄时间阈值可以为15秒,当前已得到视频片段1和视频片段2,其中,视频片段1的拍摄时间长度为3秒,视频片段2的拍摄时间长度为8秒。此时,获得视频生成指令, 该视频生成指令是由通过用户触发而生成的。这是由于拍摄视频片段1的拍摄时间长度和拍摄视频片段2的拍摄时间长度之和为11秒,未达到预定拍摄时间阈值所设定的15秒。现正在进行下一个视频片段的拍摄,当该视频片段的拍摄时间长度达到4秒时,由于该视频片段的拍摄时间长度与视频片段1和视频片段2的拍摄时间长度之和等于15秒,达到了预定拍摄时间阈值所设定的15秒,因此,在自动生成视频拍摄暂停指令的同时,便也无需通过用户触发而自动生成了视频生成指令。
基于上述可知,当判断出拍摄时间长度达到预定拍摄时间阈值时,无需通过用户触发便可以在生成视频拍摄暂停指令的同时也生成视频生成指令。
在一实施例中,通过断拍摄时间长度是否达到预定拍摄时间阈值来触发,在一实施例中,判断已拍摄视频的长度是否达到预定拍摄时间阈值,若已达到则触发视频拍摄暂停指令,已拍摄视频的长度(或拍摄时间长度)可以包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
在本公开的实施例中,视频拍摄暂停指令通过判断时间长度是否达到预定拍摄时间阈值来触发,在一实施例中,判断已拍摄视频的长度是否达到预定拍摄时间阈值,其中,如果已拍摄视频的长度达到预定拍摄时间阈值,则便可以触发视频拍摄暂停指令而无需通过用户触发;如果已拍摄视频的长度未达到预定拍摄时间阈值,则通过用户触发视频拍摄暂停指令。在一实施例中,已拍摄视频的长度(或拍摄时间长度)可以包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度,在一实施例中,当已拍摄视频的长度包括一段已拍摄的视频的拍摄时间长度时,说明该段已拍摄的视频的拍摄时间长度达到了预定拍摄时间阈值;当已拍摄视频的长度包括多段已拍摄的视频的拍摄时间总长度时,说明多段已拍摄的视频的拍摄时间总长度达到了预定拍摄时间阈值。
示例性的,如预定拍摄时间阈值为15秒,现假设已有视频片段1,其中,视频片段1的视频的长度为15秒。由于视频片段1的视频的长度为15秒,已达到预定拍摄时间阈值所设定的15秒,因此,已拍摄视频的长度为视频片段1的视频的长度。现又假设已有视频片段1和视频片段2,其中,视频片段1的视频的长度为7秒,视频片段2的视频的长度为8秒。由于视频片段1和视频片 段2的视频的总长度为15秒,因此,已拍摄视频的长度为视频片段1和视频片段2的视频的总长度。
在一实施例中,视频生成指令通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发,可以包括:判断已拍摄视频的长度是否达到预定拍摄时间阈值,若已达到则触发视频生成指令,已拍摄视频的长度(或拍摄时间长度)可以包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
基于上述触发视频拍摄暂停指令和视频生成指令的两种不同方式,对本公开实施例的技术方案作如下说明:
情况一:判断出拍摄时间长度未达到预定拍摄时间阈值。相应的,视频拍摄暂停指令和视频生成指令均只能通过用户触发而生成,即用户如果不触发便不会生成视频拍摄暂停指令和视频生成指令。即:
获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至通过用户触发获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。判断是否获得通过用户触发生成的视频生成指令,若没有获得通过用户触发生成的视频拍摄暂停指令,则重复获取视频拍摄模式指令和视频拍摄指令以及重复获取通过用户触发获取视频拍摄暂停指令得到对应的视频片段,直至获得通过用户触发生成的视频生成指令,则将已有的视频片段合成得到目标视频。
情况二:判断出拍摄时间长度已达到预定拍摄时间阈值。按照目标视频只包括一个视频片段和目标视频包括至少两个视频片段分别进行说明,即:
1、目标视频只包括一个视频片段,即拍摄得到的一个视频片段的拍摄时间长度达到预定拍摄时间阈值。获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到通过拍摄时间长度已达到预定拍摄时间阈值触发生成的视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,同时,也获得通过拍摄拍摄时间长度已达到预定拍摄时间阈值触发生成的视频生成指令,并将已有的视频片段合成得到目标视频。
2、目标视频包括至少两个视频片段,即拍摄得到的多个视频片段的拍摄时 间长度之和达到预定拍摄时间阈值,多个视频片段中最后一个视频片段对应的视频拍照暂停指令和视频生成指令均通过拍摄时间长度达到预定拍摄时间阈值而生成的。获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到通过用户触发生成的视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,判断是否获得通过拍摄时间长度达到预定拍摄时间阈值生成的视频拍摄暂停指令,若没有通过拍摄时间长度达到预定拍摄时间阈值生成的视频拍摄暂停指令,则重复获取视频拍摄模式指令和视频拍摄指令以及重复获取通过用户触发生成的视频拍摄暂停指令得到对应的视频片段,直至获得通过拍摄时间长度达到预定拍摄时间阈值生成的视频拍摄暂停指令得到最后一个视频片段,同时,获得通过拍摄时间长度达到预定拍摄时间阈值生成的视频生成指令,则将已有的视频片段合成得到目标视频。在一实施例中,最后一个视频片段对应的视频拍摄暂停指令是通过拍摄时间长度达到预定拍摄时间阈值生成的,视频生成指令也是通过拍摄时间长度达到预定拍摄时间阈值生成的。
在一实施例中,在当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段之前,还可以包括:判断是否获得第一特效指令。相应的,当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,可以包括:若获得第一特效指令,则当获得视频拍摄指令时,根据第一特效指令和拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。
在本公开的实施例中,为了呈现更好的视频拍摄效果,可以在对目标场景进行视频拍摄前,设置拍摄特效。基于上述,在根据拍摄速度对目标场景进行视频拍摄之前,判断是否获得第一特效指令,其中,第一特效指令可以包括美化指令、道具指令或倒计时指令中的至少一种,美化指令可以包括滤镜指令、磨皮指令或大眼瘦脸指令中的至少一种;道具指令可以包括多种道具;滤镜指令又可以包括正常、日系、年华或纯真等,磨皮指令和大眼瘦脸指令以数值表征,如0、1或2等。
如果获得第一特效指令,则可以根据第一特效指令和拍摄速度对目标场景进行视频拍摄,即将第一特效指令对应的特效加入到视频拍摄过程中,进而可呈现更好的视频拍摄效果。在上述视频拍摄过程中,直至获取到视频拍摄暂停指令,则可以结束当前视频片段的拍摄得到对应的视频片段。
示例性的,如在对目标场景进行视频拍摄前,判断获得第一特效指令,该第一特效指令包括美化指令和道具指令,根据获取到的视频拍摄指令确定启动对目标场景进行视频拍摄的拍摄进程,并根据第一特效指令和拍摄速度对当前目标场景进行视频拍摄,直至获取到视频拍摄暂停指令,则可以结束当前视频片段拍摄得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。相应的,得到的对应的视频片段中包含了第一特效指令可达到的效果。
在一实施例中,在根据已有的视频片段生成目标视频之后,还可以包括:判断是否获得编辑指令。若获得编辑指令,则根据编辑指令对目标视频进行处理得到处理后的目标视频。
在本公开的实施例中,为了呈现更好的视频拍摄效果,可以根据已有的视频片段生成目标视频之后,对目标视频进行编辑处理。基于上述,在根据已有的视频片段生成目标视频之后,判断是否获得编辑指令,其中,编辑指令可以包括剪音乐指令、选音乐指令或选封面指令中的至少一种。在一实施例中,编辑指令还可以包括第二特效指令和滤镜指令,第二特效指令可以包括滤镜特效指令或时间特效指令,滤镜特效指令可以包括灵魂出窍、幻觉或抖动等,时间特效指令可以包括时光流逝、闪一下或慢动作等。在一实施例中,这里所述的滤镜指令与前文所述美化指令中的滤镜指令相同。在一实施例中,由于第二特效指令可以包括滤镜特效指令和时间特效指令,而第一特效指令可以包括美化指令、道具指令和倒计时指令,两者所包含的内容并不相同,此外,这里所述的第二特效指令针对合成的目标视频,对其进行后期的编辑处理,第二特效指令可应用于目标视频中选定的特定时刻。
如果获得编辑指令,则根据编辑指令对目标视频进行处理得到处理后的目标视频,即对目标视频进行后期编辑处理,进而可呈现更好的视频拍摄效果。
在一实施例中,在若获得编辑指令,则根据编辑指令对目标视频进行处理得到处理后的目标视频之后,还可以包括:判断是否获得存储模式指令,存储 模式指令包括草稿箱指令或发布指令。若获得存储模式指令,则根据存储模式指令将处理后的目标视频进行存储。
在本公开的实施例中,存储模式指令可以指目标视频的存储形式,可以包括草稿箱指令或发布指令,如果选定的存储模式指令为草稿箱指令,则目标视频将保存至草稿箱,草稿箱中的目标视频只有当前用户可以看到;如果选定的存储模式指令为发布指令,则目标视频将上传至网络,使得目标视频也可以被其它用户看到。
当得到处理后的目标视频后,判断是否获得存储模式指令,如果获得存储模式指令,则可以根据存储模式指令将处理后的目标视频进行对应存储。上述实现了用户可根据实际情况选择合适的目标视频的存储形式。
在一实施例中,在若获得存储模式指令,则根据存储模式指令将处理后的目标视频进行存储之后,还可以包括:判断是否获得视频播放指令。若获得视频播放指令,则根据视频播放指令对处理后的目标视频进行播放。
在本公开的实施例中,当根据存储模式指令将处理后的目标视频进行对应存储指令,可以判断是否获得视频播放指令,如果获得视频播放指令,则可以根据视频播放指令对处理后的目标视频进行播放。
在一实施例中,由于目标视频是由至少一个视频片段进行合成而得到的,其中,每个视频片段在拍摄时对应各自的拍摄速度,因此,目标视频在播放时便可以直接呈现相应的拍摄效果,即在该目标视频中可能呈现有正常拍摄速度的视频片段,也可能呈现有快镜头拍摄速度的视频片段,还可能呈现有慢镜头拍摄速度的视频片段。也即,该目标视频在播放时可能有多种呈现效果,而不是单一的只有一种呈现效果。
在一实施例中,除了前文所述的视频拍摄模式指令、视频拍摄指令、视频拍摄暂停指令和视频生成指令可以通过触发、选择或释放终端的拍摄界面上的相应控件生成外,第一特效指令、编辑指令、存储模式指令以及播放指令也可以通过触发或选择目标界面上的相应控件生成。
在一实施例中,在视频片段拍摄过程中,可以对已得到的视频片段进行删除操作,可以为:判断是否获得到删除指令。若获得删除指令,则根据删除指令对相应的已得到的视频片段进行删除。上述适用于用户对拍摄的某一视频片 段不满意的情况,并可以通过删除指令将相应的视频片段删除。进行删除的视频片段可以是当前视频片段的上一个视频片段,也可以是当前视频片段的上几个视频片段,可以根据实际情况进行确定,在此不作具体限定。
实施例二
图2为本公开实施例提供的另一种视频拍摄方法的流程图,本实施例可适用于降低视频处理难度的情况,该方法可以由视频拍摄装置来执行,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于终端设备中,例如典型的是手机和/或平板电脑等。如图2所示,该方法包括如下步骤201至步骤213。
在步骤201中,获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。
在步骤202中,判断是否获得特效指令,若是,则执行步骤203;若否,则执行步骤204。
在步骤203中,当获得视频拍摄指令时,根据特效指令和拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,并转入执行步骤205。
在步骤204中,当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,并转入执行步骤205。
在步骤205中,判断是否获得视频生成指令;若是,则执行步骤207;若否,则执行步骤206。
在步骤206中,重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段后返回执行步骤205。
在步骤207中,根据已有的视频片段合成目标视频。
在步骤208中,判断是否获得编辑指令;若是,则执行步骤209;若否,则执行步骤210。
在步骤209中,根据编辑指令对目标视频进行处理得到处理后的目标视频。
在步骤210中,判断是否获得存储模式指令;若是,则执行步骤211;若否, 则继续执行步骤210。
在步骤211中,根据存储模式指令将目标视频或处理后的目标视频进行存储。
在步骤212中,判断是否获得视频播放指令;若是,则执行步骤213;若否,则返回执行步骤212。
在步骤213中,根据视频播放指令对目标视频或处理后的目标视频进行播放。
在本公开的实施例中,特效指令可以包括美化指令、道具指令或倒计时指令中的至少一种;编辑指令可以包括剪音乐指令、选音乐指令或选封面指令中的至少一种;存储模式指令可以包括草稿箱指令或发布指令。
本实施例的技术方案,通过获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同,当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,判断是否获得视频生成指令,若没有获得视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得视频生成指令,根据已有的视频片段生成目标视频,以及根据获得的编辑指令对目标视频进行处理,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。
实施例三
图3为本公开实施例提供的再一种视频拍摄方法的流程图,本实施例可适用于降低视频处理难度的情况。如图3所示,该方法包括步骤310至步骤350。
在步骤310中,检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作。
在步骤320中,在目标界面上显示拍摄的目标场景直至检测到视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件。
在步骤330中,判断是否检测到用户对目标界面上的下一步控件的触发操 作;若是,则转入执行步骤350;若否,则转入执行步骤340。
在步骤340中,当检测到用户对视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段后返回执行步骤330。
在步骤350中,根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
在本公开的实施例中,视频拍摄过程可以通过用户对目标界面上的相关控件的操作实现,其中,目标界面可以指用户可操作的拍摄界面。在一实施例中,检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作,其中,用户对目标界面上的视频拍摄模式控件的选择操作可以用于选择对应的视频拍摄模式,视频拍摄模式对应拍摄速度;用户对目标界面上的视频拍摄控件的触发操作可以用于表示开启当前视频拍摄进程;用户对目标界面上的视频拍摄控件的释放操作可以用于表示结束当前视频片段的拍摄;用户对目标界面上的下一步控件的触发操作可以用于表示结束当前视频拍摄,并触发将已有的视频片段进行合成得到目标视频。在一实施例中,视频拍摄模式控件的个数为至少两个。视频拍摄模式控件可以包括快镜头控件、正常控件和慢镜头控件,在一实施例中,如果用户选择了视频拍摄模式控件中的快镜头控件,则可以说明对目标场景进行视频拍摄所对应的拍摄速度为快镜头拍摄速度;如果用户选择了视频拍摄模式控件中的正常控件,则可以说明对目标场景进行视频拍摄所对应的拍摄速度为正常拍摄速度;如果用户选择了视频拍摄模式控件中的慢镜头控件,则可以说明对目标场景进行视频所对应的拍摄速度为慢镜头拍摄速度。为了满足用户的需求,以便呈现更好的视频拍摄效果,可以在目标界面上设置更多的视频拍摄模式控件,如2倍快镜头控件或1/2慢镜头控件等,可以根据实际情况进行设定,在此不作具体限定。
检测到用户对目标界面上的视频拍摄模式控件的选择操作确定对应的拍摄速度并检测到用户对目标界面上的视频拍摄控件的触发操作确定启动对显示在目标界面中的目标场景进行视频拍摄的拍摄进程,在该拍摄速度下对目标场景进行视频拍摄,直至检测到用户对视频拍摄控件的释放操作,则可以结束当前 视频片段拍摄得到对应的视频片段并存储,同时,目标界面上将再次显示视频拍摄模式控件和视频拍摄控件,以便于进行下一个视频片段的拍摄。判断是否检测到用户对目标界面上的下一步控件的触发操作,如果没有检测到用户对目标界面上的下一步控件的触发操作,则重复检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作,根据用户对目标界面上的视频拍摄模式控件的选择操作确定对应的拍摄速度,根据用户对目标界面上的视频拍摄控件的触发操作确定启动对显示在目标界面中的目标场景进行视频拍摄的拍摄进程,在该拍摄速度下对目标场景进行视频拍摄,直至检测到用户对拍摄控件的释放操作,则可以结束当前视频片段拍摄得到对应的视频片段并存储,同时,目标界面上将再次显示视频拍摄模式控件和视频拍摄控件,以便于进行下一个视频片段的拍摄。在没有检测到用户对目标界面上的下一步控件的触发操作,则每执行一次步骤340便可以得到一个对应的视频片段,每个视频片段对应各自的拍摄速度。直至检测到用户对目标界面上的下一步控件的触发操作,则可以结束整个当前视频拍摄进程,并将已有的视频片段合成得到目标视频,同时将跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果。在一实施例中,目标视频可以由已有的视频片段按照生成的先后顺序进行拼接合成得到。
本实施例的技术方案,通过检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作,在目标界面显示目标场景直至检测到用户对视频拍摄控件的释放操作,则得到对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件,判断是否检测到用户对目标界面上的下一步控件的触发操作,若没有检测到用户对目标界面上的下一步控件的触发操作,则重复检测到用户对视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作,跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。
在一实施例中,该方法还可以包括:在目标界面上显示目标场景的同时,显示进度条。若检测到进度条显示完整,则从所述目标界面跳转到所述视频存 储界面并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
在本公开的实施例中,在目标界面上显示目标场景的同时,还显示进度条,进度条可以表征拍摄时间长度,即随着视频拍摄进行,进度条的长度也相应延长。如果进度条显示完整,则可以表明拍摄时间长度达到预定拍摄时间阈值。即此时可以无需用户通过用户释放视频拍摄控件来生成视频拍摄暂停指令,以及通过用户触发下一步控件来生成视频生成指令,便可以在自动生成视频拍摄暂停指令的同时,也自动生成视频生成指令,进而跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,如果视频拍摄暂停指令是通过用户释放视频拍摄控件的方式生成的,同时,视频生成指令是通过用户触发下一步控件的方式生成的,则可以说明进度条未显示完整,因此,相应的,并不会自动生成视频拍摄暂停指令和视频生成指令,进而跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果。如果进度条显示完整,则只有最后一个视频片段对应获取到的视频拍摄暂停指令的方式与前面已有的视频片段对应获取到的视频拍摄暂停指令的方式不同,同时,获取到视频生成指令的方式与进度条未显示完整的情况不同。针对进度条显示完整的情况,在一实施例中,检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作,在目标界面显示目标场景直至检测到用户对视频拍摄控件的释放操作,则得到对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件,继续检测到用户对目标界面上的视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段(针对最后一个视频片段之前所有的视频片段);或者,检测到用户最后一次对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作后,直至检测到进度条显示完整(此时得到视频拍摄暂停指令)时跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,在检测到用户对视频拍摄控件的触发操作之前,还可以包括:检测到用户对目标界面上的第一特效控件的选择操作。相应的,在目标界面显示目标场景,可以包括:在目标界面显示叠加了用户选择的第一特效控件的目标场景。
在本公开的实施例中,为了呈现更好的视频拍摄效果,可以在对目标场景进行视频拍摄前,设置拍摄特效。在一实施例中,可以通过用户对目标界面上的第一特效控件的触发操作实现。基于上述,在检测到用户对视频拍摄控件的触发操作之前,检测到用户对目标界面上的第一特效控件的选择操作,其中,第一特效控件可以包括美化控件、道具控件或倒计时控件中的至少两种,美化控件又可以包括滤镜控件、磨皮控件或大眼瘦脸控件中的至少一种;道具控件可以包括多种道具;滤镜控件又可以包括正常、日系、年华或纯真等控件,磨皮控件和大眼瘦脸控件。在一实施例中,如果检测到用户对目标界面上的第一特效控件的选择操作,则在对目标场景的视频片段拍摄过程中,便叠加了相应的特效,即得到的对应的视频片段中包含了相应的特效。在一实施例中,在目标界面显示目标场景直至检测到用户对视频拍摄控件的释放操作,则得到对应的视频片段并在目标界面上除了显示视频拍摄模式控件和视频拍摄控件外,还将显示第一特效控件。
在一实施例中,在跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果之后,还可以包括:跳转到视频编辑界面,视频编辑界面包括编辑控件和下一步控件。若检测到用户对编辑控件的选择操作并检测到用户对视频编辑界面上的下一步控件的触发操作,则从所述视频编辑界面跳转到视频存储模式界面;其中,视频存储模式界面包括存储模式控件。
在本公开的实施例中,为了呈现更好的视频拍摄效果,可以对目标视频进行编辑处理,在一实施例中,可以在跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果之后,跳转到视频编辑界面,视频编辑界面上可以包括编辑控件和下一步控件,其中,编辑控件可以包括剪音乐控件、选音乐控件、选封面控件或滤镜控件中的至少两种。在一实施例中,编辑控件还可以包括第二特效控件和滤镜控件,第二特效控件可以包括滤镜特效控件或时间特效控件,滤镜特效控件可以包括灵魂出窍、幻觉或抖动等控件,时间特效控件可以包括时光流逝、闪一下或慢动作等控件。用户对视频编辑界面上的下一步控件的触发操作可以用于由视频编辑界面跳转到视频存储模式界面。在一实施例中,这里所述的编辑控件中的滤镜控件与上文所述美化控件中的滤镜控件相同。在一实施例中,这里所述的第二特效控件针对合成的但未经过编辑处理的目标视频,对其进行后期的编辑处理。通过用户对视频编辑界面上的编辑控件 的选择操作实现对目标视频进行编辑处理。基于上述,如果检测到用户对编辑控件的选择操作,则将根据选择的编辑控件对目标视频进行编辑处理,同时检测到用户对编辑界面上的下一步控件的触发操作则跳转到视频存储模式界面。视频存储模式界面上可以包括存储模式控件,用户可以通过对存储模式控件的选择操作选择合适的目标视频的存储形式。
根据前文所述可知,目标界面上也存在下一步控件,对于用户对两个下一步控件的触发操作而言:用户对目标界面上的下一步控件的触发操作可以用于表示结束当前整个视频的拍摄,并触发将已有的视频片段进行合成并由目标界面跳转到视频存储界面显示得到目标视频的结果,而用户对视频编辑界面上的下一步控件的触发操作则可以用于表示由视频编辑界面跳转到视频存储模式界面。
在一实施例中,第二特效控件与前文所述的本公开实施例中的第一特效控件均可以起到添加特效的作用,但是,第二特效控件包括滤镜特效控件或时间特效控件,而第一特效控件包括美化控件、道具控件或倒计时控件中的至少两种,两种控件所包含的内容并不相同。
在一实施例中,在跳转到视频存储模式界面,视频存储模式界面包括存储模式控件之后,还可以包括:若检测到用户对存储模式控件的选择操作,则从所述视频存储模式界面跳转到视频呈现模式界面并在所述视频呈现模式界面显示目标视频的与所述存储模式控件的选择操作对应的存储结果;其中,存储模式控件包括草稿箱控件和发布控件。
在本公开的实施例中,用户可以通过对存储模式控件的选择操作选择合适的目标视频的存储形式。如果检测到用户对视频存储界面上的存储模式控件的选择操作,则将跳转到视频呈现模式界面并显示目标视频的存储结果,其中,存储模式控件可以包括草稿箱控件和发布控件,如果选择的存储模式控件为草稿箱控件,则目标视频将保存至草稿箱,草稿箱中的目标视频只有当前用户可以看到;如果选择的存储模式控件为发布控件,则目标视频将上传至网络,使得目标视频也可以被其它用户看到。在一实施例中,这里所述的目标视频指的是经过编辑处理后的目标视频。而如果未对目标视频进行编辑处理,那么目标视频就是指直接合成得到的视频。在一实施例中,该方法还可以包括:若检测 到在用户主页界面上的作品控件的触发操作,则跳转到视频播放界面并在所述视频播放界面播放所述目标视频。
在本公开的实施例中,用户主页界面上通常会显示用户基本信息和用户作品信息,并且上述信息可以通过用户主页界面上的对应控件进行相关操作,如对用户基本信息进行修改,以及对用户作品进行播放等。当用户观看目标视频时,可以通过触发用户主页界面上的作品控件来实现。在一实施例中,如果检测到用户对用户主页界面上的作品控件的触发操作,则跳转到视频播放界面并播放目标视频。此外,视频播放界面上还显示分享控件、点赞控件和评论控件等,示例性的,如用户可以通过触发分享控件,将目标视频分享到其它应用软件。用户可以通过触发点赞控件对目标视频进行点赞。用户可以通过触发评论控件,输入相应的文字或表情等对目标视频进行评论。
在一实施例中,当得到第一个视频片段后,在目标界面上显示视频拍摄模式控件和视频拍摄控件的同时,还可以显示删除控件,触发删除控件可以用于对已得到的视频片段进行删除,进行删除的视频片段可以是当前视频片段的上一个视频片段,也可以是当前视频片段的上几个视频片段,可以根据实际情况进行确定,在此不作具体限定。上述适用于用户对拍摄的某一视频片段不满意的情况,并可以通过触发目标界面上的删除控件对相应的视频片段进行删除操作。
实施例四
图4为本公开实施例提供的又一种视频拍摄方法的流程图,本实施例可适用于降低视频处理难度的情况。如图4所示,该方法包括步骤401至步骤412。
在步骤401中,检测到用户目标界面上的视频拍摄模式控件的触发操作和第一特效控件的选择操作,并转入执行步骤403。
在步骤402中,检测到用户对目标界面上的视频拍摄模块控件的触发操作,并转入执行步骤403。
在步骤403中,在目标界面显示目标场景和进度条。
在步骤404中,判断进度条是否显示完整;若是,则转入执行步骤408;若否,则执行步骤405。
在步骤405中,直至检测到用户对视频拍摄控件的释放操作,则得到对应的视频片段并在目标界面上显示视频拍摄模式控件、视频拍摄控件和第一特效控件。
在步骤406中,判断是否检测到用户对目标界面上的下一步控件的触发操作;若是,则转入执行步骤408;若否,则执行步骤407。
在步骤407中,检测到用户对视频拍摄模式控件的选择操作、第一特效控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段;或者,检测到用户对视频拍摄模式指令的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段后返回执行步骤406。
在步骤408中,跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果。
在步骤409中,跳转到视频编辑界面,视频编辑界面包括编辑控件和下一步控件。
在步骤410中,检测到用户对编辑控件的选择操作并检测到用户对下一步控件的触发操作,则跳转到视频存储模式界面;或者,检测到用户对下一步控件的触发操作,则跳转到视频存储模式界面;视频存储模式界面包括存储模式控件。
在步骤411中,检测到用户对存储模式控件的选择操作,则跳转到视频呈现模式界面并显示目标视频的存储结果,存储模式控件包括草稿箱控件和下一步控件。
在步骤412中,检测到用户对用户主页界面上的作品控件的触发操作,则跳转到视频播放界面并播放目标视频。
在本公开的实施例中,下面以终端上的某视频分享软件为例进行说明:
如图5所示,给出了一种初始目标界面的结构示意图,即当前还未进行视频拍摄,该初始目标界面可以包括:视频拍摄模式控件1、视频拍摄控件2、第一特效控件3(图中未示出)、下一步控件4和返回控件5,其中,视频拍摄模式控件1可以包括:快镜头控件11、正常控件12和慢镜头控件13,在一实施 例中,视频拍摄模式控件1的个数为不止一个,也不限于图5中所示出的。第一特效控件3可以包括:美化控件31、道具控件32和倒计时控件33。当用户对目标场景进行视频拍摄时,可以通过对初始目标界面上的相关控件的操作实现。在视频拍摄过程中,初始目标界面将相应的发生变化。下面将对视频拍摄的所涉及的多个过程以用户操控目标界面上的控件的方式进行说明。
首先,用户通过对初始目标界面上的相关控件的操控完成对拍摄模式和特效形式的选择操作。在一实施例中,如图6所示,用户通过对初始目标界面上的视频拍摄模式控件1的选择操作,选择了快镜头控件11;如图7所示,用户通过对初始目标界面上的美化控件31的触发操作跳转到如图8所示的美化界面,同时,美化界面上显示有滤镜控件、磨皮控件和大眼瘦脸控件,通过对滤镜控件的触发操作选择了年华,通过对磨皮控件的触发操作跳转到如图9所示的磨皮选择界面,并选择了数值1,以及通过对大眼瘦脸控件的触发操作跳转到如图10所示的大眼瘦脸选择界面,并选择了数值1。如图11所示,用户通过对初始目标界面上的道具控件32的触发操作跳转到如图12所示的道具界面,并选择了高考加油。此外,由于没有触发倒计时控件33,因此,不进行倒计时的操作。至此,完成了对视频拍摄模式和特效形式的选择操作。
如图13所示,用户通过触发视频拍摄控件2跳转到如图14所示的拍摄界面,此时用户长按拍摄控件2,便可以对目标场景进行视频拍摄,并在拍摄界面的左上角显示进度条。当用户释放拍摄控件2时,完成当前视频片段的拍摄,得到对应的当前视频片段,并跳转到如图15的目标界面,该目标界面上还包括撤销控件6,触发撤销控件6可以设置为对已存储的上一个视频片段进行删除操作。如图16,用户通过对目标界面上的撤销控件6的触发操作跳转到如图17所示撤销界面,并在撤销界面上显示对话框,如图所示,通过对撤销界面上的确定控件的触发操作,跳转到如图18所示的目标界面,该目标界面与未进行撤销前的目标界面相比,区别在于位于图中左上角所示的进度条,删除相应的视频片段后,该进度条相应的位置的长度也将被删除。此外,为了得到下一个视频片段,用户可以重复执行上述所述的对视频拍摄模式控件1、第一特效控件3的选择操作和视频拍摄控件2的触发操作以及后续拍摄操作。在一实施例中,当进度条未显示完整时,用户均是通过对视频拍摄控件2的释放操作来结束每个视频片段拍摄的。
如图19所示,用户通过对目标界面上的下一步控件4的触发操作跳转到如图20所示的视频存储界面中对已得到的视频片段进行合成得到目标视频,当合成得到目标视频后便跳转到如图21所示的视频编辑界面,视频编辑界面上可以包括编辑控件7(图中未示出),编辑控件7可以包括:剪音乐控件71、选音乐控件72、选封面控件73和滤镜控件74,在一实施例中,这里所述的滤镜控件74与前文所述的美化控件中的滤镜相同。编辑控件7还可以包括第二特效控件75。如图22所示,通过对视频编辑界面上的第二特效控件75的触发操作跳转到如图23所示的第二特效控件选择界面,其中,第二特效控件选择界面上包括滤镜特效控件和时间特效控件,通过对滤镜特效控件进行的选择操作,选择了其中的第一种滤镜特效,通过对时间特效控件的触发操作跳转到如图24所示的时间特效选择界面,并选择了其中的第一种时间特效;如图25所示,用户通过对视频编辑界面上的选封面控件73的触发操作跳转到如图26的封面选择界面,并选择了其中的第一种封面;如图27所示,用户通过对视频编辑界面上的滤镜控件74的触发操作跳转到如图28所示的滤镜选择界面,并选择了正常。此外,并未触发剪音乐控件71和选音乐控件72,即未选择上述编辑处理方式。至此,完成了对视频片段的合成操作和对合成得到的目标视频的编辑处理操作。
如图29所示,用户通过对视频编辑界面上的下一步控件4的触发操作跳转到如图30所示的视频存储模式界面,视频存储模式界面上可以包括存储模式控件8(图中未示出),存储模式控件8可以包括草稿箱控件81和发布控件82,用户通过对发布控件82的触发操作跳转到如图31的用户主页界面,用户主页界面上可以包括作品控件9,通过对作品控件9的触发操作跳转到如图32所示的视频播放界面,并播放目标视频。其中,视频播放界面上可以包括分享控件、点赞控件和评论控件等。在一实施例中,本实施例中的第一特效控件与第二特效控件均可以起到添加特效的作用,但是,第一特效控件包括美化控件、道具控件和倒计时控件,而第二特效控件包括滤镜特效控件或时间特效控件,两种控件所包含的内容并不相同。
此外,在一实施例中,当检测到用户最后一次对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作后,直至检测到进度条显示完整,则跳转到视频存储界面而无需检测到用户对目标界面上的下一步控件的触发操作时才跳转到视频存储界面。示例性的,如图33所示,当检测到进度条显示完 整时跳转到如图34所示的视频存储界面中对已得到的视频片段进行合成得到目标视频,此时,用户可以依旧保持对视频拍摄控件2的触发操作。当合成得到目标视频后便跳转到如图21所示的视频编辑界面。
本实施例的技术方案,通过获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同,当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,判断是否获得视频生成指令,若没有获得视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得视频生成指令,根据已有的视频片段生成目标视频,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。在一实施例中,视频拍摄暂停指令可以通过用户触发,或者可以通过判断拍摄时间长度是否达到预定拍摄时间阈值触发。
实施例五
图35为本公开实施例提供的一种视频拍摄装置的结构示意图,本实施例可适用于降低视频处理难度的情况,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于终端设备中,例如典型的是手机和/或平板电脑等。如图35所示,该装置包括:视频拍摄模式指令获取模块510、视频片段生成模块520、视频生成指令判断模块530、视频生成指令获得模块540和目标视频生成模块550。其中,
视频拍摄模式指令获取模块510,设置为获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。
视频片段生成模块520,设置为当获得所述视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。
视频生成指令判断模块530,设置为判断是否获得视频生成指令.
视频生成指令获得模块540,若没有获得所述视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止。
目标视频生成模块550,设置为基于所述视频生成指令,根据已有的视频片段生成目标视频。
本实施例的技术方案,通过视频拍摄模式指令获取模块510获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同,视频片段生成模块520当获得视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段,视频生成指令判断模块530判断是否获得视频生成指令,视频生成指令获得模块540若没有获得视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得视频生成指令,目标视频生成模块550根据已有的视频片段生成目标视频,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。
在一实施例中,视频拍摄暂停指令可以通过用户触发,或者可以通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发。
在一实施例中,在通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发所述视频拍摄暂停指令的情况下,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
即:判断已拍摄视频的长度是否达到预定拍摄时间阈值,若已达到则触发视频拍摄暂停指令,已拍摄视频的长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
在一实施例中,该装置还可以包括:
特效指令判断模块,设置为判断是否获得特效指令。
所述视频片段生成模块520可以包括:
视频片段生成单元,设置为若获得所述特效指令,则当获得视频拍摄指令时,根据特效指令和拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。
在一实施例中,该装置还可以包括:
编辑指令判断模块,设置为判断是否获得编辑指令。
目标视频处理模块,设置为若获得所述编辑指令,则根据编辑指令对目标视频进行处理得到处理后的目标视频。
在一实施例中,该装置还可以包括:
存储模式指令判断模块,设置为判断是否获得存储模式指令;目标视频存储模块,设置为若获得所述存储模式指令,则根据存储模式指令将处理后的目标视频进行存储;
其中,所述存储模式指令包括草稿箱指令或发布指令。
在一实施例中,该装置还可以包括:
视频播放指令判断模块,设置为判断是否获得视频播放指令。
目标视频播放模块,设置为若获得所述视频播放指令,则根据视频播放指令对处理后的目标视频进行播放。
本公开实施例所提供的视频拍摄装置可执行本公开任意实施例所提供的视频拍摄方法,具备执行方法相应的功能模块和效果。
实施例六
图36为本公开实施例提供的另一种视频拍摄装置的结构示意图,本实施例可适用于降低视频处理难度的情况,该装置可以采用软件和/或硬件的方式实现,该装置可以配置于终端设备中,例如典型的是手机和/或平板电脑等。如图36所示,该装置包括:选择和触发操作检测模块610、视频片段存储模块620、下一步控件触发判断模块630、下一步控件触发检测模块640和目标视频生成模块650,其中:
选择和触发操作检测模块610,设置为检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作。
视频片段存储模块620,设置为在目标界面显示拍摄的目标场景直至检测到视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件。
下一步控件触发判断模块630,设置为判断是否检测到用户对目标界面上的下一步控件的触发操作。
下一步控件触发检测模块640,设置为若没有检测到用户对目标界面上的下一步控件的触发操作,则当重复检测到视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止。
目标视频生成模块650,设置为根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
本实施例的技术方案,通过选择和触发操作检测模块610检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作,视频片段存储模块620在目标界面显示目标场景直至检测到用户对视频拍摄控件的释放操作,则得到对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件,下一步控件触发判断模块630判断是否检测到用户对目标界面上的下一步控件的触发操作,下一步控件触发检测模块640若没有检测到用户对目标界面上的下一步控件的触发操作,则重复检测到用户对视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作,目标视频生成模块650跳转到视频存储界面并显示将已有的视频片段合成得到目标视频的结果,在视频拍摄过程中就完成了快速和/或慢速视频片段的处理,实现方案快捷简便,提高了用户拍摄及处理视频的灵活性,提升了用户体验。
在一实施例中,视频片段存储模块620,是设置为:
在所述目标界面上显示拍摄的目标场景的同时,显示进度条。
若检测到进度条显示完整,则从所述目标界面跳转到所述视频存储界面并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,该装置还可以包括:
特效控件选择操作检测模块,设置为检测到在所述目标界面上的特效控件的选择操作。
视频片段存储模块620是设置为:
在目标界面显示叠加了用户选择的特效控件的目标场景。
在一实施例中,该装置还可以包括:
视频编辑界面跳转模块,设置为跳转到视频编辑界面,视频编辑界面可以包括编辑控件和下一步控件;
视频存储模式界面跳转模块,设置为若检测到用户对编辑控件的选择操作并检测到对视频编辑界面上的下一步控件的触发操作,则从所述视频编辑界面跳转到视频存储模式界面;其中,视频存储模式界面可以包括存储模式控件。
在一实施例中,该装置还可以包括:
视频呈现模块界面跳转模块,设置为若检测到用户对存储模式控件的选择操作,则从所述视频存储模式界面跳转到视频呈现模式界面并在所述视频呈现模式界面显示目标视频的与所述存储模式控件的选择操作对应的存储结果;其中,存储模式控件可以包括草稿箱控件和发布控件。
在一实施例中,该装置还可以包括:
目标视频播放模块,设置为若检测到在用户主页界面上的作品控件的触发操作,则跳转到视频播放界面并在所述视频播放界面播放所述目标视频。
本公开实施例所提供的视频拍摄装置可执行本公开任意实施例所提供的视频拍摄方法,具备执行方法相应的功能模块和效果。
实施例七
图37是图示根据本公开实施例的一种终端设备的硬件结构示意图。终端设备可以以一种或多种形式来实施,本公开中的终端设备可以包括但不限于诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等等的移动终端设备以及诸如数字电视(Television,TV)、台式计算机等等的固定终端设备。
如图7所示,终端设备100可以包括无线通信单元61、音频/视频(Audio/Video,A/V)输入单元62、用户输入单元63、感测单元64、输出单元65、存储器66、接口单元67、处理器68和电源单元69等等。图7示出了具有多种组件的终端设备,但是应理解的是,并不要求实施所有示出的组件。可以 替代地实施更多或更少的组件。
其中,无线通信单元61允许终端设备100与无线通信***或网络之间的无线电通信。A/V输入单元62设置为接收音频或视频信号。用户输入单元63可以根据用户输入的命令生成键输入数据以控制终端设备的一种或多种操作。感测单元64检测终端设备100的当前状态、终端设备100的位置、用户对于终端设备100的触摸输入的有无、终端设备100的取向、终端设备100的加速或减速移动和方向等等,并且生成用于控制终端设备100的操作的命令或信号。接口单元67用作至少一个外部装置与终端设备100连接可以通过的接口。输出单元65被构造为以视觉、音频和/或触觉方式提供输出信号。存储器66可以存储由处理器68执行的处理和控制操作的软件程序等等,或者可以暂时地存储已经输出或将要输出的数据。存储器66可以包括至少一种类型的存储介质。而且,终端设备100可以与通过网络连接执行存储器66的存储功能的网络存储装置协作。处理器68通常控制终端设备的总体操作。另外,处理器68可以包括用于再现或回放多媒体数据的多媒体模块。处理器68可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。电源单元69在处理器68的控制下接收外部电力或内部电力并且提供操作每个元件和组件所需的适当的电力。
处理器68通过运行存储在存储器66中的程序,从而执行一种或多种功能应用以及数据处理,例如实现本公开实施例所提供的一种视频拍摄方法,也即,处理器68执行时实现:
获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。
当获得所述视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。
判断是否获得视频生成指令。
若没有获得所述视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
基于所述视频生成指令,根据已有的视频片段生成目标视频。
还可以实现如本公开实施例所提供的一种视频拍摄方法,也即,处理器68执行所述程序时实现:
检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作。
在目标界面显示拍摄的目标场景直至检测到视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件。
判断是否检测到用户对目标界面上的下一步控件的触发操作。
若没有检测到用户对目标界面上的下一步控件的触发操作,则当重复检测到视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止。
根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例所提供的一种视频拍摄方法,也即,执行时实现:
获取视频拍摄模式指令,视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同。
当获得所述视频拍摄指令时,根据拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到视频拍摄指令和视频拍摄暂停指令之间的视频片段。
判断是否获得视频生成指令。
若没有获得所述视频生成指令,则重复获取视频拍摄模式指令、视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
基于所述视频生成指令,根据已有的视频片段生成目标视频。
还可以实现本公开实施例所提供的一种视频拍摄方法,也即,执行时实现:
检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作。
在目标界面显示拍摄的目标场景直至检测到视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在目标界面上显示视频拍摄模式控件和视频拍摄控件。
判断是否检测到用户对目标界面上的下一步控件的触发操作。
若没有检测到用户对目标界面上的下一步控件的触发操作,则当重复检测到视频拍摄模式控件的选择操作、视频拍摄控件的触发操作和视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止。
根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
本公开实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种 形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++、Ruby、Go,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。

Claims (17)

  1. 一种视频拍摄方法,包括:
    获取视频拍摄模式指令,所述视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同;
    当获得所述视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段;
    判断是否获得视频生成指令;
    响应于没有获得所述视频生成指令的判断结果,重复获取所述视频拍摄模式指令、所述视频拍摄指令和所述视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
    基于所述视频生成指令,根据已有的视频片段生成目标视频。
  2. 根据权利要求1所述的方法,其中,所述视频拍摄暂停指令通过用户触发,或者通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发。
  3. 根据权利要求2所述的方法,其中,所述通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发,包括:
    响应于拍摄视频的长度已达到所述预定拍摄时间阈值的判断结果,触发所述视频拍摄暂停指令,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
  4. 根据权利要求1所述的方法,在所述当获得视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段之前,还包括:
    判断是否获得特效指令;
    所述当获得视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段,包括:
    响应于获得所述特效指令的判断结果,当获得视频拍摄指令时,根据所述特效指令和所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指 令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段。
  5. 根据权利要求1所述的方法,在所述根据已有的视频片段生成目标视频之后,还包括:
    判断是否获得编辑指令;
    响应于获得所述编辑指令的判断结果,则根据所述编辑指令对所述目标视频进行处理得到处理后的目标视频。
  6. 根据权利要求5所述的方法,在根据所述编辑指令对所述目标视频进行处理得到处理后的目标视频之后,还包括:
    判断是否获得存储模式指令;
    响应于获得所述存储模式指令的判断结果,则根据所述存储模式指令将所述处理后的目标视频进行存储;
    其中,所述存储模式指令包括草稿箱指令或发布指令。
  7. 根据权利要求6所述的方法,在根据所述存储模式指令将所述处理后的目标视频进行存储之后,还包括:
    判断是否获得视频播放指令;
    响应于获得所述视频播放指令的判断结果,则根据所述视频播放指令对所述处理后的目标视频进行播放。
  8. 一种视频拍摄方法,包括:
    检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作;
    在所述目标界面显示拍摄的目标场景直至检测到所述视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在所述目标界面上显示所述视频拍摄模式控件和所述视频拍摄控件;
    判断是否检测到用户对所述目标界面上的下一步控件的触发操作;
    响应于没有检测到用户对所述目标界面上的下一步控件的触发操作的判断结果,当重复检测到所述视频拍摄模式控件的选择操作、所述视频拍摄控件的触发操作和所述视频拍摄控件的释放操作时得到对应的视频片段直至检测到用 户对目标界面上的下一步控件的触发操作为止;
    根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
  9. 根据权利要求8所述的方法,还包括:
    在所述目标界面上显示拍摄的目标场景的同时,显示进度条;
    响应于检测到进度条显示完整的操作,从所述目标界面跳转到所述视频存储界面并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
  10. 根据权利要求8所述的方法,在所述检测到视频拍摄控件的触发操作之前,还包括:
    检测到在所述目标界面上的特效控件的选择操作;
    所述在所述目标界面显示拍摄的目标场景,包括:
    在所述目标界面显示叠加了用户选择的特效控件的目标场景。
  11. 根据权利要求8或9所述的方法,在所述从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果之后,还包括:
    跳转到视频编辑界面,所述视频编辑界面包括编辑控件和下一步控件;
    响应于检测到对所述编辑控件的选择操作并检测到对所述视频编辑界面上的下一步控件的触发操作的结果,从所述视频编辑界面跳转到视频存储模式界面;其中,所述视频存储模式界面包括存储模式控件。
  12. 根据权利要求11所述的方法,在所述从所述视频编辑界面跳转到视频存储模式界面之后,还包括:
    响应于检测到用户对所述存储模式控件的选择操作的结果,从所述视频存储模式界面跳转到视频呈现模式界面并在所述视频呈现模式界面显示所述目标视频的与所述存储模式控件的选择操作对应的存储结果;其中,所述存储模式控件包括草稿箱控件和发布控件。
  13. 根据权利要求12所述的方法,还包括:
    响应于检测到在用户主页界面上的作品控件的触发操作的结果,则跳转到 视频播放界面并在所述视频播放界面播放所述目标视频。
  14. 一种视频拍摄装置,包括:
    视频拍摄模式指令获取模块,设置为获取视频拍摄模式指令,所述视频拍摄模式指令包括拍摄速度,不同视频拍摄模式的拍摄速度不同;
    视频片段生成模块,设置为当获得所述视频拍摄指令时,根据所述拍摄速度对目标场景进行视频拍摄直至获取到视频拍摄暂停指令,则得到所述视频拍摄指令和所述视频拍摄暂停指令之间的视频片段;
    视频生成指令判断模块,设置为判断是否获得视频生成指令;
    视频生成指令获得模块,设置为响应于没有获得所述视频生成指令的判断结果,则重复获取所述视频拍摄模式指令、所述视频拍摄指令和所述视频拍摄暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
    目标视频生成模块,设置为基于所述视频生成指令,根据已有的视频片段生成目标视频。
  15. 一种视频拍摄装置,包括:
    选择和触发操作检测模块,设置为检测到用户对目标界面上的视频拍摄模式控件的选择操作和视频拍摄控件的触发操作;
    视频片段存储模块,设置为在所述目标界面显示拍摄的目标场景直至检测到所述视频拍摄控件的释放操作,则得到与所述用户选择的视频拍摄模式对应的视频片段并在所述目标界面上显示所述视频拍摄模式控件和所述视频拍摄控件;
    下一步控件触发判断模块,设置为判断是否检测到用户对所述目标界面上的下一步控件的触发操作;
    下一步控件触发检测模块,设置为响应于没有检测到用户对所述目标界面上的下一步控件的触发操作的判断结果,当重复检测到所述视频拍摄模式控件的选择操作、所述视频拍摄控件的触发操作和所述视频拍摄控件的释放操作时得到对应的视频片段直至检测到用户对目标界面上的下一步控件的触发操作为止;
    目标视频生成模块,设置为根据所述下一步控件的触发操作,从所述目标界面跳转到视频存储界面,并在所述视频存储界面显示将已有的视频片段合成得到目标视频的结果。
  16. 一种终端设备,包括:
    一个或多个处理器;
    存储器,设置为存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现下述至少一项:如权利要求1-7中任一项所述的方法,如权利要求8-13中任一项所述的方法。
  17. 一种计算机可读存储介质,其上存储有计算机程序,,所述计算机程序被处理器执行时实现下述至少一项:如权利要求1-7中任一项所述的方法,如权利要求8-13中任一项所述的方法。
PCT/CN2018/124756 2018-07-19 2018-12-28 视频拍摄方法、装置、终端设备及存储介质 WO2020015333A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
GB2100218.3A GB2590204B (en) 2018-07-19 2018-12-28 Method and apparatus for video shooting, terminal device and storage medium
JP2020572831A JP7138201B2 (ja) 2018-07-19 2018-12-28 ビデオ撮影方法、装置、端末機器及び記憶媒体
US17/020,104 US20210006715A1 (en) 2018-07-19 2020-09-14 Method and apparatus for video shooting, terminal device and storage medium
US17/249,709 US11611701B2 (en) 2018-07-19 2021-03-10 Method and apparatus for video shooting, terminal device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810799343.7A CN108616696B (zh) 2018-07-19 2018-07-19 一种视频拍摄方法、装置、终端设备及存储介质
CN201810799343.7 2018-07-19

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/020,104 Continuation US20210006715A1 (en) 2018-07-19 2020-09-14 Method and apparatus for video shooting, terminal device and storage medium

Publications (1)

Publication Number Publication Date
WO2020015333A1 true WO2020015333A1 (zh) 2020-01-23

Family

ID=63666639

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124756 WO2020015333A1 (zh) 2018-07-19 2018-12-28 视频拍摄方法、装置、终端设备及存储介质

Country Status (5)

Country Link
US (2) US20210006715A1 (zh)
JP (1) JP7138201B2 (zh)
CN (1) CN108616696B (zh)
GB (1) GB2590204B (zh)
WO (1) WO2020015333A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653920A (zh) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 视频处理方法、装置、设备、存储介质及计算机程序产品
CN114125528A (zh) * 2020-08-28 2022-03-01 北京达佳互联信息技术有限公司 一种视频特效处理方法、装置、电子设备及存储介质
CN114928706A (zh) * 2022-03-28 2022-08-19 岚图汽车科技有限公司 一种基于车内场景的应用方法及装置
CN115103109A (zh) * 2022-06-07 2022-09-23 抖音视界(北京)有限公司 自由视角的视频拍摄方法、设备、存储介质及程序产品
JP2023515788A (ja) * 2020-09-30 2023-04-14 北京字跳▲網▼絡技▲術▼有限公司 撮影方法、装置、電子機器および記憶媒体

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696B (zh) * 2018-07-19 2020-04-14 北京微播视界科技有限公司 一种视频拍摄方法、装置、终端设备及存储介质
CN109525886B (zh) * 2018-11-08 2020-07-07 北京微播视界科技有限公司 视频播放速度的控制方法、装置、设备和存储介质
JP7204434B2 (ja) * 2018-11-15 2023-01-16 キヤノン株式会社 電子機器及びその制御方法
CN109451245A (zh) * 2018-12-27 2019-03-08 北京微播视界科技有限公司 一种视频拍摄方法、装置、设备和存储介质
CN111464735B (zh) * 2019-01-21 2021-10-08 阿里巴巴集团控股有限公司 视频拍摄方法、装置、电子设备及计算机存储介质
CN110401801A (zh) * 2019-07-22 2019-11-01 北京达佳互联信息技术有限公司 视频生成方法、装置、电子设备及存储介质
CN110312077B (zh) * 2019-07-25 2021-01-12 北京达佳互联信息技术有限公司 一种视频拍摄方法、装置、电子设备和存储介质
CN110798744A (zh) * 2019-11-08 2020-02-14 北京字节跳动网络技术有限公司 多媒体信息处理方法、装置、电子设备及介质
CN112822563A (zh) 2019-11-15 2021-05-18 北京字节跳动网络技术有限公司 生成视频的方法、装置、电子设备和计算机可读介质
CN110784652A (zh) 2019-11-15 2020-02-11 北京达佳互联信息技术有限公司 视频拍摄方法、装置、电子设备及存储介质
CN111324249B (zh) * 2020-01-21 2020-12-01 北京达佳互联信息技术有限公司 多媒体素材生成方法、装置及存储介质
CN112188266A (zh) * 2020-09-24 2021-01-05 北京达佳互联信息技术有限公司 视频生成方法、装置及电子设备
CN112422846B (zh) * 2020-11-18 2022-08-30 维沃移动通信有限公司 视频录制方法和电子设备
CN114827695B (zh) 2021-01-21 2023-05-30 北京字节跳动网络技术有限公司 视频录制方法、设备、电子设备及存储介质
CN113179446B (zh) * 2021-04-26 2022-05-27 北京字跳网络技术有限公司 视频互动方法、装置、电子设备和存储介质
CN115706765B (zh) * 2021-08-12 2023-10-27 荣耀终端有限公司 视频处理方法、装置、电子设备和存储介质
CN115242992B (zh) * 2021-08-12 2023-08-18 荣耀终端有限公司 视频处理方法、装置、电子设备和存储介质
CN114416259A (zh) * 2022-01-20 2022-04-29 北京字跳网络技术有限公司 虚拟资源的获取方法、装置、设备及存储介质
CN114500852B (zh) * 2022-02-25 2024-04-19 维沃移动通信有限公司 拍摄方法、拍摄装置、电子设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702041A (zh) * 2013-12-30 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频暂停续拍的方法及装置
CN105812665A (zh) * 2016-03-29 2016-07-27 联想(北京)有限公司 一种拍摄处理方法、装置及电子设备
CN107171945A (zh) * 2017-06-29 2017-09-15 珠海市魅族科技有限公司 图像信息处理方法及装置、计算机装置及可读存储介质
CN107864334A (zh) * 2017-11-09 2018-03-30 睿魔智能科技(东莞)有限公司 一种使用深度学习的智能镜头拍摄方法及***
CN108616696A (zh) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 一种视频拍摄方法、装置、终端设备及存储介质

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101382501B1 (ko) * 2007-12-04 2014-04-10 삼성전자주식회사 동영상 촬영 편집 장치 및 방법
KR101467293B1 (ko) * 2008-04-22 2014-12-02 삼성전자주식회사 촬영될 영상에 관련된 메뉴를 표시하는 ui 제공방법 및이를 적용한 촬영장치
JP5279589B2 (ja) * 2009-04-13 2013-09-04 キヤノン株式会社 映像記録再生装置およびその制御方法
JP5281499B2 (ja) * 2009-06-24 2013-09-04 キヤノン株式会社 撮像装置及びその制御方法
JP5509781B2 (ja) * 2009-10-14 2014-06-04 株式会社ニコン 撮像装置
KR101692398B1 (ko) * 2010-08-30 2017-01-03 삼성전자주식회사 디지털 촬영 장치 및 디지털 촬영 장치의 제어 방법
JP5514070B2 (ja) * 2010-10-27 2014-06-04 オリンパスイメージング株式会社 撮像装置、表示方法および撮像プログラム
JP5146503B2 (ja) 2010-09-06 2013-02-20 カシオ計算機株式会社 動画処理装置、動画再生装置、動画処理方法、動画再生方法及びプログラム
US9117483B2 (en) * 2011-06-03 2015-08-25 Michael Edward Zaletel Method and apparatus for dynamically recording, editing and combining multiple live video clips and still photographs into a finished composition
WO2013023063A1 (en) * 2011-08-09 2013-02-14 Path 36 Llc Digital media editing
US20170257414A1 (en) 2012-01-26 2017-09-07 Michael Edward Zaletel Method of creating a media composition and apparatus therefore
KR20140123280A (ko) 2013-04-12 2014-10-22 삼성전자주식회사 단말기의 동영상 촬영장치 및 방법
US20150318020A1 (en) * 2014-05-02 2015-11-05 FreshTake Media, Inc. Interactive real-time video editor and recorder
CN104519262B (zh) * 2013-09-27 2018-04-27 腾讯科技(深圳)有限公司 获取视频数据的方法、装置及终端
US9544649B2 (en) 2013-12-03 2017-01-10 Aniya's Production Company Device and method for capturing video
US10096337B2 (en) 2013-12-03 2018-10-09 Aniya's Production Company Device and method for capturing video
US9786324B2 (en) 2014-03-17 2017-10-10 Clipcast Technologies, LLC Media clip creation and distribution systems, apparatus, and methods
KR102216246B1 (ko) * 2014-08-07 2021-02-17 엘지전자 주식회사 이동단말기 및 그 제어방법
JP6341814B2 (ja) * 2014-09-08 2018-06-13 キヤノン株式会社 撮像装置、その制御方法、及びプログラム
US20160105388A1 (en) * 2014-10-09 2016-04-14 Footspot, Inc. System and method for digital media capture and related social networking
JP6442266B2 (ja) * 2014-12-16 2018-12-19 キヤノン株式会社 撮像制御装置、その制御方法、プログラム、及び記憶媒体
JP6308199B2 (ja) 2015-11-13 2018-04-11 カシオ計算機株式会社 撮像装置、通信制御方法及びプログラム
DK201670596A1 (en) * 2016-06-12 2018-02-19 Apple Inc Digital touch on live video
CN106303238B (zh) * 2016-08-16 2019-10-25 北京金山安全软件有限公司 一种拍摄视频的方法、装置及电子设备
WO2018034371A1 (ko) 2016-08-19 2018-02-22 스노우 주식회사 동영상 처리 장치, 방법 및 컴퓨터 프로그램
CN106254776A (zh) * 2016-08-22 2016-12-21 北京金山安全软件有限公司 一种视频的处理方法、装置及电子设备
CN108200477B (zh) * 2016-12-09 2021-04-09 北京远度互联科技有限公司 视频文件生成及播放的方法、装置及设备
AU2018223225A1 (en) * 2017-02-23 2019-10-17 5i Corporation Pty. Limited Camera apparatus
CN107155068A (zh) * 2017-07-11 2017-09-12 上海青橙实业有限公司 移动终端及用于视频拍摄的方法和装置
JP7005334B2 (ja) * 2017-12-22 2022-01-21 キヤノン株式会社 電子機器、その制御方法およびプログラム
JP7091065B2 (ja) * 2017-12-26 2022-06-27 キヤノン株式会社 記録制御装置、記録制御装置の制御方法およびプログラム
KR102512298B1 (ko) * 2018-02-23 2023-03-22 삼성전자주식회사 영상 데이터의 편집을 위한 인터페이스를 표시하는 전자 장치 및 그 동작 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702041A (zh) * 2013-12-30 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频暂停续拍的方法及装置
CN105812665A (zh) * 2016-03-29 2016-07-27 联想(北京)有限公司 一种拍摄处理方法、装置及电子设备
CN107171945A (zh) * 2017-06-29 2017-09-15 珠海市魅族科技有限公司 图像信息处理方法及装置、计算机装置及可读存储介质
CN107864334A (zh) * 2017-11-09 2018-03-30 睿魔智能科技(东莞)有限公司 一种使用深度学习的智能镜头拍摄方法及***
CN108616696A (zh) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 一种视频拍摄方法、装置、终端设备及存储介质

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125528A (zh) * 2020-08-28 2022-03-01 北京达佳互联信息技术有限公司 一种视频特效处理方法、装置、电子设备及存储介质
CN114125528B (zh) * 2020-08-28 2022-11-11 北京达佳互联信息技术有限公司 一种视频特效处理方法、装置、电子设备及存储介质
JP2023515788A (ja) * 2020-09-30 2023-04-14 北京字跳▲網▼絡技▲術▼有限公司 撮影方法、装置、電子機器および記憶媒体
JP7385052B2 (ja) 2020-09-30 2023-11-21 北京字跳▲網▼絡技▲術▼有限公司 撮影方法、装置、電子機器および記憶媒体
US11956528B2 (en) 2020-09-30 2024-04-09 Beijing Zitiao Network Technology Co., Ltd. Shooting method using target control, electronic device, and storage medium
CN112653920A (zh) * 2020-12-18 2021-04-13 北京字跳网络技术有限公司 视频处理方法、装置、设备、存储介质及计算机程序产品
US12003884B2 (en) 2020-12-18 2024-06-04 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus, device, storage medium and computer program product
CN114928706A (zh) * 2022-03-28 2022-08-19 岚图汽车科技有限公司 一种基于车内场景的应用方法及装置
CN115103109A (zh) * 2022-06-07 2022-09-23 抖音视界(北京)有限公司 自由视角的视频拍摄方法、设备、存储介质及程序产品

Also Published As

Publication number Publication date
GB202100218D0 (en) 2021-02-24
GB2590204A (en) 2021-06-23
US11611701B2 (en) 2023-03-21
CN108616696B (zh) 2020-04-14
JP7138201B2 (ja) 2022-09-15
US20210218893A1 (en) 2021-07-15
CN108616696A (zh) 2018-10-02
US20210006715A1 (en) 2021-01-07
JP2021530146A (ja) 2021-11-04
GB2590204B (en) 2023-02-15

Similar Documents

Publication Publication Date Title
WO2020015333A1 (zh) 视频拍摄方法、装置、终端设备及存储介质
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
JP7181320B2 (ja) 背景音楽を選択して動画を撮影する方法、装置、端末機及び媒体
WO2020015334A1 (zh) 视频处理方法、装置、终端设备及存储介质
CN108900902B (zh) 确定视频背景音乐的方法、装置、终端设备及存储介质
WO2016177296A1 (zh) 一种生成视频的方法和装置
CN109275028B (zh) 视频获取方法、装置、终端和介质
US10951823B2 (en) Method and apparatus for capturing a video, terminal device and storage medium
CN108965705B (zh) 一种视频处理方法、装置、终端设备及存储介质
EP3226537A1 (en) Mobile terminal and method for controlling the same
WO2022143924A1 (zh) 视频生成方法、装置、电子设备和存储介质
WO2022127839A1 (zh) 视频处理方法、装置、设备、存储介质及计算机程序产品
CN112445395A (zh) 音乐片段的选取方法、装置、设备及存储介质
GB2590213A (en) Video publishing method and apparatus, device, and storage medium
CN113918522A (zh) 一种文件生成方法、装置及电子设备
CN112887618A (zh) 视频拍摄方法及其装置
WO2023088484A1 (zh) 用于多媒体资源剪辑场景的方法、装置、设备及存储介质
CN113766275A (zh) 视频剪辑方法、装置、终端及存储介质
WO2023185968A1 (zh) 相机功能页面切换方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18926490

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020572831

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 202100218

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20181228

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18926490

Country of ref document: EP

Kind code of ref document: A1