WO2020024165A1 - Video clipping method, apparatus, device and storage medium - Google Patents

Video clipping method, apparatus, device and storage medium Download PDF

Info

Publication number
WO2020024165A1
WO2020024165A1 PCT/CN2018/098084 CN2018098084W WO2020024165A1 WO 2020024165 A1 WO2020024165 A1 WO 2020024165A1 CN 2018098084 W CN2018098084 W CN 2018098084W WO 2020024165 A1 WO2020024165 A1 WO 2020024165A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
clip
clipped
timeline
target
Prior art date
Application number
PCT/CN2018/098084
Other languages
French (fr)
Chinese (zh)
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 CN201880039490.2A priority Critical patent/CN110915224A/en
Priority to PCT/CN2018/098084 priority patent/WO2020024165A1/en
Publication of WO2020024165A1 publication Critical patent/WO2020024165A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Definitions

  • the present disclosure relates to the technical field of image processing, and in particular, to a video editing method, a video editing device, an electronic device, and a computer-readable storage medium.
  • some video editing software can only pre-clip the video to be edited after loading the video to be edited. If you need to edit the video to be edited again, you need to reload the video to be edited, which not only increases users Operating costs and reduced video editing efficiency.
  • An object of the present disclosure is to provide a video editing method, a video editing device, an electronic device, and a computer-readable storage medium, so as to at least to some extent overcome one or more problems caused by the limitations and defects of the related technology.
  • a video editing method comprising: receiving a clip instruction to clip a target video clip in a video to be clipped; and determining that the target video clip is in the video clip in response to the clip instruction.
  • a start point and an end point on a timeline of a video to be clipped clip the target video segment from the video to be clipped based on the start point and an end point; indent the timeline of the video to be clipped for the next step Editing operations.
  • a video editing device including: a receiving unit for receiving a clipping instruction for a target video clip in a video to be clipped for editing; and a determining unit for responding to the editing An instruction for determining a start point and an end point of the target video clip on a timeline of the video to be clipped; and a clipping unit for cutting the target video clip from the video to be clipped based on the start point and the end point An indentation unit, configured to indent the timeline of the video to be clipped for the next clip operation.
  • an electronic device including: a processor; and a memory, wherein the memory stores computer-readable instructions, and the computer-readable instructions are implemented when executed by the processor.
  • the video editing method according to the first aspect is provided.
  • a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the video editing method described in the first aspect.
  • determining a start point and an end point of a target video clip on a timeline of a video to be clipped it is possible to accurately determine that the target video is in the video to be clipped Position on the timeline; on the other hand, clip the target video clip based on the start and end points of the target video clip on the timeline of the video to be clipped, and indent the timeline of the video to be clipped for the next clip operation.
  • Multiple and repeatable editing of the same video to be edited improves the efficiency of video editing and reduces user operation costs.
  • FIG. 1 schematically illustrates a flowchart of a video editing method according to some embodiments of the present disclosure
  • FIG. 2 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 3 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 5 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 6 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 7 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 8 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure
  • FIG. 9 schematically illustrates a block diagram of a video detection device according to some embodiments of the present disclosure.
  • FIG. 10 schematically illustrates a block diagram of an electronic device according to some exemplary embodiments of the present disclosure.
  • FIG. 1 illustrates a flowchart of a video editing method according to some embodiments of the present disclosure.
  • step S110 a clip instruction is received to clip a target video clip in a video to be clipped.
  • a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control may be displayed on a video playback interface.
  • the user can drag the video marquee to select the target video clip to be clipped.
  • the left side of the video marquee is the clip start axis and the right is the clip end axis.
  • the video processing client such as a video processing application program, receives a clip instruction to clip the target video clip in the video to be clipped.
  • the video to be clipped, the timeline of the video to be clipped, the clip start axis, the clip end axis, and the clip controls may be displayed on the video playback interface.
  • the user drags the clip start axis and / or clip end axis to select the start and end points of the clip.
  • the video processing client receives a clip instruction to clip the target video clip in the video to be clipped.
  • step S120 a start point and an end point of the target video clip on the time line of the video to be clipped are determined in response to the clip instruction.
  • a start point and an end point of the target video clip on a timeline of a video to be clipped may be determined based on a clip start axis and a clip end axis.
  • the position of the start axis of the clip on the timeline of the video to be edited may be used as the starting point of the target video clip
  • the position of the end axis of the clip on the timeline of the video to be edited may be used as the end point of the target video clip.
  • step S130 the target video clip is clipped from the video to be clipped based on the start point and the end point.
  • the target video segment is clipped from the video to be clipped based on the start point and the end point of the target video segment. For example, a target video segment between a clip start axis and a clip end axis in a clipped video may be clipped along the timeline of the video to be clipped.
  • step S140 the time line of the video to be clipped is indented for the next clip operation.
  • the timeline of the video to be clipped is indented to facilitate the next clip operation. For example, after the target video is clipped, the timeline of the video to be clipped is automatically indented for the same length as the target video clip, such as 3 seconds. After the timeline of the video to be edited is indented, another editing operation can be directly performed.
  • the video editing method in the example embodiment of FIG. 1 in response to a clip instruction determining a start point and an end point of a target video clip on a timeline of a video to be clipped, it is possible to accurately determine the Position on the timeline; on the other hand, clip the target video clip based on the start and end points of the target video clip on the timeline of the video to be clipped, indent the timeline of the video to be clipped for the next clip operation, Multiple and repeatable editing of the same video to be edited improves the efficiency of video editing and reduces user operation costs.
  • FIG. 2 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • the video to be clipped, the timeline of the video to be clipped, the clip start axis, the clip end axis, the clip control, and key frames corresponding to the timeline of the video to be clipped are displayed on the video playback interface.
  • key frames users can more intuitively see the image picture at the start and end points of the clip, making it easier to perform more detailed editing.
  • the target video clip between the clip start axis and the clip end axis is clipped at a predetermined time interval, for example, 3 seconds.
  • the video to be clipped can be automatically played on the video playback interface.
  • the exemplary embodiment of the present invention is not limited to this, and the time interval of the clip may be determined according to the duration of the video to be clipped.
  • the time interval may be 5 seconds, 10 seconds, 15 seconds, or the like.
  • FIG. 3 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a video to be clipped a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface.
  • the user can drag the video marquee to select the target video clip to be clipped.
  • the left side of the video marquee is the clip start axis and the right is the clip end axis.
  • key frames corresponding to the timeline of the video to be clipped may also be displayed on the video playback interface, so that the user can perform finer editing.
  • the target video clip between the clip start axis and the clip end axis is intercepted at a predetermined time interval, for example, 3 seconds. Add the intercepted target video clip to the queue of candidate videos, and shorten the total duration of the video by 3s.
  • the timeline of the target video and key frames corresponding to the timeline are automatically indented forward by the predetermined time interval, and the indented timeline and Corresponding key frame.
  • the clipped video clip can also be displayed in a predetermined area of the video playback interface, such as between the video to be clipped and the timeline of the video to be clipped, so that the user can visually perceive the clipped video clip.
  • a predetermined area of the video playback interface such as between the video to be clipped and the timeline of the video to be clipped, so that the user can visually perceive the clipped video clip.
  • the predetermined region shown in FIG. 3 is located between the video to be clipped and the timeline of the video to be clipped, the embodiments of the present disclosure are not limited thereto.
  • the predetermined region may also be located to be clipped Below the timeline of the video, this is also within the scope of this disclosure.
  • FIG. 4 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface.
  • the user can drag the video marquee to select the target video clip to be clipped.
  • the left side of the video marquee is the clip start axis and the right is the clip end axis. If the user manually moves the video to be edited for editing, the video to be edited is paused and playback controls appear on the video playback interface.
  • the user can also select the target video clip to be clipped by moving the clip start axis and / or clip end axis.
  • the target video clip between the clip start axis and the clip end axis is intercepted at a predetermined time interval, for example, 3 seconds. Add the intercepted target video clips to the queue of candidate videos. Further, the video queue to be selected may be displayed in a predetermined area of the video playback interface, for example, between a video to be clipped and a timeline of the video to be clipped.
  • FIG. 5 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a video queue to be selected is displayed below a predetermined area of the video playback interface, for example, a video to be clipped.
  • the selected video clip is played in the video player.
  • the timeline of the video to be edited, the corresponding key frame, the start of the clip axis, and the end of the clip disappear, and the clip is edited.
  • the control becomes the DONE control (complete). Click the DONE control to reappear the timeline of the video to be edited, the corresponding key frame, the start of the clip axis, and the end of the clip axis, and locate the target video clip position of the last clip.
  • a delete control is also displayed below the video playback interface, and the delete control is used to delete the video clips in the video queue to be selected.
  • FIG. 6 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a video queue to be selected is displayed below a predetermined area of a video playback interface, for example, a video to be clipped.
  • a video playback interface for example, a video to be clipped.
  • FIG. 7 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface.
  • the user can drag the video marquee to select the target video clip to be clipped.
  • the left side of the video marquee is the clip start axis and the right is the clip end axis.
  • the clip control is grayed out, so that the user cannot click the clip button and cannot clip the target video clip.
  • FIG. 8 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
  • a part of a clipped video clip is located between a clip start axis and a clip end axis, if the user clicks the clip control at this time, a prompt message “Cannot clip across clips” is displayed.
  • the prompt The message disappears after a predetermined time, for example, 1 second.
  • the video editing device 900 may include a receiving unit 910, a determining unit 920, a editing unit 930, and an indenting unit 940.
  • the receiving unit 910 is configured to receive a clip instruction for editing a target video clip in a video to be clipped; and the determining unit 920 is configured to determine a target video clip on a timeline of the video to be clipped in response to the clip instruction.
  • a start point and an end point; a clipping unit 930 is configured to cut the target video clip from the video to be edited based on the start point and an end point; an indentation unit 940 is used to indent a timeline of the video to be edited to Proceed to the next clip operation.
  • the indentation unit 940 is configured to indent the timeline of the video to be clipped with the same duration as the duration of the target video clip.
  • the duration of the target video clip is 3 seconds.
  • the video editing device 900 further includes:
  • the video clip display unit is configured to display the clipped video clip in a predetermined area of the video playback interface.
  • the video editing device 900 further includes: a key frame presentation unit, configured to present a key frame corresponding to a time line of the video to be clipped on the video playback interface.
  • the video editing device 900 further includes: an adding unit, configured to add the target video clip to a candidate video queue after the target video clip is clipped.
  • the video editing device 900 further includes: a video clip playing unit configured to, upon receiving an instruction to click a video clip in the video queue to be selected, play the video The interface plays the video clip.
  • the video editing device 900 further includes: a hiding unit, configured to hide the timeline of the video to be edited when the video clip is played, and The playback interface displays delete controls.
  • the video editing device 900 further includes: a deleting unit, configured to delete a currently playing video clip when receiving an instruction to click the delete control, and select the video clip. The next video clip in the waiting video queue is played.
  • the video editing device 900 further includes:
  • the editing prohibition unit is configured to prohibit editing of the video to be edited when a part of the video clip that has been edited is located between the starting point and the ending point.
  • the video editing device 900 further includes: a prompt information display unit, configured to, when the editing of the video to be edited is prohibited, if the video to be edited is received When the editing command is executed, a message indicating that editing is prohibited is displayed.
  • each functional module of the video editing apparatus 900 of the exemplary embodiment of the present disclosure corresponds to the steps of the exemplary embodiment of the video editing method, it will not be repeated here.
  • modules or units of the video editing device are mentioned in the detailed description above, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • an electronic device capable of implementing the above method is also provided.
  • FIG. 1000 illustrates a schematic structural diagram of a computer system 1000 suitable for implementing an electronic device according to an embodiment of the present invention.
  • the computer system 1000 of the electronic device shown in FIG. 10 is only an example, and should not impose any limitation on the function and use range of the embodiment of the present invention.
  • the computer system 1000 includes a central processing unit (CPU) 1001, which can be loaded into a random access memory (RAM) 1003 according to a program stored in a read-only memory (ROM) 1002 or from a storage portion 1008. Instead, perform various appropriate actions and processes.
  • RAM 1003 various programs and data required for system operation are also stored.
  • the CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004.
  • An input / output (I / O) interface 1005 is also connected to the bus 1004.
  • the following components are connected to the I / O interface 1005: an input portion 1006 including a keyboard, a mouse, etc .; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc .; and a speaker; a storage portion 1008 including a hard disk, etc. ; And a communication section 1009 including a network interface card such as a LAN card, a modem, and the like. The communication section 1009 performs communication processing via a network such as the Internet.
  • the driver 1010 is also connected to the I / O interface 1005 as needed.
  • a removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present invention include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network through the communication section 1009, and / or installed from a removable medium 1011.
  • this computer program is executed by a central processing unit (CPU) 1001
  • CPU central processing unit
  • the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the foregoing.
  • 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. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal transmitted in baseband or transmitted as a part of a carrier wave, in which a computer-readable program code is carried. Such a propagated 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 .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more of the logic functions used to implement the specified logic.
  • Executable instructions may also occur in a different order than those marked in the drawings. For example, two successively represented boxes may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with A combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present invention may be implemented by software or hardware.
  • the described units may also be provided in a processor.
  • the names of these units do not, in some cases, define the unit itself.
  • the present application also provides a computer-readable medium, which may be included in the electronic device described in the foregoing embodiments; or may exist alone without being assembled into the electronic device in.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by one of the electronic devices, the electronic device implements the video editing method as described in the foregoing embodiment.
  • the electronic device may implement, as shown in FIG. 1: step S110, receiving a clip instruction to clip a target video clip in a video to be clipped; and step S120, in response to the clip instruction, determining that the target video clip is in A start point and an end point on the timeline of the video to be edited; step S130, based on the start point and end point, to clip the target video segment from the video to be edited; step S140, indent the to-be-cut video Timeline of the video for the next editing operation.
  • modules or units of a device or device for performing an action are mentioned in the detailed description above, this division is not mandatory.
  • the features and functions of the two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • the technical solution according to the embodiment of the present invention may be embodied in the form of a software product, and the software product may be stored in a non-volatile storage medium (which may be a CD-ROM, a U disk, a mobile hard disk, etc.) or on a network. It includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
  • a computing device which may be a personal computer, a server, a touch terminal, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Disclosed are a video clipping method , an apparatus, a device and a storage medium. The method comprises: receiving a clip instruction for clipping a target video segment in a video to be clipped; in response to the clip instruction, determining a start point and an end point of the target video segment on a timeline of the video to be clipped; clipping the target video segment from the video to be clipped based on the start point and the end point; and indenting the timeline of the video to be clipped to perform the next clipping operation. The disclosure can repeatedly clip the same video to be clipped for several times, thereby improving the video clipping efficiency and reducing user operation cost.

Description

视频剪辑方法、装置、设备及存储介质Video editing method, device, equipment and storage medium 技术领域Technical field
本公开涉及图像处理技术领域,具体而言,涉及一种视频剪辑方法、视频剪辑装置、电子设备以及计算机可读存储介质。The present disclosure relates to the technical field of image processing, and in particular, to a video editing method, a video editing device, an electronic device, and a computer-readable storage medium.
背景技术Background technique
随着计算机技术的发展,越来越多的用户通过移动终端例如手机拍摄视频。然而,用户在观看或者上传视频时,经常仅希望观看或者上传视频中的某些片段,因此需要对拍摄的视频进行剪辑。With the development of computer technology, more and more users shoot videos through mobile terminals such as mobile phones. However, when watching or uploading a video, users often only want to watch or upload certain clips in the video, and therefore need to edit the captured video.
目前,一些视频剪辑软件在对视频进行剪辑时,加载待剪辑视频之后,仅能对待剪辑视频进行一次预剪辑,如需再次对待剪辑视频进行剪辑,则需要重新加载待剪辑视频,不仅增加了用户操作成本,而且降低了视频剪辑效率。At present, when editing video, some video editing software can only pre-clip the video to be edited after loading the video to be edited. If you need to edit the video to be edited again, you need to reload the video to be edited, which not only increases users Operating costs and reduced video editing efficiency.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.
发明内容Summary of the invention
本公开的目的在于提供一种视频剪辑方法、视频剪辑装置、电子设备以及计算机可读存储介质,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的一个或者多个问题。An object of the present disclosure is to provide a video editing method, a video editing device, an electronic device, and a computer-readable storage medium, so as to at least to some extent overcome one or more problems caused by the limitations and defects of the related technology.
根据本公开实施例的第一方面,提供了一种视频剪辑方法,包括:接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;缩进所述待剪辑视频的时间线以进行下一剪辑操作。According to a first aspect of the embodiments of the present disclosure, there is provided a video editing method, comprising: receiving a clip instruction to clip a target video clip in a video to be clipped; and determining that the target video clip is in the video clip in response to the clip instruction. A start point and an end point on a timeline of a video to be clipped; clip the target video segment from the video to be clipped based on the start point and an end point; indent the timeline of the video to be clipped for the next step Editing operations.
根据本公开实施例的第二方面,提供了一种视频剪辑装置,包括:接收单元,用于接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;确定单元,用于响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;剪辑单元,用于基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;缩进单元,用于缩进所述待剪辑视频的时间线以进行下一剪辑操作。According to a second aspect of the embodiments of the present disclosure, there is provided a video editing device including: a receiving unit for receiving a clipping instruction for a target video clip in a video to be clipped for editing; and a determining unit for responding to the editing An instruction for determining a start point and an end point of the target video clip on a timeline of the video to be clipped; and a clipping unit for cutting the target video clip from the video to be clipped based on the start point and the end point An indentation unit, configured to indent the timeline of the video to be clipped for the next clip operation.
根据本公开实施例的第三方面,提供了一种电子设备,包括:处理器;以及存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时实现上述第一方面所述的视频剪辑方法。According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device including: a processor; and a memory, wherein the memory stores computer-readable instructions, and the computer-readable instructions are implemented when executed by the processor. The video editing method according to the first aspect.
根据本公开实施例的第四方面,提供了一种计算机可读存储介质,其上存储有计算机 程序,所述计算机程序被处理器执行时实现上述第一方面所述的视频剪辑方法。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the video editing method described in the first aspect.
在本公开的一些实施例所提供的技术方案中,一方面,响应于剪辑指令确定目标视频片段在待剪辑视频的时间线上的起始点和终止点,能够准确地确定目标视频在待剪辑视频的时间线上的位置;另一方面,基于目标视频片段在待剪辑视频的时间线上的起始点和终止点剪辑目标视频片段,缩进待剪辑视频的时间线以进行下一剪辑操作,能够对同一待剪辑视频进行多次、可重复剪辑,提高了视频剪辑的效率,并且降低了用户操作成本。In the technical solutions provided by some embodiments of the present disclosure, in one aspect, in response to a clip instruction, determining a start point and an end point of a target video clip on a timeline of a video to be clipped, it is possible to accurately determine that the target video is in the video to be clipped Position on the timeline; on the other hand, clip the target video clip based on the start and end points of the target video clip on the timeline of the video to be clipped, and indent the timeline of the video to be clipped for the next clip operation. Multiple and repeatable editing of the same video to be edited improves the efficiency of video editing and reduces user operation costs.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过参照附图来详细描述其示例实施例,本公开的上述和其它特征及优点将变得更加明显。The above and other features and advantages of the present disclosure will become more apparent by describing its example embodiments in detail with reference to the drawings.
图1示意性示出了根据本公开一些实施例的视频剪辑方法的流程图;FIG. 1 schematically illustrates a flowchart of a video editing method according to some embodiments of the present disclosure; FIG.
图2示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 2 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图3示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 3 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图4示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;4 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure;
图5示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 5 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图6示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 6 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图7示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 7 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图8示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图;FIG. 8 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure; FIG.
图9示意性示出了根据本公开一些实施例的视频检测装置的框图;FIG. 9 schematically illustrates a block diagram of a video detection device according to some embodiments of the present disclosure;
图10示意性示出了根据本公开一些示例性实施例的电子设备的框图。FIG. 10 schematically illustrates a block diagram of an electronic device according to some exemplary embodiments of the present disclosure.
具体实施方式detailed description
现在将参考附图更全面地描述示例实施例。然而,示例实施例能够以多种形式实施,且不应被理解为限于在此阐述的实施例;相反,提供这些实施例使得本公开将全面和完整,并将示例实施例的构思全面地传达给本领域的技术人员。在图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments To those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and their repeated description will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本公开的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而没有所述特定细节中的一个或更多,或者可以采用其它的方法、组元、材料、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免模糊本公开的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to give a full understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, materials, devices, steps, etc. may be adopted. In other instances, well-known structures, methods, devices, implementations, materials, or operations have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个软件硬化的模块中实现这些功能实体或功能实体的一部分,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or implemented in one or more software-hardened modules, or in different networks and / or processor devices and / or microcontroller devices These functional entities are implemented in.
下面结合附图,对本发明的一些实施方式作详细说明。在各实施例之间不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present invention will be described in detail with reference to the drawings. In the case where there is no conflict between the embodiments, the following embodiments and features in the embodiments can be combined with each other.
图1示出了根据本公开一些实施例的视频剪辑方法的流程图。FIG. 1 illustrates a flowchart of a video editing method according to some embodiments of the present disclosure.
参照图1所示,在步骤S110中,接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令。Referring to FIG. 1, in step S110, a clip instruction is received to clip a target video clip in a video to be clipped.
在示例实施例中,可以在视频播放界面展示待剪辑视频、待剪辑视频的时间线、视频选框以及剪辑控件。用户可以拖动视频选框来选择要剪辑的目标视频片段,视频选框的左边为剪辑起始轴、右边为剪辑终止轴。在用视频选框选取了目标视频片段之后,用户点击剪辑控件时,视频处理客户端例如视频处理应用程序接收到对待剪辑视频中的目标视频片段进行剪辑的剪辑指令。In an example embodiment, a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control may be displayed on a video playback interface. The user can drag the video marquee to select the target video clip to be clipped. The left side of the video marquee is the clip start axis and the right is the clip end axis. After the target video clip is selected with the video selection box, when the user clicks the clip control, the video processing client, such as a video processing application program, receives a clip instruction to clip the target video clip in the video to be clipped.
在示例实施例中,可以在视频播放界面展示待剪辑视频、待剪辑视频的时间线、剪辑起始轴、剪辑终止轴以及剪辑控件。在用户拖动剪辑起始轴和/或剪辑终止轴来选择剪辑的起始点和终止点。在选择了剪辑的起始点和终止点之后,用户点击剪辑控件时,视频处理客户端接收到对待剪辑视频中的目标视频片段进行剪辑的剪辑指令。In an example embodiment, the video to be clipped, the timeline of the video to be clipped, the clip start axis, the clip end axis, and the clip controls may be displayed on the video playback interface. The user drags the clip start axis and / or clip end axis to select the start and end points of the clip. After the start and end points of the clip are selected, when the user clicks the clip control, the video processing client receives a clip instruction to clip the target video clip in the video to be clipped.
在步骤S120中,响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点。In step S120, a start point and an end point of the target video clip on the time line of the video to be clipped are determined in response to the clip instruction.
在示例实施例中,在接收到对目标视频片段进行剪辑的剪辑指令后,可以基于剪辑起始轴以及剪辑终止轴确定目标视频片段在待剪辑视频的时间线上的起始点和终止点。例如,可以将剪辑起始轴在待剪辑视频的时间线上的位置作为目标视频片段的起始点,将剪辑终止轴在待剪辑视频的时间线上的位置作为目标视频片段的终止点。In an example embodiment, after receiving a clip instruction to clip a target video clip, a start point and an end point of the target video clip on a timeline of a video to be clipped may be determined based on a clip start axis and a clip end axis. For example, the position of the start axis of the clip on the timeline of the video to be edited may be used as the starting point of the target video clip, and the position of the end axis of the clip on the timeline of the video to be edited may be used as the end point of the target video clip.
在步骤S130中,基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段。In step S130, the target video clip is clipped from the video to be clipped based on the start point and the end point.
在示例实施例中,在确定了目标视频片段的起始点以及终止点之后,基于目标视频片段的起始点以及终止点从待剪辑视频中剪辑目标视频片段。例如,可以沿待剪辑视频的时间线对待剪辑视频中位于剪辑起始轴以及剪辑终止轴之间的目标视频片段进行剪辑。In an example embodiment, after the start point and the end point of the target video segment are determined, the target video segment is clipped from the video to be clipped based on the start point and the end point of the target video segment. For example, a target video segment between a clip start axis and a clip end axis in a clipped video may be clipped along the timeline of the video to be clipped.
在步骤S140中,缩进所述待剪辑视频的时间线以进行下一剪辑操作。In step S140, the time line of the video to be clipped is indented for the next clip operation.
在示例实施例中,在从待剪辑视频中剪辑了目标视频片段之后,缩进待剪辑视频的 时间线以便于进行下一次剪辑操作。例如,在剪辑了目标视频之后,待剪辑视频的时间线自动缩进与目标视频片段的时长相同的时长例如3秒。在待剪辑视频的时间线缩进之后,能够直接进行再一次的剪辑操作。In an example embodiment, after the target video clip is clipped from the video to be clipped, the timeline of the video to be clipped is indented to facilitate the next clip operation. For example, after the target video is clipped, the timeline of the video to be clipped is automatically indented for the same length as the target video clip, such as 3 seconds. After the timeline of the video to be edited is indented, another editing operation can be directly performed.
根据图1的示例实施例中的视频剪辑方法,一方面,响应于剪辑指令确定目标视频片段在待剪辑视频的时间线上的起始点和终止点,能够准确地确定目标视频在待剪辑视频的时间线上的位置;另一方面,基于目标视频片段在待剪辑视频的时间线上的起始点和终止点剪辑目标视频片段,缩进待剪辑视频的时间线以进行下一剪辑操作,能够对同一待剪辑视频进行多次、可重复剪辑,提高了视频剪辑的效率,并且降低了用户操作成本。According to the video editing method in the example embodiment of FIG. 1, on the one hand, in response to a clip instruction determining a start point and an end point of a target video clip on a timeline of a video to be clipped, it is possible to accurately determine the Position on the timeline; on the other hand, clip the target video clip based on the start and end points of the target video clip on the timeline of the video to be clipped, indent the timeline of the video to be clipped for the next clip operation, Multiple and repeatable editing of the same video to be edited improves the efficiency of video editing and reduces user operation costs.
图2示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。FIG. 2 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
参照图2所示,在视频播放界面展示了待剪辑视频、待剪辑视频的时间线、剪辑起始轴、剪辑终止轴、剪辑控件以及与所述待剪辑视频的时间线对应的关键帧。通过展示关键帧,用户能够更直观地看到剪辑的起始点和终止点处的图像画面,便于进行更精细的剪辑。在用户点击剪辑控件时,以预定时间间隔例如3秒对剪辑起始轴与剪辑终止轴之间的目标视频片段进行剪辑。在默认状态下,可以在视频播放界面自动播放待剪辑视频。As shown in FIG. 2, the video to be clipped, the timeline of the video to be clipped, the clip start axis, the clip end axis, the clip control, and key frames corresponding to the timeline of the video to be clipped are displayed on the video playback interface. By displaying key frames, users can more intuitively see the image picture at the start and end points of the clip, making it easier to perform more detailed editing. When the user clicks the clip control, the target video clip between the clip start axis and the clip end axis is clipped at a predetermined time interval, for example, 3 seconds. In the default state, the video to be clipped can be automatically played on the video playback interface.
需要说明的是,在本示例实施例中,虽然以3秒为时间间隔对视频进行了截取,但是本发明的示例实施例不限于此,可以根据待剪辑视频的时长来确定剪辑的时间间隔,例如时间间隔还可以为5秒、10秒、15秒等。It should be noted that, in this exemplary embodiment, although the video is intercepted with a time interval of 3 seconds, the exemplary embodiment of the present invention is not limited to this, and the time interval of the clip may be determined according to the duration of the video to be clipped. For example, the time interval may be 5 seconds, 10 seconds, 15 seconds, or the like.
图3示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。FIG. 3 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
参照图3所示,在本示例实施例中,在视频播放界面展示了待剪辑视频、待剪辑视频的时间线、视频选框以及剪辑控件。用户可以拖动视频选框来选择要剪辑的目标视频片段,视频选框的左边为剪辑起始轴、右边为剪辑终止轴。Referring to FIG. 3, in this exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface. The user can drag the video marquee to select the target video clip to be clipped. The left side of the video marquee is the clip start axis and the right is the clip end axis.
在图3的另一些实施例中,还可以在视频播放界面展示与待剪辑视频的时间线对应的关键帧,以便于用户进行更精细的剪辑。在用户点击剪辑控件之后,以预定时间间隔例如3秒对剪辑起始轴与剪辑终止轴之间的目标视频片段进行截取。将截取的目标视频片段加入到待选视频队列中,并且将视频的总时长缩短3s。In some other embodiments of FIG. 3, key frames corresponding to the timeline of the video to be clipped may also be displayed on the video playback interface, so that the user can perform finer editing. After the user clicks the clip control, the target video clip between the clip start axis and the clip end axis is intercepted at a predetermined time interval, for example, 3 seconds. Add the intercepted target video clip to the queue of candidate videos, and shorten the total duration of the video by 3s.
进一步地,在示例实施例中,在剪辑目标视频片段之后,将目标视频的时间线以及与时间线对应的关键帧自动向前缩进该预定时间间隔,按顺序显示缩进后的时间线以及对应的关键帧。Further, in the exemplary embodiment, after the target video clip is clipped, the timeline of the target video and key frames corresponding to the timeline are automatically indented forward by the predetermined time interval, and the indented timeline and Corresponding key frame.
此外,还可以在视频播放界面的预定区域例如待剪辑视频与待剪辑视频的时间线之间显示已剪辑的视频片段,使得用户能够在视觉上感知到被剪辑的视频片段。需要说明 的是,虽然在图3中示出的该预定区域位于待剪辑视频与待剪辑视频的时间线之间,但是本公开的实施例不限于此,例如,该预定区域还可以位于待剪辑视频的时间线的下方,这同样在本公开的保护范围内。In addition, the clipped video clip can also be displayed in a predetermined area of the video playback interface, such as between the video to be clipped and the timeline of the video to be clipped, so that the user can visually perceive the clipped video clip. It should be noted that although the predetermined region shown in FIG. 3 is located between the video to be clipped and the timeline of the video to be clipped, the embodiments of the present disclosure are not limited thereto. For example, the predetermined region may also be located to be clipped Below the timeline of the video, this is also within the scope of this disclosure.
图4示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。FIG. 4 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
参照图4所示,在本示例实施例中,在视频播放界面展示了待剪辑视频、待剪辑视频的时间线、视频选框以及剪辑控件。用户可以拖动视频选框来选择要剪辑的目标视频片段,视频选框的左边为剪辑起始轴、右边为剪辑终止轴。若用户手动挪移待剪辑视频进行剪辑时,待剪辑视频暂停播放,并在视频播放界面上出现播放控件。此外,用户还可以通过移动剪辑起始轴和/或剪辑终止轴选取要剪辑的目标视频片段。Referring to FIG. 4, in this exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface. The user can drag the video marquee to select the target video clip to be clipped. The left side of the video marquee is the clip start axis and the right is the clip end axis. If the user manually moves the video to be edited for editing, the video to be edited is paused and playback controls appear on the video playback interface. In addition, the user can also select the target video clip to be clipped by moving the clip start axis and / or clip end axis.
此外,在图4中,在用户点击剪辑控件之后,以预定时间间隔例如3秒对剪辑起始轴与剪辑终止轴之间的目标视频片段进行截取。将截取的目标视频片段加入到待选视频队列中。进一步地,可以在视频播放界面的预定区域例如待剪辑视频与待剪辑视频的时间线之间展示待选视频队列。In addition, in FIG. 4, after the user clicks the clip control, the target video clip between the clip start axis and the clip end axis is intercepted at a predetermined time interval, for example, 3 seconds. Add the intercepted target video clips to the queue of candidate videos. Further, the video queue to be selected may be displayed in a predetermined area of the video playback interface, for example, between a video to be clipped and a timeline of the video to be clipped.
图5示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。FIG. 5 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure.
参照图5所示,在视频播放界面的预定区域例如待剪辑视频的下方展示了待选视频队列。在用户点击待选视频队列中的视频片段时,在视频播放器中播放选中的视频片段,此时,待剪辑视频的时间线以及对应的关键帧、剪辑起始轴以及剪辑终止轴消失,剪辑控件变为DONE控件(完成),点击DONE控件再次出现待剪辑视频的时间线以及对应的关键帧、剪辑起始轴以及剪辑终止轴,并定位到上次剪辑的目标视频片段的位置。As shown in FIG. 5, a video queue to be selected is displayed below a predetermined area of the video playback interface, for example, a video to be clipped. When the user clicks a video clip in the video queue to be selected, the selected video clip is played in the video player. At this time, the timeline of the video to be edited, the corresponding key frame, the start of the clip axis, and the end of the clip disappear, and the clip is edited. The control becomes the DONE control (complete). Click the DONE control to reappear the timeline of the video to be edited, the corresponding key frame, the start of the clip axis, and the end of the clip axis, and locate the target video clip position of the last clip.
此外,在图5中,在视频播放界面的下方还展示了删除控件,该删除控件用于删除待选视频队列中的视频片段。In addition, in FIG. 5, a delete control is also displayed below the video playback interface, and the delete control is used to delete the video clips in the video queue to be selected.
图6示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。参照图6所示,在视频播放界面的预定区域例如待剪辑视频的下方展示了待选视频队列。在点击删除控件时,当前播放的视频片段被删除,并自动选中待选视频队列中的下一视频片段并播放。FIG. 6 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure. Referring to FIG. 6, a video queue to be selected is displayed below a predetermined area of a video playback interface, for example, a video to be clipped. When you click the delete control, the currently playing video clip is deleted, and the next video clip in the video queue to be selected is automatically selected and played.
图7示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。参照图7所示,在本示例实施例中,在视频播放界面展示了待剪辑视频、待剪辑视频的时间线、视频选框以及剪辑控件。用户可以拖动视频选框来选择要剪辑的目标视频片段,视频选框的左边为剪辑起始轴、右边为剪辑终止轴。在已被剪辑的视频片段的一部分位于剪辑起始轴与剪辑终止轴之间时,禁止对待剪辑视频进行剪辑。在图7中,在已被剪辑的视频片段的一部分位于目标视频片段的起始点与终止点之间时,将剪辑控件置灰,使得用户不能够点击剪辑按钮,不能够剪辑目标视频片段。FIG. 7 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure. Referring to FIG. 7, in this exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clip control are displayed on a video playback interface. The user can drag the video marquee to select the target video clip to be clipped. The left side of the video marquee is the clip start axis and the right is the clip end axis. When a part of the video clip that has been clipped is between the clip start axis and the clip end axis, editing of the video to be clipped is prohibited. In FIG. 7, when a part of the clipped video clip is located between the start point and the end point of the target video clip, the clip control is grayed out, so that the user cannot click the clip button and cannot clip the target video clip.
图8示意性示出了应用根据本公开一些实施例的视频剪辑方法的示意图。参照图8所示,在已被剪辑的视频片段的一部分位于剪辑起始轴与剪辑终止轴之间时,若用户此时点击剪辑控件,则显示“不能跨片段剪辑”的提示消息,该提示消息显示预定时间例如1秒后消失。FIG. 8 schematically illustrates a schematic diagram of applying a video editing method according to some embodiments of the present disclosure. Referring to FIG. 8, when a part of a clipped video clip is located between a clip start axis and a clip end axis, if the user clicks the clip control at this time, a prompt message “Cannot clip across clips” is displayed. The prompt The message disappears after a predetermined time, for example, 1 second.
此外,在本公开的另一些实施例中,还提供了一种视频剪辑装置。参照图9所示,该视频剪辑装置900可以包括:接收单元910、确定单元920、剪辑单元930以及缩进单元940。其中,接收单元910用于接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;确定单元920用于响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;剪辑单元930用于基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;缩进单元940用于缩进所述待剪辑视频的时间线以进行下一剪辑操作。In addition, in other embodiments of the present disclosure, a video editing device is also provided. Referring to FIG. 9, the video editing device 900 may include a receiving unit 910, a determining unit 920, a editing unit 930, and an indenting unit 940. The receiving unit 910 is configured to receive a clip instruction for editing a target video clip in a video to be clipped; and the determining unit 920 is configured to determine a target video clip on a timeline of the video to be clipped in response to the clip instruction. A start point and an end point; a clipping unit 930 is configured to cut the target video clip from the video to be edited based on the start point and an end point; an indentation unit 940 is used to indent a timeline of the video to be edited to Proceed to the next clip operation.
在本公开的一些实施例中,基于前述方案,缩进单元940被配置为:将所述待剪辑视频的时间线缩进与所述目标视频片段的时长相同的时长。In some embodiments of the present disclosure, based on the foregoing scheme, the indentation unit 940 is configured to indent the timeline of the video to be clipped with the same duration as the duration of the target video clip.
在本公开的一些实施例中,基于前述方案,所述目标视频片段的时长为3秒。In some embodiments of the present disclosure, based on the foregoing scheme, the duration of the target video clip is 3 seconds.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:In some embodiments of the present disclosure, based on the foregoing scheme, the video editing device 900 further includes:
视频片段显示单元,用于在视频播放界面的预定区域显示已剪辑的视频片段。The video clip display unit is configured to display the clipped video clip in a predetermined area of the video playback interface.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:关键帧呈现单元,用于在所述视频播放界面呈现与所述待剪辑视频的时间线对应的关键帧。In some embodiments of the present disclosure, based on the foregoing scheme, the video editing device 900 further includes: a key frame presentation unit, configured to present a key frame corresponding to a time line of the video to be clipped on the video playback interface.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:添加单元,用于在剪辑所述目标视频片段之后,将所述目标视频片段加入到待选视频队列中。In some embodiments of the present disclosure, based on the foregoing scheme, the video editing device 900 further includes: an adding unit, configured to add the target video clip to a candidate video queue after the target video clip is clipped.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:视频片段播放单元,用于在接收到点击所述待选视频队列中的视频片段的指令时,在视频播放界面播放所述视频片段。In some embodiments of the present disclosure, based on the foregoing solution, the video editing device 900 further includes: a video clip playing unit configured to, upon receiving an instruction to click a video clip in the video queue to be selected, play the video The interface plays the video clip.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:隐藏单元,用于在播放所述视频片段时,隐藏所述待剪辑视频的时间线,并在所述视频播放界面显示删除控件。In some embodiments of the present disclosure, based on the foregoing solution, the video editing device 900 further includes: a hiding unit, configured to hide the timeline of the video to be edited when the video clip is played, and The playback interface displays delete controls.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:删除单元,用于在接收到点击所述删除控件的指令时,删除当前播放的视频片段,并选中所述待选视频队列中的下一个视频片段进行播放。In some embodiments of the present disclosure, based on the foregoing solution, the video editing device 900 further includes: a deleting unit, configured to delete a currently playing video clip when receiving an instruction to click the delete control, and select the video clip. The next video clip in the waiting video queue is played.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:In some embodiments of the present disclosure, based on the foregoing scheme, the video editing device 900 further includes:
禁止剪辑单元,用于在已被剪辑的视频片段的一部分位于所述起始点与所述终止点之间时,禁止对所述待剪辑视频进行剪辑。The editing prohibition unit is configured to prohibit editing of the video to be edited when a part of the video clip that has been edited is located between the starting point and the ending point.
在本公开的一些实施例中,基于前述方案,所述视频剪辑装置900还包括:提示信息显示单元,用于在禁止对所述待剪辑视频进行剪辑时,如果接收到对所述待剪辑视频进行剪辑的指令,则显示禁止剪辑的提示信息。In some embodiments of the present disclosure, based on the foregoing solution, the video editing device 900 further includes: a prompt information display unit, configured to, when the editing of the video to be edited is prohibited, if the video to be edited is received When the editing command is executed, a message indicating that editing is prohibited is displayed.
由于本公开的示例实施例的视频剪辑装置900的各个功能模块与视频剪辑方法的示例实施例的步骤对应,因此在此不再赘述。Since each functional module of the video editing apparatus 900 of the exemplary embodiment of the present disclosure corresponds to the steps of the exemplary embodiment of the video editing method, it will not be repeated here.
应当注意,尽管在上文详细描述中提及了视频剪辑装置的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the video editing device are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
在本发明的示例性实施例中,还提供了一种能够实现上述方法的电子设备。In an exemplary embodiment of the present invention, an electronic device capable of implementing the above method is also provided.
下面参考图1000,其示出了适于用来实现本发明实施例的电子设备的计算机系统1000的结构示意图。图10示出的电子设备的计算机系统1000仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。Reference is now made to FIG. 1000, which illustrates a schematic structural diagram of a computer system 1000 suitable for implementing an electronic device according to an embodiment of the present invention. The computer system 1000 of the electronic device shown in FIG. 10 is only an example, and should not impose any limitation on the function and use range of the embodiment of the present invention.
如图10所示,计算机系统1000包括中央处理单元(CPU)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储部分1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。在RAM 1003中,还存储有系统操作所需的各种程序和数据。CPU 1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10, the computer system 1000 includes a central processing unit (CPU) 1001, which can be loaded into a random access memory (RAM) 1003 according to a program stored in a read-only memory (ROM) 1002 or from a storage portion 1008. Instead, perform various appropriate actions and processes. In RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
以下部件连接至I/O接口1005:包括键盘、鼠标等的输入部分1006;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1007;包括硬盘等的存储部分1008;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1009。通信部分1009经由诸如因特网的网络执行通信处理。驱动器1010也根据需要连接至I/O接口1005。可拆卸介质1011,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1010上,以便于从其上读出的计算机程序根据需要被安装入存储部分1008。The following components are connected to the I / O interface 1005: an input portion 1006 including a keyboard, a mouse, etc .; an output portion 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc .; and a speaker; a storage portion 1008 including a hard disk, etc. ; And a communication section 1009 including a network interface card such as a LAN card, a modem, and the like. The communication section 1009 performs communication processing via a network such as the Internet. The driver 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
特别地,根据本发明的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分1009从网络上被下载和安装,和/或从可拆卸介质1011被安装。在该计算机程序被中央处理单元(CPU)1001执行时,执行本申请的系统中限定的上述功能。In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present invention include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1009, and / or installed from a removable medium 1011. When this computer program is executed by a central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the present application are executed.
需要说明的是,本发明所示的计算机可读介质可以是计算机可读信号介质或者计算 机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the foregoing. 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. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, the computer-readable signal medium may include a data signal transmitted in baseband or transmitted as a part of a carrier wave, in which a computer-readable program code is carried. Such a propagated 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 . Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more of the logic functions used to implement the specified logic. Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than those marked in the drawings. For example, two successively represented boxes may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with A combination of dedicated hardware and computer instructions.
描述于本发明实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor. The names of these units do not, in some cases, define the unit itself.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现如上述实施例中所述的视频剪辑方法。As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the foregoing embodiments; or may exist alone without being assembled into the electronic device in. The computer-readable medium carries one or more programs, and when the one or more programs are executed by one of the electronic devices, the electronic device implements the video editing method as described in the foregoing embodiment.
例如,所述电子设备可以实现如图1中所示的:步骤S110,接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;步骤S120,响应于所述剪辑指令确定所述目标视频 片段在所述待剪辑视频的时间线上的起始点和终止点;步骤S130,基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;步骤S140,缩进所述待剪辑视频的时间线以进行下一剪辑操作。For example, the electronic device may implement, as shown in FIG. 1: step S110, receiving a clip instruction to clip a target video clip in a video to be clipped; and step S120, in response to the clip instruction, determining that the target video clip is in A start point and an end point on the timeline of the video to be edited; step S130, based on the start point and end point, to clip the target video segment from the video to be edited; step S140, indent the to-be-cut video Timeline of the video for the next editing operation.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备或装置的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本发明的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of a device or device for performing an action are mentioned in the detailed description above, this division is not mandatory. In fact, according to an embodiment of the present invention, the features and functions of the two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本发明实施方式的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention may be embodied in the form of a software product, and the software product may be stored in a non-volatile storage medium (which may be a CD-ROM, a U disk, a mobile hard disk, etc.) or on a network. It includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily contemplate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the present invention. These variations, uses, or adaptations follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed by the present invention. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims.

Claims (24)

  1. 一种视频剪辑方法,包括:A video editing method includes:
    接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;Receiving a clip instruction to clip a target video clip in a video to be clipped;
    响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;Determining a start point and an end point of the target video clip on a timeline of the video to be clipped in response to the clip instruction;
    基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;Clip the target video clip from the video to be clipped based on the start point and end point;
    缩进所述待剪辑视频的时间线以进行下一剪辑操作。Indent the timeline of the video to be clipped for the next clip operation.
  2. 根据权利要求1所述的视频剪辑方法,其中,缩进所述待剪辑视频的时间线包括:The video editing method according to claim 1, wherein the timeline for indenting the video to be edited comprises:
    将所述待剪辑视频的时间线缩进与所述目标视频片段的时长相同的时长。Indent the timeline of the video to be clipped by the same duration as the duration of the target video clip.
  3. 根据权利要求2所述的视频剪辑方法,其中,所述目标视频片段的时长为3秒。The video editing method according to claim 2, wherein the duration of the target video clip is 3 seconds.
  4. 根据权利要求1所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 1, wherein the video editing method further comprises:
    在视频播放界面的预定区域显示已剪辑的视频片段。The clipped video clip is displayed in a predetermined area of the video playback interface.
  5. 根据权利要求4所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 4, wherein the video editing method further comprises:
    在所述视频播放界面呈现与所述待剪辑视频的时间线对应的关键帧。A key frame corresponding to the timeline of the video to be clipped is presented on the video playback interface.
  6. 根据权利要求1所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 1, wherein the video editing method further comprises:
    在剪辑所述目标视频片段之后,将所述目标视频片段加入到待选视频队列中。After the target video clip is clipped, the target video clip is added to a candidate video queue.
  7. 根据权利要求6所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 6, wherein the video editing method further comprises:
    在接收到点击所述待选视频队列中的视频片段的指令时,在视频播放界面播放所述视频片段。When an instruction to click a video clip in the candidate video queue is received, the video clip is played on a video playback interface.
  8. 根据权利要求7所述的视频剪辑方法,其中,在播放所述视频片段时,所述视频剪辑方法还包括:The video editing method according to claim 7, wherein, when playing the video clip, the video editing method further comprises:
    隐藏所述待剪辑视频的时间线,并在所述视频播放界面显示删除控件。Hide the timeline of the video to be clipped, and display a delete control on the video playback interface.
  9. 根据权利要求8所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 8, wherein the video editing method further comprises:
    在接收到点击所述删除控件的指令时,删除当前播放的视频片段,并选中所述待选视频队列中的下一个视频片段进行播放。When an instruction to click the delete control is received, the currently playing video clip is deleted, and the next video clip in the candidate video queue is selected for playback.
  10. 根据权利要求6所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 6, wherein the video editing method further comprises:
    在已被剪辑的视频片段的一部分位于所述起始点与所述终止点之间时,禁止对所述待剪辑视频进行剪辑。When a part of the video clip that has been clipped is located between the start point and the end point, editing of the video to be clipped is prohibited.
  11. 根据权利要求10所述的视频剪辑方法,其中,所述视频剪辑方法还包括:The video editing method according to claim 10, wherein the video editing method further comprises:
    在禁止对所述待剪辑视频进行剪辑时,如果接收到对所述待剪辑视频进行剪 辑的指令,则显示禁止剪辑的提示信息。When editing of the video to be edited is prohibited, if an instruction to edit the video to be edited is received, a prompt message indicating that editing is prohibited is displayed.
  12. 一种视频剪辑装置,包括:A video editing device includes:
    接收单元,用于接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;A receiving unit, configured to receive a clip instruction for editing a target video segment in a video to be clipped;
    确定单元,用于响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;A determining unit, configured to determine a start point and an end point of the target video clip on a timeline of the video to be clipped in response to the clip instruction;
    剪辑单元,用于基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;A clip unit, configured to clip the target video clip from the video to be clipped based on the start point and the end point;
    缩进单元,用于缩进所述待剪辑视频的时间线以进行下一剪辑操作。An indentation unit, configured to indent the timeline of the video to be clipped for the next clip operation.
  13. 一种电子设备,包括:An electronic device includes:
    处理器;以及Processor; and
    存储器,所述存储器上存储有计算机可读指令,所述计算机可读指令被所述处理器执行时实现以下步骤:A memory, where computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, the following steps are implemented:
    接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;Receiving a clip instruction to clip a target video clip in a video to be clipped;
    响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;Determining a start point and an end point of the target video clip on a timeline of the video to be clipped in response to the clip instruction;
    基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;Clip the target video clip from the video to be clipped based on the start point and end point;
    缩进所述待剪辑视频的时间线以进行下一剪辑操作。Indent the timeline of the video to be clipped for the next clip operation.
  14. 根据权利要求13所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 13, wherein the processor is configured to:
    将所述待剪辑视频的时间线缩进与所述目标视频片段的时长相同的时长。Indent the timeline of the video to be clipped by the same duration as the duration of the target video clip.
  15. 根据权利要求14所述的电子设备,其中,所述目标视频片段的时长为3秒。The electronic device according to claim 14, wherein a duration of the target video clip is 3 seconds.
  16. 根据权利要求13所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 13, wherein the processor is configured to:
    在视频播放界面的预定区域显示已剪辑的视频片段。The clipped video clip is displayed in a predetermined area of the video playback interface.
  17. 根据权利要求16所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 16, wherein the processor is configured to:
    在所述视频播放界面呈现与所述待剪辑视频的时间线对应的关键帧。A key frame corresponding to the timeline of the video to be clipped is presented on the video playback interface.
  18. 根据权利要求13所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 13, wherein the processor is configured to:
    在剪辑所述目标视频片段之后,将所述目标视频片段加入到待选视频队列中。After the target video clip is clipped, the target video clip is added to a candidate video queue.
  19. 根据权利要求18所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 18, wherein the processor is configured to:
    在接收到点击所述待选视频队列中的视频片段的指令时,在视频播放界面播放所述视频片段。When an instruction to click a video clip in the candidate video queue is received, the video clip is played on a video playback interface.
  20. 根据权利要求19所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 19, wherein the processor is configured to:
    在播放所述视频片段时,隐藏所述待剪辑视频的时间线,并在所述视频播放 界面显示删除控件。When playing the video clip, hide the timeline of the video to be clipped, and display a delete control on the video playback interface.
  21. 根据权利要求20所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 20, wherein the processor is configured to:
    在接收到点击所述删除控件的指令时,删除当前播放的视频片段,并选中所述待选视频队列中的下一个视频片段进行播放。When an instruction to click the delete control is received, the currently playing video clip is deleted, and the next video clip in the candidate video queue is selected for playback.
  22. 根据权利要求18所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 18, wherein the processor is configured to:
    在已被剪辑的视频片段的一部分位于所述起始点与所述终止点之间时,禁止对所述待剪辑视频进行剪辑。When a part of the video clip that has been clipped is located between the start point and the end point, editing of the video to be clipped is prohibited.
  23. 根据权利要求22所述的电子设备,其中,所述处理器被配置成:The electronic device of claim 22, wherein the processor is configured to:
    在禁止对所述待剪辑视频进行剪辑时,如果接收到对所述待剪辑视频进行剪辑的指令,则显示禁止剪辑的提示信息。When the editing of the video to be edited is prohibited, if an instruction to edit the video to be edited is received, a prompt message of prohibiting editing is displayed.
  24. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the following steps are implemented:
    接收对待剪辑视频中的目标视频片段进行剪辑的剪辑指令;Receiving a clip instruction to clip a target video clip in a video to be clipped;
    响应于所述剪辑指令确定所述目标视频片段在所述待剪辑视频的时间线上的起始点和终止点;Determining a start point and an end point of the target video clip on a timeline of the video to be clipped in response to the clip instruction;
    基于所述起始点和终止点从所述待剪辑视频中剪辑所述目标视频片段;Clip the target video clip from the video to be clipped based on the start point and end point;
    缩进所述待剪辑视频的时间线以进行下一剪辑操作。Indent the timeline of the video to be clipped for the next clip operation.
PCT/CN2018/098084 2018-08-01 2018-08-01 Video clipping method, apparatus, device and storage medium WO2020024165A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880039490.2A CN110915224A (en) 2018-08-01 2018-08-01 Video editing method, device, equipment and storage medium
PCT/CN2018/098084 WO2020024165A1 (en) 2018-08-01 2018-08-01 Video clipping method, apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/098084 WO2020024165A1 (en) 2018-08-01 2018-08-01 Video clipping method, apparatus, device and storage medium

Publications (1)

Publication Number Publication Date
WO2020024165A1 true WO2020024165A1 (en) 2020-02-06

Family

ID=69232354

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/098084 WO2020024165A1 (en) 2018-08-01 2018-08-01 Video clipping method, apparatus, device and storage medium

Country Status (2)

Country Link
CN (1) CN110915224A (en)
WO (1) WO2020024165A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453067B (en) * 2020-03-27 2023-11-14 富士通株式会社 Video processing apparatus, video processing method, and machine-readable storage medium
CN112770176B (en) * 2020-12-23 2022-10-25 北京爱奇艺科技有限公司 Video frame determination method and device, electronic equipment and computer readable medium
CN114697749B (en) * 2020-12-28 2024-09-03 北京小米移动软件有限公司 Video editing method, device, storage medium and electronic equipment
CN114245033A (en) * 2021-11-03 2022-03-25 浙江大华技术股份有限公司 Video synthesis method and device
CN114025199A (en) * 2022-01-10 2022-02-08 北京美摄网络科技有限公司 Live video editing method, device and system
CN114666656A (en) * 2022-03-15 2022-06-24 北京沃东天骏信息技术有限公司 Video clipping method, video clipping device, electronic equipment and computer readable medium
CN114866805A (en) * 2022-04-25 2022-08-05 阿里巴巴(中国)有限公司 Video processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6670966B1 (en) * 1998-11-10 2003-12-30 Sony Corporation Edit data creating device and edit data creating method
CN102089824A (en) * 2008-06-27 2011-06-08 汤姆森特许公司 Editing device and editing method
CN106385617A (en) * 2016-09-05 2017-02-08 北京金山安全软件有限公司 Video processing method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437137A (en) * 2002-02-06 2003-08-20 北京新奥特集团 Non-linear editing computer
KR101328199B1 (en) * 2012-11-05 2013-11-13 넥스트리밍(주) Method and terminal and recording medium for editing moving images
CN105872857B (en) * 2016-04-01 2019-10-29 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN107066502B (en) * 2017-01-04 2019-12-31 合一网络技术(北京)有限公司 Multimedia content editing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6670966B1 (en) * 1998-11-10 2003-12-30 Sony Corporation Edit data creating device and edit data creating method
CN102089824A (en) * 2008-06-27 2011-06-08 汤姆森特许公司 Editing device and editing method
CN106385617A (en) * 2016-09-05 2017-02-08 北京金山安全软件有限公司 Video processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN110915224A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
WO2020024165A1 (en) Video clipping method, apparatus, device and storage medium
US11206448B2 (en) Method and apparatus for selecting background music for video shooting, terminal device and medium
WO2020015333A1 (en) Video shooting method and apparatus, terminal device, and storage medium
US11670339B2 (en) Video acquisition method and device, terminal and medium
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
CN108833787B (en) Method and apparatus for generating short video
WO2017181598A1 (en) Method and device for playing video
CN113852767B (en) Video editing method, device, equipment and medium
US12003884B2 (en) Video processing method and apparatus, device, storage medium and computer program product
WO2020007082A1 (en) Video playback processing method, terminal device, server, and storage medium
CN110545475B (en) Video playing method and device and electronic equipment
WO2023202359A1 (en) Live-streaming content display method and apparatus, and device, readable storage medium and product
JP7344395B2 (en) Video dubbing methods, devices, equipment and storage media
CN112040280A (en) Method and equipment for providing video information
WO2024109706A1 (en) Media content display method and apparatus, and device, readable storage medium and product
WO2024165022A1 (en) Method, device and medium for enabling moving comments to a video
CN113986083B (en) File processing method and electronic equipment
WO2024140239A1 (en) Page display method and apparatus, device, computer readable storage medium and product
WO2023088484A1 (en) Method and apparatus for editing multimedia resource scene, device, and storage medium
KR20240121883A (en) Method and device for selecting templates, and electronic devices and storage media
WO2022194038A1 (en) Music extension method and apparatus, electronic device, and storage medium
CN113946251A (en) Media content sending method, device, equipment, readable storage medium and product
CN113038286A (en) Video playing control method and device and electronic equipment
US20150261699A1 (en) Output device and output system
WO2023179512A1 (en) Teaching video task display method and apparatus, device, storage medium, and product

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928797

Country of ref document: EP

Kind code of ref document: A1