CN109429093B - Video editing method and terminal - Google Patents
Video editing method and terminal Download PDFInfo
- Publication number
- CN109429093B CN109429093B CN201710772780.5A CN201710772780A CN109429093B CN 109429093 B CN109429093 B CN 109429093B CN 201710772780 A CN201710772780 A CN 201710772780A CN 109429093 B CN109429093 B CN 109429093B
- Authority
- CN
- China
- Prior art keywords
- video
- unit
- time
- clipped
- segment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000003993 interaction Effects 0.000 claims description 40
- 238000012163 sequencing technique Methods 0.000 claims description 7
- 239000000126 substance Substances 0.000 claims description 5
- 238000010008 shearing Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 230000002452 interceptive effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000003287 optical effect Effects 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/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
- H04N21/4343—Extraction or processing of packetized elementary streams [PES]
-
- 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/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
- H04N21/44016—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 involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
A method and a terminal for video clipping comprise: respectively determining the starting time and the ending time of at least two video segments to be clipped in a video file; and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut. The embodiment of the invention realizes the cutting of a plurality of video clips on the mobile terminal and improves the user experience.
Description
Technical Field
The present disclosure relates to, but not limited to, multimedia technology, and more particularly, to a method and terminal for video editing.
Background
At present, when a user clips a video through a mobile terminal (including a mobile phone, a tablet, a video player, and other terminals), the user often selects only a head and/or a tail of the video to perform simple clipping (including clipping the head of the video, clipping the tail of the video, or clipping a part of the head and a part of the tail of the video).
Selecting only the head and/or tail of a video for editing results in a poor user experience for users who need to perform complex editing of a video (cutting and splicing multiple segments in a video file).
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a video clipping method and a terminal, which can realize the clipping of a plurality of video segments on a mobile terminal and improve the user experience.
The embodiment of the invention provides a video clipping method, which comprises the following steps:
respectively determining the starting time and the ending time of at least two video segments to be clipped in a video file;
and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
Optionally, after the video file is cut, the method further includes:
and splicing the video segments to be clipped obtained by clipping according to the time sequence to obtain clipped video files.
Optionally, the method further includes:
acquiring time point information of each video frame contained in a video file where a video segment to be edited is located;
dividing the video file into one or more unit video segments according to preset unit time length and time point information of each video frame, and determining the starting time and the ending time of at least two video segments to be clipped according to the divided unit video segments;
wherein the time point information includes: the start time and the end time of a video frame.
Optionally, the determining the start time and the end time of at least two video segments to be clipped in the video file includes:
displaying each unit video clip on a preset first user interaction interface through a preset interaction unit;
selecting a unit video segment where the starting position of each video segment to be clipped is located through the interaction unit, and determining the starting moment of the unit video segment where the starting position of the video segment to be clipped is located as the starting time;
and selecting the unit video segment where the termination position of each video segment to be clipped is located through the interaction unit, and determining the termination time of the unit video segment where the termination position of the video segment to be clipped is located as the termination time.
Optionally, before the cutting the video segment to be clipped, the method further includes:
sequencing each unit video clip according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video segment according to the determined starting time and ending time of each unit video segment and the starting time and ending time of each video frame, so as to cut the video segments after determining the starting time and the ending time of at least two video segments to be cut.
Optionally, the determining the start time and the end time of the at least two video segments to be clipped includes:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
On the other hand, an embodiment of the present invention further provides a terminal, including: a time determining unit and a cutting unit; wherein the content of the first and second substances,
the time determination unit is to: determining the starting time and the ending time of at least two video segments to be clipped in a video file;
the shearing unit is used for: and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
Optionally, the terminal further includes a splicing unit, configured to splice the video segments to be clipped obtained through the clipping according to a time sequence to obtain a clipped video file. Optionally, the terminal further includes an obtaining unit and a dividing unit; wherein the content of the first and second substances,
the acquisition unit is used for: acquiring time point information of each video frame contained in a video file where a video clip to be clipped is positioned;
the dividing unit is used for: dividing the video file into one or more unit video segments according to preset unit time length and time point information of each video frame, and determining the starting time and the ending time of at least two video segments to be clipped according to the divided unit video segments;
wherein the time point information includes: the start time and the end time of a video frame.
Optionally, the time determination unit is specifically configured to:
displaying each unit video clip on a preset first user interaction interface through a preset interaction unit;
selecting a unit video segment where the starting position of each video segment to be clipped is located through the interaction unit, and determining the starting time of the unit video segment where the starting position of the video segment to be clipped is located as the starting time;
and selecting the unit video segment where the ending position of each video segment to be clipped is positioned through the interaction unit, and determining the ending time of the unit video segment where the ending position of the video segment to be clipped is positioned as the ending time.
Optionally, the terminal further includes a frame determining unit, configured to:
sequencing each unit video clip according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video segment according to the determined starting time and ending time of each unit video segment and the starting time and ending time of each video frame, so as to cut the video segments after determining the starting time and the ending time of at least two video segments to be cut.
Optionally, the time determination unit is specifically configured to:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
In still another aspect, an embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the method for video editing.
In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein, the first and the second end of the pipe are connected with each other,
the processor is configured to execute program instructions in the memory;
the program instructions read on the processor to perform the following operations:
respectively determining the starting time and the ending time of at least two video segments to be clipped in a video file;
and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
Compared with the related art, the technical scheme of the application comprises the following steps: determining the starting time and the ending time of at least two video segments to be clipped in a video file; and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut. The embodiment of the invention realizes the cutting of a plurality of video clips on the mobile terminal and improves the user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the present invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and are not intended to limit the invention.
FIG. 1 is a flow chart of a method of video clipping in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first user interaction interface in accordance with an embodiment of the invention;
FIG. 3 is a diagram illustrating a second user interaction interface according to an embodiment of the invention;
fig. 4 is a block diagram of a terminal according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method of an exemplary application of the present invention;
fig. 6 is a diagram showing a divided unit video clip according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a video clipping method according to an embodiment of the present invention, as shown in fig. 1, including:
optionally, the determining of the start time and the end time of the at least two video segments to be clipped according to the embodiment of the present invention may be performed through a preset interactive interface, and the interactive interface may be designed by referring to an existing implementation manner in the related art.
Optionally, before the method in step 100 of the embodiment of the present invention, the method further includes:
acquiring time point information of each video frame contained in a video file where a video segment to be edited is located;
dividing the video file into one or more unit video segments according to preset unit time length and time point information of each video frame, and determining the starting time and the ending time of at least two video segments to be clipped according to the divided unit video segments;
wherein the time point information includes: the start time and the end time of a video frame.
Optionally, the determining the start time and the end time of at least two video segments to be clipped in the video file in the embodiment of the present invention includes:
displaying each unit video clip on a preset first user interaction interface through a preset interaction unit;
selecting a unit video segment where the starting position of each video segment to be clipped is located through the interaction unit, and determining the starting moment of the unit video segment where the starting position of the video segment to be clipped is located as the starting time;
and selecting the unit video segment where the termination position of each video segment to be clipped is located through the interaction unit, and determining the termination time of the unit video segment where the termination position of the video segment to be clipped is located as the termination time.
Fig. 2 is a schematic diagram of a first user interaction interface according to an embodiment of the present invention, as shown in fig. 2, divided unit video segments are displayed on an interaction unit, the displayed unit video segments may be arranged in a time sequence, and the unit video segments may be selected by clicking the unit video segments displayed on the display unit; when the starting position of the video segment to be clipped needs to be determined, clicking the unit video segment where the starting position of the video segment to be clipped is located, displaying the clicked unit video segment (for example, the unit video segment m displayed in the figure) on the first user interaction interface, and determining the starting position of the video segment to be clipped; when the ending position of the video segment to be clipped needs to be determined, the unit video segment where the ending position of the video segment to be clipped is located is clicked, the clicked unit video segment (for example, the unit video segment n displayed in the figure) can be displayed on the first user interaction interface, and the ending position of the video segment to be clipped is determined. The embodiment of the invention can also number the unit video clips or distinguish the unit video clips by adopting the distinguishing marks, so that the unit video clips can be more subjective and accurate when being clicked and selected. In addition, the embodiment of the invention can determine a smaller unit video segment for the video file obtained by clipping after the clipping of the video file is completed; re-editing the video file with the starting time and the ending time being not accurate enough through the determined smaller unit video segment; of course, the process may also define a smaller unit video segment among the video segments to be clipped that are determined directly after the start time and the end time of the video segment are determined for the first time, and determine a more accurate start time and end time in the same manner as the interactive units described above.
Optionally, the determining the start time and the end time of at least two video segments to be clipped according to the embodiment of the present invention includes:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
Here, the second user interaction interface may be a text input box interface including an addition start time and an end time, and when a plurality of video segments to be clipped are included, the respective start time and end time may be input a plurality of times.
FIG. 3 is a schematic diagram of a second user interaction interface according to an embodiment of the present invention, where, as shown in FIG. 3, a text input box for adding a start time and an end time is included in the second user interaction interface, and the start time and the end time may be separated by a semicolon; confirmation of a clipped video segment may be accomplished by a set of text entry boxes containing the addition of a start time and an end time.
And step 101, cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
It should be noted that, the cutting and splicing of the video segments can be implemented by using methods existing in the related art, and are not described herein again.
Optionally, after the video file is cut, the embodiment of the present invention further includes:
and splicing the video segments to be clipped obtained by clipping according to the time sequence to obtain clipped video files.
Optionally, before cutting the video segment to be clipped, the method according to the embodiment of the present invention further includes:
sequencing each unit video clip according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video segment according to the determined starting time and ending time of each unit video segment and the starting time and ending time of each video frame, so as to cut the video segments after determining the starting time and the ending time of at least two video segments to be cut.
Compared with the related art, the technical scheme of the application comprises the following steps: determining the starting time and the ending time of at least two video segments to be clipped in a video file; and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut. The embodiment of the invention realizes the cutting of a plurality of video clips on the mobile terminal and improves the user experience.
Fig. 2 is a block diagram of a terminal according to an embodiment of the present invention, as shown in fig. 2, including: a time determining unit and a cutting unit; wherein the content of the first and second substances,
the time determination unit is configured to: respectively determining the starting time and the ending time of at least two video segments to be clipped in a video file;
the shearing unit is used for: and carrying out the video file according to the determined starting time and the determined ending time of each video segment to be clipped.
Optionally, the terminal according to the embodiment of the present invention further includes a splicing unit, configured to splice the video segments to be clipped obtained by clipping according to a time sequence to obtain a clipped video file. Optionally, the terminal according to the embodiment of the present invention further includes an obtaining unit and a dividing unit; wherein the content of the first and second substances,
the acquisition unit is used for: acquiring time point information of each video frame contained in a video file where a video segment to be edited is located;
the dividing unit is used for: dividing the video file into one or more unit video segments according to preset unit time length and time point information of each video frame, and determining the starting time and the ending time of at least two video segments to be clipped according to the divided unit video segments;
wherein the time point information includes: the start time and the end time of a video frame.
Optionally, the terminal in the embodiment of the present invention further includes a frame determining unit, configured to:
sequencing each unit video clip according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video segment according to the determined starting time and ending time of each unit video segment and the starting time and ending time of each video frame, so as to cut the video segments after determining the starting time and the ending time of at least two video segments to be cut.
Optionally, the time determination unit is specifically configured to:
displaying each unit video clip on a preset first user interaction interface through a preset interaction unit;
selecting a unit video segment where the starting position of each video segment to be clipped is located through the interaction unit, and determining the starting moment of the unit video segment where the starting position of the video segment to be clipped is located as the starting time;
and selecting the unit video segment where the termination position of each video segment to be clipped is located through the interaction unit, and determining the termination time of the unit video segment where the termination position of the video segment to be clipped is located as the termination time.
It should be noted that, in the embodiments of the present invention, after the editing of a video file is completed, a smaller unit video segment may be determined for the video file obtained by editing; re-editing the video file with the starting time and the ending time being not accurate enough through the determined smaller unit video segment; of course, the process may also define a smaller unit video segment among the video segments to be clipped that are determined directly after the start time and the end time of the video segment are determined for the first time, and determine a more accurate start time and end time in the same manner as the interactive units described above.
Optionally, the time determining unit in the embodiment of the present invention is specifically configured to:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
The embodiment of the invention also provides a computer storage medium, wherein computer executable instructions are stored in the computer storage medium and used for executing the video clip method.
An embodiment of the present invention further provides a terminal, including: a memory and a processor; wherein, the first and the second end of the pipe are connected with each other,
the processor is configured to execute program instructions in the memory;
the program instructions read at the processor to perform the following operations:
respectively determining the starting time and the ending time of at least two video segments to be clipped in a video file;
and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
The following embodiments of the present invention are described in detail with reference to the following application examples, which are only used to illustrate the present invention and are not intended to limit the scope of the present invention.
Application example
Fig. 5 is a flowchart of a method of an application example of the present invention, as shown in fig. 5, including:
500, acquiring the total duration of the video file; the present application example assumes that the total time length of the video file is 1 minute;
wherein the time point information includes: the start time and the end time of a video frame.
505, sequentially listing the divided unit video clips on a first user interaction interface; FIG. 6 is a schematic diagram illustrating an example of an application of the present invention displaying divided unit video clips, and as shown in FIG. 6, unit video clips numbered 1-60 are displayed on an interactive unit.
assuming that a user selects video segments to be clipped with numbers of 3-6, 17-18 and 40-42, when clicking the unit video segment with the number of 3, taking the unit video segment with the number of 3 as the starting position of the video segment to be clipped with the number of 3-6, and taking the unit video segment with the number of 6 as the ending position of the video segment to be clipped with the number of 3-6; the starting positions and the ending positions of the video segments to be clipped 17-18 and the video segments to be clipped 40-42 are determined in the same way.
And step 508, sequencing the cut video segments to be clipped according to the time sequence, and then splicing to obtain the video file to be clipped.
The application example splices the video segments to be clipped through the existing video container in the related art to generate the video file to be clipped. It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in hardware, for example, by using an integrated circuit to implement its corresponding function, or may be implemented in software, for example, by using a processor to execute programs/instructions stored in a memory to implement its corresponding function. The present invention is not limited to any specific form of combination of hardware and software.
Although the embodiments of the present invention have been described above, the above description is only for the purpose of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method of video clipping, comprising:
acquiring time point information of each video frame contained in a video file where a video segment to be clipped is located, wherein the time point information comprises: the starting time and the ending time of the video frame;
dividing the video file into one or more unit video clips according to preset unit time length and time point information of each video frame;
numbering the unit video clips or distinguishing the unit video clips by adopting distinguishing marks, and displaying each unit video clip on a preset first user interaction interface through a preset interaction unit;
selecting a unit video segment where the starting position of each video segment to be clipped in at least two video segments to be clipped is located through the interaction unit, and determining the starting time of the unit video segment where the starting position of the video segment to be clipped is located as starting time;
selecting the unit video segment where the termination position of each video segment to be clipped is located through the interaction unit, and determining the termination time of the unit video segment where the termination position of the video segment to be clipped is located as termination time;
cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut;
after finishing the clipping of the video file, determining a smaller unit video segment for the video file obtained by clipping; and re-clipping the video file with the start time and the end time not accurate enough through the determined smaller unit video segment.
2. The method of claim 1, wherein after the cropping the video file, the method further comprises:
and splicing the video segments to be clipped obtained by clipping according to the time sequence to obtain clipped video files.
3. The method of claim 1, wherein prior to said cropping a video segment to be cropped, the method further comprises:
sequencing each unit video clip according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video segment according to the determined starting time and ending time of each unit video segment and the starting time and ending time of each video frame, so as to cut the video segments after determining the starting time and the ending time of at least two video segments to be cut.
4. The method according to any of claims 1 to 3, wherein the determining the start time and the end time of at least two video segments to be clipped comprises:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
5. A terminal for video clipping, comprising:
the acquisition unit is used for: acquiring time point information of each video frame contained in a video file where a video clip to be clipped is positioned, wherein the time point information comprises: the starting time and the ending time of the video frame;
the dividing unit is used for: dividing the video file into one or more unit video segments according to preset unit time length and time point information of each video frame, and determining the starting time and the ending time of at least two video segments to be clipped according to the divided unit video segments;
the time determination unit is configured to: numbering the unit video clips or distinguishing by adopting distinguishing marks, and displaying each unit video clip on a preset first user interaction interface through a preset interaction unit; selecting a unit video segment where the starting position of each of the at least two video segments to be clipped is located through the interaction unit, and determining the starting time of the unit video segment where the starting position of the video segment to be clipped is located as the starting time; selecting the unit video clip where the ending position of each video clip to be clipped is located through the interaction unit, and determining the ending moment of the unit video clip where the ending position of the video clip to be clipped is located as the ending time;
the shearing unit is used for: and cutting the video file according to the determined starting time and the determined ending time of each video segment to be cut.
6. The terminal according to claim 5, further comprising a splicing unit, configured to splice the video segments to be clipped obtained by clipping according to a chronological order to obtain a clipped video file.
7. The terminal according to claim 5, characterized in that the terminal further comprises a frame determination unit configured to:
sequencing the unit video clips according to a preset rule, and determining the starting time and the ending time of each unit video clip by combining the time length of a preset unit time length;
and determining the video frames contained in each unit video clip according to the determined starting time and the determined ending time of each unit video clip and the starting time and the ending time of each video frame, so as to cut the video clips after determining the starting time and the ending time of at least two video clips to be clipped.
8. The terminal according to any one of claims 5 to 6, wherein the time determination unit is specifically configured to:
and receiving the starting time and the ending time of each video segment to be clipped through a preset second user interaction interface.
9. A computer storage medium having stored thereon computer-executable instructions for performing the method of video clipping of any of claims 1 to 4.
10. A terminal, comprising: a memory and a processor; wherein the content of the first and second substances,
the processor is configured to execute program instructions in the memory for performing the method of video clipping of any of claims 1 to 4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710772780.5A CN109429093B (en) | 2017-08-31 | 2017-08-31 | Video editing method and terminal |
PCT/CN2018/102014 WO2019042217A1 (en) | 2017-08-31 | 2018-08-23 | Video editing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710772780.5A CN109429093B (en) | 2017-08-31 | 2017-08-31 | Video editing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109429093A CN109429093A (en) | 2019-03-05 |
CN109429093B true CN109429093B (en) | 2022-08-19 |
Family
ID=65505545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710772780.5A Active CN109429093B (en) | 2017-08-31 | 2017-08-31 | Video editing method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109429093B (en) |
WO (1) | WO2019042217A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111711861B (en) * | 2020-05-15 | 2022-04-12 | 北京奇艺世纪科技有限公司 | Video processing method and device, electronic equipment and readable storage medium |
CN111666446B (en) * | 2020-05-26 | 2023-07-04 | 珠海九松科技有限公司 | Method and system for judging automatic video editing material of AI |
CN111739128B (en) * | 2020-07-29 | 2021-08-31 | 广州筷子信息科技有限公司 | Target video generation method and system |
CN113810766B (en) * | 2021-11-17 | 2022-02-08 | 深圳市速点网络科技有限公司 | Video clip combination processing method and system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100597398B1 (en) * | 2004-01-15 | 2006-07-06 | 삼성전자주식회사 | Apparatus and method for searching for video clip |
CN101909161B (en) * | 2009-12-17 | 2013-12-25 | 新奥特(北京)视频技术有限公司 | Video clipping method and device |
US20120210219A1 (en) * | 2011-02-16 | 2012-08-16 | Giovanni Agnoli | Keywords and dynamic folder structures |
CN103606158A (en) * | 2013-11-29 | 2014-02-26 | 深圳市龙视传媒有限公司 | Preprocessing method and terminal for video clipping |
CN106375872A (en) * | 2015-07-24 | 2017-02-01 | 三亚中兴软件有限责任公司 | Method and device for video editing |
CN105142029B (en) * | 2015-08-10 | 2018-03-02 | 北京彩云动力教育科技有限公司 | The editing system and its clipping method of a kind of interdynamic video |
CN105578260A (en) * | 2015-12-18 | 2016-05-11 | 无锡天脉聚源传媒科技有限公司 | Video editing method and device |
CN105657537B (en) * | 2015-12-23 | 2018-06-19 | 小米科技有限责任公司 | Video clipping method and device |
CN106303669B (en) * | 2016-08-17 | 2019-08-09 | 深圳鑫联迅科技有限公司 | A kind of video clipping method and device |
-
2017
- 2017-08-31 CN CN201710772780.5A patent/CN109429093B/en active Active
-
2018
- 2018-08-23 WO PCT/CN2018/102014 patent/WO2019042217A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2019042217A1 (en) | 2019-03-07 |
CN109429093A (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109429093B (en) | Video editing method and terminal | |
US20100070860A1 (en) | Animated cloud tags derived from deep tagging | |
US9549121B2 (en) | Image acquiring method and electronic device | |
CN106804003B (en) | Video editing method and device based on ffmpeg | |
GB2600309A (en) | Video processing method and apparatus, and electronic device and storage medium | |
CN109493888B (en) | Cartoon dubbing method and device, computer-readable storage medium and electronic equipment | |
CN111447489A (en) | Video processing method and device, readable medium and electronic equipment | |
CN111835985B (en) | Video editing method, device, apparatus and storage medium | |
CN109862100B (en) | Method and device for pushing information | |
CN109491742B (en) | Page table rendering method and device | |
US11996124B2 (en) | Video processing method, apparatus, readable medium and electronic device | |
CN104994404A (en) | Method and device for obtaining keywords for video | |
CN110781349A (en) | Method, equipment, client device and electronic equipment for generating short video | |
CN111367447A (en) | Information display method and device, electronic equipment and computer readable storage medium | |
CN113507637A (en) | Media file processing method, device, equipment, readable storage medium and product | |
CN104751870A (en) | Information processing method and electronic equipment | |
CN108108143B (en) | Recording playback method, mobile terminal and device with storage function | |
CN113518187A (en) | Video editing method and device | |
US20240007515A1 (en) | Audio playing method, apparatus and non-transitory computer-readable storage medium | |
CN112307252A (en) | File processing method and device and electronic equipment | |
JP6474728B2 (en) | Enhanced information gathering environment | |
CN109889737B (en) | Method and apparatus for generating video | |
CN112153439A (en) | Interactive video processing method, device and equipment and readable storage medium | |
CN111709342A (en) | Subtitle segmentation method, device, equipment and storage medium | |
CN112445398A (en) | Method, electronic device and computer readable medium for editing pictures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |