US11636879B2 - Video generating method, apparatus, electronic device, and computer-readable medium - Google Patents
Video generating method, apparatus, electronic device, and computer-readable medium Download PDFInfo
- Publication number
- US11636879B2 US11636879B2 US17/744,671 US202217744671A US11636879B2 US 11636879 B2 US11636879 B2 US 11636879B2 US 202217744671 A US202217744671 A US 202217744671A US 11636879 B2 US11636879 B2 US 11636879B2
- Authority
- US
- United States
- Prior art keywords
- video
- clip
- sequence
- music
- detecting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 239000000463 material Substances 0.000 claims abstract description 254
- 230000004044 response Effects 0.000 claims abstract description 112
- 239000002131 composite material Substances 0.000 claims abstract description 30
- 238000005457 optimization Methods 0.000 claims description 44
- 238000004590 computer program Methods 0.000 claims description 16
- 238000012217 deletion Methods 0.000 claims description 16
- 230000037430 deletion Effects 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 108010001267 Protein Subunits Proteins 0.000 description 6
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B27/036—Insert-editing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/783—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
- G06F16/7834—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using audio features
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/04—Time compression or expansion
- G10L21/055—Time compression or expansion for synchronising with other signals, e.g. video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
- G11B27/034—Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/414—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
- H04N21/41407—Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/8106—Monomedia components thereof involving special audio data, e.g. different tracks for different languages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/85406—Content authoring involving a specific file format, e.g. MP4 format
Definitions
- Embodiments of the present disclosure relate to a field of computer technology, and more particularly, to a video generating method, an apparatus, an electronic device, and a computer-readable medium.
- video processing technology is also progressing at a fast pace, and more and more people transmit information or share life slices through videos.
- video processing software has been widely applied to various scenarios as a common software on terminals. In many cases, users usually need to make a video with materials such as video and music.
- Some embodiments of the present disclosure provide a video generating method, an apparatus, an electronic device, and a computer-readable medium, so as to solve the technical problems as mentioned in the above background.
- some embodiments of the present disclosure provide a video generating method, and the method comprises: acquiring a first video set and an audio material, the first video set comprising a plurality of video materials; determining a first music point of the audio material according to an amount of the video materials in the first video set, where the first music point is used to divide the audio material into a plurality of first music clips, and an amount of the first music clips is same as the amount of the video materials in the first video set; generating, according to a sorting order of the video materials in the first video set, one video clip for each first music clip in the audio material by respectively using one video material, so as to obtain a first video sequence, where the first music clip and the video clip corresponding to each other have a same duration; adjusting, in response to detecting an editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain a second video sequence; and splicing together video clips in the second video sequence, and adding the audio material as a video audio
- some embodiments of the present disclosure provide an apparatus for generating a video, and the apparatus comprises: an acquiring unit, configured to acquire a first video set and an audio material, the first video set comprising a plurality of video materials; a determining unit, configured to determine a first music point of the audio material according to an amount of the video materials in the first video set, where the first music point is used to divide the audio material into a plurality of first music clips, and an amount of the first music clips is same as the amount of the video materials in the first video set; a generating unit, configured to generate, according to a sorting order of the video materials in the first video set, one video clip for each first music clip in the audio material by respectively using one video material, so as to obtain a first video sequence, where the first music clip and the video clip corresponding to each other have a same duration; an adjusting unit, configured to adjust, in response to detecting an editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain a
- some embodiments of the present disclosure provide an electronic device, and the electronic device comprises: one or more processors; and a storage apparatus, on which one or more programs are stored.
- the one or more processors execute the one or more programs.
- the one or more processors implement the method according to any implements in the first aspect.
- some embodiments of the present disclosure provide a computer-readable medium, on which a computer program is stored.
- the program when executed by a processor, implements the method according to any implements in the first aspect.
- some embodiments of the present disclosure provide a computer program, and the computer program comprises program codes.
- the program codes execute the method according to any implements in the first aspect and the second aspect.
- a duration of each video clip in a composite video may be determined, so that a video material may be processed into video clips in the composite video, which, thus, reduces time for a user to process the video material and the audio material, thereby making editing easier.
- adjustment difficulty for the user may be reduced.
- the video material is used to generate video clips, to further generate the composite video, which directly implements points matching of the video clips and the audio material for the user, gives the user a variety of choices, and further improves user experience.
- FIG. 1 A and FIG. 1 B are schematic diagrams of an application scenario of a video generating method according to some embodiments of the present disclosure
- FIG. 2 is a flow chart of some embodiments of a video generating method according to the present disclosure
- FIG. 3 A is a schematic diagram of a rotation operation on a video clip according to some embodiments of the present disclosure
- FIG. 3 B is a schematic diagram of an adjustment operation on a sorting order of video clips according to some embodiments of the present disclosure
- FIG. 4 is a schematic diagram of a deletion adjustment operation on a video clip according to some embodiments of the present disclosure
- FIG. 5 is a schematic diagram of an addition adjustment operation on a video clip according to some embodiments of the present disclosure
- FIG. 6 A is a schematic diagram of an automatic optimization adjustment operation on a video clip according to some embodiments of the present disclosure
- FIG. 6 B is a schematic diagram of a manual optimization adjustment operation on a video clip according to some embodiments of the present disclosure
- FIG. 7 is a schematic diagram of a rotation adjustment operation on a video clip according to some embodiments of the present disclosure.
- FIG. 8 is a structural schematic diagram of some embodiments of an apparatus for generating a video according to the present disclosure.
- FIG. 9 is a structural schematic diagram of an electronic device suitable for implementing some embodiments of the present disclosure.
- FIG. 1 A and FIG. 1 B are schematic diagrams of an application scenario of a video generating method according to some embodiments of the present application.
- a user may select a plurality of video materials on an upload page 1017 of a terminal device 101 , for example, video materials 1011 to 1014 shown in the upload page 1017 .
- the user clicks the position shown in a selection box 1015 , and selects video materials 1011 to 1013 .
- the audio material 106 is divided into music clips A, B, and C according to the music point 107 and the music point 108 .
- the video materials 1011 to 1013 are respectively processed according to durations of the obtained music clips A to C.
- a first video sequence consisting of video clips 1031 , 1041 and 1051 is obtained.
- a video editing page 1018 of the terminal device 101 is skipped to as shown in FIG. 1 B to perform video editing.
- a first video sequence 109 consisting of the video clip 1031 , the video clip 1041 , and the video clip 1051 is shown in the video editing page 1018 .
- the user clicks a “Next” button 1020 adjusts the playback speed of the video clip 1051 in the first video sequence 109 to obtain a video clip 1061 , and then combines the video clips 1031 , 1041 and 1061 into a second video sequence 110 .
- the above-described terminal device 101 splices the video clips 1031 , 1041 and 1061 in the second video sequence 110 according to time when the music clips A to C appear in the audio material 106 , and adds the audio material 106 as an audio track of the spliced video to obtain a composite video 111 .
- the video generating method may be executed by the terminal device 101 , or may also be executed by a server, or may also be executed by various software programs.
- the terminal device 101 may be, for example, various electronic devices having a display screen, including but not limited to, smart phones, tablet personal computers, e-book readers, laptops, desktops, etc.
- an executing body may also be embodied as a server, software, etc. When the executing body is software, it may be installed in the electronic devices as listed above. It may be implemented, for example, as plurality of pieces of software or software modules for supplying distributed services, or may also be implemented as a single piece of software or software module, which is not be specifically limited here.
- terminal devices and servers in FIG. 1 are only exemplary. There may be any amount of terminal devices and servers according to implementation needs.
- the video generating method includes steps below.
- Step 201 acquiring a first video set and an audio material.
- the executing body of the video generating method may acquire the video material and the audio material through wired connection or wireless connection.
- the above-described first video set includes a plurality of video materials.
- the above-described video material may be a video or a picture stored locally by the user, or may also be a video or a picture downloaded by the user from the Internet.
- the above-described audio material may be music stored locally by the user or music on the network.
- Step 202 determining a first music point of the audio material according to the amount of video materials in the first video set.
- the above-described executing body may firstly determine the first music point of the audio material.
- the music point may be a point in the audio material that satisfies a set tempo transition condition. Then, the above-described executing body may select a target amount of music points from the obtained respective candidate music points.
- the above-described target amount is usually determined according to the amount of the above-described acquired video materials. As an example, when 10 video materials are acquired, 9 music points may be determined.
- the above-described position where the musicality is changed may include a position where beat is changed and a position where melody is changed.
- the music point may be determined in the mode below: the above-described executing body may analyze the above-described audio material, and determine a beat point and a note onset therein, the beat point is a position where the beat is changed, and the note onset is a position where the melody is changed.
- a beat analysis algorithm based on deep learning may be used to analyze the audio material to obtain the beat point in the audio material and a timestamp where the beat point is located; on the other hand, short-term spectrum analysis is performed on the audio material to obtain the note onset in the audio material and the timestamp where the note onset is located.
- the note onset may be obtained by an onset detector. Then, the beat point and the note onset obtained in the two ways are unified, and the beat points and note onsets are combined and deduplicated, thereby obtaining candidate music points.
- Step 203 generating one video clip for each first music clip in the audio material by respectively using one video material according to a sorting order of the video materials in the first video set, so as to obtain a first video sequence.
- the above-described executing body may generate one video clip with a same duration as the music clip for the music clip according to the sorting order of the video materials in the first video set, so as to obtain the first video sequence.
- the first music clip and the video clip corresponding to each other have a same duration.
- the first video sequence usually refers to a sequence composed of generated video clips.
- the sorting order of the above-described sequence may be an order in which the user uploads the video materials, or may also be a random order sorted by the above-described executing body.
- durations of the three music clips are respectively 1 second, 2 seconds, and 3 seconds
- durations of the video clips corresponding to the above-described music clips may also be 1 second, 2 seconds, and 3 seconds, respectively.
- the first clip may correspond to a first video material in the first video set
- the second clip may correspond to a second video material in the first video set.
- the order of the video materials in the first video set may be, for example, an order selected by the user.
- a video clip having a duration equal to the duration of the first music clip is clipped from the video material; and in the case where the duration of the video material is less than the duration of the first music clip, the original video material is subjected to variable speed processing to lengthen the duration, and then the video material subjected to variable speed processing is used as a video clip, thus making the duration of the video clip equal to the duration of the music clip.
- a video clip may be generated after adding an animation effect to the picture material.
- the above-described animation effect may be a foreground animation effect randomly added to the picture material.
- the foreground animation effect may be a dynamic animation effect added to the picture, for example, adding a rain animation effect to the picture. Adding an animation effect to the picture material may make the picture material more visually beautiful and improve the user's visual effect.
- Step 204 adjusting, in response to detecting an editing operation on the video clips in the first video sequence, the video clips in the first video sequence, so as to obtain a second video sequence.
- the executing body may adjust the corresponding video clips according to the detected editing operation to obtain the second video sequence.
- the above-described adjustment operation may be a video editing operation such as a playback speed adjustment operation on the video clips in the first video sequence.
- the above-described playback speed adjustment operation may be a click operation on a preset playback speed control or an adjustment operation on the video clip playback speed by triggering a preset gesture.
- the above-described playback speed adjustment may be performed by playing the video clip at a high playback speed, or by playing the video clip at a low playback speed, etc., so as to adjust the playback speed.
- the executing body when the executing body detects a rotation operation performed by the user on the video clip 2 in the first video sequence, the executing body may rotate the above-described video clip 2 to obtain a rotated video clip.
- the above-described rotation operation may be an operation of clicking a preset video clip rotation control, or operations such as dragging and rotating the video clip.
- the above-described rotation operation may be a drag rotation operation 3042 performed on a video clip 3041 in an interface 3040 displayed by an electronic device 303 as shown in FIG. 3 A , so as to obtain a rotated video clip 3051 in an interface 3050 displayed by the electronic device 303 .
- the executing body may replace the video clip 2 in the first video sequence with the rotated video clip to obtain the second video sequence.
- the above-described executing body in response to detecting an adjustment operation on the sorting order of the video clips in the first video sequence, may, according to the adjusted sorting order of the video clips, adjust the sorting order of the video materials in the above-described first video set to obtain a second video set. Thereafter, the above-described executing body may generate one video clip for each first music clip in the above-described audio material by respectively using one video material according to the sorting order of the video materials in the above-described second video set, so as to obtain the above-described second video sequence.
- the first music clip and the video clip corresponding to each other have a same duration.
- the above-described executing body adjusts the sorting order of the corresponding video materials to the sorting order of the video materials B, C, A.
- video clips b′, c′, a′ of 2s and 3s are respectively cut out according to the sorting order of the video material B, C, A, so as to obtain the second video sequence composed of the video clips b′, c′, a′.
- the executing body may control an electronic device having a display function to display a first presenting interface of the above-described first video sequence; the executing body may move, in response to detecting an adjustment operation of moving an identifier of the video clip in the above-described first video sequence from a first sorting position to a second sorting position in the above-described first presenting interface, the above-described video clip to the second sorting position, thereby determining the adjusted sorting order of the video clips. Then, according to the adjusted sorting order of the video clips, the sorting order of the video materials in the above-described first video set is adjusted.
- the above-described identifier may be an identifier such as preview image, screenshot, text description, etc. of a video clip.
- the above-described first presenting interface may be a page 3010 displayed by an electronic device 301 as shown in FIG. 3 B .
- the above-described executing body may move the video clip 3023 from the first sorting position C to the second sorting position B, and determine the adjusted sorting order of the video clips. Thereafter, the above-described executing body may adjust the sorting order of video materials 3031 to 3033 in a first video set 303 according to the adjusted sorting order of the video clips to obtain a second video set 304 .
- the first video material in response to detecting a deletion operation on the first video clip in the above-described first video sequence, is deleted from the above-described first video set to obtain a third video set, and the above-described first video clip is generated based on the above-described first video material; according to the amount of video materials in the above-described third video set, a second music point of the above-described audio material is determined, and the above-described second music point is used to divide the above-described audio material into a plurality of second music clips, and the amount of the above-described second music clips is the same as the amount of video materials in the above-described second video set; and according to the sorting order of the video materials in the above-described third video set, one video clip is generated for each second music clip in the above-described audio material by respectively using one video material so as to obtain the above-described second video sequence, and the second music clip and the video clip corresponding to each other have a same duration.
- the above-described executing body when detecting a deletion operation on the first video clip b in the above-described first video sequence a, b, c, deletes the video material B for generating the first video clip b in the first video material set A, B, C, and obtains the third video set A, C. Then, the executing body determines the second music point of the above-described audio material based on the amount of 2 of video materials in the third video set A, C, and further divides the above-described audio material into 2 second music clips.
- a video clip d and a video clip e are generated for the 2 second music clips, so as to obtain a second video sequence d, e.
- the executing body may control an electronic device having a display function to display a second presenting interface of the above-described first video sequence.
- a first clipping operation interface for clipping the video clip from the above-described first video material is displayed.
- the above-described first video material is deleted.
- the above-described selection operation may be an operation of clicking on the first video clip, or may also be an operation such as a long press.
- the above-described clipping operation interface may be an operation interface used by a user to clip the above-described first video material.
- the above-described deletion operation may be clicking on a preset control, or may also be a related operation such as dragging the above-described first video material.
- the above-described second presenting interface may be a page 4010 displayed by an electronic device 401 as shown in FIG. 4 .
- the first clipping operation interface 4020 for clipping the video clip in the above-described first video material 4023 is displayed; and when detecting a click operation on a delete control 4022 in the above-described first clipping operation interface 4020 , the first video material 4023 is deleted.
- a second video material in response to detecting an addition operation on video clips in the above-described first video sequence, is acquired and added to the above-described first video set to obtain a fourth video set.
- the third music point of the above-described audio material is determined.
- the above-described third music point is used to divide the above-described audio material into a plurality of third music clips.
- the amount of the above-described third music clips is the same as the amount of the video materials in the above-described fourth video set.
- one video clip is generated for each third music clip in the above-described audio material by respectively using one video material, so as to obtain the above-described second video sequence.
- the third music clip and the video clip corresponding to each other have a same duration.
- the above-described executing body acquires a second video material D and adds the same to the first video set A, B, C to obtain a fourth video set A, B, C, D. Then, the third music point of the above-described audio material is determined according to the amount of 4 of video materials in the fourth video set A, B, C, D, and the above-described audio material is further divided into four third music clips.
- one video clip is generated for each third music clip in the audio material by respectively using one video material, so as to obtain a second video sequence.
- the above-described executing body may display a third presenting interface of the above-described first video sequence.
- a browsing interface of the video material is displayed.
- the above-described second video material is acquired and added to the above-described first video set to obtain a fourth video set.
- the above-described third presenting interface may be a page 5010 displayed by an electronic device 501 as shown in FIG. 5 .
- a browsing interface 5020 of the video material is displayed.
- the above-described second video material is acquired and added to the first video set to obtain a second video set.
- the video clips in the above-described first video sequence are cropped from the video material in the above-described first video set in a preset starting point position.
- a plurality of initial video clips are cropped from different starting point positions for the music clip corresponding to the above-described second video clip by using the third video material.
- the music clip corresponding to the above-described second video clip has a same duration as each of the above-described initial video clips; and the above-described second video clip is generated based on the third video material.
- Frame extraction is respectively performed on the above-described plurality of initial video clips, and quality of the above-described plurality of initial video clips is analyzed according to images obtained by frame extraction.
- a third video clip with highest quality is selected from the above-described plurality of initial video clips.
- the above-described second video clip is replaced with the above-described third video clip, so as to obtain the above-described second video sequence.
- the above-described automatic optimization operation usually refers to an operation of a user clicking a preset automatic optimization control, etc.
- the above-described quality usually refers to a comprehensive score obtained by scoring the images obtained from frame extraction in the video clip.
- the above-described comprehensive score may be an average score or a highest score of the image scores obtained by frame extraction.
- the above-described scoring mode may be based on motion information (e.g., jitter, etc.), aesthetics (composition, etc.) or attributes (light color, etc.) in a frame.
- the above-described executing body may display a fourth presenting interface of the second video clip in the above-described first video sequence.
- the above-described fourth presenting interface includes an automatic optimization control, and the above-described automatic optimization control is used to trigger automatic optimization.
- the above-described automatic optimization control is used to trigger automatic optimization.
- a plurality of initial video clips are cropped from different starting point positions for the music clip corresponding to the above-described second video clip by using the third video material.
- the above-described automatic optimization control may be a button or a preset control for triggering a gesture, etc.
- the above-described fourth presenting interface displaying the second video clip 6011 in the first video sequence may be a page 6010 displayed by an electronic device 601 as shown in FIG. 6 A .
- a plurality of initial video clips 6016 to 6018 are cropped from different starting point positions for the music clip 6015 corresponding to the above-described second video clip 6011 by using the third video material 6014 .
- the executing body when detecting a manual optimization operation on the fourth video clip in the above-described first video sequence, may determine a cropping interval selected by the above-described manual optimization operation in the above-described fourth video material. Thereafter, according to the above-described cropping interval, a fifth video clip is cropped from the above-described fourth video material. Finally, in the above-described first video sequence, the above-described fourth video clip is replaced with the above-described fifth video clip to obtain the above-described second video sequence.
- the above-described executing body may display a fifth presenting interface of the above-described first video sequence.
- a second clipping operation interface for clipping the video clip from the above-described fourth video material is displayed.
- the cropping interval selected in the above-described fourth video material is determined.
- the above-described fifth presenting interface displaying the first video sequence 6021 may be a page 6020 displayed by an electronic device 602 as shown in FIG. 6 B .
- a second clipping operation interface 6030 for clipping the video clip in the above-described fourth video material 6033 is displayed.
- clipping intervals 6035 to 6034 in the above-described second clipping operation interface the cropping intervals 6034 to 6035 selected in the fourth video material are determined.
- the above-described executing body may, in response to detecting a rotation operation on the sixth video clip in the above-described first video sequence, rotate the above-described sixth video clip to obtain a seventh video clip.
- the above-described sixth video clip is replaced with the above-described seventh video clip, so as to obtain the above-described second video sequence.
- the above-described executing body may display the sixth presenting interface of the above-described first video sequence.
- a rotation operation interface of the above-described sixth video clip is displayed.
- the above-described sixth video clip is rotated to obtain a seventh video clip.
- the above-described sixth presenting interface may be a page 7010 displayed on an electronic device 701 .
- a rotation operation interface 7020 of the above-described sixth video clip 7014 is displayed.
- the above-described sixth video clip 7014 is rotated to obtain a seventh video clip.
- Step 205 splicing together the video clips in the second video sequence, and adding the audio material as a video audio track to obtain a composite video.
- the executing body of the video generating method may sequentially splice together the video clips in the second video sequence corresponding to the above-described music clips according to an order in which the above-described music clips appear in the above-described audio material, and add the above-described audio material in the audio track of the spliced video to obtain a composite video.
- the above-described audio material may be divided into 3 clips in sequence according to music points, for example, clip A may be from second 0 to second 2, clip B may be from second 2 to second 5, and clip C may be from second 5 to second 10.
- the video clips in the corresponding second video sequence are respectively clip a, clip b, and clip c.
- the spliced video may be represented as abc.
- the above-described audio material is added to the audio track of the spliced video abc to obtain a composite video.
- the above-described editing on the video clips in the above-described first video sequence may be retained when the mode is converted.
- the above-described mode usually refers to a mode in which a composite video is generated from an audio material and a video set, or a mode in which a composite video is obtained by splicing the video materials in the video set.
- the duration of each video clip in the composite video can be determined, so that the video material can be processed into video clips in the composite video, which, thus, reduces time for a user to process the video material and the audio material, thus making editing easier.
- the video material is used to generate video clips, to further generate the composite video, which directly implements points matching of the video clips and the audio material for the user, gives the user a variety of choices, and further improves user experience.
- the present disclosure provides some embodiments of a webpage generating apparatus, these apparatus embodiments correspond to those method embodiments shown in FIG. 2 , and the apparatus can be specifically applied to various electronic devices.
- a webpage generating apparatus 800 includes: an acquiring unit 801 , a determining unit 802 , a generating unit 803 , an adjusting unit 804 , and a splicing unit 805 .
- the acquiring unit 801 is configured to acquire a first video set and an audio material, and the above-described first video set includes a plurality of video materials;
- the determining unit 802 is configured to determine a first music point of the above-described audio material according to the amount of video materials in the above-described first video set, the above-described first music point is used to divide the above-described audio material into a plurality of first music clips, and the amount of the above-described first music clips is the same as the amount of video materials in the above-described first video set;
- the generating unit 803 is configured to generate, according to the sorting order of the video materials in the above-described first video set, one video clip for each first music clip in the above-described audio material by respectively using one video material, so as to obtain a first video sequence, the first music clip and the video clip corresponding to each other have a same duration;
- the adjusting unit 804 is configured to adjust, in response to detecting an editing operation on the video clips in the above-
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: adjust, in response to detecting an adjustment operation on the sorting order of the video clips in the above-described first video sequence, the sorting order of the video materials in the above-described first video set according to the adjusted sorting order of the video clips to obtain a second video set; generate, according to a sorting order of video materials in the above-described second video set, one video clip for each first music clip in the above-described audio material by respectively using one video material, so as to obtain the above-described second video sequence.
- the first music clip and the video clip corresponding to each other have a same duration.
- the video generating apparatus 800 may further include a first sub-unit, and the first sub-unit is configured to: display a first presenting interface of the above-described first video sequence; move, in response to detecting the adjustment operation of moving an identifier of the video clip in the above-described first video sequence from a first sorting position to a second sorting position in the above-described first presenting interface, the above-described video clip to the second sorting position, and further determine the adjusted sorting order of the video clips; adjust the sorting order of the video materials in the above-described first video set according to the adjusted sorting order of the above-described video clips.
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: delete, in response to detecting a deletion operation on the first video clip in the above-described first video sequence, the first video material from the above-described first video set to obtain a third video set, where the above-described first video clip is generated based on the above-described first video material; determine the second music point of the above-described audio material according to the amount of video materials in the above-described third video set, where the above-described second music point is used to divide the above-described audio material into a plurality of second music clips, and the amount of the above-described second music clips is the same as the amount of video materials in the above-described third video set; and generate, according to the sorting order of the video materials in the above-described third video set, one video clip for each second music clip in the above-described audio material by respectively using one video material, so as to obtain the above-described second video sequence, where the second music clip and the video
- the video generating apparatus 800 may further include a second sub-unit, and the second sub-unit is configured to: display a second presenting interface of the above-described first video sequence; display, in response to detecting a selection operation on the first video clip in the above-described first video sequence in the second presenting interface of the above-described first video sequence, a first clipping operation interface for clipping the video clip from the above-described first video material; and delete, in response to detecting the deletion operation in the above-described first clipping operation interface, the above-described first video material.
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: acquire, in response to detecting an addition operation on the video clips in the above-described first video sequence, a second video material and add the same to the above-described first video set to obtain a fourth video set; determine a third music point of the above-described audio material according to the amount of video materials in the above-described fourth video set, where the above-described third music point is used to divide the above-described audio material into a plurality of third music clips, and the amount of the above-described third music clips is the same as the amount of video materials in the above-described fourth video set; generate, according to the sorting order of the video materials in the above-described fourth video set, one video clip for each third music clip in the above-described audio material by respectively using one video material, so as to obtain the above-described second video sequence, where the third music clip and the video clip corresponding to each other have a same duration.
- the video generating apparatus 800 may further include a third sub-unit, and the third sub-unit is configured to: display a third presenting interface of the above-described first video sequence; display, in response to detecting an addition operation on the video clips in the above-described first video sequence in the third presenting interface, a browsing interface of the video materials; and acquire, in response to detecting a selection operation on the above-described second video material in the above-described browsing interface, the above-described second video material and add the same to the above-described first video set to obtain a fourth video set.
- the video clip in the above-described first video sequence is cropped from the video material in the above-described first video set in a preset starting point position.
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: crop, in response to detecting an automatic optimization operation on the second video clip in the above-described first video sequence, a plurality of initial video clips from different starting point positions for the music clip corresponding to the above-described second video clip by using the third video material, where the music clip corresponding to the above-described second video clip has a same duration as each of the above-described initial video clips, and the above-described second video clip is generated based on the third video material; respectively perform frame extraction on the above-described plurality of initial video clips, and analyze quality of the above-described plurality of initial video clips according to images obtained by frame extraction; select a third video clip with highest quality from the above-described plurality of initial video clips; and replace the above-described second video clip with the above-described third video clip in the above-described first video sequence, so as to obtain the above-described second video sequence.
- the video generating apparatus 800 may further include a fourth sub-unit, and the fourth sub-unit is configured to: display a fourth presenting interface of the second video clip in the above-described first video sequence, where the above-described fourth presenting interface includes an automatic optimization control, and the above-described automatic optimization control is used to trigger automatic optimization; and crop, in response to detecting the automatic optimization operation on the above-described automatic optimization control in the above-described fourth presenting interface, a plurality of initial video clips from different starting point positions for the music clip corresponding to the above-described second video clip by using the third video material.
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: determine, in response to detecting a manual optimization operation on the fourth video clip in the above-described first video sequence, a cropping interval selected by the above-described manual optimization operation in the above-described fourth video material; crop a fifth video clip from the fourth video material according to the above-described cropping interval; and replace the above-described fourth video clip with the above-described fifth video clip in the above-described first video sequence, so as to obtain the above-described second video sequence.
- the video generating apparatus 800 may further include a fifth sub-unit, and the fifth sub-unit is configured to: display a fifth presenting interface of the above-described first video sequence; display, in response to detecting a selection operation on the above-described fourth video clip in the above-described fifth presenting interface, a second clipping operation interface for clipping the video clip from the above-described fourth video material; and determine, in response to detecting a selection operation on a clipping interval in the above-described second clipping operation interface, a cropping interval selected in the above-described the fourth video material.
- the adjusting unit 801 of the video generating apparatus 800 is further configured to: rotate, in response to detecting a rotation operation on a sixth video clip in the above-described first video sequence, the above-described sixth video clip to obtain a seventh video clip; and replace the above-described sixth video clip with the above-described seventh video clip in the above-described first video sequence, so as to obtain the above-described second video sequence.
- the video generating apparatus 800 may further include a sixth sub-unit, and the sixth sub-unit is configured to: display a sixth presenting interface of the above-described first video sequence; display, in response to detecting a selection operation on a sixth video clip in the above-described sixth presenting interface, a rotation operation interface of the above-described sixth video clip; and rotate, in response to detecting a rotation operation on the sixth video clip in the above-described rotation operation interface, the sixth video clip to obtain a seventh video clip.
- the duration of each video clip in a composite video can be determined, so that the video material can be processed into video clips in the composite video, which, thus, reduces time for a user to process the video material and the audio material, thereby making editing easier.
- the video material is used to generate video clips, so as to further generate the composite video, which directly implements points matching of the video clips and the audio material for the user, gives the user a variety of choices, and further improves user experience.
- FIG. 9 shows a structural schematic diagram of an electronic device (e.g., the terminal device in FIG. 1 ) 900 suitable for implementing some embodiments of the present disclosure.
- the electronic device shown in FIG. 9 is only an example, and should not impose any limitation on functions and use scope of the embodiments of the present disclosure.
- the electronic device 900 may include a processing apparatus (e.g., a central processing unit, a graphics processor, etc.) 901 , which may executes various appropriate actions and processing according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage apparatus 908 into a random access memory (RAM) 903 .
- the random access memory (RAM) 903 further stores various programs and data required for operation of the electronic device 900 .
- the processing apparatus 901 , the ROM 902 , and the RAM 903 are connected with each other through a bus 904 .
- An input/output (I/O) interface 905 is also coupled to the bus 904 .
- apparatuses below may be coupled to the I/O interface 905 : an input apparatus 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output apparatus 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; and a communication apparatus 909 .
- the communication apparatus 909 may allow the electronic device 900 to perform wireless or wired communication with other electronic device so as to exchange data.
- FIG. 9 shows the electronic device 900 having various apparatuses, it should be understood that, it is not required to implement or have all the apparatuses shown, and the electronic device 900 may alternatively implement or have more or fewer apparatuses.
- Each block shown in FIG. 9 may represent one apparatus, or may also represent a plurality of apparatuses as needed.
- the flows as described above with reference to the flow charts may be implemented as computer software programs.
- some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the method illustrated in the flow chart.
- the computer program may be downloaded and installed from the network via the communication apparatus 909 , or installed from the storage apparatus 908 , or installed from the ROM 902 .
- the computer program executes the above-described functions defined in the methods according to some embodiments of the present disclosure.
- the above-described computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above.
- the computer-readable storage medium may include, but not limited to: an electrical connection having one or more conductors, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM); an erasable programmable read-only memory (EPROM or flash memory); an optical fiber, a portable compact disc read-only memory (CD-ROM); an optical storage apparatus; a magnetic storage apparatus; or any suitable combination of the above.
- the computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction executing system, an apparatus, or a device.
- the computer-readable signal medium may include a data signal propagated in baseband or as a portion of a carrier wave, which carries a computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above.
- the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium; and the computer-readable signal medium may transmit, propagate, or transport programs for use by or in combination with the instruction executing system, the apparatus, or the device.
- the program code embodied on the computer-readable medium may be transmitted by using any suitable medium, including, but not limited to, an electrical wire, an optical cable, a radio frequency (RF), etc., or any suitable combination of the above.
- RF radio frequency
- the client and the server may communicate with any network protocol currently known or to be researched and developed in the future such as hypertext transfer protocol (HTTP), and may communicate (via a communication network) and interconnect with digital data in any form or medium.
- HTTP hypertext transfer protocol
- Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and an end-to-end network (e.g., an ad hoc end-to-end network), as well as any network currently known or to be researched and developed in the future.
- the above-described computer-readable medium may be included in the above-described electronic device, or may also exist alone without being assembled into the electronic device.
- the above-described computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is cause to: acquire a first video set and an audio material, the above-described first video set including a plurality of video materials; determine a first music point of the above-described audio material according to the amount of video materials in the above-described first video set, where the above-described first music point is used to divide the above-described audio material into a plurality of first music clips, and the amount of the above-described first music clips is the same as the amount of video materials in the above-described first video set; generate, according to the sorting order of the video materials in the above-described first video set, one video clip for each first music clip in the above-described audio material by respectively using one video material, to obtain a first video sequence, where the first music clip and the video
- the computer program codes for executing the operations according to some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof; the above-described programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as “C” language or similar programming languages.
- the program code may by executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
- LAN local area network
- WAN wide area network
- each block in the flow chart or block diagrams may represent a module, a program segment, or a portion of codes, which comprises one or more executable instructions for implementing specified logical function.
- the functions noted in the block may occur out of the order noted in the accompanying drawings. For example, two blocks shown in succession may, in fact, can be executed substantially concurrently, or the blocks may sometimes be executed in a reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flow charts, and combinations of blocks in the block diagrams and/or flow charts may be implemented by special purpose hardware-based systems that execute the specified functions or operations, or may also be implemented by a combination of special purpose hardware and computer instructions.
- the units as described in some embodiments of the present disclosure may be implemented by means of software, or may also be implemented by means of hardware.
- the described unit may also be provided in a processor, which, for example, may be described as: a processor, including an acquiring unit, a determining unit, a generating unit, an adjusting unit and a splicing unit. Names of these units do not constitute a limitation on the units themselves in some cases, for example, the acquiring unit may also be described as “a unit for acquiring the first video set and the audio material”.
- FPGA field programmable gate array
- ASIC application specific integrated circuit
- ASSP application specific standard product
- SOC system on chip
- CPLD complex programmable logical device
- a video generating method comprises: acquiring a first video set and an audio material, the first video set comprising a plurality of video materials; determining a first music point of the audio material according to an amount of the video materials in the first video set, where the first music point is used to divide the audio material into a plurality of first music clips, and an amount of the first music clips is same as the amount of the video materials in the first video set; generating, according to a sorting order of the video materials in the first video set, one video clip for each first music clip in the audio material by respectively using one video material, so as to obtain a first video sequence, where the first music clip and the video clip corresponding to each other have a same duration; adjusting, in response to detecting an editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain a second video sequence; and splicing together video clips in the second video sequence, and adding the audio material as a
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: adjusting, in response to detecting an adjustment operation on a sorting order of video clips in the first video sequence, the sorting order of the video materials in the first video set according to an adjusted sorting order of the video clips, so as to obtain a second video set; and generating, according to a sorting order of video materials in the second video set, one video clip for each first music clip in the audio material by respectively using one video material, so as to obtain the second video sequence, where the first music clip and the video clip corresponding to each other have a same duration.
- adjusting in response to detecting the adjustment operation on the sorting order of the video clips in the first video sequence, the sorting order of the video materials in the first video set according to the adjusted sorting order of the video clips, so as to obtain the second video set, comprises: displaying a first presenting interface of the first video sequence; moving, in response to detecting the adjustment operation of moving an identifier of a video clip in the first video sequence from a first sorting position to a second sorting position in the first presenting interface, the video clip to the second sorting position, and determining the adjusted sorting order of the video clips; and adjusting the sorting order of the video materials in the first video set according to the adjusted sorting order of the video clips, so as to obtain the second video set.
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: deleting, in response to detecting a deletion operation on a first video clip in the first video sequence, a first video material from the first video set to obtain a third video set, where the first video clip is generated based on the first video material; determining a second music point of the audio material according to an amount of video materials in the third video set, where the second music point is used to divide the audio material into a plurality of second music clips, and an amount of the second music clips is same as the amount of the video materials in the third video set; and generating, according to a sorting order of the video materials in the third video set, one video clip for each second music clip in the audio material by respectively using one video material, so as to obtain the second video sequence, where the second music clip and the video clip corresponding to each other have a same duration.
- deleting in response to detecting the deletion operation on the first video clip in the first video sequence, the first video material from the first video set, comprises: displaying a second presenting interface of the first video sequence; displaying, in response to detecting a selection operation on the first video clip in the first video sequence in the second presenting interface of the first video sequence, a first clipping operation interface for clipping the video clip from the first video material; and deleting, in response to detecting the deletion operation in the first clipping operation interface, the first video material.
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: acquiring, in response to detecting an addition operation on video clips in the first video sequence, a second video material, and adding the second video material to the first video set to obtain a fourth video set; determining a third music point of the audio material according to an amount of video materials in the fourth video set, where the third music point is used to divide the audio material into a plurality of third music clips, and an amount of the third music clips is same as the amount of the video materials in the fourth video set; and generating, according to a sorting order of the video materials in the fourth video set, one video clip for each third music clip in the audio material by respectively using one video material, so as to obtain the second video sequence, where the third music clip and the video clip corresponding to each other have a same duration.
- acquiring, in response to detecting the addition operation on the video clips in the first video sequence, the second video material, and adding the second video material to the first video set to obtain the fourth video set comprises: displaying a third presenting interface of the first video sequence; displaying, in response to detecting the addition operation on the video clips in the first video sequence in the third presenting interface, a browsing interface of the video materials; and acquiring, in response to detecting a selection operation on the second video material in the browsing interface, the second video material, and adding the second video material to the first video set to obtain the fourth video set.
- the video clip in the first video sequence is cropped from the video material in the first video set in a preset starting point position.
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: cropping, in response to detecting an automatic optimization operation on a second video clip in the first video sequence, a plurality of initial video clips from different starting point positions for a music clip corresponding to the second video clip by using a third video material, where the music clip corresponding to the second video clip has a same duration as each of the initial video clips, and the second video clip is generated based on the third video material; respectively performing frame extraction on the plurality of initial video clips, and analyzing quality of the plurality of initial video clips according to images obtained by frame extraction; selecting a third video clip with highest quality from the plurality of initial video clips; and replacing the second video clip with the third video clip in the first video sequence, so as to obtain the second video sequence.
- cropping in response to detecting the automatic optimization operation on the second video clip in the first video sequence, the plurality of initial video clips from different starting point positions for the music clip corresponding to the second video clip by using the third video material, comprises: displaying a fourth presenting interface of the second video clip in the first video sequence, where the fourth presenting interface comprises an automatic optimization control, and the automatic optimization control is used to trigger automatic optimization; and cropping, in response to detecting the automatic optimization operation on the automatic optimization control in the fourth presenting interface, the plurality of initial video clips from different starting point positions for the music clip corresponding to the second video clip by using the third video material.
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: determining, in response to detecting a manual optimization operation on a fourth video clip in the first video sequence, a cropping interval selected by the manual optimization operation in the fourth video material; cropping a fifth video clip from the fourth video material according to the cropping interval; and replacing the fourth video clip with the fifth video clip in the first video sequence, so as to obtain the second video sequence.
- determining, in response to detecting the manual optimization operation on the fourth video clip in the first video sequence, the cropping interval selected by the manual optimization operation in the fourth video material comprises: displaying a fifth presenting interface of the first video sequence; displaying, in response to detecting a selection operation on the fourth video clip in the fifth presenting interface, a second clipping operation interface for clipping the video clip from the fourth video material; and determining, in response to detecting the selection operation on a clipping interval in the second clipping operation interface, the cropping interval selected in the fourth video material.
- adjusting, in response to detecting the editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain the second video sequence comprises: rotating, in response to detecting a rotation operation on a sixth video clip in the first video sequence, the sixth video clip to obtain a seventh video clip; and replacing the sixth video clip with the seventh video clip in the first video sequence, so as to obtain the second video sequence.
- rotating, in response to detecting the rotation operation on the sixth video clip in the first video sequence, the sixth video clip to obtain the seventh video clip comprises: displaying a sixth presenting interface of the first video sequence; displaying, in response to detecting a selection operation on the sixth video clip in the sixth presenting interface, a rotation operation interface of the sixth video clip; and rotating, in response to detecting the rotation operation on the sixth video clip in the rotation operation interface, the sixth video clip to obtain the seventh video clip.
- a video generating apparatus comprises: an acquiring unit, configured to acquire a first video set and an audio material, the first video set comprising a plurality of video materials; a determining unit, configured to determine a first music point of the audio material according to an amount of the video materials in the first video set, where the first music point is used to divide the audio material into a plurality of first music clips, and an amount of the first music clips is same as the amount of the video materials in the first video set; a generating unit, configured to generate, according to a sorting order of the video materials in the first video set, one video clip for each first music clip in the audio material by respectively using one video material, so as to obtain a first video sequence, where the first music clip and the video clip corresponding to each other have a same duration; an adjusting unit, configured to adjust, in response to detecting an editing operation on the video clip in the first video sequence, the video clip in the first video sequence, so as to obtain a second video sequence; and a
- an electronic device comprises: one or more processors; and a storage apparatus, on which one or more programs are stored.
- the one or more processors implement the method described in any embodiments described above.
- a computer-readable medium is provided.
- a computer program is stored on the computer-readable medium.
- the program when executed by a processor, implements the method described in any embodiments described above.
- a computer program comprises program codes.
- the program codes execute the method described in any embodiments described above.
Abstract
Description
Claims (20)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911129727.9A CN112822541B (en) | 2019-11-18 | 2019-11-18 | Video generation method and device, electronic equipment and computer readable medium |
CN201911129727.9 | 2019-11-18 | ||
PCT/CN2020/129284 WO2021098670A1 (en) | 2019-11-18 | 2020-11-17 | Video generation method and apparatus, electronic device, and computer-readable medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/129284 Continuation WO2021098670A1 (en) | 2019-11-18 | 2020-11-17 | Video generation method and apparatus, electronic device, and computer-readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
US20220277775A1 US20220277775A1 (en) | 2022-09-01 |
US11636879B2 true US11636879B2 (en) | 2023-04-25 |
Family
ID=75852677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/744,671 Active US11636879B2 (en) | 2019-11-18 | 2022-05-14 | Video generating method, apparatus, electronic device, and computer-readable medium |
Country Status (7)
Country | Link |
---|---|
US (1) | US11636879B2 (en) |
EP (1) | EP4047943A4 (en) |
JP (1) | JP7457804B2 (en) |
KR (1) | KR20220103112A (en) |
CN (1) | CN112822541B (en) |
BR (1) | BR112022009608A2 (en) |
WO (1) | WO2021098670A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473204B (en) * | 2021-05-31 | 2023-10-13 | 北京达佳互联信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
CN113613067B (en) * | 2021-08-03 | 2023-08-22 | 北京字跳网络技术有限公司 | Video processing method, device, equipment and storage medium |
CN113676671B (en) * | 2021-09-27 | 2023-06-23 | 北京达佳互联信息技术有限公司 | Video editing method, device, electronic equipment and storage medium |
CN113891113B (en) * | 2021-09-29 | 2024-03-12 | 阿里巴巴(中国)有限公司 | Video clip synthesis method and electronic equipment |
CN115065840A (en) * | 2022-06-07 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Information processing method and device, electronic equipment and storage medium |
CN116506694B (en) * | 2023-06-26 | 2023-10-27 | 北京达佳互联信息技术有限公司 | Video editing method, device, electronic equipment and storage medium |
Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080077866A1 (en) | 2006-09-20 | 2008-03-27 | Adobe Systems Incorporated | Media system with integrated clip views |
US20110142420A1 (en) | 2009-01-23 | 2011-06-16 | Matthew Benjamin Singer | Computer device, method, and graphical user interface for automating the digital tranformation, enhancement, and editing of personal and professional videos |
US20120195573A1 (en) | 2011-01-28 | 2012-08-02 | Apple Inc. | Video Defect Replacement |
US20120201518A1 (en) | 2009-01-23 | 2012-08-09 | Matthew Benjamin Singer | Computer device, method, and graphical user interface for automating the digital transformation, enhancement, and editing of personal and professional videos |
US20130163963A1 (en) * | 2011-12-21 | 2013-06-27 | Cory Crosland | System and method for generating music videos from synchronized user-video recorded content |
US20140355960A1 (en) | 2013-05-31 | 2014-12-04 | Microsoft Corporation | Touch optimized design for video editing |
US20150058709A1 (en) | 2012-01-26 | 2015-02-26 | Michael Edward Zaletel | Method of creating a media composition and apparatus therefore |
CN105530440A (en) | 2014-09-29 | 2016-04-27 | 北京金山安全软件有限公司 | Video production method and device |
US20160172000A1 (en) | 2013-07-24 | 2016-06-16 | Prompt, Inc. | An apparatus of providing a user interface for playing and editing moving pictures and the method thereof |
CN105933773A (en) | 2016-05-12 | 2016-09-07 | 青岛海信传媒网络技术有限公司 | Video editing method and system |
CN105959579A (en) | 2016-07-18 | 2016-09-21 | 杭州当虹科技有限公司 | Partial content replacing device for 360-degree panoramic video |
CN106992004A (en) | 2017-03-06 | 2017-07-28 | 华为技术有限公司 | A kind of method and terminal for adjusting video |
CN107770626A (en) | 2017-11-06 | 2018-03-06 | 腾讯科技(深圳)有限公司 | Processing method, image synthesizing method, device and the storage medium of video material |
CN108419035A (en) | 2018-02-28 | 2018-08-17 | 北京小米移动软件有限公司 | The synthetic method and device of picture video |
US20180286458A1 (en) * | 2017-03-30 | 2018-10-04 | Gracenote, Inc. | Generating a video presentation to accompany audio |
US20180295427A1 (en) | 2017-04-07 | 2018-10-11 | David Leiberman | Systems and methods for creating composite videos |
CN109168084A (en) | 2018-10-24 | 2019-01-08 | 麒麟合盛网络技术股份有限公司 | A kind of method and apparatus of video clipping |
CN109275028A (en) | 2018-09-30 | 2019-01-25 | 北京微播视界科技有限公司 | Video acquiring method, device, terminal and medium |
CN109379643A (en) | 2018-11-21 | 2019-02-22 | 北京达佳互联信息技术有限公司 | Image synthesizing method, device, terminal and storage medium |
CN109660867A (en) | 2019-01-09 | 2019-04-19 | 深圳慧聚智能科技有限公司 | A kind of dynamic video method of adjustment and its equipment |
US20190182565A1 (en) | 2017-12-13 | 2019-06-13 | Playable Pty Ltd | System and Method for Algorithmic Editing of Video Content |
CN110233976A (en) | 2019-06-21 | 2019-09-13 | 广州酷狗计算机科技有限公司 | The method and device of Video Composition |
CN110265057A (en) | 2019-07-10 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Generate multimedia method and device, electronic equipment, storage medium |
CN110278388A (en) | 2019-06-19 | 2019-09-24 | 北京字节跳动网络技术有限公司 | Show generation method, device, equipment and the storage medium of video |
CN110336960A (en) | 2019-07-17 | 2019-10-15 | 广州酷狗计算机科技有限公司 | Method, apparatus, terminal and the storage medium of Video Composition |
EP4044611A1 (en) | 2019-11-04 | 2022-08-17 | Beijing Bytedance Network Technology Co., Ltd. | Method and apparatus for displaying music points, and electronic device and medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3325809B2 (en) * | 1997-08-15 | 2002-09-17 | 日本電信電話株式会社 | Video production method and apparatus and recording medium recording this method |
US7027124B2 (en) * | 2002-02-28 | 2006-04-11 | Fuji Xerox Co., Ltd. | Method for automatically producing music videos |
JP4285287B2 (en) * | 2004-03-17 | 2009-06-24 | セイコーエプソン株式会社 | Image processing apparatus, image processing method and program, and recording medium |
US7512886B1 (en) * | 2004-04-15 | 2009-03-31 | Magix Ag | System and method of automatically aligning video scenes with an audio track |
JP2007066399A (en) * | 2005-08-30 | 2007-03-15 | Ricoh Co Ltd | Video and audio editing system |
JP4487958B2 (en) * | 2006-03-16 | 2010-06-23 | ソニー株式会社 | Method and apparatus for providing metadata |
WO2008024486A2 (en) * | 2006-08-24 | 2008-02-28 | Fliptrack, Inc. | Beat and text based editing and composing systems and methods |
US7569761B1 (en) * | 2007-09-21 | 2009-08-04 | Adobe Systems Inc. | Video editing matched to musical beats |
CN109257545B (en) * | 2018-08-27 | 2021-04-13 | 咪咕文化科技有限公司 | Multi-source video editing method and device and storage medium |
-
2019
- 2019-11-18 CN CN201911129727.9A patent/CN112822541B/en active Active
-
2020
- 2020-11-17 BR BR112022009608A patent/BR112022009608A2/en unknown
- 2020-11-17 WO PCT/CN2020/129284 patent/WO2021098670A1/en unknown
- 2020-11-17 JP JP2022528542A patent/JP7457804B2/en active Active
- 2020-11-17 KR KR1020227016781A patent/KR20220103112A/en active Search and Examination
- 2020-11-17 EP EP20889011.1A patent/EP4047943A4/en active Pending
-
2022
- 2022-05-14 US US17/744,671 patent/US11636879B2/en active Active
Patent Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080077866A1 (en) | 2006-09-20 | 2008-03-27 | Adobe Systems Incorporated | Media system with integrated clip views |
US20110142420A1 (en) | 2009-01-23 | 2011-06-16 | Matthew Benjamin Singer | Computer device, method, and graphical user interface for automating the digital tranformation, enhancement, and editing of personal and professional videos |
US20120201518A1 (en) | 2009-01-23 | 2012-08-09 | Matthew Benjamin Singer | Computer device, method, and graphical user interface for automating the digital transformation, enhancement, and editing of personal and professional videos |
US20120195573A1 (en) | 2011-01-28 | 2012-08-02 | Apple Inc. | Video Defect Replacement |
US20130163963A1 (en) * | 2011-12-21 | 2013-06-27 | Cory Crosland | System and method for generating music videos from synchronized user-video recorded content |
US20150058709A1 (en) | 2012-01-26 | 2015-02-26 | Michael Edward Zaletel | Method of creating a media composition and apparatus therefore |
US20140355960A1 (en) | 2013-05-31 | 2014-12-04 | Microsoft Corporation | Touch optimized design for video editing |
US20160172000A1 (en) | 2013-07-24 | 2016-06-16 | Prompt, Inc. | An apparatus of providing a user interface for playing and editing moving pictures and the method thereof |
CN105530440A (en) | 2014-09-29 | 2016-04-27 | 北京金山安全软件有限公司 | Video production method and device |
CN105933773A (en) | 2016-05-12 | 2016-09-07 | 青岛海信传媒网络技术有限公司 | Video editing method and system |
CN105959579A (en) | 2016-07-18 | 2016-09-21 | 杭州当虹科技有限公司 | Partial content replacing device for 360-degree panoramic video |
CN106992004A (en) | 2017-03-06 | 2017-07-28 | 华为技术有限公司 | A kind of method and terminal for adjusting video |
US20180286458A1 (en) * | 2017-03-30 | 2018-10-04 | Gracenote, Inc. | Generating a video presentation to accompany audio |
US20180295427A1 (en) | 2017-04-07 | 2018-10-11 | David Leiberman | Systems and methods for creating composite videos |
CN107770626A (en) | 2017-11-06 | 2018-03-06 | 腾讯科技(深圳)有限公司 | Processing method, image synthesizing method, device and the storage medium of video material |
US20190182565A1 (en) | 2017-12-13 | 2019-06-13 | Playable Pty Ltd | System and Method for Algorithmic Editing of Video Content |
CN108419035A (en) | 2018-02-28 | 2018-08-17 | 北京小米移动软件有限公司 | The synthetic method and device of picture video |
CN109275028A (en) | 2018-09-30 | 2019-01-25 | 北京微播视界科技有限公司 | Video acquiring method, device, terminal and medium |
CN109168084A (en) | 2018-10-24 | 2019-01-08 | 麒麟合盛网络技术股份有限公司 | A kind of method and apparatus of video clipping |
CN109379643A (en) | 2018-11-21 | 2019-02-22 | 北京达佳互联信息技术有限公司 | Image synthesizing method, device, terminal and storage medium |
CN109660867A (en) | 2019-01-09 | 2019-04-19 | 深圳慧聚智能科技有限公司 | A kind of dynamic video method of adjustment and its equipment |
CN110278388A (en) | 2019-06-19 | 2019-09-24 | 北京字节跳动网络技术有限公司 | Show generation method, device, equipment and the storage medium of video |
CN110233976A (en) | 2019-06-21 | 2019-09-13 | 广州酷狗计算机科技有限公司 | The method and device of Video Composition |
CN110265057A (en) | 2019-07-10 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Generate multimedia method and device, electronic equipment, storage medium |
CN110336960A (en) | 2019-07-17 | 2019-10-15 | 广州酷狗计算机科技有限公司 | Method, apparatus, terminal and the storage medium of Video Composition |
EP4044611A1 (en) | 2019-11-04 | 2022-08-17 | Beijing Bytedance Network Technology Co., Ltd. | Method and apparatus for displaying music points, and electronic device and medium |
Non-Patent Citations (4)
Title |
---|
"Edit your video Clips"; https://support.apple.com/en-gb/guide/clips/devf7e94c16a/2.0.7/ios/13.0; Apple; ©2022;accesses Oct. 14, 2022; 2 pages. |
European Patent Application No. 20889011.1; Extended Search Report; dated Oct. 28, 2022; 13 pages. |
International Patent Application No. PCT/CN2020/129284; Int'l Written Opinion and Search Report; dated Feb. 19, 2021; 7 pages. |
Zhan Junling; "System of Video Editing and Playing Based on Intermediate Files"; Xidian University; Thesis; Dec. 2015; 85 pages (English abstract see p. III and IV). |
Also Published As
Publication number | Publication date |
---|---|
KR20220103112A (en) | 2022-07-21 |
JP7457804B2 (en) | 2024-03-28 |
CN112822541B (en) | 2022-05-20 |
EP4047943A1 (en) | 2022-08-24 |
JP2023501813A (en) | 2023-01-19 |
EP4047943A4 (en) | 2022-11-30 |
WO2021098670A1 (en) | 2021-05-27 |
US20220277775A1 (en) | 2022-09-01 |
BR112022009608A2 (en) | 2022-08-16 |
CN112822541A (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11636879B2 (en) | Video generating method, apparatus, electronic device, and computer-readable medium | |
US11818424B2 (en) | Method and apparatus for generating video, electronic device, and computer readable medium | |
US11887630B2 (en) | Multimedia data processing method, multimedia data generation method, and related device | |
US11587593B2 (en) | Method and apparatus for displaying music points, and electronic device and medium | |
CN108833787B (en) | Method and apparatus for generating short video | |
US11710510B2 (en) | Video generation method and apparatus, electronic device, and computer readable medium | |
CN113365134B (en) | Audio sharing method, device, equipment and medium | |
WO2023036294A1 (en) | Video publishing method and apparatus, electronic device, and storage medium | |
US20240064367A1 (en) | Video processing method and apparatus, electronic device, and storage medium | |
WO2023169356A1 (en) | Image processing method and apparatus, and device and storage medium | |
WO2024037557A1 (en) | Special effect prop processing method and apparatus, electronic device, and storage medium | |
WO2024002120A1 (en) | Media content display method and apparatus, device, and storage medium | |
CN114520928B (en) | Display information generation method, information display device and electronic equipment | |
CN111385638B (en) | Video processing method and device | |
CN112153439A (en) | Interactive video processing method, device and equipment and readable storage medium | |
EP4354885A1 (en) | Video generation method and apparatus, device, storage medium, and program product | |
CN112770185B (en) | Method and device for processing Sprite map, electronic equipment and storage medium | |
WO2023006014A1 (en) | Video editing method and apparatus, electronic device, and storage medium | |
CN115981769A (en) | Page display method, device, equipment, computer readable storage medium and product | |
CN116208808A (en) | Video template generation method and device and electronic equipment | |
CN114205671A (en) | Video content editing method and device based on scene alignment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS |
|
AS | Assignment |
Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TIANJIN JINGZHUNHUDONG TECHNOLOGY CO., LTD.;REEL/FRAME:062273/0697 Effective date: 20230104 Owner name: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:JIANG, WEI;REEL/FRAME:062273/0811 Effective date: 20220526 Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BEIJING MICROLIVE VISION TECHNOLOGY CO., LTD;REEL/FRAME:062274/0055 Effective date: 20230104 Owner name: BEIJING MICROLIVE VISION TECHNOLOGY CO., LTD, CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:FU, PINGFEI;ZHENG, QIFAN;REEL/FRAME:062273/0977 Effective date: 20221025 Owner name: TIANJIN JINGZHUNHUDONG TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:WANG, YA;REEL/FRAME:062273/0618 Effective date: 20221025 Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.;REEL/FRAME:062275/0801 Effective date: 20220926 Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHILE Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.;REEL/FRAME:062273/0864 Effective date: 20220926 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |