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

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

Info

Publication number
WO2020015331A1
WO2020015331A1 PCT/CN2018/124753 CN2018124753W WO2020015331A1 WO 2020015331 A1 WO2020015331 A1 WO 2020015331A1 CN 2018124753 W CN2018124753 W CN 2018124753W WO 2020015331 A1 WO2020015331 A1 WO 2020015331A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
shooting
instruction
interface
waiting
Prior art date
Application number
PCT/CN2018/124753
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 北京微播视界科技有限公司
Publication of WO2020015331A1 publication Critical patent/WO2020015331A1/zh
Priority to US17/021,117 priority Critical patent/US10951823B2/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/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/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/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
    • H04N5/772Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera the recording apparatus and the television camera being placed in the same enclosure

Definitions

  • Embodiments of the present disclosure relate to video shooting technologies, for example, to a video shooting method, device, terminal device, and storage medium.
  • the current method of shooting video is usually a complete video in one shot. If you want to stitch or edit the video, you need to use special video processing software to process it.
  • video processing software requires that video processing personnel master their use skills
  • terminal equipment requires video processing software and a system operating environment with the software. It also involves the import and export of video, and technical thresholds for operation. High, is not conducive to the daily use of users and affects the user experience.
  • Embodiments of the present disclosure provide a video shooting method, device, terminal device, and storage medium, so as to improve the flexibility of users in shooting and processing videos and improve the user experience.
  • an embodiment of the present disclosure provides a video shooting method, including:
  • a target video is generated according to an existing video segment.
  • an embodiment of the present disclosure provides a video shooting method, including:
  • the long-press operation and the release operation of the hold-down control are repeatedly acquired to obtain a corresponding video clip, until the detection Waiting for the triggering operation of the next control on the shooting instruction interface;
  • an embodiment of the present disclosure provides a video shooting device, including:
  • a shooting module configured to obtain a video shooting instruction and perform video shooting on a target scene until a video shooting pause instruction is obtained to obtain a video clip shot between the video shooting instruction and the video shooting pause instruction;
  • a judging module configured to judge whether a video generating instruction is obtained
  • the shooting module is further configured to, in response to a judgment result that the video generation instruction is not obtained, repeatedly obtain the video shooting instruction and the video fragment pause instruction to obtain corresponding video fragments until the video generation instruction is obtained;
  • the synthesis 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 provides a video shooting device, including:
  • a detection module configured to detect a long-press operation of a press-and-hold shot control on a waiting shot instruction interface
  • a processing module configured to display a shooting target scene on the waiting shooting instruction interface until a release operation of the hold-down shooting control is detected to obtain a corresponding video clip
  • the detection module is further configured to determine whether a trigger operation of a next control on the shooting-waiting instruction interface is detected; and a response in response to a judgment that a trigger operation of a next control on the shooting-waiting instruction interface is not detected. As a result, the corresponding long-press operation and the release operation of the press-and-hold control are repeatedly obtained to obtain corresponding video clips, until the trigger operation of the next control on the waiting shooting instruction interface is detected;
  • the processing module is further configured to jump from the waiting shooting instruction interface to a video shooting storage interface according to a trigger operation of the next control, and display on the video shooting storage interface to synthesize existing video clips to obtain The result of the target video.
  • an embodiment of the present disclosure provides a terminal device including a memory, a controller, and a program stored on the memory and executable on the controller.
  • the controller executes the program, Implement the method as described in any of the embodiments.
  • an embodiment of the present disclosure provides a storage medium including executable instructions, which are executed by a controller to perform a method as described in any of the foregoing embodiments.
  • FIG. 1 is a flowchart of a video shooting method according to 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 according to an embodiment of the present disclosure.
  • FIG. 4a is a schematic structural diagram of an interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4b is a schematic structural diagram of another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4c is a schematic structural diagram of a prop interface according to an embodiment of the present disclosure.
  • 4d is a schematic structural diagram of another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • FIG. 4e is a schematic structural diagram of a shooting interface according to an embodiment of the present disclosure.
  • 4f is a schematic structural diagram of still another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4g is a schematic structural diagram of another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4h is a schematic structural diagram of a revocation interface provided by an embodiment of the present disclosure.
  • 4i is a schematic structural diagram of still another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4j is a schematic structural diagram of still another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4k is a schematic structural diagram of a synthesis interface according to an embodiment of the present disclosure.
  • 4l is a schematic structural diagram of another shooting interface according to an embodiment of the present disclosure.
  • 4m is a schematic structural diagram of another synthesis interface according to an embodiment of the present disclosure.
  • 4n is a schematic structural diagram of a video shooting storage interface according to an embodiment of the present disclosure.
  • FIG. 4o is a schematic structural diagram of a user homepage interface according to an embodiment of the present disclosure.
  • 4p is a schematic structural diagram of a video playback interface according to an embodiment of the present disclosure.
  • 4q is a schematic structural diagram of still another interface for waiting for a shooting instruction according to an embodiment of the present disclosure
  • 4r is a schematic structural diagram of a countdown interface according to an embodiment of the present disclosure.
  • 4s is a schematic structural diagram of still another shooting interface according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a video shooting method according to an embodiment of the present disclosure. The method may be executed by a terminal device, and includes steps 110 to 140.
  • step 110 a video shooting instruction is obtained, and a video shooting is performed on a target scene until a video shooting pause instruction is obtained, and a video clip captured between the video shooting instruction and the video shooting pause instruction is obtained.
  • the terminal device obtains a video shooting instruction.
  • the video shooting instruction is generated by the user's long-press operation on the hold-and-shoot control on the waiting-to-shoot-instruction interface, that is, when the user is waiting for the shooting-instruction interface, long-pressing Controls can trigger the terminal device to shoot.
  • the target scene is all scenes within the coverage of the camera of the terminal device.
  • the video shooting pause instruction can be triggered by the user, or it can be triggered by judging whether the shooting time length reaches a predetermined shooting time threshold.
  • the video shooting pause instruction is triggered by determining whether the shooting time length reaches a predetermined shooting time threshold, in one embodiment, it is determined whether the length of the captured video reaches the predetermined shooting time threshold, and if it has reached, the video shooting pause is triggered.
  • the length (or shooting time length) of the captured video includes the shooting time length of one captured video or the total shooting time length of multiple captured videos.
  • the predetermined shooting time threshold is 15 seconds.
  • the length (or shooting time length) of the captured video includes the shooting time length of one captured video or the total shooting time length of multiple captured videos, that is, the video captured by the user can be uploaded without segmentation, or it can be uploaded by combining multiple segments. , The total length of uploadable videos will not exceed 15 seconds.
  • the terminal device After the hold-down control is pressed (get video shooting instruction), the terminal device starts shooting the target scene. As long as the hold-down control is not released, the terminal device continues to shoot until the hold-down control is released (get video Shooting pause instruction), the terminal device stops shooting. At the same time, the terminal device stores a video clip shot between the video shooting instruction and the video shooting pause instruction. It can be seen that the video clip is a video captured between two specific operations by the user.
  • step 120 it is determined whether a video generation instruction is obtained; if not, step 130 is performed; if yes, step 140 is performed.
  • the video generation instruction is an instruction generated by the user's trigger operation on the next control.
  • the terminal device needs to determine whether a video generation instruction is obtained, and then perform subsequent operations. In an embodiment, if the video generation instruction is obtained, step 140 is performed.
  • step 130 the video capturing instruction and the video fragment pause instruction are repeatedly obtained to obtain the corresponding video fragments, and then the processing returns to step 120.
  • step 140 a target video is generated based on the existing video segment based on the video generation instruction.
  • the video capture instruction and the video capture pause instruction are repeatedly obtained to obtain the corresponding video clips. Until the video generation instruction is obtained, the existing video fragments are synthesized to obtain the target video.
  • the terminal device shoots to obtain one or more video clips according to instructions generated by the corresponding operations.
  • the terminal device obtains the video generation instruction and synthesizes the existing video clips to obtain the target video.
  • a video shooting instruction is acquired to perform video shooting on the current target scene until a video shooting pause instruction is obtained, and a corresponding video segment can be obtained.
  • repeatedly acquiring the video shooting instruction and the video shooting pause instruction can obtain the corresponding video clip.
  • the current 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. Exemplarily, three video clips are obtained through three repetitions, and the current target scenes corresponding to them are the user himself and the user background.
  • the video shooting can be ended and the existing video fragments can be synthesized to obtain the target video.
  • the video generation instruction can be used to end the shooting of the current video.
  • the target video may be obtained by splicing and synthesizing existing video clips according to the generated sequence.
  • the following uses a video sharing software on a smartphone as an example.
  • the user when the user needs to shoot a video, he / she clicks the icon of the video sharing software on the display screen of the smart phone to start the application of the video sharing software, and enters the waiting shooting instruction interface and the waiting shooting instruction interface. It includes the hold-down control, the next control, the prop control, and the countdown control.
  • the user presses and holds the capture control, and the camera starts video shooting of the current target scene, until the user releases the hold and hold control, the current video clip is ended to obtain video clip 1.
  • the current video shooting is ended and the existing video clip 1, video clip 2, and video clip 3 are synthesized to obtain the target video.
  • the terminal device sets a predetermined shooting time threshold, that is, the maximum length that the target video captured by the user can reach. If the length of the captured video is equal to the predetermined shooting time threshold during the shooting of the video segment, the entire video segment is directly synthesized to obtain the target video. At this time, the user does not need to trigger the next control.
  • the following uses a video sharing software on a smartphone as an example.
  • the user when the user needs to shoot a video, he / she clicks the icon of the video sharing software on the display screen of the smart phone to start the application of the video sharing software, and enters the waiting shooting instruction interface and the waiting shooting instruction interface It includes the hold-down control, the next control, the prop control, and the countdown control.
  • the user presses and holds the capture control, and the camera starts video shooting of the current target scene, until the user releases the hold and hold control, the current video clip is ended to obtain video clip 1.
  • the sum of the lengths is equal to the predetermined shooting time threshold, then the current video segment 3 is stored, and all the video segments 1, video segments 2 and 3 are synthesized to obtain the target video.
  • the technical solution of the embodiment of the present disclosure obtains corresponding instructions by identifying different operations of the user on the display interface, thereby triggering shooting to obtain multiple video clips, and synthesizing multiple video clips to obtain a target video.
  • Video processing software is no longer required. Get involved, increase the flexibility of users to shoot and process video, and improve user experience.
  • the method before each obtaining a video shooting instruction, the method further includes: obtaining a shooting prop.
  • the shooting props include stickers, filter modes and / or special effects, where stickers can include text, graffiti, accessories, or location watermarks.
  • the filter mode can include normal, Japanese, age, or innocence modes, and special effects can include facial deformation, makeup matching, or background picture.
  • performing video shooting on a target scene includes: obtaining a video frame obtained by shooting a target scene with a camera, and superimposing shooting props on the video frame.
  • the shooting props can be superimposed on the video shooting process, which can present more interesting video shooting effects.
  • the terminal device has the opportunity to select shooting props before shooting any video clip. If the user selects different shooting props for each shot, different shooting props can be superimposed into the video shooting process.
  • the video shooting instruction includes a countdown shooting instruction.
  • performing video shooting on the target scene includes: starting counting from the acquisition to the countdown shooting instruction until the timing reaches a set duration, and performing video shooting on the target scene.
  • the method further includes: obtaining a shooting cancel instruction, and canceling the synthesized video clip according to the shooting cancel instruction; obtaining the video shooting instruction and the video shooting pause instruction to obtain Corresponding video clips, until a video generation instruction is obtained, a new target video is generated based on the existing video clips.
  • a shooting cancellation instruction can be generated by triggering the corresponding control to cancel the composition of the existing video clips. Then the user can continue to press and hold the snap control and release the press and hold control to obtain the corresponding video clips until a video generation instruction is obtained, and then combine the existing video clips with the latest captured video clips to obtain the target video.
  • the method before obtaining the video generation instruction, the method further includes: obtaining a deletion instruction, and deleting a newly obtained video segment according to the deletion instruction. Obtaining a video shooting instruction and a video shooting pause instruction to obtain corresponding video clips. Until a video generating instruction is obtained, a target video is generated based on an existing video clip.
  • the obtained video clip can be deleted. If a delete instruction is obtained, the newly obtained video clip is deleted according to the delete instruction. Then the user can continue to press and hold the snap control and release the press and hold control to obtain the corresponding video clips until a video generation instruction is obtained, and then combine the existing video clips with the latest captured video clips to obtain the target video.
  • a delete instruction is obtained, the newly obtained video clip is deleted according to the delete instruction. Then the user can continue to press and hold the snap control and release the press and hold control to obtain the corresponding video clips until a video generation instruction is obtained, and then combine the existing video clips with the latest captured video clips to obtain the target video.
  • FIG. 2 is a flowchart of another video shooting method according to an embodiment of the present disclosure.
  • the method may be executed by a terminal device, including:
  • step 201 it is determined whether a shooting prop is acquired.
  • Shooting props include stickers, filter modes, and / or special effects.
  • stickers can include text, graffiti, accessories, or location watermarks.
  • Filter modes can include normal, Japanese, age, or innocence modes.
  • Special effects can include face deformation, makeup Send matching or background pictures. Users can select shooting props before shooting videos to directly beautify the captured videos.
  • step 202 a shooting prop is used.
  • Use shooting props means to superimpose the shooting props selected by the user while shooting a video.
  • step 203 it is determined whether a countdown shooting instruction is acquired.
  • step 204 If yes, go to step 204; if no, go to step 205.
  • the countdown shooting instruction indicates that the user has set a countdown duration, so the terminal device will not start shooting video until the countdown duration is reached.
  • step 204 a countdown is started.
  • step 206 After the countdown is complete, go to step 206.
  • step 205 a video shooting instruction is acquired.
  • step 206 video shooting is performed on the target scene according to the video shooting instruction until a video shooting pause instruction is obtained, and then a video clip captured between the video shooting instruction and the video shooting pause instruction is stored.
  • step 207 the video capture instruction and the video capture pause instruction are repeatedly obtained to obtain the corresponding video clips. Until the video generation instruction is obtained, the existing video clips are synthesized to obtain the target video.
  • steps 201 to 204 can also be adopted, so that the terminal device can have the opportunity to select shooting props before shooting any video clip, and each time can choose different shooting props, and through countdown shooting, you can self-select after the countdown. Start shooting without requiring the user to press and hold the capture control.
  • step 208 a delete instruction is acquired, and the latest obtained video segment is deleted.
  • the terminal device obtains the delete instruction, the latest captured video clip is deleted.
  • step 209 a shooting cancellation instruction is obtained, and the composition of the existing video clip is cancelled.
  • the shooting cancel instruction is generated by the user's trigger operation on the return control. After the terminal device synthesizes the target video, the user can also undo the composition. After undoing video composition, users can delete video clips or continue shooting video clips.
  • step 210 an existing video clip is deleted.
  • the terminal device can delete the stored video clips to release the cache space.
  • the technical solution of the embodiment of the present disclosure recognizes different operations of the user on the display interface to obtain corresponding instructions, thereby triggering shooting to obtain multiple video clips, beautifying the video clips, and synthesizing the multiple video clips to obtain a target video. No longer requires the intervention of video processing software, improving the flexibility of users to shoot and process video, and improving the user experience.
  • FIG. 3 is a flowchart of another video shooting method according to an embodiment of the present disclosure. The method may be executed by a terminal device, and includes steps 310 to 350.
  • step 310 a long-press operation of pressing and holding the capture control on the waiting-for-shooting instruction interface is detected.
  • step 320 the shooting target scene is displayed on the waiting shooting instruction interface until the release operation of holding down the shooting control is detected, and a corresponding video clip is obtained.
  • step 330 it is determined whether the trigger operation of the next control on the waiting for shooting instruction interface is detected. If the trigger operation of the next control on the waiting for shooting instruction interface is detected, step 350 is performed; if no Waiting for the triggering operation of the next control on the shooting instruction interface, step 340 is performed. In step 340, the long-press operation and release operation of pressing and holding the capture control are repeatedly obtained to obtain the corresponding video clip, and then the process returns to step 330, that is, until the trigger operation of the next control on the waiting for the shooting instruction interface is detected.
  • step 350 according to the trigger operation of the next control, jump from the waiting shooting instruction interface to the video shooting storage interface, and display on the video shooting storage interface to synthesize the existing video clips to obtain the target video. result.
  • the video shooting process may be implemented by a user's operation of related controls on a display interface, and the display interface is an interface that the user can operate.
  • a user's long-press operation on the hold-and-hold control on the waiting-for-shooting instruction interface is detected, which indicates that the current video shooting process is started;
  • the user's release operation on the hold-and-hold control indicates the end of the current video clip ;
  • the user's triggering operation of the next control on the waiting instruction interface indicates the end of the current video shooting, jump to the video shooting storage interface to synthesize the existing video clips to obtain the target video.
  • Each time step 310-step 320 is performed, a corresponding video segment can be obtained.
  • the current video shooting can be ended and the existing video clips can be synthesized to obtain the target video.
  • the existing video segments are synthesized to obtain the result of the target video.
  • the target video may be obtained by splicing and synthesizing existing video clips according to the generated sequence.
  • step 320 the method further includes: determining whether the shooting time length reaches a predetermined shooting time threshold while waiting for the shooting instruction interface to display the current target scene; if the shooting time length has reached the predetermined shooting time threshold, Then jump to the video shooting storage interface and display the result of synthesizing the existing video clips to obtain the target video; wherein the shooting time length includes the shooting time length of one shot video or the total shooting time of multiple shot videos length.
  • the terminal device sets a predetermined shooting time threshold, that is, a maximum length that a target video captured by a user can reach. If it is detected that after the user presses and holds the capture control, the sum of the length of the existing video clip and the length of the last video clip is equal to the predetermined shooting time threshold, then the last video clip that has been shot is stored and skipped Go to the video shooting storage interface to display the result of synthesizing all the video clips to obtain the target video. At this time, it is not necessary to detect the user's trigger operation on the next control.
  • a predetermined shooting time threshold that is, a maximum length that a target video captured by a user can reach.
  • the method before detecting the long-press operation of pressing and holding the capture control on the waiting-for-shooting instruction interface, the method further includes detecting a user's selection operation of the prop control on the waiting-for-shooting instruction interface.
  • the shooting props include stickers, filter modes and / or special effects, where stickers can include text, graffiti, accessories, or location watermarks.
  • the filter mode can include normal, Japanese, age, or innocence modes, and special effects can include facial deformation, makeup matching, or background picture.
  • displaying the shooting target scene on the waiting shooting instruction interface includes displaying the currently shooting target scene superimposed on the shooting prop selected by the user on the waiting shooting instruction interface.
  • the shooting props can be superimposed on the video shooting process, which can present more interesting video shooting effects.
  • the terminal device has the opportunity to select shooting props before shooting any video clip. If the user selects different shooting props for each shot, different shooting props can be superimposed into the video shooting process.
  • the method further includes: detecting a trigger operation of a user on a countdown control on the waiting for shooting instruction interface.
  • displaying the current target scene on the waiting shooting instruction interface includes: starting from the detection of the user's trigger operation on the countdown control until the timing reaches the set duration, displaying the current target scene on the waiting shooting instruction interface.
  • the method further includes: detecting a user's trigger operation on a return control on the video shooting storage interface, and jumping Go to the waiting for shooting order interface.
  • the return control on the video shooting storage interface can be triggered, and the terminal device cancels the composition of the existing video clips when it detects this operation. Jump to the interface waiting for shooting instructions. After that, the user can continue to press and hold the snap control and release the press and hold control to obtain the corresponding video clip until the video generation instruction is obtained, and then the existing video clip and the latest video clip obtained are synthesized to obtain the target video.
  • the method further includes: detecting a user's trigger operation on a delete control on the waiting-for-shooting instruction interface, and deleting the newly obtained video clip.
  • the obtained video clip can be deleted. If the user's trigger operation on the delete control on the waiting-for-shooting instruction interface is detected, the newly obtained video clip is deleted. After that, the user can continue to press and hold the snap control and release the press and hold control to obtain the corresponding video clip until the video generation instruction is obtained, and then the existing video clip and the latest video clip obtained are synthesized to obtain the target video. The above applies to a situation where the user is not satisfied with the latest video clip taken, and the latest video clip can be deleted by a delete instruction.
  • the following uses a video sharing software on a smartphone as an example.
  • the waiting shooting instruction interface may include a hold-and-shoot control, a next control, a prop control, and a countdown control.
  • the hold-down control is a reuse control.
  • a video shooting instruction is generated.
  • a video-shooting pause instruction is generated.
  • the one-step control generates a video generation instruction.
  • the waiting shooting instruction interface will jump to the corresponding display interface.
  • the user jumps to the prop interface shown in FIG. 4c through the trigger operation on the prop control on the waiting shooting instruction interface, and selects the college entrance examination to refuel.
  • the user can press and hold the capture control to jump to the shooting interface as shown in FIG. 4e, and then can take a video shot of the current target scene, and display a progress bar in the upper left corner of the shooting interface.
  • the current video clip is captured, the corresponding current video clip is obtained, and a jump to the waiting shooting instruction interface as shown in FIG. 4f is included.
  • the interface also includes a delete control.
  • the delete control can be set to Delete the latest stored video clip.
  • the user jumps to the undo interface as shown in Figure 4h by triggering the delete control on the waiting shooting instruction interface, and displays a dialog box on the undo interface.
  • the trigger operation of the control jumps to the waiting for shooting instruction interface as shown in Figure 4i.
  • the difference lies in the progress bar shown in the upper left corner of the picture, delete the corresponding After the video clip, the length of the corresponding position of the progress bar will also be deleted.
  • the user may repeatedly perform the above-mentioned selection operation of the prop and the subsequent shooting operation.
  • the user ends the shooting of each video clip by a release operation on the press and hold control.
  • the user jumps to the composition interface shown in FIG. 4k to synthesize the stored video clips to obtain the target video by triggering the operation of the next control on the shooting instruction interface. 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 terminal device sets a predetermined shooting time threshold, that is, the maximum length that the target video captured by the user can reach.
  • the user can press and hold the capture control to jump to the shooting interface as shown in Figure 4l, and then take a video shot of the current target scene, and display a progress bar in the upper left corner of the shooting interface.
  • This interface is similar to the shooting shown in Figure 4e. Compared with the interface, the difference lies in the progress bar shown in the upper left corner of the figure. After each video clip is obtained, a length corresponding to the duration of the video clip is added behind the progress bar.
  • the last shot video clip is stored. It is not necessary to detect the user's trigger operation on the next control, that is, skip the interface shown in FIG. 4j and jump directly to the synthesis interface shown in FIG. 4k to display the result of synthesizing all the video clips to obtain the target video.
  • the video shooting storage interface may include a storage mode control (not shown in the figure)
  • the storage mode controls can include draft box controls and release controls.
  • the user jumps to the user home page interface as shown in Figure 4o through the trigger operation on the distribution control.
  • the user home page interface can include the work control and jump through the trigger operation on the work control.
  • the video playback interface may include a sharing control, a like control, and a comment control.
  • the user jumps to the countdown interface shown in FIG. 4r by triggering the countdown control on the waiting shooting instruction interface, and jumps to the interface as shown in FIG. 4r after 3s.
  • the technical solution of the embodiment of the present disclosure recognizes different operations of the user on the display interface to obtain corresponding instructions, thereby triggering shooting to obtain multiple video clips, beautifying the video clips, and synthesizing the multiple video clips to obtain a target video. No longer requires the intervention of video processing software, improving the flexibility of users to shoot and process video, and improving the user experience.
  • FIG. 5 is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure.
  • the device includes a shooting module 11, a judging module 12, and a synthesizing module 13, wherein the shooting module 11 is configured to obtain a video shooting instruction to target a scene. Performing video shooting until a video shooting pause instruction is obtained to obtain a video clip taken between the video shooting instruction and the video shooting pause instruction; a judging module 12 is configured to judge whether a video generating instruction is obtained; the shooting module 11, It is further configured that if the video generation instruction is not obtained, the video shooting instruction and the video fragment pause instruction are repeatedly obtained to obtain corresponding video fragments until the video generation instruction is obtained; the synthesis module 13 is configured to be based on the video generation instruction.
  • the video generation instruction is described, and a target video is generated based on an existing video segment.
  • the video shooting pause instruction is triggered by a user, or is triggered by determining whether a shooting time length reaches a predetermined shooting time threshold.
  • the determining module 12 is further configured to determine whether the shooting time length reaches the predetermined shooting time threshold, and if it has reached, the video shooting pause instruction is triggered, and the shooting time length includes a section The length of time the video was taken or the total length of time taken for multiple recorded videos.
  • the shooting module 11 is further configured to obtain a shooting prop; obtain a video frame obtained by shooting a target scene with a camera, and superimpose the shooting prop on the video frame.
  • the video shooting instruction includes a countdown shooting instruction; the shooting module 11 is further configured to start counting from the time when the countdown shooting instruction is acquired until the timing reaches a set duration, then the target scene is Take a video shoot.
  • the shooting module 11 is further configured to obtain a shooting cancel instruction, and cancel the synthesized video clip according to the shooting cancel instruction; obtain the video shooting instruction and the video clip pause instruction to obtain a corresponding The video segment, until a video generation instruction is obtained, generates a new target video based on the existing video segment.
  • the shooting module 11 is further configured to obtain a delete instruction, and delete a newly obtained video segment according to the delete instruction.
  • FIG. 6 is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure.
  • the device includes: a detection module 21 and a processing module 22, wherein the detection module 21 is configured to detect a press-and-hold on an interface waiting for a shooting instruction.
  • the processing module 22 is configured to display the shooting target scene on the waiting shooting instruction interface until the release operation of the hold-down shooting control is detected to obtain a corresponding video clip; the detection module 21 And it is further configured to determine whether a trigger operation of a next control on the waiting shooting instruction interface is detected; if a trigger operation of a next control on the waiting shooting instruction interface is not detected, repeatedly obtaining the button The long-press operation and release operation of the live-action control obtain corresponding video clips until the trigger operation of the next control on the waiting shooting instruction interface is detected; the processing module 22 is further configured to The trigger operation of the control jumps from the waiting shooting instruction interface to the video shooting storage interface, and saves the video shooting storage interface.
  • the storage interface displays the result of synthesizing the existing video clips to obtain the target video.
  • the processing module 22 is further configured to determine whether the shooting time length reaches a predetermined shooting time threshold; if the shooting time length has reached the predetermined shooting time threshold, then jump to the video shooting storage interface and display the The existing video clips are synthesized to obtain the result of the target video; wherein the shooting time length includes the shooting time length of one shot video or the total shooting time length of multiple shot videos.
  • the detection module 21 is further configured to detect a user's selection operation on the prop control on the waiting-to-shoot instruction interface; the processing module 22 is further provided to the waiting-to-shoot instruction interface The shooting target scene with the shooting props selected by the user superimposed is displayed.
  • the detection module 21 is further configured to detect a user's triggering operation on a countdown control on the waiting-to-shoot instruction interface; the processing module 22 is further configured to detect the countdown from the user upon detection.
  • the trigger operation of the control starts timing, and until the timing reaches the set duration, the current target scene is displayed on the waiting shooting instruction interface.
  • the detection module 21 is further configured to detect a user's trigger operation on a return control on the video shooting storage interface, and jump to the waiting shooting instruction interface.
  • the detection module 21 is further configured to detect a user's trigger operation on a delete control on the waiting-to-shoot instruction interface, and delete the latest video segment obtained.
  • 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. 7 is a schematic diagram of 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 1100 may include a wireless communication unit 1110, an audio / video (Audio / Video, A / V) input unit 1120, a user input unit 1130, a sensing unit 1140, an output unit 1150, a memory 1160, 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 1110 allows radio communication between the terminal device 1100 and a wireless communication system or network.
  • the A / V input unit 1120 is configured to receive audio or video signals.
  • the user input unit 1130 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 1140 detects the current state of the terminal device 1100, the position of the terminal device 1100, the presence or absence of a user's touch input to the terminal device 1100, the orientation of the terminal device 1100, the acceleration or deceleration movement and direction of the terminal device 1100, and so on A command or signal for controlling the operation of the terminal device 1100 is generated.
  • the interface unit 1170 serves as an interface through which at least one external device can connect to the terminal device 1100.
  • the output unit 1150 is configured to provide an output signal in a visual, audio, and / or tactile manner.
  • the memory 1160 may store software programs and the like for processing and control operations performed by the controller 1180, or may temporarily store data that has been output or is to be output.
  • the memory 1160 may include at least one type of storage medium.
  • the terminal device 1100 may cooperate with a network storage device that performs a storage function of the memory 1160 through a network connection.
  • the controller 1180 generally controls the overall operation of the terminal device.
  • the controller 1180 may include a multimedia module for reproducing or playing back multimedia data.
  • the controller 1180 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 1190 receives external power or internal power under the control of the controller 1180 and provides appropriate power required to operate each element and component.
  • An embodiment of the present disclosure further provides a storage medium including executable instructions, which when executed by a controller are used to perform related operations in a video shooting method provided by any embodiment of the present disclosure.
  • the multiple modules and / or units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the The names are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

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

Description

视频拍摄方法、装置、终端设备和存储介质
本申请要求在2018年07月19日提交中国专利局、申请号为201810799339.0的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及视频拍摄技术,例如涉及一种视频拍摄方法、装置、终端设备和存储介质。
背景技术
目前拍摄视频的方法通常是一次拍摄即为一个完整的视频,如果想对视频进行拼接或剪辑要通过专门的视频处理软件进行处理。
但是,使用视频处理软件一方面要求视频处理人员掌握其使用技巧,另一方面要求终端设备安装视频处理软件并具备该软件的系统运行环境,还会涉及到视频的导出导入,在操作上技术门槛高,不利于用户的日常使用,影响用户体验。
发明内容
本公开实施例提供一种视频拍摄方法、装置、终端设备和存储介质,以提高用户拍摄及处理视频的灵活性,提升用户体验。
在一实施例中,本公开实施例提供了一种视频拍摄方法,包括:
获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到所述视频拍摄指令和所述视频拍摄暂停指令之间拍摄的视频片段;
判断是否获得视频生成指令;
若没有获得所述视频生成指令,则重复获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
基于所述视频生成指令,根据已有的视频片段生成目标视频。
在一实施例中,本公开实施例提供了一种视频拍摄方法,包括:
检测到在等待拍摄指令界面上的按住拍控件的长按操作;
在所述等待拍摄指令界面显示拍摄的目标场景,直至检测到所述按住拍控件的释放操作,得到对应的视频片段;
判断是否检测到在所述等待拍摄指令界面上的下一步控件的触发操作;
响应于没有检测到在所述等待拍摄指令界面上的下一步控件的触发操作的判断结果,则重复获取所述按住拍控件的长按操作和释放操作得到对应的视频片段,直至检测到在所述等待拍摄指令界面上的下一步控件的触发操作为止;
根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,本公开实施例提供了一种视频拍摄装置,包括:
拍摄模块,设置为获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到所述视频拍摄指令和所述视频拍摄暂停指令之间拍摄的视频片段;
判断模块,设置为判断是否获得视频生成指令;
所述拍摄模块,还设置为响应于没有获得所述视频生成指令的判断结果,重复获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
合成模块,设置为基于所述视频生成指令,根据已有的视频片段生成目标视频。
在一实施例中,本公开实施例提供了一种视频拍摄装置,包括:
检测模块,设置为检测到在等待拍摄指令界面上的按住拍控件的长按操作;
处理模块,设置为在所述等待拍摄指令界面显示拍摄的目标场景,直至检测到所述按住拍控件的释放操作,得到对应的视频片段;
所述检测模块,还设置为判断是否检测到在所述等待拍摄指令界面上的下一步控件的触发操作;响应于没有检测到在所述等待拍摄指令界面上的下一步控件的触发操作的判断结果,重复获取所述按住拍控件的长按操作和释放操作 得到对应的视频片段,直至检测到在所述等待拍摄指令界面上的下一步控件的触发操作为止;
所述处理模块,还设置为根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,本公开实施例提供了一种终端设备,包括存储器、控制器及存储在所述存储器上并可在所述控制器上运行的程序,所述控制器执行所述程序时实现如任意实施例所述的方法。
在一实施例中,本公开实施例提供了一种包含可执行指令的存储介质,所述可执行指令在由控制器执行时用于执行如上述任意实施例中所述的方法。
附图说明
图1为本公开实施例提供的一种视频拍摄方法的流程图;
图2为本公开实施例提供的另一种视频拍摄方法的流程图;
图3为本公开实施例提供的又一种视频拍摄方法的流程图;
图4a为本公开实施例提供的一种等待拍摄指令界面的结构示意图;
图4b为本公开实施例提供的另一种等待拍摄指令界面的结构示意图;
图4c为本公开实施例提供的一种道具界面的结构示意图;
图4d为本公开实施例提供的又一种等待拍摄指令界面的结构示意图;
图4e为本公开实施例提供的一种拍摄界面的结构示意图;
图4f为本公开实施例提供的再一种等待拍摄指令界面的结构示意图;
图4g为本公开实施例提供的还一种等待拍摄指令界面的结构示意图;
图4h为本公开实施例提供的一种撤销界面的结构示意图;
图4i为本公开实施例提供的还一种等待拍摄指令界面的结构示意图;
图4j为本公开实施例提供的还一种等待拍摄指令界面的结构示意图;
图4k为本公开实施例提供的一种合成界面的结构示意图;
图4l为本公开实施例提供的另一种拍摄界面的结构示意图;
图4m为本公开实施例提供的另一种合成界面的结构示意图;
图4n为本公开实施例提供的一种视频拍摄存储界面的结构示意图;
图4o为本公开实施例提供的一种用户主页界面的结构示意图;
图4p为本公开实施例提供的一种视频播放界面的结构示意图;
图4q为本公开实施例提供的还一种等待拍摄指令界面的结构示意图;
图4r为本公开实施例提供的一种倒计时界面的结构示意图;
图4s为本公开实施例提供的又一种拍摄界面的结构示意图;
图5为本公开实施例提供的一种视频拍摄装置的结构示意图;
图6为本公开实施例提供的另一种视频拍摄装置的结构示意图;
图7为本公开实施例提供的一种终端设备的硬件结构示意图。
具体实施方式
下面结合附图和实施例对本公开实施例进行说明。此处所描述的实施例仅仅用于解释本公开实施例,而非对本公开实施例的限定。为了便于描述,附图中仅示出了与本公开实施例相关的部分而非全部结构。
实施例一
图1为本公开实施例提供的一种视频拍摄方法的流程图,该方法可以由终端设备来执行,包括步骤110至步骤140。
在步骤110中,获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到视频拍摄指令和视频拍摄暂停指令之间拍摄的视频片段。
终端设备获取视频拍摄指令,该视频拍摄指令是用户对等待拍摄指令界面上的按住拍控件的长按操作产生的,即当用户在等待拍摄指令界面时,长按该界面上的按住拍控件,可以触发终端设备进行拍摄。目标场景是终端设备的摄像头覆盖范围内的所有场景。视频拍摄暂停指令可以通过用户触发,也可以通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发。其中,在通过判断拍 摄时间长度是否达到预定拍摄时间阈值触发视频拍摄暂停指令的情况下,在一实施例中,判断已拍摄视频的长度是否达到预定拍摄时间阈值,若已达到则触发视频拍摄暂停指令,已拍摄视频的长度(或拍摄时间长度)包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。示例性的,预定拍摄时间阈值为15秒,在拍摄时间长度未达到15秒时,用户可以通过释放按住拍控件触发视频拍摄暂停指令;如果已拍摄视频的长度达到15秒,即使用户还按住按住拍控件,仍可以直接触发视频拍摄暂停指令。已拍摄视频的长度(或拍摄时间长度)包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度,即用户拍摄的视频可以不分段就上传,也可以多段合并上传,可上传的视频的总长度不会超过15秒。
按住拍控件被按下(获取视频拍摄指令)后,终端设备就开始对目标场景进行拍摄,只要按住拍控件没有被释放终端设备就一直进行拍摄,直到按住拍控件被释放(获取视频拍摄暂停指令),终端设备停止拍摄。与此同时,终端设备存储在视频拍摄指令和视频拍摄暂停指令之间拍摄的视频片段。可见,视频片段是用户的两次特定操作之间拍摄得到的视频。
在步骤120中,判断是否获得视频生成指令;若否,则执行步骤130;若是,则执行步骤140。
视频生成指令是用户对下一步控件的触发操作产生的指令。终端设备在视频拍摄的过程中,要判断是否获取到视频生成指令,进而执行后续的操作。在一实施例中,若获得所述视频生成指令,则执行步骤140。
在步骤130中,重复获取视频拍摄指令和视频片段暂停指令得到对应的视频片段后返回执行步骤120。
在步骤140中,基于所述视频生成指令,根据已有的视频片段生成目标视频。
若没有获得视频生成指令,则重复获取视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获取视频生成指令,则将已有的视频片段合成得到目标视频。
如果用户重复上述两次特定操作,即长按按住拍控件和释放按住拍控件,终端设备就根据相应操作产生的指令拍摄得到一个或多个视频片段。终端设备 获取到视频生成指令就将已有的视频片段合成得到目标视频。
本公开实施例中,获取视频拍摄指令对当前目标场景进行视频拍摄,直至获取到视频拍摄暂停指令,可以得到一个对应的视频片段。在获取到视频生成指令之前重复获取视频拍摄指令和视频拍摄暂停指令便可以得到对应的视频片段。每个视频片段对应的当前目标场景可以相同,也可以不同,可以根据实际情况确定,在此不作具体限定。示例性的,通过三次重复得到三个视频片段,其对应的当前目标场景均为用户本人和用户背景。
重复得到视频片段,直至获取到视频生成指令,则可以结束视频拍摄并将已有的视频片段合成得到目标视频,视频生成指令可以用于结束当前视频的拍摄。在一实施例中,目标视频可以由已有的视频片段按照生成的先后顺序进行拼接合成得到。
下面以智能手机上的某视频分享软件为例进行说明。在一实施例中,用户有拍摄视频的需求时,通过点击智能手机的显示屏上该视频分享软件的图标,以启动该视频分享软件的应用程序,并进入等待拍摄指令界面,等待拍摄指令界面上包括按住拍控件、下一步控件、道具控件和倒计时控件。用户长按按住拍控件,摄像头开始对当前目标场景进行视频拍摄,直至用户释放按住拍控件,则结束当前视频片段的拍摄得到视频片段1。用户再次长按按住拍控件,摄像头再次开始对当前目标场景进行视频拍摄,直至用户再次释放按住拍控件,则结束当前视频片段的拍摄得到视频片段2。用户第三次长按按住拍控件,摄像头第三次开始对当前目标场景进行视频拍摄,直至用户第三次释放按住拍控件,则结束当前视频片段的拍摄得到视频片段3。用户触发下一步控件,则结束当前视频拍摄并将已有的视频片段1、视频片段2和视频片段3合成得到目标视频。
在一实施例中,终端设备设定了一个预定拍摄时间阈值,即用户拍摄的目标视频可达到的最大长度。如果用户在拍摄视频片段的过程中,已拍摄视频的长度等于预定拍摄时间阈值,则直接将全部的视频片段合成得到目标视频,此时无需用户触发下一步控件。
下面以智能手机上的某视频分享软件为例进行说明。在一实施例中,用户有拍摄视频的需求时,通过点击智能手机的显示屏上该视频分享软件的图标,以启动该视频分享软件的应用程序,并进入等待拍摄指令界面,等待拍摄指令 界面上包括按住拍控件、下一步控件、道具控件和倒计时控件。用户长按按住拍控件,摄像头开始对当前目标场景进行视频拍摄,直至用户释放按住拍控件,则结束当前视频片段的拍摄得到视频片段1。用户再次长按按住拍控件,摄像头再次开始对当前目标场景进行视频拍摄,直至用户再次释放按住拍控件,则结束当前视频片段的拍摄得到视频片段2。用户第三次长按按住拍控件,摄像头第三次开始对当前目标场景进行视频拍摄,在本次视频片段的拍摄过程中,视频片段1、视频片段2和本次已经拍摄的视频片段的长度之和等于预定拍摄时间阈值,则存储本次的视频片段3,并将全部的视频片段1、视频片段2和视频片段3合成得到目标视频。
本公开实施例的技术方案,通过识别用户在显示界面上的不同操作获取相应的指令,从而触发拍摄得到多个视频片段,并将多个视频片段合成得到目标视频,不再需要视频处理软件的介入,提高用户拍摄及处理视频的灵活性,提升用户体验。
在一实施例中,在每次获取视频拍摄指令之前还包括:获取拍摄道具。
为了呈现更好的视频拍摄效果,可以在对当前目标场景进行视频拍摄前,选择拍摄道具,拍摄道具包括贴纸、滤镜模式和/或特效,其中,贴纸可以包括文字、涂鸦、配饰或者位置水印等,滤镜模式可以包括正常、日系、年华或纯真等模式,特效可以包括面部变形、妆发搭配或者背景画面等。
在一实施例中,对目标场景进行视频拍摄,包括:获取摄像头对所述目标场景进行拍摄得到的视频帧,在所述视频帧上叠加拍摄道具。
如果获取到拍摄道具可以将拍摄道具叠加到视频拍摄过程中,进而可呈现更有趣的视频拍摄效果。终端设备在拍摄任一段视频片段之前都有机会选择拍摄道具,如果用户每次拍摄都选择了不同的拍摄道具,就可以将不同的拍摄道具叠加到视频拍摄过程中。
在一实施例中,视频拍摄指令包括倒计时拍摄指令。在一实施例中,对目标场景进行视频拍摄,包括:从获取到倒计时拍摄指令起开始计时,直到计时达到设定时长,则对所述目标场景进行视频拍摄。
通过倒计时拍摄可以在倒计时后自行开始拍摄,而不需要用户一直长按按住拍控件。
在一实施例中,在根据已有的视频片段生成目标视频之后,还包括:获取拍摄撤销指令,根据所述拍摄撤销指令,撤销已合成的视频片段;获取视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获取视频生成指令,则根据已有的视频片段生成新的目标视频。
在将已有的视频片段合成得到目标视频之后,如果用户对合成的目标视频不满意,可以通过对相应控件的触发操作生成拍摄撤销指令,撤销已有的视频片段的合成。然后用户可以继续长按按住拍控件和释放按住拍控件得到对应的视频片段,直至获取视频生成指令,再将已有的视频片段和最新拍摄得到的视频片段合成得到目标视频。
在一实施例中,在获得所述视频生成指令之前,还包括:获取删除指令,并根据所述删除指令删除最新得到的视频片段。获取视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获取视频生成指令,则根据已有的视频片段生成目标视频。
在视频片段拍摄过程中,可以对已得到的视频片段进行删除操作。如果获取到删除指令,则根据删除指令删除最新得到的视频片段。然后用户可以继续长按按住拍控件和释放按住拍控件得到对应的视频片段,直至获取视频生成指令,再将已有的视频片段和最新拍摄得到的视频片段合成得到目标视频。上述适用于用户对拍摄的最新视频片段不满意的情况,可以通过删除指令将最新视频片段删除。
实施例二
在一实施例中,图2为本公开实施例提供的另一种视频拍摄方法的流程图,该方法可以由终端设备来执行,包括
在步骤201中,判断是否获取拍摄道具。
若是,则转至步骤202,若否,则跳转至步骤203。拍摄道具包括贴纸、滤镜模式和/或特效,其中,贴纸可以包括文字、涂鸦、配饰或者位置水印等,滤镜模式可以包括正常、日系、年华或纯真等模式,特效可以包括面部变形、妆发搭配或者背景画面等。用户可以在拍摄视频之前选择拍摄道具,直接对拍摄的视频进行美化处理。
在步骤202中,使用拍摄道具。
使用拍摄道具表示在拍摄视频的同时叠加用户所选的拍摄道具。
在步骤203中,判断是否获取倒计时拍摄指令。
若是,则转至步骤204,若否,则跳转至步骤205。倒计时拍摄指令表示用户设定了倒计时时长,那么终端设备要在倒计时时长到达时才开始拍摄视频。
在步骤204中,开始倒计时。
倒计时结束后跳转至步骤206。
在步骤205中,获取视频拍摄指令。
在步骤206中,根据视频拍摄指令对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,则存储在视频拍摄指令和视频拍摄暂停指令之间拍摄的视频片段。
在步骤207中,重复获取视频拍摄指令和视频拍摄暂停指令得到对应的视频片段,直至获取视频生成指令,则将已有的视频片段合成得到目标视频。
在该步骤之前也可以采用步骤201-步骤204,这样终端设备可以在拍摄任一段视频片段之前都有机会选择拍摄道具,而且每次可以选择不同的拍摄道具,而通过倒计时拍摄可以在倒计时后自行开始拍摄,而不需要用户一直长按按住拍控件。
在步骤208中,获取删除指令,并删除最新得到的视频片段。
如果终端设备获取删除指令,则将最新拍摄的视频片段删除。
在步骤209中,获取拍摄撤销指令,撤销已有的视频片段的合成。
拍摄撤销指令是用户对返回控件的触发操作产生的。终端设备合成目标视频后,用户还可以撤销该合成。撤销视频合成后,用户可以删除视频片段,或者继续拍摄视频片段。
在步骤210中,删除已有的视频片段。
得到目标视频后,终端设备可以删除已存储的视频片段释放缓存空间。
本公开实施例的技术方案,通过识别用户在显示界面上的不同操作获取相 应的指令,从而触发拍摄得到多个视频片段,对视频片段进行美化处理,并将多个视频片段合成得到目标视频,不再需要视频处理软件的介入,提高用户拍摄及处理视频的灵活性,提升用户体验。
实施例三
图3为本公开实施例提供的又一种视频拍摄方法的流程图,该方法可以由终端设备来执行,包括步骤310至步骤350。
在步骤310中,检测到在等待拍摄指令界面上的按住拍控件的长按操作。
在步骤320中,在等待拍摄指令界面显示拍摄的目标场景,直至检测到按住拍控件的释放操作,得到对应的视频片段。
在步骤330中,判断是否检测到在等待拍摄指令界面上的下一步控件的触发操作,若检测到在等待拍摄指令界面上的下一步控件的触发操作,则执行步骤350;若没有检测到在等待拍摄指令界面上的下一步控件的触发操作,则执行步骤340。在步骤340中,重复获取按住拍控件的长按操作和释放操作得到对应的视频片段后返回执行步骤330,即:直至检测到在等待拍摄指令界面上的下一步控件的触发操作为止。
在步骤350中,根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
本公开实施例中,视频拍摄过程可以通过用户对显示界面上的相关控件的操作实现,显示界面是用户可操作的界面。在一实施例中,检测到用户对等待拍摄指令界面上的按住拍控件的长按操作,该操作表示开启当前视频拍摄进程;用户对按住拍控件的释放操作表示结束当前视频片段的拍摄;用户对等待拍摄指令界面上的下一步控件的触发操作表示结束当前视频拍摄,跳转到视频拍摄存储界面将已有的视频片段进行合成得到目标视频。每执行一次步骤310-步骤320便可以得到一个对应的视频片段。或者,如果检测到用户对等待拍摄指令界面上的下一步控件的触发操作,则可以结束当前视频拍摄并将已有的视频片段合成得到目标视频,同时将跳转到视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果。在一实施例中,目标视频可以由已有的视频片段按照生成的先后顺序进行拼接合成得到。
在一实施例中,在步骤320中,还包括:在等待拍摄指令界面显示当前目标场景的同时,判断拍摄时间长度是否达到预定拍摄时间阈值;若所述拍摄时间长度已达到预定拍摄时间阈值,则跳转到所述视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果;其中,拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
本公开实施例中,终端设备设定了一个预定拍摄时间阈值,即用户拍摄的目标视频可达到的最大长度。如果检测到用户对按住拍控件的长按操作后,已有的视频片段长度与最后一次已经拍摄的视频片段长度之和等于预定拍摄时间阈值,则存储最后一次已经拍摄的视频片段,并跳转到视频拍摄存储界面显示将全部的视频片段合成得到目标视频的结果,此时无需检测到用户对下一步控件的触发操作。
在一实施例中,在检测到在等待拍摄指令界面上的按住拍控件的长按操作之前,还包括:检测到用户对等待拍摄指令界面上的道具控件的选择操作。
为了呈现更好的视频拍摄效果,可以在对当前目标场景进行视频拍摄前,选择拍摄道具,拍摄道具包括贴纸、滤镜模式和/或特效,其中,贴纸可以包括文字、涂鸦、配饰或者位置水印等,滤镜模式可以包括正常、日系、年华或纯真等模式,特效可以包括面部变形、妆发搭配或者背景画面等。
在一实施例中,在等待拍摄指令界面显示拍摄的目标场景,包括:在等待拍摄指令界面显示叠加了用户选择的拍摄道具的当前拍摄的目标场景。
如果获取到拍摄道具可以将拍摄道具叠加到视频拍摄过程中,进而可呈现更有趣的视频拍摄效果。终端设备在拍摄任一段视频片段之前都有机会选择拍摄道具,如果用户每次拍摄都选择了不同的拍摄道具,就可以将不同的拍摄道具叠加到视频拍摄过程中。
在一实施例中,该方法还包括:检测到用户对等待拍摄指令界面上的倒计时控件的触发操作。在一实施例中,在等待拍摄指令界面显示当前目标场景,包括:从检测到用户对倒计时控件的触发操作起开始计时,直到计时达到设定时长,则在等待拍摄指令界面显示当前目标场景。
通过倒计时拍摄可以在倒计时后自行开始拍摄,而不需要用户一直长按按住拍控件。
在一实施例中,在跳转到视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果之后,还包括:检测到用户对视频拍摄存储界面上的返回控件的触发操作,跳转到等待拍摄指令界面。
在将已有的视频片段合成得到目标视频之后,如果用户对合成的目标视频不满意,可以触发视频拍摄存储界面上的返回控件,终端设备检测到该操作则撤销已有的视频片段的合成,跳转到等待拍摄指令界面。此后用户可以继续长按按住拍控件和释放按住拍控件得到对应的视频片段,直至获取视频生成指令,再将已有的视频片段和最新拍摄得到的视频片段合成得到目标视频。
在一实施例中,该方法还包括:检测到用户对等待拍摄指令界面上的删除控件的触发操作,删除最新得到的视频片段。
在视频片段拍摄过程中,可以对已得到的视频片段进行删除操作。如果检测到用户对等待拍摄指令界面上的删除控件的触发操作,则删除最新得到的视频片段。此后用户可以继续长按按住拍控件和释放按住拍控件得到对应的视频片段,直至获取视频生成指令,再将已有的视频片段和最新拍摄得到的视频片段合成得到目标视频。上述适用于用户对拍摄的最新视频片段不满意的情况,可以通过删除指令将最新视频片段删除。
实施例四
下面以智能手机上的某视频分享软件为例进行说明。
如图4a所示,给出了一种等待拍摄指令界面的结构示意图,即当前还未进行视频拍摄,该等待拍摄指令界面可以包括:按住拍控件、下一步控件、道具控件和倒计时控件,其中,按住拍控件是复用控件,当用户长按按住拍控件则产生视频拍摄指令,当用户释放按住拍控件则产生视频拍摄暂停指令,当用户释放按住拍控件后再触发下一步控件则产生视频生成指令,当用户触发道具控件则选择拍摄道具,当用户触发倒计时控件则产生倒计时拍摄指令。当用户要对当前目标场景进行视频拍摄时,可以通过对等待拍摄指令界面上的相关控件的操作实现。在一实施例中,在视频拍摄过程中,等待拍摄指令界面将跳转至相应的显示界面。下面将对视频拍摄的所涉及的多个过程以用户操控显示界面上的控件的方式进行说明。
如图4b所示,用户通过对等待拍摄指令界面上的道具控件的触发操作跳转 到如图4c所示的道具界面,并选择了高考加油。
如图4d所示,用户通过长按按住拍控件跳转到如图4e所示的拍摄界面,便可以对当前目标场景进行视频拍摄,并在拍摄界面的左上角显示进度条。当用户释放按住拍控件时,完成当前视频片段的拍摄,得到对应的当前视频片段,并跳转到如图4f的等待拍摄指令界面,该界面上还包括删除控件,删除控件可以设置为对已存储的最新视频片段进行删除操作。如图4g,用户通过对等待拍摄指令界面上的删除控件的触发操作跳转到如图4h所示撤销界面,并在撤销界面上显示对话框,如图所示,通过对撤销界面上的确定控件的触发操作,跳转到如图4i所示的等待拍摄指令界面,该界面与未进行撤销前的等待拍摄指令界面相比,区别在于位于图中左上角所示的进度条,删除相应的视频片段后,该进度条相应的位置的长度也将被删除。此外,为了得到下一个视频片段,用户可以重复执行上述的对道具的选择操作以及后续拍摄操作。在一实施例中,用户均是通过对按住拍控件的释放操作来结束每个视频片段拍摄的。如图4j所示,用户通过对等待拍摄指令界面上的下一步控件的触发操作跳转到如图4k所示的合成界面中对已存储的视频片段进行合成得到目标视频。至此,完成了对视频片段的合成操作和对合成得到的目标视频的编辑处理操作。
在一实施例中,终端设备设定了一个预定拍摄时间阈值,即用户拍摄的目标视频可达到的最大长度。用户通过长按按住拍控件跳转到如图4l所示的拍摄界面,便可以对当前目标场景进行视频拍摄,并在拍摄界面的左上角显示进度条,该界面与图4e所示的拍摄界面相比,区别在于位于图中左上角所示的进度条,每得到一个视频片段就进度条后面增加一个与视频片段的时长相对应的长度。如果检测到用户对按住拍控件的长按操作后,已有的视频片段长度与最后一次已经拍摄的视频片段长度之和等于预定拍摄时间阈值,则存储最后一次已经拍摄的视频片段,此时无需检测到用户对下一步控件的触发操作,即跳过图4j所示的界面直接跳转到如图4k所示的合成界面中显示将全部的视频片段合成得到目标视频的结果。
如图4m所示,用户通过对合成界面上的下一步控件的触发操作跳转到如图4n所示的视频拍摄存储界面,视频拍摄存储界面上可以包括存储模式控件(图中未示出),存储模式控件可以包括草稿箱控件和发布控件,用户通过对分布控件的触发操作跳转到如图4o的用户主页界面,用户主页界面上可以包括作品 控件,通过对作品控件的触发操作跳转到如图4p所示的视频播放界面,并播放目标视频。其中,视频播放界面上可以包括分享控件、点赞控件和评论控件等。
另外,在进入图4d之前,如图4q所示,用户通过对等待拍摄指令界面上的倒计时控件的触发操作跳转到如图4r所示的倒计时界面,在该界面倒计时3s后跳转到如图4s所示的拍摄界面。
本公开实施例的技术方案,通过识别用户在显示界面上的不同操作获取相应的指令,从而触发拍摄得到多个视频片段,对视频片段进行美化处理,并将多个视频片段合成得到目标视频,不再需要视频处理软件的介入,提高用户拍摄及处理视频的灵活性,提升用户体验。
实施例五
图5为本公开实施例提供的一种视频拍摄装置的结构示意图,该装置包括:拍摄模块11、判断模块12和合成模块13,其中,拍摄模块11,设置为获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到所述视频拍摄指令和所述视频拍摄暂停指令之间拍摄的视频片段;判断模块12,设置为判断是否获得视频生成指令;所述拍摄模块11,还设置为若没有获得所述视频生成指令,则重复获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;合成模块13,设置为基于所述视频生成指令,根据已有的视频片段生成目标视频。
在一实施例中,所述视频拍摄暂停指令通过用户触发,或者通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发。
在一实施例中,所述判断模块12,还设置为判断拍摄时间长度是否达到所述预定拍摄时间阈值,若已达到则触发所述视频拍摄暂停指令,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
在一实施例中,所述拍摄模块11,还设置为获取拍摄道具;获取摄像头对目标场景进行拍摄得到的视频帧,在所述视频帧上叠加所述拍摄道具。
在一实施例中,所述视频拍摄指令包括倒计时拍摄指令;所述拍摄模块11,还设置为从获取到所述倒计时拍摄指令起开始计时,直到计时达到设定时长, 则对所述目标场景进行视频拍摄。
在一实施例中,所述拍摄模块11,还设置为获取拍摄撤销指令,根据所述拍摄撤销指令,撤销已合成的视频片段;获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得视频生成指令,则根据已有的视频片段生成新的目标视频。
在一实施例中,所述拍摄模块11,还设置为获取删除指令,并根据所述删除指令删除最新得到的视频片段。
获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得视频生成指令,则根据已有的视频片段生成目标视频。
实施例六
图6为本公开实施例提供的另一种视频拍摄装置的结构示意图,该装置包括:检测模块21和处理模块22,其中,检测模块21,设置为检测到在等待拍摄指令界面上的按住拍控件的长按操作;处理模块22,设置为在所述等待拍摄指令界面显示拍摄的目标场景,直至检测到所述按住拍控件的释放操作,得到对应的视频片段;所述检测模块21,还设置为判断是否检测到在所述等待拍摄指令界面上的下一步控件的触发操作;若没有检测到在所述等待拍摄指令界面上的下一步控件的触发操作,则重复获取所述按住拍控件的长按操作和释放操作得到对应的视频片段,直至检测到在所述等待拍摄指令界面上的下一步控件的触发操作为止;所述处理模块22,还设置为根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
在一实施例中,所述处理模块22,还设置为判断拍摄时间长度是否达到预定拍摄时间阈值;若拍摄时间长度已达到所述预定拍摄时间阈值,则跳转到视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果;其中,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
在一实施例中,所述检测模块21,还设置为于检测到用户对所述等待拍摄指令界面上的道具控件的选择操作;所述处理模块22,还设置为在所述等待拍摄指令界面显示叠加了用户选择的拍摄道具的拍摄的目标场景。
在一实施例中,所述检测模块21,还设置为检测到用户对所述等待拍摄指令界面上的倒计时控件的触发操作;所述处理模块22,还设置为从检测到用户对所述倒计时控件的触发操作起开始计时,直到计时达到设定时长,则在所述等待拍摄指令界面显示当前目标场景。
在一实施例中,所述检测模块21,还设置为检测到用户对所述视频拍摄存储界面上的返回控件的触发操作,跳转到所述等待拍摄指令界面。
在一实施例中,所述检测模块21,还设置为检测到用户对所述等待拍摄指令界面上的删除控件的触发操作,删除最新得到的视频片段。
本公开实施例所提供的视频拍摄装置可执行本公开任意实施例所提供的视频拍摄方法,具备执行方法相应的功能模块和效果。
实施例七
图7为本公开实施例提供的一种终端设备的硬件结构示意图。终端设备可以以一种或多种形式来实施,本公开中的终端设备可以包括但不限于诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等等的移动终端设备以及诸如数字电视(Television,TV)、台式计算机等等的固定终端设备。
如图7所示,终端设备1100可以包括无线通信单元1110、音频/视频(Audio/Video,A/V)输入单元1120、用户输入单元1130、感测单元1140、输出单元1150、存储器1160、接口单元1170、控制器1180和电源单元1190等等。图7示出了具有多种组件的终端设备,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。
其中,无线通信单元1110允许终端设备1100与无线通信系统或网络之间的无线电通信。A/V输入单元1120设置为接收音频或视频信号。用户输入单元1130可以根据用户输入的命令生成键输入数据以控制终端设备的一种或多种操作。感测单元1140检测终端设备1100的当前状态、终端设备1100的位置、用户对于终端设备1100的触摸输入的有无、终端设备1100的取向、终端设备1100的加速或减速移动和方向等等,并且生成用于控制终端设备1100的操作的命令 或信号。接口单元1170用作至少一个外部装置与终端设备1100连接可以通过的接口。输出单元1150被构造为以视觉、音频和/或触觉方式提供输出信号。存储器1160可以存储由控制器1180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据。存储器1160可以包括至少一种类型的存储介质。而且,终端设备1100可以与通过网络连接执行存储器1160的存储功能的网络存储装置协作。控制器1180通常控制终端设备的总体操作。另外,控制器1180可以包括用于再现或回放多媒体数据的多媒体模块。控制器1180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。电源单元1190在控制器1180的控制下接收外部电力或内部电力并且提供操作每个元件和组件所需的适当的电力。
本公开实施例还提供一种包含可执行指令的存储介质,所述可执行指令在由控制器执行时用于执行本公开任意实施例所提供的视频拍摄方法中的相关操作。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本公开实施例可借助软件及通用硬件来实现,也可以通过硬件实现。基于这样的理解,本公开实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例一个或多个实施例所述的方法。
上述装置的实施例中,所包括的多个模块和/或单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,每个功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。

Claims (17)

  1. 一种视频拍摄方法,包括:
    获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到所述视频拍摄指令和所述视频拍摄暂停指令之间拍摄的视频片段;
    判断是否获得视频生成指令;
    响应于没有获得所述视频生成指令的判断结果,重复获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
    基于所述视频生成指令,根据已有的视频片段生成目标视频。
  2. 根据权利要求1所述的方法,其中,所述视频拍摄暂停指令通过用户触发,或者通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发。
  3. 根据权利要求2所述的方法,其中,所述通过判断拍摄时间长度是否达到预定拍摄时间阈值来触发所述视频拍摄暂停指令,包括:响应于拍摄时间长度已达到所述预定拍摄时间阈值的判断结果,触发所述视频拍摄暂停指令,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
  4. 根据权利要求1所述的方法,在每次获取所述视频拍摄指令之前,还包括:
    获取拍摄道具;
    所述对目标场景进行视频拍摄,包括:
    获取摄像头对所述目标场景进行拍摄得到的视频帧,在所述视频帧上叠加所述拍摄道具。
  5. 根据权利要求1所述的方法,其中,所述视频拍摄指令包括倒计时拍摄指令;
    所述对目标场景进行视频拍摄,包括:
    从获取到所述倒计时拍摄指令起开始计时,直到计时达到设定时长,则对所述目标场景进行视频拍摄。
  6. 根据权利要求1-5中任一项所述的方法,在所述根据已有的视频片段生 成目标视频之后,还包括:
    获取拍摄撤销指令,根据所述拍摄撤销指令,撤销已合成的视频片段;
    获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得视频生成指令,并根据已有的视频片段生成新的目标视频。
  7. 根据权利要求1-6中任一项所述的方法,,还包括:
    获取删除指令,并根据所述删除指令删除最新得到的视频片段。
    获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得视频生成指令,则根据已有的视频片段生成目标视频。
  8. 一种视频拍摄方法,包括:
    检测到在等待拍摄指令界面上的按住拍控件的长按操作;
    在所述等待拍摄指令界面显示拍摄的目标场景,直至检测到所述按住拍控件的释放操作,得到对应的视频片段;
    判断是否检测到在所述等待拍摄指令界面上的下一步控件的触发操作;
    响应于没有检测到在所述等待拍摄指令界面上的下一步控件的触发操作的判断结果,重复获取所述按住拍控件的长按操作和释放操作得到对应的视频片段,直至检测到在所述等待拍摄指令界面上的下一步控件的触发操作为止;
    根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
  9. 根据权利要求8所述的方法,其中,还包括:
    在所述等待拍摄指令界面显示拍摄的目标场景的同时,判断拍摄时间长度是否达到预定拍摄时间阈值;
    响应于所述拍摄时间长度已达到所述预定拍摄时间阈值的判断结果,跳转到所述视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果;其中,所述拍摄时间长度包括一段已拍摄的视频的拍摄时间长度或者多段已拍摄的视频的拍摄时间总长度。
  10. 根据权利要求8所述的方法,在所述检测到在等待拍摄指令界面上的 按住拍控件的长按操作之前,还包括:
    检测到用户对所述等待拍摄指令界面上的道具控件的选择操作;
    所述在所述等待拍摄指令界面显示拍摄的目标场景,包括:
    在所述等待拍摄指令界面显示叠加了用户选择的拍摄道具的当前拍摄的目标场景。
  11. 根据权利要求8所述的方法,还包括:
    检测到用户对所述等待拍摄指令界面上的倒计时控件的触发操作;
    所述在所述等待拍摄指令界面显示当前目标场景,包括:
    从检测到用户对所述倒计时控件的触发操作起开始计时,直到计时达到设定时长,则在所述等待拍摄指令界面显示当前目标场景。
  12. 根据权利要求8-11中任一项所述的方法,在所述跳转到视频拍摄存储界面并显示将已有的视频片段合成得到目标视频的结果之后,还包括:
    检测到用户对所述视频拍摄存储界面上的返回控件的触发操作,跳转到所述等待拍摄指令界面。
  13. 根据权利要求8-11中任一项所述的方法,还包括:
    检测到用户对所述等待拍摄指令界面上的删除控件的触发操作,删除最新得到的视频片段。
  14. 一种视频拍摄装置,包括:
    拍摄模块,设置为获取视频拍摄指令,对目标场景进行视频拍摄,直至获取视频拍摄暂停指令,得到所述视频拍摄指令和所述视频拍摄暂停指令之间拍摄的视频片段;
    判断模块,设置为判断是否获得视频生成指令;
    所述拍摄模块,还设置为若没有获得所述视频生成指令,则重复获取所述视频拍摄指令和所述视频片段暂停指令得到对应的视频片段,直至获得所述视频生成指令为止;
    合成模块,设置为基于所述视频生成指令,根据已有的视频片段生成目标 视频。
  15. 一种视频拍摄装置,包括:
    检测模块,设置为检测到在等待拍摄指令界面上的按住拍控件的长按操作;
    处理模块,设置为在所述等待拍摄指令界面显示拍摄的目标场景,直至检测到所述按住拍控件的释放操作,得到对应的视频片段;
    所述检测模块,还设置为判断是否检测到在所述等待拍摄指令界面上的下一步控件的触发操作;响应于没有检测到在所述等待拍摄指令界面上的下一步控件的触发操作的判断结果,重复获取所述按住拍控件的长按操作和释放操作得到对应的视频片段,直至检测到在所述等待拍摄指令界面上的下一步控件的触发操作为止;
    所述处理模块,还设置为根据所述下一步控件的触发操作,从所述等待拍摄指令界面跳转到视频拍摄存储界面,并在所述视频拍摄存储界面显示将已有的视频片段合成得到目标视频的结果。
  16. 一种终端设备,包括存储器、控制器及存储在所述存储器上并可在所述控制器上运行的程序,所述控制器执行所述程序时实现下述至少一项:如权利要求1-7中任一项所述的方法,如权利要求8-13中任一项所述的方法。
  17. 一种包含可执行指令的存储介质,所述可执行指令在由控制器执行时用于执行下述至少一项:如权利要求1-7中任一项所述的方法,如权利要求8-13中任一项所述的方法。
PCT/CN2018/124753 2018-07-19 2018-12-28 视频拍摄方法、装置、终端设备和存储介质 WO2020015331A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/021,117 US10951823B2 (en) 2018-07-19 2020-09-15 Method and apparatus for capturing a video, terminal device and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810799339.0 2018-07-19
CN201810799339.0A CN108965706B (zh) 2018-07-19 2018-07-19 视频拍摄方法、装置、终端设备和存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/021,117 Continuation US10951823B2 (en) 2018-07-19 2020-09-15 Method and apparatus for capturing a video, terminal device and storage medium

Publications (1)

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

Family

ID=64497891

Family Applications (1)

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

Country Status (3)

Country Link
US (1) US10951823B2 (zh)
CN (1) CN108965706B (zh)
WO (1) WO2020015331A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4250717A4 (en) * 2020-11-18 2024-04-24 Vivo Mobile Communication Co Ltd VIDEO RECORDING METHOD AND ELECTRONIC DEVICE

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965706B (zh) * 2018-07-19 2020-07-07 北京微播视界科技有限公司 视频拍摄方法、装置、终端设备和存储介质
CN109451245A (zh) * 2018-12-27 2019-03-08 北京微播视界科技有限公司 一种视频拍摄方法、装置、设备和存储介质
CN111464735B (zh) * 2019-01-21 2021-10-08 阿里巴巴集团控股有限公司 视频拍摄方法、装置、电子设备及计算机存储介质
CN109922265B (zh) * 2019-03-28 2020-09-29 维沃移动通信有限公司 视频拍摄方法及终端设备
CN110401801A (zh) * 2019-07-22 2019-11-01 北京达佳互联信息技术有限公司 视频生成方法、装置、电子设备及存储介质
CN110312077B (zh) * 2019-07-25 2021-01-12 北京达佳互联信息技术有限公司 一种视频拍摄方法、装置、电子设备和存储介质
CN112822563A (zh) 2019-11-15 2021-05-18 北京字节跳动网络技术有限公司 生成视频的方法、装置、电子设备和计算机可读介质
CN114025087A (zh) * 2021-10-29 2022-02-08 北京字跳网络技术有限公司 视频拍摄方法、设备、存储介质及程序产品

Citations (4)

* 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 珠海市魅族科技有限公司 图像信息处理方法及装置、计算机装置及可读存储介质
CN108965706A (zh) * 2018-07-19 2018-12-07 北京微播视界科技有限公司 视频拍摄方法、装置、终端设备和存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5118129B2 (ja) * 2007-03-06 2013-01-16 パナソニック株式会社 撮像装置、編集装置、画像処理方法及びプログラム
US8467402B2 (en) * 2008-09-10 2013-06-18 Miselu, Inc. Digital audio communication system
KR101692398B1 (ko) * 2010-08-30 2017-01-03 삼성전자주식회사 디지털 촬영 장치 및 디지털 촬영 장치의 제어 방법
CN104519262B (zh) * 2013-09-27 2018-04-27 腾讯科技(深圳)有限公司 获取视频数据的方法、装置及终端
US9106820B1 (en) * 2014-03-18 2015-08-11 Here Global B.V. Multi-stage trigger for capturing video images
WO2015167441A1 (en) * 2014-04-28 2015-11-05 Hewlett-Packard Development Company, L.P. Muting a videoconference
US10149009B2 (en) * 2014-07-09 2018-12-04 Platypus Ip Llc Indexing and compiling recordings in dwindling memory
CN104301649B (zh) * 2014-10-29 2019-08-16 上海斐讯数据通信技术有限公司 一种视频拍摄存储、播放的方法和系统
KR102328823B1 (ko) * 2014-11-12 2021-11-19 삼성전자 주식회사 화면 내 빈 영역 활용 방법 및 장치
US9858969B2 (en) * 2015-01-29 2018-01-02 HiPoint Technology Services, INC Video recording and editing system
CN105657498B (zh) * 2016-02-17 2018-11-06 腾讯科技(深圳)有限公司 移动终端的视频录制方法和装置
US10250433B1 (en) * 2016-03-25 2019-04-02 WatchGuard, Inc. Method and system for peer-to-peer operation of multiple recording devices
CN106303238B (zh) * 2016-08-16 2019-10-25 北京金山安全软件有限公司 一种拍摄视频的方法、装置及电子设备
CN106254776A (zh) * 2016-08-22 2016-12-21 北京金山安全软件有限公司 一种视频的处理方法、装置及电子设备
US10521675B2 (en) * 2016-09-19 2019-12-31 Digital Ally, Inc. Systems and methods of legibly capturing vehicle markings
TW201837586A (zh) * 2017-04-13 2018-10-16 小綠草股份有限公司 縮時攝影系統及方法
US10178294B2 (en) * 2017-05-25 2019-01-08 International Business Machines Corporation Controlling a video capture device based on cognitive personal action and image identification
CN107613235B (zh) * 2017-09-25 2019-12-27 北京达佳互联信息技术有限公司 视频录制方法和装置
US20190253619A1 (en) * 2018-02-09 2019-08-15 Apple Inc. Media capture lock affordance for graphical user interface

Patent Citations (4)

* 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 珠海市魅族科技有限公司 图像信息处理方法及装置、计算机装置及可读存储介质
CN108965706A (zh) * 2018-07-19 2018-12-07 北京微播视界科技有限公司 视频拍摄方法、装置、终端设备和存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4250717A4 (en) * 2020-11-18 2024-04-24 Vivo Mobile Communication Co Ltd VIDEO RECORDING METHOD AND ELECTRONIC DEVICE

Also Published As

Publication number Publication date
CN108965706B (zh) 2020-07-07
US10951823B2 (en) 2021-03-16
US20200412952A1 (en) 2020-12-31
CN108965706A (zh) 2018-12-07

Similar Documents

Publication Publication Date Title
WO2020015331A1 (zh) 视频拍摄方法、装置、终端设备和存储介质
CN108616696B (zh) 一种视频拍摄方法、装置、终端设备及存储介质
CN108900902B (zh) 确定视频背景音乐的方法、装置、终端设备及存储介质
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
CN108900771B (zh) 一种视频处理方法、装置、终端设备及存储介质
CN108965705B (zh) 一种视频处理方法、装置、终端设备及存储介质
GB2589506A (en) Method and apparatus for selecting background music for video capture, terminal device, and medium
CN105338259B (zh) 一种合成视频的方法及装置
WO2022127839A1 (zh) 视频处理方法、装置、设备、存储介质及计算机程序产品
CN107748615B (zh) 屏幕的控制方法、装置、存储介质及电子设备
CN111083374B (zh) 滤镜添加方法及电子设备
CN109104633B (zh) 视频截图方法、装置、存储介质及移动终端
CN112887618B (zh) 视频拍摄方法及其装置
CN105391935B (zh) 影像撷取装置的控制方法及电子装置
CN112711368B (zh) 操作指导方法、装置及电子设备
CN111818382B (zh) 一种录屏方法、装置及电子设备
CN109040823B (zh) 一种书签展示的方法及装置
CN113596329A (zh) 拍摄方法和拍摄装置
JP2004207842A (ja) 画像処理装置およびプログラム
CN112422808B (zh) 照片的获取、媒体对象的处理方法及装置、电子设备
CN115442526A (zh) 视频拍摄方法、装置和设备
CN116347141A (zh) 投屏处理、投屏信息配置方法、存储介质、电子设备
CN114745506A (zh) 视频处理方法和电子设备
CN116320140A (zh) 图像处理方法和处理装置
CN116156076A (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: 18926752

Country of ref document: EP

Kind code of ref document: A1

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: 18926752

Country of ref document: EP

Kind code of ref document: A1