CN109168084B - Video editing method and device - Google Patents

Video editing method and device Download PDF

Info

Publication number
CN109168084B
CN109168084B CN201811242036.5A CN201811242036A CN109168084B CN 109168084 B CN109168084 B CN 109168084B CN 201811242036 A CN201811242036 A CN 201811242036A CN 109168084 B CN109168084 B CN 109168084B
Authority
CN
China
Prior art keywords
target video
video
duration
segments
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.)
Active
Application number
CN201811242036.5A
Other languages
Chinese (zh)
Other versions
CN109168084A (en
Inventor
李涛
陈云贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qilin Hesheng Network Technology Inc
Original Assignee
Qilin Hesheng Network Technology Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qilin Hesheng Network Technology Inc filed Critical Qilin Hesheng Network Technology Inc
Priority to CN201811242036.5A priority Critical patent/CN109168084B/en
Publication of CN109168084A publication Critical patent/CN109168084A/en
Application granted granted Critical
Publication of CN109168084B publication Critical patent/CN109168084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention provides a method and a device for video editing, relates to the technical field of Internet, and aims to solve the problem of low efficiency caused by manual video editing. The method may comprise: acquiring video script information, wherein the video script information comprises the number of scenes and the duration of each scene; acquiring at least one video to be edited; based on the video script information, cutting the at least one video to obtain a plurality of target video segments; and splicing the plurality of video segments into a continuous video. The invention is used for video clipping.

Description

Video editing method and device
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for video editing.
Background
The video clip is to cut and splice the video to be clipped to generate a video work with different expressive force compared with the video to be clipped. With the popularization of mobile terminals, the video industry is rapidly developed, and numerous enterprises enter the video industry.
At present, video editing is mainly performed in a manual editing mode, when video editing is performed manually, video editing personnel cut videos to be edited according to personal subjective wishes to obtain a certain number of target video segments, and then the target video segments are spliced to synthesize a video product. During this video editing process, the user needs to spend a lot of time to obtain the video work. Therefore, the efficiency is low when the video clip is carried out manually.
Disclosure of Invention
The embodiment of the invention provides a method and a device for video editing, which aim to solve the problem of low efficiency caused by manual video editing.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a video clipping method, including:
acquiring video script information, wherein the video script information comprises the number of scenes and the duration of each scene;
acquiring at least one video to be edited;
based on the video script information, cutting the at least one video to obtain a plurality of target video segments, so that the number of the plurality of target video segments is matched with the number of the scenes, and the duration of each target video segment in the plurality of target video segments is matched with the duration of each scene;
and splicing the target video segments into a continuous video.
In a second aspect, an embodiment of the present invention provides a video editing apparatus, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring video script information, and the video script information comprises the number of scenes and the duration of each scene;
the second acquisition module is used for acquiring at least one video to be edited;
a clipping module, configured to clip the at least one video acquired by the second acquisition module based on the video script information acquired by the first acquisition module to obtain a plurality of target video segments, so that the number of the plurality of target video segments matches the number of the scenes, and a duration of each target video segment in the plurality of target video segments matches a duration of each scene;
and the splicing module is used for splicing the target video segments obtained by the cutting module into a continuous video.
In a third aspect, an embodiment of the present application provides a video clip device, including: a memory, a processor and computer executable instructions stored on the memory and executable on the processor, which when executed by the processor implement the steps of the video clipping method as described in the first aspect above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the video clipping method according to the first aspect described above.
In the embodiment of the invention, after video script information and at least one video to be clipped are obtained, the video to be clipped is clipped to obtain a plurality of target video segments based on the video script information, and the plurality of target video segments are spliced into a continuous video through a video clipping method, a video clipping device and a computer readable storage medium. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information to obtain the video works only after acquiring the video to be clipped and the video script information, so that the time consumption of the video clipping process is less and the efficiency is higher.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for video editing according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating skip cropping performed on a target video according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating overlay cropping performed on a target video according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating continuous cropping on a target video according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of splicing multiple target video segments into a continuous video according to an embodiment of the present invention;
FIG. 6 is a flow chart of another method of video clipping provided by embodiments of the present invention;
FIG. 7 is a diagram of a video editing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a video editing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
The video clipping method provided by the embodiment of the invention can be executed by a video clipping device, and the video clipping device can be a mobile phone, a notebook computer, a tablet computer and other terminal equipment. The method of video clipping in the present invention will be described below from the viewpoint of a video clipping apparatus. Fig. 1 is a flowchart of a method for video editing according to an embodiment of the present invention. Referring to fig. 1, a method for video clipping provided by an embodiment of the present invention may include:
step 110, video script information is obtained, wherein the video script information comprises the number of scenes and the duration of each scene.
In an embodiment of the present invention, a video clipping device may obtain video script information, which may include the number of scenes required to make one continuous video and the duration of each scene. The scene may refer to a shot, and specifically may refer to a video clip between two cropping points in a video segment. Correspondingly, in this embodiment, the number of scenes may be the number of video segments that need to be cut out from the video to be edited to make a continuous video (video work); the scene duration may be the duration of a video segment.
For example, the video script information may be that the number of scenes is 2, the first scene duration is 2 seconds, and the second scene duration is 3 seconds. It will be appreciated that 2 scenes are required to cut a video work, the first scene being 2 seconds in duration and the second scene being 3 seconds in duration.
In the embodiment of the present invention, the video script information may be obtained as follows: acquiring background music; and determining video script information based on the rhythm point of the background music. The background music may be a piece of music that is played synchronously when the continuous video is played. I.e. background music may be used for background music as the continuous video.
The effect of background music is not negligible during the video editing process, and it can drive the atmosphere of the entire video and the mood of the viewer. In an embodiment of the present invention, the background music may be acquired in the following manner. In a first mode, a background music library may be set in the video editing apparatus, the user may select a piece of music from the background music library as background music, and after the user selects a piece of background music, the video editing apparatus may obtain the background music. In a second mode, a background music uploading window may be set on the video editing apparatus, through which the user may upload background music, and the video editing apparatus may obtain the background music uploaded by the user.
In the embodiment of the present invention, after the background music is acquired, the video script information may be determined based on the rhythm point of the background music. The rhythm point of the background music may be referred to as a drum point, and may be understood as a beat point in the background music. For example, people enjoy some music with strong rhythm sense, beat the music along with the rhythm of the music, and the beat point can be understood as the rhythm point of the music.
In the embodiment of the present invention, the method for obtaining the rhythm point of the background music may obtain the frequency spectrum of the background music, and obtain the rhythm point information of the background music by a frequency domain analysis method.
In the embodiment of the invention, some music with stronger rhythm sense or suitable for being used as video background music can be screened, and the screened music can be made into a background music library for the user to select. Therefore, the rhythm point of the background music can be obtained in advance and stored. After the user selects the background music, the video editing apparatus can immediately acquire the background music and the rhythm point of the background music.
In the embodiment of the present invention, the following method may also be adopted to obtain the rhythm point of the background music, for example, the method of listening to music on trial may be adopted to obtain the rhythm point of the background music in combination with the audio waveform diagram of the background music. After the rhythm point of the background music is obtained, the background music can be added into the background music library, and the rhythm point of the background music is stored at the same time.
In the embodiment of the present invention, after obtaining the rhythm point of the background music, the video script information may be determined based on the rhythm point as follows. The background music may be temporally divided based on a rhythm point of the background music to form a plurality of pieces of music; the number of the plurality of pieces of music formed may be determined as the number of scenes; the time length of each of the plurality of pieces of music may be determined as the time length of each scene.
The dividing of the background music in time based on the rhythm point of the background music refers to dividing the background music into different time periods by taking the rhythm point as a dividing point of the background music, wherein the dividing of the background music into different time periods does not refer to dividing the music into music segments of a small segment and a small segment on data. For example, the total duration of a piece of background music is 5 seconds, the rhythm points of the background music are respectively located at 1.5 seconds, 2 seconds and 3 seconds, and the temporally dividing of the background music means that the background music is divided into 4 time periods of 0-1.5 seconds, 1.5-2 seconds, 2-3 seconds and 3-5 seconds.
The determining of the number of the formed pieces of music as the number of scenes and the determining of the duration of each piece of music in the plurality of pieces of music as the duration of each scene may be understood as follows: for the above example, the background music is divided into 4 pieces of music of 0-1.5 seconds (denoted as a first piece of music), 1.5-2 seconds (denoted as a second piece of music), 2-3 seconds (denoted as a third piece of music), and 3-5 seconds (denoted as a fourth piece of music), and since the number of pieces of music is 4, it can be found that the number of scenes is 4; if the duration of the first music segment is 1.5 seconds, the corresponding duration of the first scene is 1.5 seconds; if the duration of the second music segment is 0.5 second, the corresponding duration of the second scene is 0.5 second; if the duration of the third music segment is 1 second, the duration of the corresponding third scene is 1 second; the duration of the fourth music piece is 1 second, and the corresponding duration of the fourth scene is 2 seconds.
In the embodiment of the invention, after the video editing device acquires the video script information, the video editing device can perform video editing based on the video script information, and the efficiency of video editing is higher. In addition, the video script information can be obtained based on the rhythm point of the background music, after the video editing device obtains the video script information corresponding to the background music, the video to be edited can be cut based on the video script information to obtain video segments corresponding to the number of scenes and the duration of each scene, the obtained video segments are spliced into a continuous video, and when the continuous video is played, the background music is played simultaneously, so that the switching of the video segments can be matched with the rhythm point of the background music, and the watching experience of a viewer can be improved.
Step 120, at least one video to be clipped is acquired.
In an embodiment of the present invention, the video clipping device may acquire at least one video to be clipped. The video clipping device can acquire the video uploaded by the user and take the video uploaded by the user as the video to be clipped. For the video clipping device with the camera shooting function, a camera of the device can be called to shoot and obtain a video, and the shot and obtained video is used as a video to be clipped.
For example, the smart phone may provide 5 video uploading windows to be edited, and a user may select a video in a local folder of the smart phone as a video to be edited by clicking the window and upload the video to the corresponding video uploading window to be edited, or may call a camera of the smart phone, and after acquiring the video through the camera, upload the video to the corresponding video uploading window to be edited.
In an embodiment of the present invention, the number of the videos to be clipped may also be at least two, and after the video clipping device acquires the at least two videos to be clipped, the acquired videos to be clipped may be processed into a unified format. For example, the video to be edited may be processed into a format with a definition of 720P, a frame frequency of 30 frames per second, and a video aspect ratio of 9: 16. Therefore, videos to be edited with different formats can be converted into the same format, the formats of video segments cut from the videos to be edited can be kept consistent, and the playing effect of continuous videos obtained by splicing the video segments is improved.
Of course, if the number of videos to be clipped acquired by the video clipping device is 1, the videos to be clipped can also be processed. For example, the video to be edited may be processed into a format with a definition of 720P, a frame frequency of 30 frames per second, and a video aspect ratio of 9: 16. This can increase the processing speed of the video clipping apparatus by reducing the sharpness, frame frequency, etc. of the video to be clipped.
In the embodiment of the invention, if the video image proportion of the video to be clipped acquired by the video clipping device is not 9:16, a 9:16 image clipping frame can be generated, the video to be clipped is clipped, and the image proportion of the video to be clipped is adjusted to 9: 16; and the picture can be filled, and the picture proportion of the video to be edited is adjusted to 9: 16. For example, if the ratio of the picture of the video to be clipped acquired by the video clipping device is 4:3, a 9:16 picture clipping frame can be generated by taking the video height as a reference, the video picture is clipped, and the picture ratio of the video to be clipped is adjusted to 9: 16; or, the position where no picture exists can be filled by taking the video width as a reference, and the picture proportion of the video to be edited is adjusted to 9: 16.
It should be noted that, step 110 and step 120 do not have a definite sequence, and the video editing device may obtain the video script information first and then obtain at least one video to be edited; or at least one video to be edited can be acquired first, and then the video script information can be acquired.
Step 130, based on the video script information, cutting the at least one video to obtain a plurality of target video segments, so that the number of the plurality of target video segments matches the number of the scenes, and the duration of each target video segment in the plurality of target video segments matches the duration of each scene.
In the embodiment of the present invention, after the video script information and the video to be clipped are obtained, a plurality of target video segments may be cut out from the video to be clipped according to the video script information, wherein the number of the target video segments may be equal to the number of the scenes in step 110, and the duration of each target video segment may be equal to the duration of the corresponding scene. The video clipping device can clip the corresponding number of target video segments from the video to be clipped, and make the duration of each target video segment match the duration of each scene.
For example, the video editing device obtains 4 scenes of video script information, the first scene duration is 1.5 seconds, the second scene duration is 0.5 seconds, the third scene duration is 1 second, and the fourth scene duration is 2 seconds. It can be found that the number of the target video segments is 4, wherein the target video segments with the time duration of 1.5 seconds, 0.5 seconds, 1 second and 2 seconds are each one segment.
In an embodiment of the present invention, the number of videos to be clipped that the video clipping device needs to acquire may be at least two. When the number of the videos to be clipped is at least two, the method for clipping the videos to be clipped can be that the number of target video segments corresponding to the target videos and the duration of each target video segment of the target videos are determined; and cutting the target video based on the number of target video fragments corresponding to the target video and the duration of each target video fragment of the target video.
The target video is a video in the video to be clipped. For example, the video clipping device acquires 2 pieces of video to be clipped, and both pieces of video to be clipped can be called target video.
The determining of the number of the target video segments corresponding to the target video and the duration of each target video segment of the target video may refer to determining, by the video clipping device, the number of the target video segments that need to be cut out from the target video and the duration of each target video segment.
For example, the video clipping device acquires 2 pieces of video to be clipped, and the number of target video segments is 4, which is derived from the acquired video script information, wherein the target video segments with the duration of 1.5 seconds, 0.5 seconds, 1 second, and 2 seconds are each one piece.
For convenience of expression, 2 segments of videos to be edited can be recorded as a first target video and a second target video respectively; the target video segment needing to be cut out and having the duration of 1.5 seconds can be recorded as a first target video segment, the target video segment having the duration of 0.5 seconds can be recorded as a second target video segment, the target video segment having the duration of 1 second can be recorded as a third target video segment, and the target video segment having the duration of 2 seconds can be recorded as a fourth target video segment.
In correspondence with the above example, the determining of the number of target video segments corresponding to the target video and the duration of each target video segment of the target video may specifically refer to, if the video clipping device determines that the first target video segment and the third target video segment need to be clipped from the first target video, then, correspondingly, determining that the number of target video segments that the video clipping device needs to clip from the first target video is 2, and the durations of the target video segments are 1.5 seconds and 1 second, respectively. Therefore, the target video segments needing to be cut out from the second target video are easily obtained, and are not described in detail here.
The cutting of the target video based on the number of the target video segments corresponding to the target video and the duration of each target video segment of the target video may mean that the video cutting device cuts out the target video segments with the corresponding number and the corresponding duration from the target video according to the determined number of the target video segments and the duration of each target video segment of the target video.
Corresponding to the above example, the video clipping apparatus may clip a target video segment having a duration of 1.5 seconds and a target video segment having a duration of 1 second from the target video No. one. And in the same way, the clipping of the second target video can be finished.
In the above description, after the number of the target video segments corresponding to the target video and the duration of each target video segment of the target video are determined, the target video is clipped based on the number of the target video segments corresponding to the target video and the duration of each target video segment of the target video.
In the embodiment of the present invention, the following method may be adopted to determine the number of target video segments corresponding to the target video and the time length of each target video segment of the target video.
For ease of understanding, specific examples are used for illustration. For example, the number of videos to be clipped is 2, and for convenience of description, the videos to be clipped are named as a first target video and a second target video, and the video clipping device needs to clip 6 target video segments from the videos to be clipped, which are obtained based on the video script information. The target video segments are named as a first target video segment, a second target video segment, … …, and a sixth target video segment, respectively. Suppose that the duration of the first target video segment is 1 second, the duration of the second target video segment is 1.5 seconds, the duration of the third target video segment is 1 second, the duration of the fourth target video segment is 1.5 seconds, the duration of the fifth target video segment is 1 second, and the duration of the sixth target video segment is 2 seconds.
It should be noted that, if the video clipping apparatus acquires 2 target videos, specifically, which section is to be regarded as the first target video and which section is to be regarded as the second target video, the sections may be randomly determined by the video clipping software, or may be determined by the user operating the video clipping apparatus.
For convenience of description, if the first target video segment and the third target video segment need to be cut out from the first target video, it can be referred to as allocating the first target video segment and the third target video segment to the first target video. In this way, it can be determined that the first target video needs to clip 2 target video segments, and the duration of each target video segment is 1 second.
In the first method, the video clipping device can distribute the target video segments to the video to be clipped according to the alternate distribution rule.
For example, a first target video segment, a third target video segment, and a fifth target video segment are assigned to the first target video, and a second target video segment, a fourth target video segment, and a sixth target video segment are assigned to the second target video.
In the second method, the video clipping device can randomly allocate the target video segments.
For example, the first target video segment may be randomly allocated to the first target video, and may also be randomly allocated to the second target video, and similarly, the allocation of other target video segments may be completed.
Further, in the process of random allocation, the duration of the target video segment and the duration of the video to be edited may also be considered. If the duration of a first target video in a video to be edited is 10 seconds, and the duration of a second target video is 8 seconds, in the distribution process, because the duration of the first target video is longer than the duration of the second target video, a target video segment can be randomly distributed to the first target video, then the result of subtracting the duration of the target video segment distributed to the first target video from the duration of the first target video is taken as the duration of a new first target video and then compared with the duration of the second target video, if the duration of the second target video is longer, a target video segment is distributed to the second target video, and if the duration of the second target video is the same, a target video segment is randomly selected and distributed to the target video. Until the distribution of all target video segments is completed.
And thirdly, the video editing device can allocate the target video segments after considering the duration of the target video. For example, the allocation may be in proportion to the duration of the video to be clipped.
For example, if the duration of the first target video is 10 seconds and the duration of the second target video is 5 seconds, the duration of the first target video is: the duration of the second target video is 2: 1, since 6 target video segments need to be cut out in total, 4 target video segments can be cut out from the first target video and 2 target video segments can be cut out from the second target video.
For example, if the number of videos to be clipped is 3, the time lengths of the first target video and the second target video are both 10 seconds, the time length of the third target video is 2 seconds, the number of target video segments is 10, and the time length of the first video: duration of the second video: if the duration of the third video is 5:5:1, 4.545, 4.545, and 0.91 target video clips can be obtained from the first target video, the second target video, and the third target video, respectively.
The above target number of video segments may be first divided into an integer part and a fractional part, for example, the first target number of video segments is 4.55, and may be divided into 4 and 0.55. The initial distribution can be performed by using an integer part, and in this example, 4, and 0 target video segments can be respectively cut out from the first target video, the second target video, and the third target video. And then sorting the decimal part, if the decimal part is equal, randomly generating a sequence, and then carrying out secondary distribution according to the sequence. In this example, 0.91 is greater than 0.545, 1 more target video segment can be obtained from the third target video. Since the corresponding fractional parts of the first target video and the second target video are the same, the video editing device can randomly perform sorting, for example, if the fractional part of the first target video is arranged in front, 1 more target video segment can be obtained from the first target video. Then 5 target video segments, 4 target video segments and 1 target video segment are required to be obtained from the first target video, the second target video and the third target video.
In particular embodiments, at least 1 target video segment may be assigned to each target video, which may prevent user-uploaded video material from not being edited into the final video composition.
The third method may determine several target video segments to be cut out from each target video, and then determine which target video segments the target video segments to be cut out from each target video are specifically, according to the following method, so as to determine the duration of the target video segments to be cut out.
In embodiments of the present invention, a random method may be employed for the determination. For example, the video clipping device generates a random number to determine that the target video segment to be clipped from the first target video is the third target video segment, and if the generated random number is 3, the target video segment to be clipped from the first target video is the third target video segment. Similarly, the numbers of all target video segments in the first video can be determined, and then which target video segments need to be cut out from the second video and the third video can be determined.
In the embodiment of the present invention, which target video segments are can also be determined according to a certain alternating rule. For example, 5, 4, 1 target video clips can be obtained from the first target video, the second target video, and the third target video, respectively. Then, according to this alternative method, it can be further found that a fourth target video segment, a sixth target video segment, an eighth target video segment, and a tenth target video segment can be obtained from the first video, and a fifth target video segment, a seventh target video segment, and a ninth target video segment can be obtained from the second video.
After the target video segments are distributed, namely after the number of the target video segments corresponding to the target video and the time length of each target video segment of the target video are determined, the sum of the time lengths of each target video segment of the target video can be determined, and the time length of the target video is obtained; the sum of the duration of the target video and the duration of each target video segment of the target video may then be compared, and then the target video may be cropped separately as follows.
The method I comprises the step of carrying out jumping clipping on a target video.
In the embodiment of the present invention, when the duration of the target video is greater than the sum of the durations of the target video segments of the target video, the target video may be clipped based on the number of the target video segments corresponding to the target video and the durations of the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval.
In one embodiment of the invention, the time interval between two adjacent target video segments may be the same. The same interval duration may be calculated by (duration of the target video-sum of durations of respective target video segments of the target video)/(the number of target video segments-1). Then, the target video may be clipped based on the number of target video segments corresponding to the target video, the duration of each target video segment of the target video, and the time interval.
Specifically, the target video may be clipped according to the same interval duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
It should be noted that the time interval between two adjacent target video segments may also be different. For example, an interval duration may be randomly generated for any two adjacent target video segments, and the sum of all the interval durations may be smaller than or equal to the difference between the duration of the target video and the sum of the durations of the target video segments of the target video.
Referring to fig. 2, for example, a first target video segment 201, a third target video segment 202 and a fifth target video segment 203 need to be cut out from a first target video 200. It is assumed that the duration of the first target video 200 is 8 seconds, the duration of the first target video segment 201 is 2 seconds, the duration of the third target video segment 202 is 1 second, and the duration of the fifth target video segment 203 is 1 second. Then, the duration of the corresponding first target video 200 is 8 seconds, the sum of the durations of the target video segments of the first target video 200 is 4 seconds, and the number of the target video segments corresponding to the first target video 200 is 3, so that the interval duration 204 is 2 seconds. Further, it can be concluded that the first target video segment 201 corresponds to an interval of 0-2 seconds on the first target video 200, then a2 second interval duration 204 is inserted, the third target video segment 202 corresponds to an interval of 4-5 seconds on the first target video 200, then a2 second interval duration 204 is inserted, and the fifth target video segment 203 corresponds to an interval of 7-8 seconds on the first target video 200.
In the process of continuously cropping the first target video 200, the cropping may be performed in the order of the first target video segment 201, the third target video segment 202, and the fifth target video segment 203, or may be performed in another arrangement order. In addition, the editing of other target videos according to the method is not repeated.
Therefore, jump shearing can be realized by setting a certain interval duration between video clips, the rhythm of the video is accelerated by the jump shearing, a tension feeling is provided for audiences, and the infectivity of the video works can be improved.
And secondly, performing overlapping cutting on the target video.
In the embodiment of the present invention, when the duration of the target video is less than or equal to the sum of the durations of the target video segments of the target video, the target video may be clipped based on the number of the target video segments corresponding to the target video and the durations of the target video segments of the target video, so that two adjacent target video segments obtained from the target video have overlapping time.
In one embodiment of the invention, the overlap time between two adjacent target video segments may be the same. The same overlap duration may be calculated by (sum of durations of respective target video segments of the target video-duration of the target video)/(number of target video segments-1). Then, the target video can be clipped based on the number of target video clips corresponding to the target video, the duration of each target video clip of the target video, and the overlapping duration.
Specifically, the cropping method may be that the target video is cropped with the same overlapping duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
It should be noted that the length of the overlap between two adjacent target video segments may also be different. For example, an overlap duration may be randomly generated for any two adjacent target video segments, and the sum of all the overlap durations may be greater than or equal to the difference between the sum of the durations of the respective target video segments of the target video and the duration of the target video.
Referring to fig. 3, for example, a first target video segment 301, a third target video segment 302 and a fifth target video segment 303 need to be cut out from a first target video 300. It is assumed that the duration of the first target video 300 is 3 seconds, the duration of the first target video segment 301 is 2 seconds, the duration of the third target video segment 302 is 1 second, and the duration of the fifth target video segment 303 is 1 second. Then, the duration of the corresponding first target video 300 is 3 seconds, the sum of the durations of the target video segments of the first target video 300 is 4 seconds, and the number of the target video segments corresponding to the first target video 300 is 3, so that the interval duration 304 is 0.5 seconds. Further, it can be concluded that the first target video segment 301 corresponds to an interval of 0-2 seconds on the first target video 300, then the third target video segment 302 has an overlap duration 304 of 0.5 seconds with the first target video segment 301, the third target video segment 302 corresponds to an interval of 1.5-2.5 seconds on the first target video 300, then the fifth target video segment 303 has an overlap duration 304 of 0.5 seconds with the third target video segment 302, and the fifth target video segment 303 corresponds to an interval of 2-3 seconds on the first target video 300.
In the process of continuously cropping the first target video 300, the cropping may be performed in the order of the first target video clip 301, the third target video clip 302, and the fifth target video clip 303, or may be performed in another arrangement order. In addition, the editing of other target videos according to the method is not repeated.
And thirdly, continuously cutting the target video.
In the embodiment of the present invention, when the duration of the target video is greater than or equal to the sum of the durations of the target video segments of the target video, the target video may be continuously cropped based on the number of the target video segments corresponding to the target video and the durations of the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time.
Referring to fig. 4, for example, a first target video segment 401, a third target video segment 402 and a fifth target video segment 403 need to be cut out from a first target video 400. It is assumed that the duration of the first target video 400 is 8 seconds, the duration of the first target video segment 401 is 2 seconds, the duration of the third target video segment 402 is 1 second, and the duration of the fifth target video segment 403 is 1 second. Then, the duration of the corresponding first target video 400 is 8 seconds, and the sum of the durations of the target video segments of the first target video 400 is 4 seconds.
A starting point may be generated in the first target video, and used as the starting point 4011 of the first target video segment, so that the sum of the time lengths of the starting point 4011 of the first target video segment and the starting point 4001 of the first target video segment and the time lengths of all target video segments is not greater than the time length of the first target video 400.
For the above example, the starting point 4011 of the first target video segment may be located in the interval of 0-4 seconds in the first target video. Assuming that the starting point of the first target video segment 4011 is located at 2 seconds, the first target video segment 401 corresponds to an interval of 2-4 seconds on the first target video 400, followed by cropping the third target video segment 402, the third target video segment 402 corresponding to an interval of 4-5 seconds on the first target video 400, followed by cropping the fifth target video segment 403, the fifth target video segment 403 corresponding to an interval of 5-6 seconds on the first target video 400.
In the process of continuously cropping the first target video 400, the cropping may be performed in the order of the first target video clip 401, the third target video clip 402, and the fifth target video clip 403, or may be performed in another arrangement order. In addition, the editing of other target videos according to the method is not repeated.
In an embodiment of the present invention, a video to be clipped may be clipped based on video script information to obtain a plurality of target video segments. Therefore, the cutting operation is simpler and more convenient, and the cutting efficiency is higher. In addition, the video script information can be obtained based on the rhythm point of the background music, after the video editing device obtains the video script information corresponding to the background music, the video to be edited can be cut based on the video script information to obtain video segments corresponding to the number of scenes and the duration of each scene, the obtained video segments are spliced into a continuous video, and when the continuous video is played, the background music is played simultaneously, so that the switching of the video segments can be matched with the rhythm point of the background music, and the watching experience of a viewer can be improved.
Step 140, the target video segments are spliced into a continuous video.
In the embodiment of the present invention, a plurality of target video segments may be obtained in step 130, the target video segments may be arranged according to a random method, and the obtained target video segments are spliced into a continuous video according to an end-to-end method according to the arrangement order.
In the embodiment of the invention, in the process of video splicing, the switching point of the target video segment in the spliced continuous video can be matched with the rhythm point of the background music. The target video segment switching point may be an end point of the target video segment.
For example, the total duration of a piece of background music is 5 seconds, and the rhythm points of the background music are located at 1.5 seconds, 2 seconds, and 3 seconds, respectively. According to step 110, the video script information can be obtained as the number of scenes is 4, the duration of the first scene is 1.5 seconds, the duration of the second scene is 0.5 seconds, the duration of the third scene is 1 second, and the duration of the fourth scene is 2 seconds. According to the method described in step 130, 4 target video segments can be cut out, the duration of the corresponding first target video segment is 1.5 seconds, the duration of the corresponding second target video segment is 0.5 seconds, the duration of the corresponding third target video segment is 1 second, and the duration of the corresponding fourth target video segment is 2 seconds. Then in step 140, the first target video segment, the second target video segment, the third target video segment, and the fourth target video segment may be spliced end to end. In the process of playing the continuous video, firstly, the content of a first target video segment is played, when the playing of the first target video segment is finished, a rhythm point located at 1.5 seconds is sounded, and the playing is switched to a second target video segment, when the playing of the second target video segment is finished, a rhythm point located at 2 seconds is sounded until the playing of a fourth target video segment is finished.
It should be noted that, if there are 2 or more target video segments with the same duration in the target video segment obtained in step 130, the positions of the target video segments can be changed during the splicing process. For example, the total duration of a piece of background music is 8 seconds, and the rhythm points of the background music are located at 2 seconds, 3 seconds, and 5 seconds, respectively. If the duration of the first target video clip is 2 seconds, the duration of the second target video clip is 1 second, the duration of the third target video clip is 2 seconds, and the duration of the fourth target video clip is 3 seconds. The video splicing order may be a first target video segment, a second target video segment, a third target video segment, and a fourth target video segment; the video clip may be a third target video clip, a second target video clip, a first target video clip, or a fourth target video clip.
Therefore, in the process of playing the continuous video, the switching of the target video clips is matched with the rhythm points of the background music, and the watching experience of the continuous video is improved.
In the embodiment of the present invention, the number of videos to be clipped may be at least two, when the number of videos to be clipped is at least two, each target video of the at least two videos may be clipped, a plurality of target video segments may be obtained, and the plurality of target video segments from the at least two target videos may be spliced into one continuous video.
The method for splicing the plurality of target video segments from the at least two videos into one continuous video may be that, during the splicing, two adjacent target video segments in the continuous video may be from different videos of the at least two target videos.
For example, in step 130, the target video segments may be allocated to the videos to be edited according to an alternate allocation rule, the target videos in the videos to be edited may be respectively cropped according to a skip-cropping method, and the target video segments cropped from the first target video and the second target video may be spliced according to an alternate order.
For example, the video editing device acquires 2 target videos, which are respectively a first target video and a second target video, the number of the target video segments is 6, the first target video segment, the third target video segment and the fifth target video segment can be allocated to the first target video, the second target video segment, the fourth target video segment and the sixth target video segment can be allocated to the second target video, and after the cutting is completed, the target video segments cut out from the first target video and the second target video can be spliced in an alternating order.
Referring to fig. 5, a plurality of target video clips may be spliced in the order of a first target video clip 5011, a second target video clip 5021, a third target video clip 5012, a fourth target video clip 5022, a fifth target video clip 5013, and a sixth target video clip 5023, so that two adjacent target video clips in a continuous video segment obtained by splicing may be from different videos in the at least two videos.
It should be noted that, the target video segments are allocated to the video to be edited by a random allocation method, and it is also easy to implement that, in the finally spliced continuous video, two adjacent target video segments do not come from the same video of the at least two videos. And will not be described in detail herein.
Therefore, in the process of playing the continuous videos, when the target video segments are switched, the adjacent target video segments come from different videos to be cut, and the visual impact effect of the continuous videos on the viewer is more obvious.
After the continuous video is obtained, the background music can be matched with the continuous video, so that the background music can be played simultaneously when the continuous video is played, and the switching of the target video clip can be matched with the rhythm point of the background music. For example, background music may be synthesized with the continuous video, and the background music may be made the background music of the continuous video.
In the embodiment of the invention, by a video clipping method, after video script information and at least one video to be clipped are obtained, the video to be clipped is clipped based on the video script information to obtain a plurality of target video segments, and the plurality of target video segments are spliced into a continuous video. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information only after acquiring the video to be clipped and the video script information, thereby obtaining the video works, and the invention has simple operation and higher efficiency.
The method of video clipping in the present invention will be described below by taking a video clipping device as an example of a smart phone (hereinafter, referred to as a mobile phone) in which a video clipping application program corresponding to the present invention is installed. The method for editing video according to the present invention is used to make alternate fast-cut video.
The alternate fast-cutting is used as a special video editing method and is widely applied to video works such as movies, network dramas, short videos and the like. Alternate fast cut video refers to alternately splicing two or even more sets of video in parallel. For example, a segment of continuous video obtained by sequentially cropping a1, a2, a3 target video segment and B1, B2, B3 target video segment from the target video a and the target video B and splicing the target video segments end to end in the order of a1, B1, a2, B2, a3, B3 may be referred to as alternate fast-cut video.
FIG. 6 is a flow chart of another method for video clipping provided by an embodiment of the present invention. Referring to fig. 6, a method for video clipping provided by an embodiment of the present invention may include:
step 601, obtaining background music, and determining video script information based on the rhythm point of the background music.
In the embodiment of the invention, the mobile phone can provide a background music library, music in the background music library is selected by a user, and the music selected by the user can be used as background music corresponding to the video works obtained by cutting.
In the embodiment of the invention, some music with stronger rhythm sense or suitable for being used as video background music can be screened, and the screened music can be made into a background music library for the user to select. Thus, the rhythm point of the background music can be acquired in advance, and the rhythm point of the background music can be stored in the video clipping device. After the user selects the background music, the video editing apparatus can immediately acquire the background music and the rhythm point of the background music.
In an embodiment of the present invention, the video script information may include a scene number, and a duration of each scene. After obtaining the rhythm point of the background music, the video script information may be determined based on the rhythm point information as follows. The background music may be divided into pieces in time based on a rhythm point of the background music to form a plurality of pieces of music; the music pieces can be numbered according to the chronological sequence of the music pieces, the duration of each numbered music piece is obtained, and the number of the music pieces is obtained. Correspondingly, the number of scenes matched with the music and the duration of each scene can be obtained, and the scenes are numbered according to the corresponding relation.
The division of the background music in time based on the rhythm point of the background music refers to that the rhythm point is used as a division point of the background music, the background music is divided into different time periods, and the division does not refer to that the music is divided into small segments and small segments on data. For example, the total duration of a piece of background music is 5 seconds, the rhythm points of the background music are respectively located at 1.5 seconds, 2 seconds and 3 seconds, and the temporally dividing of the background music means that the background music is divided into 4 time periods of 0-1.5 seconds, 1.5-2 seconds, 2-3 seconds and 3-5 seconds.
For the above example, music pieces of 0-1.5 seconds are numbered as number 1 and are denoted as first music pieces; numbering the music pieces of 1.5-2 seconds as No. 2, and recording as a second music piece; music pieces of 2 to 3 seconds are numbered as the third music piece, and music pieces of 3 to 5 seconds are numbered as the fourth music piece. Obviously, the number of scenes matched with the music is 4, the duration of each scene is 1.5 seconds, 0.5 second, 1 second and 2 seconds in sequence, numbering is carried out according to the corresponding relation, and the scene with the duration of 1.5 seconds is numbered as No. 1 and is marked as a first scene; the scene with the time length of 0.5 second is numbered as the second scene, the scene with the time length of 1 second is numbered as the 3 th scene, the scene with the time length of 2 seconds is numbered as the third scene, and the scene with the time length of 2 seconds is numbered as the 4 th scene.
In the following description, the description of the number is omitted, and for example, a scene is referred to as a first scene, that is, the number indicating the scene is 1. For the above example, correspondingly, the video script information may be described that the first scene duration is 1.5 seconds, the second scene duration is 0.5 seconds, the third scene duration is 1 second, the fourth scene duration is 2 seconds, and the number of scenes is 4.
Step 602, at least two videos to be clipped are obtained.
In the embodiment of the present invention, for example, the mobile phone may provide 5 to-be-clipped video upload windows, and a user may select a video in the local folder of the mobile phone as a to-be-clipped video by clicking the window and upload the video to the corresponding to-be-clipped video upload window, or may call a camera of the smart phone, and after acquiring the video through the camera, upload the video to the corresponding to-be-clipped video upload window.
When the number of the videos to be edited uploaded by the user is larger than or equal to 2 sections, the user can send a confirmation instruction, and after receiving the confirmation instruction, the mobile phone acquires the videos to be edited uploaded by the user.
After the mobile phone acquires the video to be edited uploaded by the user, the acquired video to be edited can be processed into a uniform format. For example, the video to be edited may be processed into a format with a definition of 720P, a frame frequency of 30 frames per second, and a video aspect ratio of 9: 16. Therefore, the videos to be cut in different formats can be converted into the same format, the formats of the target video segments cut from the videos to be cut can be kept consistent, and the playing effect of continuous videos obtained by splicing the target video segments is improved.
It should be noted that step 201 and step 202 do not have a definite sequence, and the mobile phone may obtain the video script information first and then obtain at least two videos to be edited; or acquiring at least two videos to be edited first and then acquiring the video script information.
Step 603, determining target video segments needing to be cut out from each video to be cut according to an alternative distribution method based on the video script information, and respectively cutting out each video to be cut to obtain a plurality of target video segments.
In the embodiment of the invention, after the video script information is acquired, the number of the target video segments to be cut from the acquired video to be cut and the duration of each target video segment can be determined according to the video script information, and each target video segment can be numbered according to the corresponding relation.
For example, the obtained video script information includes a first scene duration of 1.5 seconds, a second scene duration of 0.5 seconds, a third scene duration of 1 second, a fourth scene duration of 2 seconds, and 4 scenes. Correspondingly, the duration of the first target video segment may be determined to be 1.5 seconds, the duration of the second target video segment may be determined to be 0.5 seconds, the duration of the third target video segment may be 1 second, the duration of the fourth target video segment may be 2 seconds, and the number of target video segments may be 4. It should be noted that, in the above description, the description of numbering the respective target video segments is also omitted.
In the embodiment of the present invention, the method for alternately allocating may specifically refer to alternately allocating each target video segment to each video to be edited. The target video segments are distributed to the videos to be clipped, which means that the target video segments distributed to a certain video to be clipped can be obtained by clipping from the video to be clipped. For example, the number of videos to be clipped is 2, and the videos to be clipped are named as a first target video and a second target video, respectively. And distributing the first target video segment to the first target video, wherein the first target video segment can be obtained by cutting from the first target video.
Corresponding to the above example, if the mobile phone is derived based on the video script information, 6 target video segments need to be cut out from the video to be cut. The mobile phone can allocate the first target video segment, the third target video segment and the fifth target video segment to the first target video and can allocate the second target video segment, the fourth target video segment and the sixth target video segment to the second target video according to an alternate allocation method.
After each target video segment is distributed to each video to be clipped according to an alternative distribution method, the target video segment needing to be clipped from each video to be clipped can be determined, and the following method can be adopted to respectively clip each video to be clipped.
For convenience of description, the obtained video to be clipped may be referred to as a target video, for example, if 2 segments of the video to be clipped are obtained, the obtained video to be clipped may be respectively recorded as a first target video and a second target video. It should be noted that, the mobile phone obtains 2 segments of videos to be edited, specifically, which segment is taken as the first target video, and which segment is taken as the second target video, which can be randomly determined by the mobile phone, or can be determined by the user operating the mobile phone.
In the embodiment of the present invention, the number of target video segments corresponding to the target video and the duration of each target video segment of the target video may be determined, then the sum of the durations of each target video segment of the target video is determined, the duration of the target video is obtained, and then the sum of the durations of each target video segment of the target video and the duration of the target video are compared.
If the total duration of each target video segment of the target video is greater than the total duration of each target video segment of the target video, the target video can be clipped at the same interval duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
In one embodiment of the present invention, the same interval duration may be calculated by (the duration of the target video-the sum of the durations of the target video segments of the target video)/(the number of target video segments-1).
For example, a first target video segment (assumed to have a duration of 2 seconds), a third target video segment (assumed to have a duration of 1 second), and a fifth target video segment (assumed to have a duration of 1 second) need to be cut out from a first target video (assumed to have a duration of 8 seconds). Then, the duration of the corresponding first target video is 8 seconds, the sum of the durations of the target video segments of the first target video is 4 seconds, and the number of the target video segments corresponding to the first target video is 3, so that the interval duration is 2 seconds. Furthermore, it can be concluded that the first target video segment corresponds to an interval of 0-2 seconds on the first target video, then an interval duration of 2 seconds is inserted, the third target video segment corresponds to an interval of 4-5 seconds on the first target video, then an interval duration of 2 seconds is inserted, and the fifth target video segment corresponds to an interval of 7-8 seconds on the first target video.
If the total duration of each target video segment of the target video is less than the total duration of each target video segment of the target video, the target video can be clipped with the same overlapping duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
In one embodiment of the present invention, the overlap duration may be calculated by (sum of durations of respective target video segments of the target video-duration of the target video)/(number of target video segments-1).
For example, a first target video segment (assumed to have a duration of 2 seconds), a third target video segment (assumed to have a duration of 1 second), and a fifth target video segment (assumed to have a duration of 1 second) need to be cut out from a first target video (assumed to have a duration of 3 seconds). Then, the duration of the corresponding first target video is 3 seconds, the sum of the durations of the target video segments of the first target video is 4 seconds, and the number of the target video segments corresponding to the first target video is 3, so that the interval duration is 0.5 seconds. Further, it can be concluded that the first target video segment corresponds to an interval of 0-2 seconds on the first target video, then the third target video overlaps the first target video for 0.5 seconds, the third target video segment corresponds to an interval of 1.5-2.5 seconds on the first target video, then the fifth target video overlaps the third target video for 0.5 seconds, and the fifth target video segment corresponds to an interval of 2-3 seconds on the first target video.
If the total duration of each target video segment of the target video is equal to the total duration of each target video segment of the target video, the target video may be continuously cropped based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, so that two adjacent target video segments obtained from the target video are continuous in time.
For example, a first target video segment (assumed to have a duration of 2 seconds), a third target video segment (assumed to have a duration of 1 second), and a fifth target video segment (assumed to have a duration of 1 second) need to be cut out from a first target video (assumed to have a duration of 4 seconds). Then, the duration of the corresponding first target video is 4 seconds, and the sum of the durations of the target video segments of the first target video is 4 seconds. Further, it can be derived that the first target video segment corresponds to an interval of 0-2 seconds on the first target video, the third target video segment corresponds to an interval of 2-3 seconds on the first target video, and the fifth target video segment corresponds to an interval of 3-4 seconds on the first target video.
Step 604, splicing the target video segments into an alternate fast-cut video.
In the embodiment of the present invention, the target video segments obtained in step 603 may be spliced end to end in the order of numbering to obtain an alternate fast-cut video.
For example, the mobile phone obtains 2 segments of videos to be edited, which are respectively recorded as a first target video and a second target video, the video script information obtained by the mobile phone is that the number of scenes is 6, the duration of the first scene is 2 seconds, the duration of the second scene is 1 second, the duration of the third scene is 1 second, the duration of the fourth scene is 1 second, the duration of the fifth scene is 1 second, and the duration of the sixth scene is 2 seconds. 6 target video clips can be cut out according to the step 603, and correspondingly, the time length of the first target video clip is 2 seconds, the time length of the second target video clip is 1 second, the time length of the third target video clip is 1 second, the time length of the fourth target video clip is 1 second, the time length of the fifth target video clip is 1 second, and the time length of the sixth target video clip is 2 seconds. The plurality of target video segments obtained by cutting can be spliced according to the sequence of the first target video segment, the second target video segment, the third target video segment, the fourth target video segment, the fifth target video segment and the sixth target video segment, so that an alternate fast-cutting video can be obtained.
In the embodiment of the invention, after the alternate fast-cut video is obtained, the background music and the alternate fast-cut video can be matched, so that the background music can be played simultaneously when the alternate fast-cut video is played, and the switching of the target video clip can be matched with the rhythm point of the background music. For example, background music may be synthesized with the alternate fast-cut video, and the background music may be made the background music of the alternate fast-cut video.
In the embodiment of the invention, by a video clipping method, after video script information and at least two videos to be clipped are obtained, the videos to be clipped are clipped based on the video script information to obtain a plurality of target video segments, and the target video segments are spliced into an alternate fast-cutting video. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information only after acquiring the video to be clipped and the video script information, and obtain the alternate fast-cutting video, so that the time consumption of the video clipping process is less, and the efficiency is higher.
Fig. 7 is a schematic diagram of a video editing apparatus according to an embodiment of the present invention. Referring to fig. 7, a video clip apparatus 700 according to an embodiment of the present invention may include:
a first obtaining module 701, configured to obtain video script information, where the video script information includes a number of scenes and a duration of each scene;
a second obtaining module 702, configured to obtain at least one video to be clipped;
a cropping module 703, configured to crop the at least one video acquired by the second acquiring module 702 based on the video script information acquired by the first acquiring module 701 to obtain a plurality of target video segments, so that the number of the plurality of target video segments matches the number of the scenes, and the duration of each target video segment in the plurality of target video segments matches the duration of each scene;
a splicing module 704, configured to splice the multiple target video segments obtained by being cropped by the cropping module 703 into a continuous video.
Optionally, in an embodiment of the present invention, when acquiring video script information, the first acquiring module 701 is specifically configured to: acquiring background music; determining video script information based on the rhythm points of the background music; wherein, a target video clip switching point is arranged between two adjacent target video clips in the continuous video; when the target video segments are spliced into a continuous video, the splicing module 704 is specifically configured to: splicing the target video clips into a continuous video, so that the switching point of the target video clips when the continuous video is played is matched with the rhythm point of the background music.
Optionally, in an embodiment of the present invention, when determining video script information based on the rhythm point of the background music, the first obtaining module 701 is specifically configured to: temporally dividing the background music based on the rhythm point of the background music to form a plurality of pieces of music; determining the number of the plurality of pieces of music formed as the number of scenes; and determining the duration of each of the plurality of musical pieces as the duration of each scene.
Optionally, in an embodiment of the present invention, when the number of the at least one video is at least two, and when the at least one video is cropped based on the video script information to obtain a plurality of target video segments, the cropping module 703 is specifically configured to: for each target video of the at least two videos, performing the following operations: determining the number of target video clips corresponding to the target video and the duration of each target video clip of the target video; based on the number of target video clips corresponding to the target video and the duration of each target video clip of the target video, cutting the target video; when the target video segments are spliced into a continuous video, the splicing module 704 is specifically configured to: stitching the plurality of target video segments from the at least two videos into one continuous video.
Optionally, in an embodiment of the present invention, when the target video segments from the at least two videos are spliced into a continuous video, the splicing module 704 is specifically configured to: stitching the plurality of target video segments from the at least two videos into one continuous video such that two adjacent target video segments in the continuous video are from different videos of the at least two videos.
Optionally, in an embodiment of the present invention, after determining the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, the cropping module 703 is further configured to: determining the sum of the time lengths of all target video fragments of the target video; acquiring the duration of the target video; when the target video is clipped based on the number of target video clips corresponding to the target video and the duration of each target video clip of the target video, the clipping module 703 is specifically configured to:
when the duration of the target video is greater than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval;
when the duration of the target video is less than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are mutually overlapped in time;
when the duration of the target video is equal to the sum of the durations of all target video segments of the target video, the target video is cut based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time or overlapped with each other.
Optionally, in an embodiment of the present invention, when the duration of the target video is greater than the sum of the durations of the target video segments of the target video, the cropping module 703 is further configured to: determining an interval duration between two adjacent target video segments of the target video, wherein the interval duration is (the duration of the target video-the sum of the durations of the target video segments of the target video)/(the number of target video segments-1);
when the target video is clipped based on the number of target video clips corresponding to the target video and the duration of each target video clip of the target video, the clipping module 703 is specifically configured to: and based on the number of target video segments corresponding to the target video and the time length of each target video segment of the target video, cutting the target video with the same interval time length.
In the embodiment of the invention, after the video script information and at least one video to be clipped are obtained by the video clipping device, the video to be clipped is clipped based on the video script information to obtain a plurality of target video segments, and the plurality of target video segments are spliced into a continuous video. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information to obtain the video works only after acquiring the video to be clipped and the video script information, so that the time consumption of the video clipping process is less and the efficiency is higher.
An embodiment of the present application further provides a video editing device, and fig. 8 is a schematic structural diagram of the video editing device provided in the embodiment of the present application. As shown in FIG. 8, video clip devices may vary widely in configuration or performance and may include one or more processors 801 and memory 802, where one or more stored applications or data may be stored in memory 802. Wherein the memory 802 may be a transient storage or a persistent storage. The application program stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a video clip device. Still further, processor 801 may be configured to communicate with memory 802 to execute a series of computer-executable instructions in memory 802 on a video clip device. The video clip apparatus may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input-output interfaces 805, one or more keyboards 806, and the like.
In a particular embodiment, a video clip device includes a memory, a processor, and computer-executable instructions stored on the memory and executable on the processor that, when executed by the processor, implement the following:
acquiring video script information, wherein the video script information comprises the number of scenes and the duration of each scene;
acquiring at least one video to be edited;
based on the video script information, cutting the at least one video to obtain a plurality of target video segments, so that the number of the plurality of target video segments is matched with the number of the scenes, and the duration of each target video segment in the plurality of target video segments is matched with the duration of each scene;
and splicing the target video segments into a continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement the following procedures to obtain background music; determining video script information based on the rhythm points of the background music; wherein, a target video segment switching point is arranged between two adjacent target video segments in the continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of splicing the plurality of target video segments into one continuous video, so that the target video segment switching point of the continuous video when played matches the rhythm point of the background music.
Optionally, the computer executable instructions, when executed by the processor, implement a process of temporally dividing the background music based on a tempo point of the background music to form a plurality of pieces of music; determining the number of the plurality of pieces of music formed as the number of scenes; and determining the duration of each of the plurality of musical pieces as the duration of each scene.
Optionally, the computer executable instructions when executed by the processor implement the following process, for each target video of the at least two videos, performing the following operations: determining the number of target video clips corresponding to the target video and the duration of each target video clip of the target video; and cutting the target video based on the number of target video fragments corresponding to the target video and the duration of each target video fragment of the target video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of stitching the plurality of target video segments from the at least two videos into one continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of stitching the plurality of target video segments from the at least two videos into one continuous video, such that two adjacent target video segments in the continuous video are from different videos in the at least two videos.
Optionally, the computer executable instructions, when executed by the processor, implement a process of determining a sum of time lengths of respective target video segments of the target video; and acquiring the duration of the target video.
Optionally, when the duration of the target video is greater than the sum of the durations of the target video segments of the target video, the computer-executable instructions implement a process of cropping the target video based on the number of target video segments corresponding to the target video and the durations of the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval;
when the duration of the target video is less than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are mutually overlapped in time;
when the duration of the target video is equal to the sum of the durations of all target video segments of the target video, the target video is cut based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time or overlapped with each other.
Optionally, the computer executable instructions, when executed by the processor, implement a process of determining an interval duration between two adjacent target video segments of the target video, wherein the interval duration is (the duration of the target video-the sum of the durations of the target video segments of the target video)/(the number of target video segments-1).
Optionally, when executed by the processor, the computer-executable instructions implement a procedure of cropping the target video with the same interval duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
In the embodiment of the invention, after the processor in the video clipping device executes the computer executable instruction, and the video to be clipped is clipped to obtain a plurality of target video segments based on the video script information after the video script information and at least one video to be clipped are obtained, and the plurality of target video segments are spliced into a continuous video. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information to obtain the video works only after acquiring the video to be clipped and the video script information, so that the time consumption of the video clipping process is less and the efficiency is higher.
Further, an embodiment of the present application also provides a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the following process:
acquiring video script information, wherein the video script information comprises the number of scenes and the duration of each scene;
acquiring at least one video to be edited;
based on the video script information, cutting the at least one video to obtain a plurality of target video segments, so that the number of the plurality of target video segments is matched with the number of the scenes, and the duration of each target video segment in the plurality of target video segments is matched with the duration of each scene;
and splicing the target video segments into a continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement the following procedures to obtain background music; determining video script information based on the rhythm points of the background music; wherein, a target video segment switching point is arranged between two adjacent target video segments in the continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of splicing the plurality of target video segments into one continuous video, so that the target video segment switching point of the continuous video when played matches the rhythm point of the background music.
Optionally, the computer executable instructions, when executed by a processor, implement a process of temporally dividing the background music based on a tempo point of the background music to form a plurality of pieces of music; determining the number of the plurality of pieces of music formed as the number of scenes; and determining the duration of each of the plurality of musical pieces as the duration of each scene.
Optionally, the computer executable instructions when executed by the processor implement the following process, for each target video of the at least two videos, performing the following operations: determining the number of target video clips corresponding to the target video and the duration of each target video clip of the target video; and cutting the target video based on the number of target video fragments corresponding to the target video and the duration of each target video fragment of the target video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of stitching the plurality of target video segments from the at least two videos into one continuous video.
Optionally, the computer executable instructions, when executed by the processor, implement a process of stitching the plurality of target video segments from the at least two videos into one continuous video, such that two adjacent target video segments in the continuous video are from different videos in the at least two videos.
Optionally, the computer executable instructions, when executed by a processor, implement a process of determining a sum of durations of respective target video segments of the target video; and acquiring the duration of the target video.
Optionally, when the duration of the target video is greater than the sum of the durations of the target video segments of the target video, the computer-executable instructions implement a process of cropping the target video based on the number of target video segments corresponding to the target video and the durations of the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval;
when the duration of the target video is less than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are mutually overlapped in time;
when the duration of the target video is equal to the sum of the durations of all target video segments of the target video, the target video is cut based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time or overlapped with each other.
Optionally, the computer executable instructions, when executed by the processor, implement the process of determining an interval duration between two adjacent target video segments of the target video, wherein the interval duration is (the sum of the duration of the target video and the durations of the target video segments of the target video)/(the number of target video segments-1).
Optionally, the computer executable instructions, when executed by a processor, implement a process of cropping the target video with the same interval duration based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video.
In the embodiment of the invention, after the video script information and at least one video to be clipped are obtained, the video to be clipped is clipped to obtain a plurality of target video segments based on the video script information, and the plurality of target video segments are spliced into a continuous video by executing the computer-readable storage medium in the processor. Therefore, the video clipping device corresponding to the invention can automatically clip the video according to the video script information to obtain the video works only after acquiring the video to be clipped and the video script information, so that the time consumption of the video clipping process is less and the efficiency is higher.

Claims (14)

1. A method of video clipping, the method comprising:
acquiring video script information, wherein the video script information comprises the number of scenes and the duration of each scene;
acquiring at least two videos to be edited; determining the number of target video clips needing to be cut out of the at least two videos based on the number of scenes in the video script information, and determining the number of the target video clips distributed to each of the at least two videos according to the time length proportion of the at least two videos and the number of the target video clips, wherein the number of the target video clips distributed to each of the at least two videos is divided into an integer part and a fractional part, the primary distribution is carried out by using the integer part, and the secondary distribution is carried out by using the fractional part;
cutting the at least two videos to obtain a plurality of target video segments, so that the number of the target video segments is matched with the number of the scenes, and the duration of each target video segment in the target video segments is matched with the duration of each scene;
and splicing the target video segments into a continuous video.
2. The method of video clipping of claim 1,
the acquiring the video script information comprises: acquiring background music; determining video script information based on the rhythm points of the background music;
wherein, a target video clip switching point is arranged between two adjacent target video clips in the continuous video;
the splicing the plurality of target video segments into one continuous video comprises: splicing the target video clips into a continuous video, so that the switching point of the target video clips when the continuous video is played is matched with the rhythm point of the background music.
3. The method of claim 2, wherein determining video script information based on the tempo point of the background music comprises:
temporally dividing the background music based on the rhythm point of the background music to form a plurality of pieces of music;
determining the number of the plurality of pieces of music formed as the number of scenes; and
and determining the duration of each of the plurality of musical pieces as the duration of each scene.
4. The method of video clipping of claim 1,
the cropping the at least two videos to obtain a plurality of target video segments based on the video script information comprises:
for each target video of the at least two videos, performing the following operations:
determining the number of target video clips corresponding to the target video and the duration of each target video clip of the target video;
based on the number of target video clips corresponding to the target video and the duration of each target video clip of the target video, cutting the target video;
the splicing the plurality of target video segments into one continuous video comprises: stitching the plurality of target video segments from the at least two videos into one continuous video.
5. The method of video clipping according to claim 4, wherein said stitching said plurality of target video segments from said at least two videos into one continuous video comprises:
stitching the plurality of target video segments from the at least two videos into one continuous video such that two adjacent target video segments in the continuous video are from different videos of the at least two videos.
6. The method of video clipping according to claim 4, wherein after the determining the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, the method further comprises:
determining the sum of the time lengths of all target video fragments of the target video;
acquiring the duration of the target video;
the cutting the target video based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video comprises:
when the duration of the target video is greater than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval;
when the duration of the target video is less than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are mutually overlapped in time;
when the duration of the target video is equal to the sum of the durations of all target video segments of the target video, the target video is cut based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time or overlapped with each other.
7. The method of video clipping according to claim 6, wherein when the duration of the target video is greater than the sum of the durations of the respective target video segments of the target video, the method further comprises:
determining an interval duration between two adjacent target video segments of the target video, wherein the interval duration is (the duration of the target video-the sum of the durations of the target video segments of the target video)/(the number of target video segments-1);
the cropping the target video based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video comprises: and based on the number of target video segments corresponding to the target video and the time length of each target video segment of the target video, cutting the target video with the same interval time length.
8. An apparatus for video clipping, the apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring video script information, and the video script information comprises the number of scenes and the duration of each scene;
the second acquisition module is used for acquiring at least two videos to be edited;
a cropping module, configured to determine, based on the number of scenes in the video script information acquired by the first acquiring module, the number of target video segments that need to be cropped from the at least two videos, and determine, according to a duration ratio of the at least two videos and the number of the target video segments, the number of target video segments allocated to each of the at least two videos, where the number of target video segments allocated to each of the at least two videos is divided into an integer portion and a fractional portion, where the integer portion is used for performing primary allocation, and the fractional portion is used for performing secondary allocation;
cutting the at least two videos acquired by the second acquisition module to obtain a plurality of target video segments, so that the number of the plurality of target video segments is matched with the number of the scenes, and the duration of each target video segment in the plurality of target video segments is matched with the duration of each scene;
and the splicing module is used for splicing the target video segments obtained by the cutting module into a continuous video.
9. The apparatus of video clipping of claim 8,
when the video script information is obtained, the first obtaining module is specifically configured to: acquiring background music; determining video script information based on the rhythm points of the background music;
wherein, a target video clip switching point is arranged between two adjacent target video clips in the continuous video;
when the target video segments are spliced into a continuous video, the splicing module is specifically configured to: splicing the target video clips into a continuous video, so that the switching point of the target video clips when the continuous video is played is matched with the rhythm point of the background music.
10. The apparatus of claim 9, wherein when determining video script information based on the tempo point of the background music, the first obtaining module is specifically configured to:
temporally dividing the background music based on the rhythm point of the background music to form a plurality of pieces of music;
determining the number of the plurality of pieces of music formed as the number of scenes; and
and determining the duration of each of the plurality of musical pieces as the duration of each scene.
11. The apparatus of video clipping of claim 8,
when the at least two videos are cropped based on the video script information to obtain a plurality of target video segments, the cropping module is specifically configured to:
for each target video of the at least two videos, performing the following operations:
determining the number of target video clips corresponding to the target video and the duration of each target video clip of the target video;
based on the number of target video clips corresponding to the target video and the duration of each target video clip of the target video, cutting the target video;
when the target video segments are spliced into a continuous video, the splicing module is specifically configured to: stitching the plurality of target video segments from the at least two videos into one continuous video.
12. The apparatus for video clipping according to claim 11, wherein when the plurality of target video segments from the at least two videos are spliced into one continuous video, the splicing module is specifically configured to:
stitching the plurality of target video segments from the at least two videos into one continuous video such that two adjacent target video segments in the continuous video are from different videos of the at least two videos.
13. The apparatus of claim 11, wherein after the determining the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, the cropping module is further configured to:
determining the sum of the time lengths of all target video fragments of the target video;
acquiring the duration of the target video;
when the target video is cut based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, the cutting module is specifically configured to:
when the duration of the target video is greater than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video have a time interval;
when the duration of the target video is less than the sum of the durations of all target video segments of the target video, cutting the target video based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are mutually overlapped in time;
when the duration of the target video is equal to the sum of the durations of all target video segments of the target video, the target video is cut based on the number of the target video segments corresponding to the target video and the durations of all the target video segments of the target video, so that two adjacent target video segments obtained from the target video are continuous in time or overlapped with each other.
14. The apparatus of claim 13, wherein when the duration of the target video is greater than the sum of the durations of the target video segments of the target video, the cropping module is further configured to:
determining an interval duration between two adjacent target video segments of the target video, wherein the interval duration is (the duration of the target video-the sum of the durations of the target video segments of the target video)/(the number of target video segments-1);
when the target video is cut based on the number of target video segments corresponding to the target video and the duration of each target video segment of the target video, the cutting module is specifically configured to: and based on the number of target video segments corresponding to the target video and the time length of each target video segment of the target video, cutting the target video with the same interval time length.
CN201811242036.5A 2018-10-24 2018-10-24 Video editing method and device Active CN109168084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811242036.5A CN109168084B (en) 2018-10-24 2018-10-24 Video editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811242036.5A CN109168084B (en) 2018-10-24 2018-10-24 Video editing method and device

Publications (2)

Publication Number Publication Date
CN109168084A CN109168084A (en) 2019-01-08
CN109168084B true CN109168084B (en) 2021-04-23

Family

ID=64878966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811242036.5A Active CN109168084B (en) 2018-10-24 2018-10-24 Video editing method and device

Country Status (1)

Country Link
CN (1) CN109168084B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110265057B (en) * 2019-07-10 2024-04-26 腾讯科技(深圳)有限公司 Method and device for generating multimedia, electronic equipment and storage medium
CN112235631B (en) * 2019-07-15 2022-05-03 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and storage medium
CN110415723B (en) * 2019-07-30 2021-12-03 广州酷狗计算机科技有限公司 Method, device, server and computer readable storage medium for audio segmentation
CN110519638B (en) * 2019-09-06 2023-05-16 Oppo广东移动通信有限公司 Processing method, processing device, electronic device, and storage medium
CN110708606A (en) * 2019-09-29 2020-01-17 新华智云科技有限公司 Method for intelligently editing video
CN112822541B (en) * 2019-11-18 2022-05-20 北京字节跳动网络技术有限公司 Video generation method and device, electronic equipment and computer readable medium
CN110855904B (en) * 2019-11-26 2021-10-01 Oppo广东移动通信有限公司 Video processing method, electronic device and storage medium
CN110992993B (en) * 2019-12-17 2022-12-09 Oppo广东移动通信有限公司 Video editing method, video editing device, terminal and readable storage medium
CN110933487B (en) * 2019-12-18 2022-05-03 北京百度网讯科技有限公司 Method, device and equipment for generating click video and storage medium
CN111277917A (en) * 2020-02-17 2020-06-12 北京文香信息技术有限公司 Media data generation method, media characteristic determination method and related equipment
CN111432141B (en) * 2020-03-31 2022-06-17 北京字节跳动网络技术有限公司 Method, device and equipment for determining mixed-cut video and storage medium
CN111739128B (en) * 2020-07-29 2021-08-31 广州筷子信息科技有限公司 Target video generation method and system
CN111901626B (en) * 2020-08-05 2021-12-14 腾讯科技(深圳)有限公司 Background audio determining method, video editing method, device and computer equipment
CN114390352A (en) * 2020-10-16 2022-04-22 上海哔哩哔哩科技有限公司 Audio and video processing method and device
CN112929696B (en) * 2021-01-26 2023-05-02 广州欢网科技有限责任公司 Multi-episode movie splicing method and device, storage medium and electronic equipment
CN114339075A (en) * 2021-12-20 2022-04-12 北京达佳互联信息技术有限公司 Video editing method and device, electronic equipment and storage medium
CN117395475B (en) * 2023-11-07 2024-04-19 广州渠道无忧网络技术服务有限公司 High-availability low-repetition store video production method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101477486B1 (en) * 2013-07-24 2014-12-30 (주) 프람트 An apparatus of providing a user interface for playing and editing moving pictures and the method thereof
CN107483843B (en) * 2017-08-16 2019-11-15 成都品果科技有限公司 Audio-video matches clipping method and device
CN107481739B (en) * 2017-08-16 2021-04-02 成都品果科技有限公司 Audio cutting method and device
CN107393569B (en) * 2017-08-16 2019-10-29 成都品果科技有限公司 Audio-video clipping method and device

Also Published As

Publication number Publication date
CN109168084A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109168084B (en) Video editing method and device
CN110691276B (en) Method and device for splicing multimedia segments, mobile terminal and storage medium
CN109089154B (en) Video extraction method, device, equipment and medium
CN109089127B (en) Video splicing method, device, equipment and medium
CN110519638B (en) Processing method, processing device, electronic device, and storage medium
CN112822563A (en) Method, device, electronic equipment and computer readable medium for generating video
US10541003B2 (en) Performance content synchronization based on audio
CN110415723B (en) Method, device, server and computer readable storage medium for audio segmentation
EP2953369A1 (en) Methods, apparatuses and computer programs for adapting content
CN112822541B (en) Video generation method and device, electronic equipment and computer readable medium
CN109905749B (en) Video playing method and device, storage medium and electronic device
CN111711861B (en) Video processing method and device, electronic equipment and readable storage medium
CN110992993A (en) Video editing method, video editing device, terminal and readable storage medium
CN112333536A (en) Audio and video editing method, equipment and computer readable storage medium
TW201601535A (en) Managing interactive subtitle data
CN110677718B (en) Video identification method and device
CN105791938A (en) Multimedia file splicing method and apparatus
CN112188307A (en) Video resource synthesis method and device, storage medium and electronic device
CN112423006A (en) Live broadcast scene switching method, device, equipment and medium
CN113038185A (en) Bullet screen processing method and device
CN109429093B (en) Video editing method and terminal
CN113542626B (en) Video dubbing method and device, computer equipment and storage medium
CN104394478A (en) Method and player for playing video
CN108600843B (en) Video editing method and system
CN110035294B (en) Processing method and device for live broadcast room, computer readable storage medium and computer 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
GR01 Patent grant
GR01 Patent grant