CN110915224A - Video editing method, device, equipment and storage medium - Google Patents
Video editing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110915224A CN110915224A CN201880039490.2A CN201880039490A CN110915224A CN 110915224 A CN110915224 A CN 110915224A CN 201880039490 A CN201880039490 A CN 201880039490A CN 110915224 A CN110915224 A CN 110915224A
- Authority
- CN
- China
- Prior art keywords
- video
- clipping
- clipped
- segment
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012217 deletion Methods 0.000 claims description 5
- 230000037430 deletion Effects 0.000 claims description 5
- 238000007373 indentation Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 24
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002401 inhibitory effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/434—Disassembling 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
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
The present disclosure relates to a video clipping method, apparatus, device and storage medium. The method comprises the following steps: receiving a clipping instruction for clipping a target video segment in a video to be clipped; determining a starting point and an end point of the target video segment on a timeline of the video to be clipped in response to the clipping instruction; editing a target video segment from the video to be edited based on the starting point and the ending point; the timeline of the video to be clipped is indented for the next clipping operation. The video editing method and device can repeatedly edit the same video to be edited, improve the video editing efficiency and reduce the operation cost of a user.
Description
The present disclosure relates to the field of image processing technologies, and in particular, to a video clipping method, a video clipping apparatus, an electronic device, and a computer-readable storage medium.
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, a user often only wants to watch or upload some segments of the video, and therefore needs to clip the shot video.
At present, when some video clipping software clips a video, after the video to be clipped is loaded, the video to be clipped can be pre-clipped only once, and if the video to be clipped needs to be clipped again, the video to be clipped needs to be reloaded, so that not only is the operation cost of a user increased, but also the video clipping efficiency is reduced.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a video clipping method, a video clipping apparatus, an electronic device, and a computer-readable storage medium, thereby overcoming, at least to some extent, one or more of the problems due to the limitations and disadvantages of the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a video clipping method, including: receiving a clipping instruction for clipping a target video segment in a video to be clipped; determining a starting point and an end point of the target video segment on a timeline of the video to be clipped in response to the clipping instruction; clipping the target video segment from the video to be clipped based on the starting point and the ending point; and indenting the time line of the video to be clipped to carry out the next clipping operation.
According to a second aspect of embodiments of the present disclosure, there is provided a video clipping device including: the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a clipping instruction for clipping a target video segment in a video to be clipped; a determining unit, configured to determine, in response to the clipping instruction, a start point and an end point of the target video segment on a timeline of the video to be clipped; a clipping unit for clipping the target video segment from the video to be clipped based on the start point and the end point; and the indentation unit is used for indenting the time line of the video to be clipped to carry out the next clipping operation.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; and a memory having stored thereon computer readable instructions which, when executed by the processor, implement the video clipping method of the first aspect described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video clipping method of the first aspect described above.
In the technical solutions provided by some embodiments of the present disclosure, on one hand, a starting point and an ending point of a target video segment on a timeline of a video to be clipped are determined in response to a clipping instruction, and a position of the target video on the timeline of the video to be clipped can be accurately determined; on the other hand, the target video segment is clipped based on the starting point and the ending point of the target video segment on the time line of the video to be clipped, the time line of the video to be clipped is retracted to carry out the next clipping operation, the same video to be clipped can be clipped repeatedly for multiple times, the video clipping efficiency is improved, and the operation cost of a user is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
FIG. 1 schematically illustrates a flow diagram of a video clipping method according to some embodiments of the present disclosure;
FIG. 2 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 3 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 4 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 5 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 6 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 7 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 8 schematically illustrates a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure;
FIG. 9 schematically illustrates a block diagram of a video detection apparatus 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.
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different 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 denote the same or similar parts in the drawings, and thus, a repetitive description thereof 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, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments.
FIG. 1 illustrates a flow diagram of a video clipping method according to some embodiments of the present disclosure.
Referring to fig. 1, in step S110, a clipping instruction for clipping a target video segment in a video to be clipped is received.
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 presented at a video playback interface. The user may drag the video box to select a target video segment to be clipped, with the clip start axis on the left and the clip end axis on the right of the video box. After selecting the target video segment with the video selection box, when the user clicks the clipping control, the video processing client, for example, a video processing application program, receives a clipping instruction for clipping the target video segment in the video to be clipped.
In an example embodiment, a video to be clipped, a timeline of the video to be clipped, a clip start axis, a clip end axis, and a clip control may be presented at a video playback interface. The start and end points of the clip are selected when the user drags the clip start axis and/or the clip end axis. After the start point and the end point of the clip are selected, when a user clicks the clip control, the video processing client receives a clip instruction for clipping a target video segment in a video to be clipped.
In step S120, a start point and an end point of the target video segment on the timeline of the video to be clipped are determined in response to the clipping instruction.
In an example embodiment, after receiving a clipping instruction to clip a target video segment, a start point and an end point of the target video segment on a timeline of a video to be clipped may be determined based on a clipping start axis and a clipping end axis. For example, the position of the clip start axis on the timeline of the video to be clipped may be used as the start point of the target video segment, and the position of the clip end axis on the timeline of the video to be clipped may be used as the end point of the target video segment.
In step S130, the target video segment 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 in the video to be clipped between the clip start axis and the clip end axis may be clipped along the timeline of the video to be clipped.
In step S140, the timeline of the video to be clipped is indented for the next clipping operation.
In an example embodiment, after a target video segment is clipped from a video to be clipped, the timeline of the video to be clipped is indented to facilitate the next clipping operation. For example, after the target video is clipped, the timeline of the video to be clipped is automatically indented for the same duration as the duration of the target video segment, e.g., 3 seconds. After the timeline indentation of the video to be clipped, the clipping operation can be performed again directly.
According to the video clipping method in the exemplary embodiment of fig. 1, on the one hand, the start point and the end point of the target video segment on the timeline of the video to be clipped are determined in response to the clipping instruction, and the position of the target video on the timeline of the video to be clipped can be accurately determined; on the other hand, the target video segment is clipped based on the starting point and the ending point of the target video segment on the time line of the video to be clipped, the time line of the video to be clipped is retracted to carry out the next clipping operation, the same video to be clipped can be clipped repeatedly for multiple times, the video clipping efficiency is improved, and the operation cost of a user is reduced.
Fig. 2 schematically shows a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure.
Referring to fig. 2, a video to be clipped, a timeline of the video to be clipped, a clip start axis, a clip end axis, a clip control, and a key frame corresponding to the timeline of the video to be clipped are displayed on a video playing interface. By presenting the key frames, the user can more intuitively see the image frames at the start point and the end point of the clip, facilitating finer clipping. When the user clicks on the clip control, the target video segment between the clip start axis and the clip end axis is clipped at a predetermined time interval, e.g., 3 seconds. In a default state, the video to be edited can be automatically played on the video playing interface.
It should be noted that, in the present exemplary embodiment, although the video is intercepted at the time interval of 3 seconds, the exemplary embodiment of the present invention is not limited to this, and the time interval of clipping may be determined according to the duration of the video to be clipped, for example, the time interval may also be 5 seconds, 10 seconds, 15 seconds, and the like.
Fig. 3 schematically shows a schematic diagram of applying a video clipping method according to some embodiments of the present disclosure.
Referring to fig. 3, in the present exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video selection box, and a clipping control are displayed on a video playing interface. The user may drag the video box to select a target video segment to be clipped, with the clip start axis on the left and the clip end axis on the right of the video box.
In other embodiments of fig. 3, key frames corresponding to the timeline of the video to be edited may also be displayed on the video playing interface to facilitate finer editing by the user. After the user clicks on the clip control, the target video segment between the clip start axis and the clip end axis is intercepted at a predetermined time interval, e.g., 3 seconds. And adding the intercepted target video clip into a video queue to be selected, and shortening the total duration of the video by 3 s.
Further, in an example embodiment, after the target video segment is clipped, the timeline of the target video and the key frames corresponding to the timeline are automatically indented forward by the predetermined time interval, and the indented timeline and the corresponding key frames are displayed in order.
Furthermore, the clipped video segment can also be displayed in a predetermined area of the video playing interface, for example, 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 segment. It should be noted that, although the predetermined area 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 area may also be located below the timeline of the video to be clipped, which is also within the protection scope of the present disclosure.
Fig. 4 schematically shows a schematic diagram of an application of a video clipping method according to some embodiments of the present disclosure.
Referring to fig. 4, in the present exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video box, and a clipping control are displayed on a video playing interface. The user may drag the video box to select a target video segment to be clipped, with the clip start axis on the left and the clip end axis on the right of the video box. And if the user manually moves the video to be edited to perform editing, pausing playing of the video to be edited and displaying of a playing control on the video playing interface. In addition, the user may also select a target video segment to be clipped by moving the clip start axis and/or the clip end axis.
Further, in fig. 4, after the user clicks the clip control, the target video segment between the clip start axis and the clip end axis is cut at a predetermined time interval, for example, 3 seconds. And adding the intercepted target video clip into a video queue to be selected. Further, the queue of the video to be selected may be shown between a predetermined area of the video playing interface, for example, the video to be clipped and the timeline of the video to be clipped.
Fig. 5 schematically shows a schematic diagram of applying a video clipping method according to some embodiments of the present disclosure.
Referring to fig. 5, a candidate video queue is shown in a predetermined area of the video playing interface, for example, below a video to be clipped. When a user clicks a video segment in a video queue to be selected, the selected video segment is played in a video player, at the moment, a timeline of a video to be clipped, a corresponding key frame, a clipping starting axis and a clipping ending axis disappear, a clipping control is changed into a DONE control (completion), the timeline of the video to be clipped, the corresponding key frame, the clipping starting axis and the clipping ending axis reappear when the DONE control is clicked, and the position of a target video segment clipped last time is located.
In addition, in fig. 5, a deletion control is also shown below the video playing interface, and the deletion control is used for deleting the video segments in the to-be-selected video queue.
Fig. 6 schematically shows a schematic diagram of applying a video clipping method according to some embodiments of the present disclosure. Referring to fig. 6, a candidate video queue is shown in a predetermined area of the video playing interface, for example, below a video to be clipped. When the deletion control is clicked, the currently played video clip is deleted, and the next video clip in the video queue to be selected is automatically selected and played.
Fig. 7 schematically shows a schematic diagram of applying a video clipping method according to some embodiments of the present disclosure. Referring to fig. 7, in the present exemplary embodiment, a video to be clipped, a timeline of the video to be clipped, a video box, and a clip control are displayed on a video playing interface. The user may drag the video box to select a target video segment to be clipped, with the clip start axis on the left and the clip end axis on the right of the video box. When a part of the video segment that has been clipped is located between the clip start axis and the clip end axis, clipping of the video to be clipped is prohibited. In fig. 7, when a portion of the video segment that has been clipped is located between the start point and the end point of the target video segment, the clipping control is grayed out so that the user cannot click the clipping button and cannot clip the target video segment.
Fig. 8 schematically shows a schematic diagram of applying a video clipping method according to some embodiments of the present disclosure. Referring to fig. 8, when a user clicks the clip control at this time when a part of a video segment that has been clipped is located between the clip start axis and the clip end axis, a prompt message "cannot cross the segment clip" is displayed, and the prompt message disappears after a predetermined time, for example, 1 second.
Further, in other embodiments of the present disclosure, a video clipping device is also provided. Referring to fig. 9, the video clipping apparatus 900 may include: a receiving unit 910, a determining unit 920, a clipping unit 930, and an indentation unit 940. The receiving unit 910 is configured to receive a clipping instruction for clipping a target video segment in a video to be clipped; the determining unit 920 is configured to determine a start point and an end point of the target video segment on the timeline of the video to be clipped in response to the clipping instruction; a clipping unit 930 configured to clip the target video segment from the video to be clipped based on the start point and the end point; the retracting unit 940 is used for retracting the timeline of the video to be clipped for the next clipping operation.
In some embodiments of the present disclosure, based on the foregoing scheme, the retracting unit 940 is configured to: and retracting the time line of the video to be clipped for the same time length as that of the target video segment.
In some embodiments of the present disclosure, based on the foregoing scheme, the duration of the target video segment is 3 seconds.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes:
and the video clip display unit is used for displaying the clipped video clip in a preset area of the video playing interface.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the key frame presenting unit is used for presenting the key frames corresponding to the time lines of the videos to be clipped on the video playing interface.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the adding unit is used for adding the target video segment into a video queue to be selected after the target video segment is clipped.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the video clip playing unit is used for playing the video clip on a video playing interface when receiving an instruction of clicking the video clip in the video queue to be selected.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the hiding unit is used for hiding the time line of the video to be clipped when the video segment is played and displaying a deleting control on the video playing interface.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the deleting unit is used for deleting the currently played video clip and selecting the next video clip in the video queue to be selected for playing when the instruction of clicking the deleting control is received.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes:
and the clipping inhibiting unit is used for inhibiting the clipping of the video to be clipped when a part of the clipped video segment is positioned between the starting point and the ending point.
In some embodiments of the present disclosure, based on the foregoing scheme, the video clipping apparatus 900 further includes: and the prompt information display unit is used for displaying prompt information for prohibiting clipping if receiving an instruction for clipping the video to be clipped when the clipping of the video to be clipped is prohibited.
Since each functional module of the video clipping apparatus 900 of the exemplary embodiment of the present disclosure corresponds to a step of the exemplary embodiment of the video clipping method, it is not described herein again.
It should be noted that although in the above detailed description several modules or units of a video clipping device are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present invention, there is also provided an electronic device capable of implementing the above method.
Referring now to FIG. 1000, shown is a block diagram of a computer system 1000 suitable for use with the electronic device implementing 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 bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or 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 necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A 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 of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport 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, wire, fiber optic 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 diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the video clipping method as described in the embodiments above.
For example, the electronic device may implement the following as shown in fig. 1: step S110, receiving a clipping instruction for clipping a target video segment in a video to be clipped; step S120, determining a starting point and an end point of the target video segment on the timeline of the video to be clipped in response to the clipping instruction; step S130, the target video segment is clipped from the video to be clipped based on the starting point and the ending point; step S140, indenting the timeline of the video to be clipped to perform the next clipping operation.
It should be noted that although in the above detailed description several modules or units of a device or apparatus for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can 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.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. 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 will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (24)
- A video clipping method comprising:receiving a clipping instruction for clipping a target video segment in a video to be clipped;determining a starting point and an end point of the target video segment on a timeline of the video to be clipped in response to the clipping instruction;clipping the target video segment from the video to be clipped based on the starting point and the ending point;and indenting the time line of the video to be clipped to carry out the next clipping operation.
- The video clipping method of claim 1, wherein indenting the timeline of the video to be clipped comprises:and retracting the time line of the video to be clipped for the same time length as that of the target video segment.
- The video clipping method of claim 2, wherein the duration of the target video segment is 3 seconds.
- The video clipping method of claim 1, wherein the video clipping method further comprises:and displaying the clipped video segment in a preset area of the video playing interface.
- The video clipping method of claim 4, wherein the video clipping method further comprises:and presenting key frames corresponding to the time lines of the videos to be edited on the video playing interface.
- The video clipping method of claim 1, wherein the video clipping method further comprises:after the target video segment is clipped, adding the target video segment into a video queue to be selected.
- The video clipping method of claim 6, wherein the video clipping method further comprises:and when an instruction of clicking the video clip in the video queue to be selected is received, playing the video clip on a video playing interface.
- The video clipping method of claim 7, wherein, while playing the video segment, the video clipping method further comprises:hiding the time line of the video to be edited, and displaying a deletion control on the video playing interface.
- The video clipping method of claim 8, wherein the video clipping method further comprises:and when an instruction of clicking the deleting control is received, deleting the currently played video clip, and selecting the next video clip in the video queue to be selected for playing.
- The video clipping method of claim 6, wherein the video clipping method further comprises:and when a part of the clipped video segment is positioned between the starting point and the ending point, the clipping of the video to be clipped is prohibited.
- The video clipping method of claim 10, wherein the video clipping method further comprises:when the video to be clipped is prohibited from being clipped, if an instruction for clipping the video to be clipped is received, prompt information for prohibiting clipping is displayed.
- A video clipping device comprising:the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a clipping instruction for clipping a target video segment in a video to be clipped;a determining unit, configured to determine, in response to the clipping instruction, a start point and an end point of the target video segment on a timeline of the video to be clipped;a clipping unit for clipping the target video segment from the video to be clipped based on the start point and the end point;and the indentation unit is used for indenting the time line of the video to be clipped to carry out the next clipping operation.
- An electronic device, comprising:a processor; anda memory having computer readable instructions stored thereon which, when executed by the processor, implement the steps of:receiving a clipping instruction for clipping a target video segment in a video to be clipped;determining a starting point and an end point of the target video segment on a timeline of the video to be clipped in response to the clipping instruction;clipping the target video segment from the video to be clipped based on the starting point and the ending point;and indenting the time line of the video to be clipped to carry out the next clipping operation.
- The electronic device of claim 13, wherein the processor is configured to:and retracting the time line of the video to be clipped for the same time length as that of the target video segment.
- The electronic device of claim 14, wherein the target video segment is 3 seconds in duration.
- The electronic device of claim 13, wherein the processor is configured to:and displaying the clipped video segment in a preset area of the video playing interface.
- The electronic device of claim 16, wherein the processor is configured to:and presenting key frames corresponding to the time lines of the videos to be edited on the video playing interface.
- The electronic device of claim 13, wherein the processor is configured to:after the target video segment is clipped, adding the target video segment into a video queue to be selected.
- The electronic device of claim 18, wherein the processor is configured to:and when an instruction of clicking the video clip in the video queue to be selected is received, playing the video clip on a video playing interface.
- The electronic device of claim 19, wherein the processor is configured to:and hiding the time line of the video to be edited when the video segment is played, and displaying a deletion control on the video playing interface.
- The electronic device of claim 20, wherein the processor is configured to:and when an instruction of clicking the deleting control is received, deleting the currently played video clip, and selecting the next video clip in the video queue to be selected for playing.
- The electronic device of claim 18, wherein the processor is configured to:and when a part of the clipped video segment is positioned between the starting point and the ending point, the clipping of the video to be clipped is prohibited.
- The electronic device of claim 22, wherein the processor is configured to:when the video to be clipped is prohibited from being clipped, if an instruction for clipping the video to be clipped is received, prompt information for prohibiting clipping is displayed.
- A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:receiving a clipping instruction for clipping a target video segment in a video to be clipped;determining a starting point and an end point of the target video segment on a timeline of the video to be clipped in response to the clipping instruction;clipping the target video segment from the video to be clipped based on the starting point and the ending point;and indenting the time line of the video to be clipped to carry out the next clipping operation.
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 |
---|---|
CN110915224A true CN110915224A (en) | 2020-03-24 |
Family
ID=69232354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201880039490.2A Pending CN110915224A (en) | 2018-08-01 | 2018-08-01 | Video editing method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110915224A (en) |
WO (1) | WO2020024165A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112770176A (en) * | 2020-12-23 | 2021-05-07 | 北京爱奇艺科技有限公司 | Video frame determination method and device, electronic equipment and computer readable medium |
CN113453067A (en) * | 2020-03-27 | 2021-09-28 | 富士通株式会社 | Video processing apparatus, video processing method, and machine-readable storage medium |
CN114025199A (en) * | 2022-01-10 | 2022-02-08 | 北京美摄网络科技有限公司 | Live video editing method, device and system |
CN114245033A (en) * | 2021-11-03 | 2022-03-25 | 浙江大华技术股份有限公司 | Video synthesis method and device |
CN114666656A (en) * | 2022-03-15 | 2022-06-24 | 北京沃东天骏信息技术有限公司 | Video clipping method, video clipping device, electronic equipment and computer readable medium |
CN114697749A (en) * | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video editing method, video editing device, storage medium and electronic equipment |
CN114866805A (en) * | 2022-04-25 | 2022-08-05 | 阿里巴巴(中国)有限公司 | Video processing method, device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1437137A (en) * | 2002-02-06 | 2003-08-20 | 北京新奥特集团 | Non-linear editing computer |
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 |
CN104813399A (en) * | 2012-11-05 | 2015-07-29 | 奈斯瑞明株式会社 | Method for editing motion picture, terminal for same and recording medium |
CN105872857A (en) * | 2016-04-01 | 2016-08-17 | 北京金山安全软件有限公司 | Video processing method and device and electronic equipment |
CN106385617A (en) * | 2016-09-05 | 2017-02-08 | 北京金山安全软件有限公司 | Video processing method and device and electronic equipment |
CN107066502A (en) * | 2017-01-04 | 2017-08-18 | 合网络技术(北京)有限公司 | Content of multimedia edit methods and device |
-
2018
- 2018-08-01 CN CN201880039490.2A patent/CN110915224A/en active Pending
- 2018-08-01 WO PCT/CN2018/098084 patent/WO2020024165A1/en active Application Filing
Patent Citations (7)
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 |
CN1437137A (en) * | 2002-02-06 | 2003-08-20 | 北京新奥特集团 | Non-linear editing computer |
CN102089824A (en) * | 2008-06-27 | 2011-06-08 | 汤姆森特许公司 | Editing device and editing method |
CN104813399A (en) * | 2012-11-05 | 2015-07-29 | 奈斯瑞明株式会社 | Method for editing motion picture, terminal for same and recording medium |
CN105872857A (en) * | 2016-04-01 | 2016-08-17 | 北京金山安全软件有限公司 | Video processing method and device and electronic equipment |
CN106385617A (en) * | 2016-09-05 | 2017-02-08 | 北京金山安全软件有限公司 | Video processing method and device and electronic equipment |
CN107066502A (en) * | 2017-01-04 | 2017-08-18 | 合网络技术(北京)有限公司 | Content of multimedia edit methods and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113453067A (en) * | 2020-03-27 | 2021-09-28 | 富士通株式会社 | Video processing apparatus, video processing method, and machine-readable storage medium |
CN113453067B (en) * | 2020-03-27 | 2023-11-14 | 富士通株式会社 | Video processing apparatus, video processing method, and machine-readable storage medium |
CN112770176A (en) * | 2020-12-23 | 2021-05-07 | 北京爱奇艺科技有限公司 | Video frame determination method and device, electronic equipment and computer readable medium |
CN112770176B (en) * | 2020-12-23 | 2022-10-25 | 北京爱奇艺科技有限公司 | Video frame determination method and device, electronic equipment and computer readable medium |
CN114697749A (en) * | 2020-12-28 | 2022-07-01 | 北京小米移动软件有限公司 | Video editing method, video editing 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 |
Also Published As
Publication number | Publication date |
---|---|
WO2020024165A1 (en) | 2020-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110915224A (en) | Video editing method, device, equipment and storage medium | |
US11206448B2 (en) | Method and apparatus for selecting background music for video shooting, terminal device and medium | |
US20210006715A1 (en) | Method and apparatus for video shooting, terminal device and storage medium | |
US9852768B1 (en) | Video editing using mobile terminal and remote computer | |
CN111629252B (en) | Video processing method and device, electronic equipment and computer readable storage medium | |
CN110046021B (en) | Page display method, device, system, equipment and storage medium | |
CN108833787B (en) | Method and apparatus for generating short video | |
CN110825456B (en) | Loading time calculation method, loading time calculation device, computer equipment and storage medium | |
CN110545475B (en) | Video playing method and device and electronic equipment | |
CN111447505A (en) | Video clipping method, network device, and computer-readable storage medium | |
CN106873844B (en) | Picture viewing method and device | |
CN112887802A (en) | Video access method and device | |
US9773524B1 (en) | Video editing using mobile terminal and remote computer | |
WO2022188386A9 (en) | Video publishing method and apparatus, and device | |
WO2019042217A1 (en) | Video editing method and terminal | |
CN106131689A (en) | Method for downloading video and device | |
CN111435600B (en) | Method and apparatus for processing audio | |
CN109492163B (en) | List display recording method and device, terminal equipment and storage medium | |
CN110673886B (en) | Method and device for generating thermodynamic diagrams | |
WO2022179415A1 (en) | Audiovisual work display method and apparatus, and device and medium | |
CN105487769A (en) | Media file display method and device and electronic equipment | |
CN111726671A (en) | Method, equipment and electronic equipment for playing media information | |
CN113038260B (en) | Music extension method, device, electronic equipment and storage medium | |
CN110971956A (en) | Video frame previewing method and device | |
CN113038286A (en) | Video playing control method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200324 |
|
RJ01 | Rejection of invention patent application after publication |