WO2022042035A1 - 视频制作方法、装置、设备及存储介质 - Google Patents

视频制作方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2022042035A1
WO2022042035A1 PCT/CN2021/104359 CN2021104359W WO2022042035A1 WO 2022042035 A1 WO2022042035 A1 WO 2022042035A1 CN 2021104359 W CN2021104359 W CN 2021104359W WO 2022042035 A1 WO2022042035 A1 WO 2022042035A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
playlist
interface
song
user
Prior art date
Application number
PCT/CN2021/104359
Other languages
English (en)
French (fr)
Inventor
孙磊
宁海
冯松
杜亚宣
刘伟杰
王亦驰
吴昊
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to EP21859875.3A priority Critical patent/EP4124052A4/en
Priority to US17/439,354 priority patent/US20220310125A1/en
Priority to BR112021020064A priority patent/BR112021020064A2/pt
Publication of WO2022042035A1 publication Critical patent/WO2022042035A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/816Monomedia components thereof involving special video data, e.g 3D video
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Definitions

  • the embodiments of the present disclosure relate to the technical field of computer and network communication, and in particular, to a video production method, apparatus, device, and storage medium.
  • entertainment applications such as music applications can be installed in the terminal, and the user can browse information in these entertainment applications, and can share the browsed information with other users.
  • users can browse playlists in music applications, or share playlists with other users.
  • playlists in music applications usually simply display information such as the cover of the playlist, a list of song names and other information.
  • the display form is single, the display effect is poor, and the playlist cannot be displayed well. content, cannot effectively improve the click rate and playback volume of the playlist, especially when the playlist is shared, only the links including the playlist cover and other information, the song name list and other information are shared, resulting in poor playlist sharing effect.
  • Embodiments of the present disclosure provide a video production method, device, device, and storage medium, so as to better display the content of the playlist, improve the display effect of the content of the playlist, and effectively increase the click-through rate and the play volume of the playlist.
  • an embodiment of the present disclosure provides a video production method, including:
  • the target song and the video are combined to obtain a video file.
  • an embodiment of the present disclosure provides a video production apparatus, including:
  • an acquisition module used for acquiring song list information and the target song in the song list in response to the user's first instruction
  • a generating module configured to generate a video material according to the song list information, and generate a video according to the video material and a preset motion effect
  • the synthesis module is used for merging the target song and the video to obtain a video file.
  • embodiments of the present disclosure provide an electronic device, including: at least one processor and a memory;
  • the memory stores computer-executable instructions
  • the at least one processor executes computer-implemented instructions stored in the memory to cause the at least one processor to perform the method of the first aspect above.
  • embodiments of the present disclosure provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the above-described first aspect is implemented method.
  • an embodiment of the present disclosure provides a computer program product, where the computer program product includes: a computer program, where the computer program is stored in a computer-readable storage medium, and at least one processor of an electronic device can be downloaded from the computer A readable storage medium reads the computer program, and when the processor executes the computer program, the method as described in the first aspect above is implemented.
  • an embodiment of the present disclosure provides a computer program, where the computer program is stored in a computer-readable storage medium, and at least one processor of a device can read the computer program from the computer-readable storage medium, The method as described in the first aspect above is implemented when the computer program is executed by a processor.
  • the video production method, device, device, and storage medium provided by the embodiments of the present disclosure acquire playlist information and target songs in the playlist by responding to the user's first instruction; generate video material according to the playlist information, and And preset motion effects to generate video; merge the target song and video to get a video file.
  • the video contains more elements, which can better display the playlist information, which is beneficial to improve the effect of displaying and sharing the playlist, and can more effectively attract users to click and play , which can effectively improve the click-through rate and playback volume of the playlist.
  • FIG. 1 is an example diagram of a communication system of a video production method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a video production method provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a video production method provided by another embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of a video production method provided by another embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart of a video production method provided by another embodiment of the present disclosure.
  • 6a is a schematic flowchart of setting a preset motion effect and a target song in a video production method provided by another embodiment of the present disclosure
  • 6b is a schematic flowchart of setting a preset motion effect and a target song in a video production method provided by another embodiment of the present disclosure
  • 6c is a schematic flowchart of setting a preset motion effect and a target song in a video production method provided by another embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of a video production method provided by another embodiment of the present disclosure.
  • FIG. 8 is a structural block diagram of a video production apparatus provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
  • playlists in music applications usually simply display information such as the cover of the playlist, a list of song names and other information.
  • the display form is single, the display effect is poor, and the playlist cannot be displayed well. content, cannot effectively improve the click rate and playback volume of the playlist, especially when the playlist is shared, only the links including the playlist cover and other information, the song name list and other information are shared, resulting in poor playlist sharing effect.
  • the video has a good display effect, can contain more elements, can attract clicks and plays more effectively, and has better display and sharing potential
  • the video production method provided by the embodiment of the present disclosure can be applied to the communication system as shown in FIG. 1 .
  • the communication system includes a terminal 101 , a server 102 , and a social platform server 103 , wherein a user can trigger the first step of video production on the terminal 101 .
  • An instruction after receiving the first instruction from the user, the terminal 101 can obtain the playlist information and at least one song in the playlist from the server 102, synthesize the video according to the playlist information and the preset motion effect, and obtain the obtained
  • the song is used as background music, and is combined with the video into a video file.
  • the video file can be sent to the social platform server 103, so as to be shared on the social platform, or the video file can be stored locally in the terminal 101, or uploaded to stored on other servers.
  • FIG. 2 is a first schematic flowchart of a video production method according to an embodiment of the present disclosure.
  • the method of this embodiment can be applied to a terminal, and the terminal is not limited to a smart phone, a tablet computer, a notebook computer, a wearable device, etc.
  • the specific steps of the video production method include:
  • S201 Acquire playlist information and a target song in the playlist in response to a user's first instruction.
  • the user when the user needs to display the playlist or share the playlist, the user can trigger the first instruction to make the playlist into a video on the terminal, for example, the user can click the make video button in the playlist display interface or share button, or the first instruction may also be input to the terminal by means of voice, gesture, or the like.
  • the terminal may acquire the playlist information and the target song in the playlist.
  • the playlist information and songs are pre-stored on the server, and the playlist information and songs can be pre-uploaded to the server by the playlist author, record company, artist, etc., which may include but not limited to the playlist cover image, playlist name, and song name list. , at least one of playlist author information, sharer information, and song artist information.
  • the target song in the playlist is used as the background music of the video file, which can be any one or more songs in the playlist.
  • it can be the first song in the playlist or the song The most popular or most played song in the list; of course, it can also be several songs, and then a piece of audio can be synthesized by audio editing as the background music of the video file.
  • the target song can also be judged whether the target song has the copyright; if it does not have the copyright of the target song, re-acquire at least one copyrighted song from the playlist as the target song; or, close or Cancel the target song of the video file.
  • the downloaded target song can be any copyrighted song in the playlist. For example, if the first song is the target song by default, when the first song does not have copyright, the following copyrighted songs are downloaded. as the target song.
  • the target song does not have copyright, the background music in the synthesized video file may be turned off, or the background music may not be added to the video file in the following step S203.
  • S202 Generate a video material according to the playlist information, and generate a video according to the video material and a preset motion effect.
  • the playlist information may include text and pictures, and the text can be typeset, and the pictures can be cut, etc., so as to obtain corresponding video materials.
  • each video material can be converted into a picture form.
  • the preset motion effect may be a fixed preset motion effect or a motion effect preset by the user, and may specifically include motion information of each video material, such as the display and disappearance method, the order and time node of display and disappearance, and also Including some attribute information of each video material, such as the size, position, and hierarchical relationship between each video material when displayed, etc.
  • the preset motion effects may include, but are not limited to: the display and disappearance of song list text, Playlist cover image zoom, songlist name, playlist animation, transition effect, number of transitions, and after the transition, enter the playlist details page to display the playlist details, and finally the display method of the software LOGO logo, as well as the above The sequence and timing of actions, etc.
  • video frames can be generated one by one in sequence, and the change process of the video material can be displayed in the adjacent video frames, and the video frames can be synthesized into a video according to the preset video frame rate.
  • the target song and the video are combined to add background music to the video, so that one or more songs in the playlist can be enjoyed while playing the video file, and the background music can be used to quickly understand the song The style of the songs in the list, whether it meets your preferences, etc.
  • a certain segment of a song may be intercepted from the target song, or multiple song segments may be combined, etc., as background music.
  • the video file can also be shared on the target platform, where the target platform can include but not limited to Weibo, WeChat Moments, etc., and can also be shared on chat
  • the user can specify the target platform in the first instruction, or can select the target platform after obtaining the video file.
  • the video file can also be stored, for example, stored locally or uploaded to a cloud database.
  • the video production method provided by the present embodiment obtains playlist information and target songs in the playlist by responding to the first instruction of the user; generates video material according to the playlist information, and generates a video according to the video material and preset motion effects; Merge the target song and video to get a video file.
  • the video contains more elements, which can better display the playlist information, which is beneficial to improve the effect of displaying and sharing the playlist, and can more effectively attract users to click and play. Thereby, the click-through rate and playback volume of the playlist can be effectively improved.
  • the step of generating a video material according to the playlist information in S202, and generating a video according to the video material and a preset motion effect may specifically include:
  • the playlist information may include text and pictures
  • the text is typeset first, and the pictures are cropped. All the materials are converted into pictures, so that pictures corresponding to each playlist information are obtained as the video materials.
  • some attribute information and/or action information may be set for each video material in the preset motion effect, wherein the attribute information of the video material may include but not limited to the size of the video material and/or or location information, the action information of the video material may include, but is not limited to, time information and/or action type when the video material performs an action.
  • the preset motion effect may not be limited to the above examples, and will not be repeated here.
  • the rules for changing each video material over time are determined, and according to the time
  • the variation rule synthesizes each video material at the same time point according to its corresponding size and position information at the time point, so as to generate a video frame at the time point.
  • the appearance of the cover image of the playlist can be determined according to the time point when the cover image of the playlist appears, the initial size, the initial position, the zoom ratio during the zooming process, the zoom speed, the zoom center point, etc.
  • the cover image of the song list can be displayed. desired zoom effect.
  • the above process is also used for processing, so that all continuous video frames can be obtained.
  • the video frames are sequentially combined according to the predetermined video frame rate to obtain a complete video, so that the process of changing each video material according to the preset motion effect can be displayed.
  • a video production method can be implemented through a system API provided by iOS, and the implementation process is as follows:
  • a video production method can be implemented through a system API provided by Android, and the implementation process is as follows:
  • the video file can also be shared to the social platform designated by the user through a sharing SDK provided by a third party, or the video file can also be stored, for example, stored locally on the terminal or uploaded to a cloud database.
  • the user may also set the dynamic effect and/or the target song by himself, as follows.
  • the method may further include:
  • S402. Receive a first selection instruction from the user on the first interface, determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect. Set motion effect.
  • the terminal may provide a first interface for setting dynamic effects, and the user can set the desired dynamic effects by themselves in the first interface.
  • the first interface may include a variety of alternative motion effects. For example, for a certain video material, alternative motion effects when it disappears, such as zoom, fade out, gradient, etc., can be pre-configured.
  • the first selection instruction the terminal may determine the target candidate motion effect selected by the user according to the first selection instruction.
  • the triggering of the first interface can be displayed when the terminal receives the first instruction from the user in the above embodiment, that is, after the above user clicks the make video button or the share button in the display interface of the playlist, or through voice
  • the first interface is displayed; of course, the user can also trigger the display of the first interface through other methods (such as the second command).
  • the terminal may display the first interface after receiving the second instruction from the user to click the button.
  • the method may further include:
  • S502 Receive a second selection instruction from the user on the second interface, and determine the target song from a list of song names in the playlist according to the second selection instruction.
  • the terminal may provide a second interface for song selection, and the user may select a target song as the background music of the video file on the second interface.
  • the second interface may include a list of song names of candidate songs in the playlist, the user may input a second selection instruction on the second interface, and the terminal may determine the target song selected by the user according to the second selection instruction.
  • the triggering of the second interface can be displayed when the terminal receives the first instruction from the user in the above-mentioned embodiment, that is, after the above-mentioned user clicks the make video button or the share button in the display interface of the playlist, or After inputting the first instruction to the terminal through voice, gesture, etc., the second interface is displayed; of course, the user can also trigger the display of the second interface through other methods (such as the second instruction).
  • the terminal can also provide a button for song selection, and the user can After clicking the button for song selection, the terminal may display the second interface after receiving the second instruction from the user to click the button.
  • the embodiments of the present disclosure also provide a solution in which the user sets the motion effect by himself to select the target song.
  • the process of setting the motion effect and selecting the target song is as follows:
  • S602. Receive a first selection instruction from the user on the first interface, determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect. set dynamic effect;
  • S604 Receive a second selection instruction from the user on the second interface, and determine the target song from the list of song names in the playlist according to the second selection instruction.
  • the user can first trigger the first interface through the above-mentioned first instruction or the above-mentioned second instruction, and then determine the target candidate motion effect on the first interface through the above-mentioned first selection instruction, as a preset motion effect After determining the preset motion effect, trigger the display of the second interface, and then select the target song on the second interface through the above-mentioned second selection instruction.
  • the user can first trigger the second interface through the above-mentioned first instruction or the above-mentioned third instruction, and then select the target song on the second interface through the above-mentioned second selection instruction, and after determining the target song, trigger the display of the first an interface, and then determine the target candidate motion effect on the first interface through the above-mentioned first selection instruction as a preset motion effect.
  • the terminal may provide a third interface that can be used to set motion effects and target songs, and the user can set desired motion effects and target songs as background music of the video file in the third interface.
  • the third interface may include a variety of alternative motion effects. For example, for a certain video material, alternative motion effects when it disappears, such as zoom, fade out, gradient, etc., can be pre-configured.
  • the third interface also includes songs. The song name list of the candidate songs in the list, the user can input a third selection instruction on the third interface, and the terminal can determine the target candidate animation effect selected by the user according to the third selection instruction and determine the target from the list of song names in the song list song.
  • the triggering of the third interface can be displayed when the terminal receives the first instruction from the user in the above embodiment, that is, after the above user clicks the make video button or the share button in the display interface of the playlist, or through voice
  • the third interface is displayed; of course, the user can also trigger the display of the third interface through other methods (such as the fourth command).
  • the terminal can also provide a setting button, and the user clicks the setting button. After that, the terminal may display the third interface after receiving the fourth instruction of the user clicking the button.
  • the playlist information acquired in S201 needs to be complete and free of defects. Therefore, after the playlist information is acquired, the completeness of the playlist information can be carried out. determine whether the acquired playlist information is missing, and if there is any missing, the subsequent S202-204 will not be executed to avoid the failure of video generation, and at the same time, the prompt information of the video production failure can be displayed on the interface of the terminal. to notify the user that the video production failed.
  • it can also display which playlist information is missing; further optionally, a playlist information supplementary interface can also be displayed in the interface, which can provide users with a way to supplement the playlist information, and the user can supplement the missing information through this interface. Playlist information.
  • the playlist information is completely stored on the server. If the content of the playlist information obtained by the terminal is missing, it is very likely due to the poor network environment. Even if the video can be generated, The subsequent process of sharing the video file to the social platform may also fail. Therefore, you can monitor the network environment after the video production failure is indicated. When the network environment reaches a certain standard, the user can be prompted on the terminal interface, and the playlist can be shared again. Only at this time can the complete playlist information and the target song in the playlist be successfully obtained, and the subsequent S202-S204 are continued.
  • FIG. 8 is a structural block diagram of a video production apparatus provided by an embodiment of the present disclosure.
  • the video production apparatus 800 includes: an acquisition module 801 , a generation module 802 , and a synthesis module 803 .
  • the obtaining module 801 is used for obtaining the playlist information and the target song in the playlist in response to the first instruction of the user;
  • a generating module 802 configured to generate a video material according to the playlist information, and generate a video according to the video material and a preset motion effect;
  • the synthesis module 803 is configured to combine the target song and the video to obtain a video file.
  • the generating module 802 when the generating module 802 generates a video material according to the playlist information, and generates a video according to the video material and a preset motion effect, it is configured to:
  • each of the video materials According to the attribute information and/or action information of each of the video materials, corresponding processing is performed on the video materials to generate continuous video frames;
  • the video frames are merged into the video.
  • the attribute information of the video material includes size and/or position information of the video material
  • the action information of the video material includes time information and/or action type when the video material performs an action.
  • the obtaining module 801 is further configured to:
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the obtaining module 801 is further configured to:
  • the second interface includes a list of song titles of the playlist
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the obtaining module 801 is further configured to:
  • a second interface is displayed, and the second interface includes a list of song names of the playlist;
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the obtaining module 801 is further configured to:
  • the second interface includes a list of song titles of the playlist
  • a first interface is displayed, and the first interface includes alternative motion effects
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the obtaining module 801 is further configured to:
  • a third interface is displayed, and the third interface includes an alternative motion effect and a list of song names of the playlist;
  • Receive a user's third selection instruction on the third interface determine the target song from the song name list of the playlist according to the third selection instruction, and determine the target candidate from the candidate motion effect motion effect, and use the target candidate motion effect as the preset motion effect.
  • the playlist information includes at least one of the following:
  • Playlist cover image playlist name, song name list, playlist author information, sharer information, song artist information.
  • the obtaining module 801 is further configured to:
  • the video production process is ended, and prompt information is displayed, where the prompt information is used to prompt that the video production fails.
  • the apparatus further includes an output module 804 for:
  • the video production apparatus provided in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again in this embodiment.
  • the electronic device 900 may be a terminal device or a server.
  • the terminal equipment may include, but is not limited to, such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, referred to as PDA), tablet computers (Portable Android Device, referred to as PAD), portable multimedia players (Portable Media Player (PMP for short), mobile terminals such as in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs (Television), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Portable Android Device
  • PMP Portable Multimedia Player
  • mobile terminals such as in-vehicle terminals (such as in-vehicle navigation terminals), etc.
  • fixed terminals such as digital TVs (Television), desktop computers, and the like.
  • the electronic device shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may be stored in a read-only memory (Read Only Memory, ROM for short) 902 according to a program or from a storage device 908 is a program loaded into a random access memory (Random Access Memory, RAM for short) 903 to execute various appropriate actions and processes.
  • a processing device such as a central processing unit, a graphics processor, etc.
  • ROM Read Only Memory
  • RAM Random Access Memory
  • various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • Input/output (I/O) interface 905 is also connected to bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD for short) ), speaker, vibrator, etc. output device 907; storage device 908 including, eg, magnetic tape, hard disk, etc.; and communication device 909.
  • the communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 shows an electronic device 900 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 909, or from the storage device 908, or from the ROM 902.
  • the processing apparatus 901 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure 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 can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above combination.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. 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 foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • the program code embodied on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: electric wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, causes the electronic device to execute the methods shown in the foregoing embodiments.
  • Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages - such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language.
  • the program code may execute 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 can be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or, can be connected to an external A computer (eg using an internet service provider to connect via the internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner.
  • the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit that obtains at least two Internet Protocol addresses".
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (Application Specific Standard Products) Standard Product, ASSP), system on chip (System On Chip, SOC), complex programmable logic device (Complex Programmable Logic Device, CPLD) and so on.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSP Application Specific Standard Products
  • ASOC System On Chip
  • complex programmable logic device Complex Programmable Logic Device, CPLD
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • an embodiment of the present disclosure provides a video production method, including:
  • the target song and the video are combined to obtain a video file.
  • the generating a video material according to the playlist information, and generating a video according to the video material and a preset motion effect includes:
  • each of the video materials According to the attribute information and/or action information of each of the video materials, corresponding processing is performed on the video materials to generate continuous video frames;
  • the video frames are merged into the video.
  • the attribute information of the video material includes size and/or position information of the video material
  • the action information of the video material includes time information and/or action type when the video material performs an action.
  • the method further includes:
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the method further includes:
  • the second interface includes a list of song titles of the playlist
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the method further includes:
  • a second interface is displayed, and the second interface includes a list of song names of the playlist;
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the method further includes:
  • the second interface includes a list of song titles of the playlist
  • a first interface is displayed, and the first interface includes alternative motion effects
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the method further includes:
  • a third interface is displayed, and the third interface includes an alternative motion effect and a list of song names of the playlist;
  • Receive a user's third selection instruction on the third interface determine the target song from the song name list of the playlist according to the third selection instruction, and determine the target candidate from the candidate motion effect motion effect, and use the target candidate motion effect as the preset motion effect.
  • the playlist information includes at least one of the following:
  • Playlist cover image playlist name, song name list, playlist author information, sharer information, song artist information.
  • the method further includes:
  • the video production process is ended, and prompt information is displayed, where the prompt information is used to prompt that the video production fails.
  • the method further includes:
  • the video file is stored.
  • an embodiment of the present disclosure provides a video production apparatus, including:
  • an acquisition module used for acquiring song list information and the target song in the song list in response to the user's first instruction
  • a generating module configured to generate a video material according to the song list information, and generate a video according to the video material and a preset motion effect
  • the synthesis module is used for merging the target song and the video to obtain a video file.
  • the generating module when the generating module generates a video material according to the playlist information, and generates a video according to the video material and a preset motion effect, the generating module is configured to:
  • each of the video materials According to the attribute information and/or action information of each of the video materials, corresponding processing is performed on the video materials to generate continuous video frames;
  • the video frames are merged into the video.
  • the attribute information of the video material includes size and/or position information of the video material
  • the action information of the video material includes time information and/or action type when the video material performs an action.
  • the obtaining module is further configured to:
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the obtaining module is further configured to:
  • the second interface includes a list of song titles of the playlist
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the obtaining module is further configured to:
  • a second interface is displayed, and the second interface includes a list of song names of the playlist;
  • a second selection instruction from the user on the second interface is received, and the target song is determined from the song name list of the playlist according to the second selection instruction.
  • the obtaining module is further configured to:
  • the second interface includes a list of song titles of the playlist
  • a first interface is displayed, and the first interface includes alternative motion effects
  • Receive a first selection instruction from the user on the first interface determine a target candidate motion effect from the candidate motion effects according to the first selection instruction, and use the target candidate motion effect as the preset motion effect effect.
  • the obtaining module is further configured to:
  • a third interface is displayed, and the third interface includes an alternative motion effect and a list of song names of the playlist;
  • Receive a user's third selection instruction on the third interface determine the target song from the song name list of the playlist according to the third selection instruction, and determine the target candidate from the candidate motion effect motion effect, and use the target candidate motion effect as the preset motion effect.
  • the playlist information includes at least one of the following:
  • Playlist cover image playlist name, song name list, playlist author information, sharer information, song artist information.
  • the obtaining module is further configured to:
  • the video production process is ended, and prompt information is displayed, where the prompt information is used to prompt that the video production fails.
  • the apparatus further includes an output module for:
  • embodiments of the present disclosure provide an electronic device, including: at least one processor and a memory;
  • the memory stores computer-executable instructions
  • the at least one processor executes computer-implemented instructions stored in the memory to cause the at least one processor to perform the method of the first aspect above.
  • embodiments of the present disclosure provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the above-described first aspect is implemented method.
  • an embodiment of the present disclosure provides a computer program product, where the computer program product includes: a computer program, where the computer program is stored in a computer-readable storage medium, and at least one processor of an electronic device can be downloaded from the computer A readable storage medium reads the computer program, and when the processor executes the computer program, the method as described in the first aspect above is implemented.
  • an embodiment of the present disclosure provides a computer program, where the computer program is stored in a computer-readable storage medium, and at least one processor of a device can read the computer program from the computer-readable storage medium, The method as described in the first aspect above is implemented when the computer program is executed by a processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本公开实施例提供一种视频制作方法、装置、设备及存储介质,通过响应于用户的第一指令,获取歌单信息以及歌单中的目标歌曲;根据歌单信息生成视频素材,并根据视频素材以及预设动效生成视频;将目标歌曲与视频进行合并,得到视频文件。本公开实施例通过将歌单制作成视频方式,视频中包含更多的元素,可以更好的展示歌单信息,有利于提高歌单展示和分享的效果,能够更有效的吸引用户点击和播放,从而可有效的提高歌单的点击率和播放量。

Description

视频制作方法、装置、设备及存储介质
相关申请交叉引用
本申请要求于2020年8月24日提交中国专利局、申请号为202010859130.6、发明名称为“视频制作方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用并入本文。
技术领域
本公开实施例涉及计算机与网络通信技术领域,尤其涉及一种视频制作方法、装置、设备及存储介质。
背景技术
随着互联网技术的快速发展,手机、平板电脑等终端的功能日益丰富,逐渐成为人们工作和生活中不可或缺的工具。其中,终端中可以安装音乐类应用等娱乐性应用,用户可以在这些娱乐性应用中浏览信息,并且可以将所浏览的信息分享给其他用户。例如,用户可以在音乐类应用中浏览歌单,也可将歌单分享给其他用户。
现有技术中,在音乐类应用中的歌单通常仅单纯的将歌单封面等图片、歌曲名称列表等信息展示出来,其展示形式单一、展示效果较差,不能很好的展示出歌单内容,无法有效的提高歌单的点击率和播放量,尤其在歌单分享时仅仅分享包括歌单封面等图片、歌曲名称列表等信息的链接,导致歌单分享的效果较差。
发明内容
本公开实施例提供一种视频制作方法、装置、设备及存储介质,以更好的展示歌单内容,提高歌单内容的展示效果,有效的提高歌单的点击率和播放量。
第一方面,本公开实施例提供一种视频制作方法,包括:
响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
将所述目标歌曲与所述视频进行合并,得到视频文件。
第二方面,本公开实施例提供一种视频制作装置,包括:
获取模块,用于响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
生成模块,用于根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
合成模块,用于将所述目标歌曲与所述视频进行合并,得到视频文件。
第三方面,本公开实施例提供一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面所述的方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面所述的方法。
第五方面,本公开实施例提供一种计算机程序产品,所述计算机程序产品包括:计算机程序,所述计算机程序存储在计算机可读存储介质中,电子设备的至少一个处理器可以从所述计算机可读存储介质读取所述计算机程序,当处理器执行所述计算机程序时,实现如上第一方面所述的方法。
第六方面,本公开实施例提供一种计算机程序,所述计算机程序存储在计算机可读存储介质中,设备的至少一个处理器可以从所述计算机可读存储介质中读取所述计算机程序,当处理器执行所述计算机程序时,实现如上第一方面所述的方法。
本公开实施例提供的视频制作方法、装置、设备及存储介质,通过响应于用户的第一指令,获取歌单信息以及歌单中的目标歌曲;根据歌单信息生成视频素材,并根据视频素材以及预设动效生成视频;将目标歌曲与视频进行合并,得到视频文件。本公开实施例通过将歌单制作成视频方式,视频中包含更多的元素,可以更好的展示歌单信息,有利于提高歌单展示和分享的效果,能够更有效的吸引用户点击和播放,从而可有效的提高歌单的点击率和播放量。
附图说明
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开一实施例提供的视频制作方法的通信系统的示例图;
图2为本公开一实施例提供的视频制作方法流程示意图;
图3为本公开另一实施例提供的视频制作方法流程示意图;
图4为本公开另一实施例提供的视频制作方法流程示意图;
图5为本公开另一实施例提供的视频制作方法流程示意图;
图6a为本公开另一实施例提供的视频制作方法中设置预设动效和目标歌曲的流程示意图;
图6b为本公开另一实施例提供的视频制作方法中设置预设动效和目标歌曲的流程示意图;
图6c为本公开另一实施例提供的视频制作方法中设置预设动效和目标歌曲的流程示意图;
图7为本公开另一实施例提供的视频制作方法流程示意图;
图8为本公开一实施例提供的视频制作装置的结构框图;
图9为本公开实施例提供的电子设备的硬件结构示意图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
现有技术中,在音乐类应用中的歌单通常仅单纯的将歌单封面等图片、歌曲名称列表等信息展示出来,其展示形式单一、展示效果较差,不能很好的展示出歌单内容,无法有效的提高歌单的点击率和播放量,尤其在歌单分享时仅仅分享包括歌单封面等图片、歌曲名称列表等信息的链接,导致歌单分享的效果较差。
为了解决上述技术问题,本公开实施例中考虑到视频的展示效果好、可以包含更多的元素,能够更有效的吸引点击和播放,具有更好的展示和分享潜力,因此可以通过将歌单制作成视频方式进行歌单的展示和分享,提高歌单展示和分享的效果,提高歌单的点击率和播放量。为了实现将歌单制作成视频,可首先获取歌单信息以及歌单中的至少一首歌曲,根据歌单信息和预设动效合成视频,并将获取到的歌曲作为背景音乐,与视频合并为视频文件,进而可将歌单以视频文件形式输出,例如存储或者分享到指定的社交平台上。
本公开实施例提供的视频制作方法可应用于如图1所示的通信系统中,该通信系统包括终端101、服务器102、社交平台服务器103,其中,用户可在终端101上触发视频制作的第一指令,终端101在接收到用户的第一指令后,可以从服务器102获取歌单信息以及歌单中的至少一首歌曲,并根据歌单信息和预设动效合成视频,并将获取到的歌曲作为背景音乐,与视频合并为视频文件,进一步的,可将该视频文件发送到社交平台服务器103上,从而分享到该社交平台上,或者将视频文件存储在终端101本地,或上传到其他服务器上存储。
下面以具体的实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开实施例进行描述。
参考图2,图2为本公开实施例提供的视频制作方法流程示意图一。本实施例的方法可以应用在终端中,该终端不限于智能手机、平板电脑、笔记本电脑、可穿戴设备等,该视频制作方法具体步骤包括:
S201:响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲。
在本实施例中,用户在需要进行歌单展示或者歌单分享时,可在终端上触发将歌单制作成视频的第一指令,例如用户可以点击歌单的展示界面中的制作视频按钮或者分享按钮,或者也可通过语音、手势等方式向终端输入第一指令。
终端在接收到用户的第一指令后,可获取歌单信息以及歌单中的目标歌曲。其中,歌单信息以及歌曲预存于服务器上,歌单信息和歌曲可由歌单作者、唱片公司、艺人等预先上传到服务器,具体可包括但不限于歌单封面图、歌单名、歌曲名列表、歌单作者信息、分享者信息、歌曲艺人信息中至少一项。
此外,歌单中的目标歌曲是用作视频文件的背景音乐,可以是歌单中的任意一首或多首歌曲,可选的,可以是歌单中的第一首歌曲,也可以是歌单中人气最高或播放量最 高的歌曲;当然也可以是几首歌曲,后续可通过音频剪辑合成一段音频作为视频文件的背景音乐。
可选的,还可判断是否具有所述目标歌曲的版权;若不具有所述目标歌曲的版权,则从所述歌单中重新获取至少一首具有版权的歌曲作为目标歌曲;或者,关闭或取消所述视频文件的所述目标歌曲。在本实施例中,在考虑到版权问题的情况下,可先判断是否具有目标歌曲的版权。可选的,下载的目标歌曲可以为歌单中任意一首具有版权的歌曲,例如若默认第一首歌曲为目标歌曲时,当第一首歌曲不具有版权,则下载后面的具有版权的歌曲作为目标歌曲。或者,若目标歌曲不具有版权,可关闭合成后视频文件中的背景音乐,或者在下述S203步骤中不在视频文件中添加背景音乐。
S202:根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频。
在本实施例中,歌单信息可能包括文字、图片,可对文字进行排版,对图片进行剪裁等处理,从而得到对应的视频素材。可选的,由于视频由一帧帧的图像构成,因此可将每一视频素材均转为图片形式。
在得到视频素材后,可根据视频素材以及预设动效生成视频。其中预设动效可以是固定的预设动效,也可以是用户预先设置的动效,具体可包括各视频素材动作信息,例如展示和消失方式、展示和消失的顺序和时间节点,还可包括各视频素材的一些属性信息,例如展示时的尺寸、位置、各视频素材之间的层级关系等等,更具体的,预设动效可以包括但不限于:歌单文字的展示和消失,歌单封面图缩放,歌单名、歌单作者的出场动画,转场效果、转场次数,以及转场后进入歌单详情页展示歌单详情,最后软件LOGO标志的展示方式,以及上述各动作的顺序和时间节点等等。根据视频素材以及预设动效,可以依次生成一帧一帧的视频帧,相邻视频帧中可以展示出视频素材的变化过程,将视频帧按照预设视频帧率合成为视频。
S203:将所述目标歌曲与所述视频进行合并,得到视频文件。
在本实施例中,将目标歌曲与视频合并,为视频增加背景音乐,从而可以使得在播放视频文件的同时能够欣赏到歌单中的某一首或多首歌曲,通过背景音乐可以快速了解歌单内的歌曲风格、是否满足自己的喜好等。可选的,可以对目标歌曲截取一首歌曲的某个片段,或者合并多个歌曲片段等,作为背景音乐。
在上述实施例的基础上,可选的,在得到视频文件后,还可将视频文件分享至目标平台上,其中目标平台可包括但不限于微博、微信朋友圈等,也可分享到聊天软件中,可选的,用户可以在第一指令中指定目标平台,也可在得到视频文件后再选择目标平台。在另一种实施例中,也可将视频文件进行存储,例如存储到本地或上传到云端数据库。
本实施例提供的视频制作方法,通过响应于用户的第一指令,获取歌单信息以及歌单中的目标歌曲;根据歌单信息生成视频素材,并根据视频素材以及预设动效生成视频;将目标歌曲与视频进行合并,得到视频文件。本实施例通过将歌单制作成视频方式,视频中包含更多的元素,可以更好的展示歌单信息,有利于提高歌单展示和分享的效果,能够更有效的吸引用户点击和播放,从而可有效的提高歌单的点击率和播放量。
在本公开的一个实施例中,如图3所示,S202所述的根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频,具体可包括:
S301、根据所述预设动效确定每一所述视频素材的属性信息和/或动作信息。
在本实施例中,由于歌单信息可能包括文字、图片,可选的,首先对文字进行排版,对图片进行剪裁等处理,而由于视频由一帧帧的图像构成,因此可将每一视频素材均转为图片形式,从而得到各歌单信息对应的图片,作为所述视频素材。
在本实施例中,在预设动效中可以针对每一视频素材设定一些属性信息和/或动作信息,其中所述视频素材的属性信息可包括但不限于所述视频素材的尺寸和/或位置信息,所述视频素材的动作信息可包括但不限于所述视频素材进行动作的时间信息和/或动作类型。当然,预设动效可并不限于上述举例,此处不再赘述。
S302、根据每一所述视频素材的属性信息和/或动作信息,对所述视频素材进行相应处理,生成连续的视频帧。
在本实施例中,根据每一视频素材的属性信息和/或动作信息,例如尺寸和位置信息、进行动作的时间信息以及动作类型,确定每一视频素材随时间变化的规则,并根据随时间变化规则将相同时间点的各视频素材按照其在该时间点对应的尺寸、位置信息进行合成,从而生成该时间点的视频帧。
例如对于歌单封面图的缩放动效,可根据歌单封面图出现的时间点、初始尺寸、初始位置、缩放过程中的缩放比例、缩放速度、缩放中心点等,确定该歌单封面图出现在哪些视频帧中,在该些视频帧的每一帧中分别的尺寸、位置、与其他素材之间的层级关系等,而该些视频帧连续播放时其中的歌单封面图即可展示出所需的缩放效果。同样的,对于其他视频素材也采用上述的过程进行处理,即可得到所有的连续的视频帧。
S303、将所述视频帧合并为所述视频。
在本实施例中,将视频帧依次按照预定视频帧率进行合并,得到一个完整的视频,从而可以展示出各视频素材依照预设动效进行变化的过程。
需要说明的是,上述过程是由终端完成的,由于不同终端的操作系统可能不相同,因此在不同操作系统下,操作系统对应工具采用对应的方式实现上述过程。
在一种实施例中,对于苹果公司的iOS操作系统,可通过iOS提供的系统API实现视频制作方法,其实现过程如下所示:
S311.通过网络接口获取歌单信息,并下载歌单中目标歌曲的音频文件;利用iOS系统提供的图片生成控件和文字排版控件生成相应的图片,作为视频素材;
S312.根据预设动效效果要求,对视频素材进行合成,得到每一帧图片(CALayer),将每一帧的图片转成视频帧(CVPixelBuffer),并把每一帧组合在一起合成视频;
S313.利用iOS系统API将下载好的目标歌曲的音频和通过素材生成的视频进行合成,得到视频文件,并输出。
在一种实施例中,对于谷歌公司的Android操作系统,可通过Android提供的系统API实现视频制作方法,其实现过程如下所示:
S321.通过网络接口获取歌单信息,并下载歌单中目标歌曲的音频文件;利用Android系统提供的图片生成控件和文字排版控件生成相应的图片,作为视频素材;
S322.在XML布局中根据动画参数组装好各视频素材元素控件后,利用Canvas画布生成视频每一帧Bitmap,其中Bitmap是通过像素阵列来表示图像;
S323.将Bitmap作为OpenGL的纹理,进行渲染;
S324.OpenGL的数据传递给Android系统的视频控件生成视频;
S325.利用Android系统API将下载好的目标歌曲的音频和通过素材生成的视频进行合成,得到视频文件,并输出。
S326.通过第三方提供的分享SDK将视频文件分享至相应的社交平台。
进一步的,在S313和S326之后,还可通过第三方提供的分享SDK将视频文件分享至用户指定的社交平台,或者也可将视频文件进行存储,例如存储到终端本地或上传到云端数据库。
可选的,本公开实施例中还可由用户自行设置动效、和/或目标歌曲,具体如下。
在本公开的一个实施例中,如图4所示,所述方法还可包括:
S401、响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
S402、接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
在本实施例中,终端可以提供用于设置动效的第一界面,用户可以在第一界面内自行设置所需的动效。可选的,第一界面中可包括多种备选动效,例如对于某一视频素材可以预先配置其消失时的备选动效如缩放、淡出、渐变等等,用户可以在第一界面输入第一选择指令,终端可根据第一选择指令确定用户所选择的目标备选动效。而第一界面的触发,可在终端接收到上述实施例中的用户的第一指令时进行显示,也即在上述用户点击歌单的展示界面中的制作视频按钮或者分享按钮后,或者通过语音、手势等方式向终端输入第一指令后,展示该第一界面;当然用户也可通过其他方式(如第二指令)触发显示第一界面,例如终端还可提供设置动效的按钮,用户在点击设置动效的按钮后,终端可接收到用户点击该按钮的第二指令后,展示第一界面。
在本公开的一个实施例中,如图5所示,所述方法还可包括:
S501、响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
S502、接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
在本实施例中,终端可以提供用于歌曲选择的第二界面,用户可以在第二界面选择作为视频文件背景音乐的目标歌曲。其中,第二界面可包括歌单中备选歌曲的歌曲名列表,用户可以在第二界面输入第二选择指令,终端可根据第二选择指令确定用户所选择的目标歌曲。同样的,第二界面的触发,可在终端接收到上述实施例中的用户的第一指令时进行显示,也即在上述用户点击歌单的展示界面中的制作视频按钮或者分享按钮后,或者通过语音、手势等方式向终端输入第一指令后,展示该第二界面;当然用户也可通过其他方式(如第二指令)触发显示第二界面,例如终端还可提供歌曲选择的按钮,用 户在点击歌曲选择的按钮后,终端可接收到用户点击该按钮的第二指令后,展示第二界面。
在上述实施例的基础上,本公开实施例中还提供了用户自行设置动效以选择目标歌曲的方案。
在一种可选实施例中,如图6a所示,设置动效以及选择目标歌曲的过程具体如下:
S601、响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
S602、接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效;
S603、在确定所述预设动效后,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
S604、接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
在本实施例中,用户可首先通过上述的第一指令或者上述的第二指令触发第一界面,然后通过上述的第一选择指令在第一界面上确定目标备选动效,作为预设动效,在确定预设动效后触发显示第二界面,然后通过上述的第二选择指令在第二界面选择目标歌曲。
在另一种可选实施例中,如图6b所示,设置动效以及选择目标歌曲的过程具体如下:
S611、响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
S612、接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲;
S613、在确定所述目标歌曲后,显示第一界面,所述第一界面包括备选动效;
S614、接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
在本实施例中,用户可首先通过上述的第一指令或者上述的第三指令触发第二界面,然后通过上述的第二选择指令在第二界面选择目标歌曲,在确定目标歌曲后触发显示第一界面,然后通过上述的第一选择指令在第一界面上确定目标备选动效,作为预设动效。
在另一种可选实施例中,如图6c所示,设置动效以及选择目标歌曲的过程具体如下:
S621、响应于用户的第一指令或第四指令,显示第三界面,所述第三界面包括备选动效和所述歌单的歌曲名列表;
S622、接收用户在所述第三界面的第三选择指令,根据所述第三选择指令从所述歌单的歌曲名列表中确定所述目标歌曲,以及从所述备选动效中确定目标备选动效,并将所述目标备选动效作为所述预设动效。
在本实施例中,终端可以提供可用于设置动效和目标歌曲的第三界面,用户可以在第三界面内自行设置所需的动效和作为视频文件背景音乐的目标歌曲。可选的,第三界面中可包括多种备选动效,例如对于某一视频素材可以预先配置其消失时的备选动效如缩放、淡出、渐变等等,第三界面中还包括歌单中备选歌曲的歌曲名列表,用户可以在第三界面输入第三选择指令,终端可根据第三选择指令确定用户所选择的目标备选动效以及从歌单的歌曲名列表中确定目标歌曲。而第三界面的触发,可在终端接收到上述实 施例中的用户的第一指令时进行显示,也即在上述用户点击歌单的展示界面中的制作视频按钮或者分享按钮后,或者通过语音、手势等方式向终端输入第一指令后,展示该第三界面;当然用户也可通过其他方式(如第四指令)触发显示第三界面,例如终端还可提供设置按钮,用户在点击设置按钮后,终端可接收到用户点击该按钮的第四指令后,展示第三界面。
在本公开的一个实施例中,如图7所示,S201获取歌单信息后,还可包括:
S701、判断所述歌单信息是否存在内容缺失;
S702、若存在缺失,则结束视频制作过程,并显示提示信息,所述提示信息用于提示视频制作失败。
在本实施例中,由于生成视频文件时所需要的视频素材不可缺少,因此S201中所获取的歌单信息需要完整、无缺失,因此在获取到歌单信息后,可对歌单信息进行完整性的判断,判断获取到的歌单信息是否存在内容缺失,若存在缺失,则不再执行后续的S202-204,避免视频生成失败,同时可在终端的界面上显示视频制作失败的提示信息,以通知用户视频制作失败。可选的,还可显示出缺失哪些歌单信息;进一步可选的,还可在界面中展示歌单信息补充界面,可以为用户提供补充歌单信息的途径,用户可通过该界面补充缺失的歌单信息。
当然,通常情况下,歌单信息都是完整的存储在服务器上的,如果终端获取的歌单信息存在内容缺失,则很大可能性是因为网络环境较差的原因导致,即便能够生成视频,后续也可能导致视频文件分享至社交平台的过程失败,因此,可以在提示视频制作失败后,监测网络环境,当网络环境达到一定标准时,可在终端界面上提示用户,可以重新进行歌单分享,此时才能顺利获取完整的歌单信息以及歌单中的目标歌曲,继续执行后续的S202-S204。
对应于上文实施例的视频制作方法,图8为本公开实施例提供的视频制作装置的结构框图。为了便于说明,仅示出了与本公开实施例相关的部分。参照图8,所述视频制作装置800包括:获取模块801、生成模块802、和合成模块803。
其中,获取模块801,用于响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
生成模块802,用于根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
合成模块803,用于将所述目标歌曲与所述视频进行合并,得到视频文件。
在本公开的一个实施例中,所述生成模块802在根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频时,用于:
根据所述预设动效确定每一所述视频素材的属性信息和/或动作信息;
根据每一所述视频素材的属性信息和/或动作信息,对所述视频素材进行相应处理,生成连续的视频帧;
将所述视频帧合并为所述视频。
在本公开的一个实施例中,所述视频素材的属性信息包括所述视频素材的尺寸和/或位置信息;
所述视频素材的动作信息包括所述视频素材进行动作的时间信息和/或动作类型。
在本公开的一个实施例中,所述获取模块801还用于:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
在本公开的一个实施例中,所述获取模块801还用于:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
在本公开的一个实施例中,所述获取模块801还用于:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效;
在确定所述预设动效后,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
在本公开的一个实施例中,所述获取模块801还用于:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲;
在确定所述目标歌曲后,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
在本公开的一个实施例中,所述获取模块801还用于:
响应于用户的第一指令或第四指令,显示第三界面,所述第三界面包括备选动效和所述歌单的歌曲名列表;
接收用户在所述第三界面的第三选择指令,根据所述第三选择指令从所述歌单的歌曲名列表中确定所述目标歌曲,以及从所述备选动效中确定目标备选动效,并将所述目标备选动效作为所述预设动效。
在本公开的一个实施例中,所述歌单信息包括以下至少一项:
歌单封面图、歌单名、歌曲名列表、歌单作者信息、分享者信息、歌曲艺人信息。
在本公开的一个实施例中,所述获取歌单信息后,所述获取模块801还用于:
判断所述歌单信息是否存在内容缺失;
若存在缺失,则结束视频制作过程,并显示提示信息,所述提示信息用于提示视频制作失败。
在本公开的一个实施例中,所述装置还包括输出模块804,用于:
在得到视频文件后,将所述视频文件分享至目标平台上;和/或对所述视频文件进行存储。
本实施例提供的视频制作装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
参考图9,其示出了适于用来实现本公开实施例的电子设备900的结构示意图,该电子设备900可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV(Television)、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(Read Only Memory,简称ROM)902中的程序或者从存储装置908加载到随机访问存储器(Random Access Memory,简称RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(Input/output,I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Electrical programmable read only memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact disc read only memory,CD-ROM)、光存储器 件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Product,ASSP)、片上系统(System  On Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
第一方面,本公开实施例提供一种视频制作方法,包括:
响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
将所述目标歌曲与所述视频进行合并,得到视频文件。
根据本公开的一个或多个实施例,所述根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频,包括:
根据所述预设动效确定每一所述视频素材的属性信息和/或动作信息;
根据每一所述视频素材的属性信息和/或动作信息,对所述视频素材进行相应处理,生成连续的视频帧;
将所述视频帧合并为所述视频。
根据本公开的一个或多个实施例,所述视频素材的属性信息包括所述视频素材的尺寸和/或位置信息;
所述视频素材的动作信息包括所述视频素材进行动作的时间信息和/或动作类型。
根据本公开的一个或多个实施例,所述方法还包括:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述方法还包括:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
根据本公开的一个或多个实施例,所述方法还包括:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效;
在确定所述预设动效后,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
根据本公开的一个或多个实施例,所述方法还包括:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲;
在确定所述目标歌曲后,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述方法还包括:
响应于用户的第一指令或第四指令,显示第三界面,所述第三界面包括备选动效和所述歌单的歌曲名列表;
接收用户在所述第三界面的第三选择指令,根据所述第三选择指令从所述歌单的歌曲名列表中确定所述目标歌曲,以及从所述备选动效中确定目标备选动效,并将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述歌单信息包括以下至少一项:
歌单封面图、歌单名、歌曲名列表、歌单作者信息、分享者信息、歌曲艺人信息。
根据本公开的一个或多个实施例,所述获取歌单信息后,还包括:
判断所述歌单信息是否存在内容缺失;
若存在缺失,则结束视频制作过程,并显示提示信息,所述提示信息用于提示视频制作失败。
根据本公开的一个或多个实施例,所述得到视频文件后,还包括:
将所述视频文件分享至目标平台上;和/或
对所述视频文件进行存储。
第二方面,本公开实施例提供一种视频制作装置,包括:
获取模块,用于响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
生成模块,用于根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
合成模块,用于将所述目标歌曲与所述视频进行合并,得到视频文件。
根据本公开的一个或多个实施例,所述生成模块在根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频时,用于:
根据所述预设动效确定每一所述视频素材的属性信息和/或动作信息;
根据每一所述视频素材的属性信息和/或动作信息,对所述视频素材进行相应处理,生成连续的视频帧;
将所述视频帧合并为所述视频。
根据本公开的一个或多个实施例,所述视频素材的属性信息包括所述视频素材的尺寸和/或位置信息;
所述视频素材的动作信息包括所述视频素材进行动作的时间信息和/或动作类型。
根据本公开的一个或多个实施例,所述获取模块还用于:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述获取模块还用于:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
根据本公开的一个或多个实施例,所述获取模块还用于:
响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效;
在确定所述预设动效后,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
根据本公开的一个或多个实施例,所述获取模块还用于:
响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲;
在确定所述目标歌曲后,显示第一界面,所述第一界面包括备选动效;
接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述获取模块还用于:
响应于用户的第一指令或第四指令,显示第三界面,所述第三界面包括备选动效和所述歌单的歌曲名列表;
接收用户在所述第三界面的第三选择指令,根据所述第三选择指令从所述歌单的歌曲名列表中确定所述目标歌曲,以及从所述备选动效中确定目标备选动效,并将所述目标备选动效作为所述预设动效。
根据本公开的一个或多个实施例,所述歌单信息包括以下至少一项:
歌单封面图、歌单名、歌曲名列表、歌单作者信息、分享者信息、歌曲艺人信息。
根据本公开的一个或多个实施例,所述获取歌单信息后,所述获取模块还用于:
判断所述歌单信息是否存在内容缺失;
若存在缺失,则结束视频制作过程,并显示提示信息,所述提示信息用于提示视频制作失败。
根据本公开的一个或多个实施例,所述装置还包括输出模块,用于:
在得到视频文件后,将所述视频文件分享至目标平台上;和/或对所述视频文件进行存储。
第三方面,本公开实施例提供一种电子设备,包括:至少一个处理器和存储器;
所述存储器存储计算机执行指令;
所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面所述的方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面所述的方法。
第五方面,本公开实施例提供一种计算机程序产品,所述计算机程序产品包括:计算机程序,所述计算机程序存储在计算机可读存储介质中,电子设备的至少一个处理器可以从所述计算机可读存储介质读取所述计算机程序,当处理器执行所述计算机程序时,实现如上第一方面所述的方法。
第六方面,本公开实施例提供一种计算机程序,所述计算机程序存储在计算机可读存储介质中,设备的至少一个处理器可以从所述计算机可读存储介质中读取所述计算机程序,当处理器执行所述计算机程序时,实现如上第一方面所述的方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (16)

  1. 一种视频制作方法,包括:
    响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
    根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
    将所述目标歌曲与所述视频进行合并,得到视频文件。
  2. 根据权利要求1所述的方法,其中,所述根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频,包括:
    根据所述预设动效确定每一所述视频素材的属性信息和/或动作信息;
    根据每一所述视频素材的属性信息和/或动作信息,对所述视频素材进行相应处理,生成连续的视频帧;
    将所述视频帧合并为所述视频。
  3. 根据权利要求2所述的方法,其中,所述视频素材的属性信息包括所述视频素材的尺寸和/或位置信息;
    所述视频素材的动作信息包括所述视频素材进行动作的时间信息和/或动作类型。
  4. 根据权利要求1至3任一项所述的方法,还包括:
    响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
    接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效。
  5. 根据权利要求1至3任一项所述的方法,还包括:
    响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
    接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
  6. 根据权利要求1至3任一项所述的方法,还包括:
    响应于用户的第一指令或用户的第二指令,显示第一界面,所述第一界面包括备选动效;
    接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效中确定目标备选动效,将所述目标备选动效作为所述预设动效;
    在确定所述预设动效后,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
    接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲。
  7. 根据权利要求1至3任一项所述的方法,还包括:
    响应于用户的第一指令或用户的第三指令,显示第二界面,所述第二界面包括所述歌单的歌曲名列表;
    接收用户在所述第二界面的第二选择指令,根据所述第二选择指令从所述歌单的歌曲名列表中确定所述目标歌曲;
    在确定所述目标歌曲后,显示第一界面,所述第一界面包括备选动效;
    接收用户在所述第一界面的第一选择指令,根据所述第一选择指令从所述备选动效 中确定目标备选动效,将所述目标备选动效作为所述预设动效。
  8. 根据权利要求1至3任一项所述的方法,还包括:
    响应于用户的第一指令或第四指令,显示第三界面,所述第三界面包括备选动效和所述歌单的歌曲名列表;
    接收用户在所述第三界面的第三选择指令,根据所述第三选择指令从所述歌单的歌曲名列表中确定所述目标歌曲,以及从所述备选动效中确定目标备选动效,并将所述目标备选动效作为所述预设动效。
  9. 根据权利要求1至8任一项所述的方法,其中,所述歌单信息包括以下至少一项:
    歌单封面图、歌单名、歌曲名列表、歌单作者信息、分享者信息、歌曲艺人信息。
  10. 根据权利要求1至9任一项所述的方法,所述获取歌单信息后,还包括:
    判断所述歌单信息是否存在内容缺失;
    若存在缺失,则结束视频制作过程,并显示视频制作失败提示信息,所述提示信息用于提示视频制作失败。
  11. 根据权利要求1至10任一项所述的方法,所述得到视频文件后,还包括:
    将所述视频文件分享至目标平台上;和/或
    对所述视频文件进行存储。
  12. 一种视频制作装置,包括:
    获取模块,用于响应于用户的第一指令,获取歌单信息以及所述歌单中的目标歌曲;
    生成模块,用于根据所述歌单信息生成视频素材,并根据所述视频素材以及预设动效生成视频;
    合成模块,用于将所述目标歌曲与所述视频进行合并,得到视频文件。
  13. 一种电子设备,其特征在于,包括:至少一个处理器和存储器;
    所述存储器存储计算机执行指令;
    所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如权利要求1至11任一项所述的方法。
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1至11任一项所述的方法。
  15. 一种计算机程序产品,其特征在于,包括计算机程序指令,所述计算机程序指令使得计算机执行如权利要求1至11中任一项所述的方法。
  16. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求1至11中任一项所述的方法。
PCT/CN2021/104359 2020-08-24 2021-07-02 视频制作方法、装置、设备及存储介质 WO2022042035A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21859875.3A EP4124052A4 (en) 2020-08-24 2021-07-02 VIDEO PRODUCTION METHOD AND APPARATUS, AND STORAGE DEVICE AND MEDIUM
US17/439,354 US20220310125A1 (en) 2020-08-24 2021-07-02 Method and apparatus for video production, device and storage medium
BR112021020064A BR112021020064A2 (pt) 2020-08-24 2021-07-02 Método e aparelho para produção de vídeo, dispositivo e meio de armazenamento

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010859130.6A CN111970571B (zh) 2020-08-24 2020-08-24 视频制作方法、装置、设备及存储介质
CN202010859130.6 2020-08-24

Publications (1)

Publication Number Publication Date
WO2022042035A1 true WO2022042035A1 (zh) 2022-03-03

Family

ID=73390847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104359 WO2022042035A1 (zh) 2020-08-24 2021-07-02 视频制作方法、装置、设备及存储介质

Country Status (5)

Country Link
US (1) US20220310125A1 (zh)
EP (1) EP4124052A4 (zh)
CN (1) CN111970571B (zh)
BR (1) BR112021020064A2 (zh)
WO (1) WO2022042035A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111970571B (zh) * 2020-08-24 2022-07-26 北京字节跳动网络技术有限公司 视频制作方法、装置、设备及存储介质
CN113050857B (zh) * 2021-03-26 2023-02-24 北京字节跳动网络技术有限公司 一种音乐分享方法、装置、电子设备及存储介质
CN113365134B (zh) * 2021-06-02 2022-11-01 北京字跳网络技术有限公司 音频分享方法、装置、设备及介质
CN113762243A (zh) * 2021-09-10 2021-12-07 网易(杭州)网络有限公司 歌单处理方法、装置及电子设备
CN113873329A (zh) * 2021-10-19 2021-12-31 深圳追一科技有限公司 视频处理方法、装置、计算机存储介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100179674A1 (en) * 2009-01-15 2010-07-15 Open Labs Universal music production system with multiple modes of operation
CN103885962A (zh) * 2012-12-20 2014-06-25 腾讯科技(深圳)有限公司 一种图片处理方法及服务器
CN106598996A (zh) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 多媒体海报生成方法及装置
CN109144346A (zh) * 2018-09-09 2019-01-04 广州酷狗计算机科技有限公司 歌曲分享方法、装置及存储介质
US10269387B2 (en) * 2015-09-30 2019-04-23 Apple Inc. Audio authoring and compositing
CN110336960A (zh) * 2019-07-17 2019-10-15 广州酷狗计算机科技有限公司 视频合成的方法、装置、终端及存储介质
CN111970571A (zh) * 2020-08-24 2020-11-20 北京字节跳动网络技术有限公司 视频制作方法、装置、设备及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793446B (zh) * 2012-10-29 2019-03-01 汤晓鸥 音乐视频的生成方法和系统
CN104580411B (zh) * 2014-12-22 2017-12-19 广东欧珀移动通信有限公司 一种多媒体文件共享方法及装置
CN104967900B (zh) * 2015-05-04 2018-08-07 腾讯科技(深圳)有限公司 一种生成视频的方法和装置
CN105959725A (zh) * 2016-05-30 2016-09-21 徐文波 视频中媒体特效的加载方法和装置
CN107943964A (zh) * 2017-11-27 2018-04-20 腾讯音乐娱乐科技(深圳)有限公司 歌词显示方法、装置及计算机可读存储介质
CN110213504B (zh) * 2018-04-12 2021-10-08 腾讯科技(深圳)有限公司 一种视频处理方法、信息发送方法及相关设备
CN109327608B (zh) * 2018-09-12 2021-01-22 广州酷狗计算机科技有限公司 歌曲分享的方法、终端、服务器和系统
CN109325143B (zh) * 2018-10-10 2021-09-14 杭州网易云音乐科技有限公司 制作歌单的方法及装置、存储介质、处理器
CN110209844B (zh) * 2019-05-17 2021-08-31 腾讯音乐娱乐科技(深圳)有限公司 多媒体数据匹配方法、装置和存储介质
CN111031391A (zh) * 2019-12-19 2020-04-17 北京达佳互联信息技术有限公司 视频配乐方法、装置、服务器、终端及存储介质
CN111274415B (zh) * 2020-01-14 2024-05-24 广州酷狗计算机科技有限公司 确定替补视频素材的方法、装置及计算机存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100179674A1 (en) * 2009-01-15 2010-07-15 Open Labs Universal music production system with multiple modes of operation
CN103885962A (zh) * 2012-12-20 2014-06-25 腾讯科技(深圳)有限公司 一种图片处理方法及服务器
US10269387B2 (en) * 2015-09-30 2019-04-23 Apple Inc. Audio authoring and compositing
CN106598996A (zh) * 2015-10-19 2017-04-26 广州酷狗计算机科技有限公司 多媒体海报生成方法及装置
CN109144346A (zh) * 2018-09-09 2019-01-04 广州酷狗计算机科技有限公司 歌曲分享方法、装置及存储介质
CN110336960A (zh) * 2019-07-17 2019-10-15 广州酷狗计算机科技有限公司 视频合成的方法、装置、终端及存储介质
CN111970571A (zh) * 2020-08-24 2020-11-20 北京字节跳动网络技术有限公司 视频制作方法、装置、设备及存储介质

Also Published As

Publication number Publication date
US20220310125A1 (en) 2022-09-29
BR112021020064A2 (pt) 2023-02-28
EP4124052A4 (en) 2023-10-04
CN111970571B (zh) 2022-07-26
EP4124052A1 (en) 2023-01-25
CN111970571A (zh) 2020-11-20

Similar Documents

Publication Publication Date Title
WO2022042035A1 (zh) 视频制作方法、装置、设备及存储介质
JP7387891B2 (ja) 動画ファイルの生成方法、装置、端末及び記憶媒体
WO2022048478A1 (zh) 多媒体数据的处理方法、生成方法及相关设备
WO2022152064A1 (zh) 视频生成方法、装置、电子设备和存储介质
US8631351B2 (en) Providing multiple degrees of context for content consumed on computers and media players
WO2022042593A1 (zh) 字幕编辑方法、装置和电子设备
WO2020077856A1 (zh) 视频拍摄方法、装置、电子设备及计算机可读存储介质
CN113365134B (zh) 音频分享方法、装置、设备及介质
WO2022253141A1 (zh) 视频分享方法、装置、设备及介质
WO2022007722A1 (zh) 显示方法、装置、设备及存储介质
WO2022007724A1 (zh) 视频处理方法、装置、设备及存储介质
US20240121468A1 (en) Display method, apparatus, device and storage medium
WO2020259130A1 (zh) 精选片段处理方法、装置、电子设备及可读介质
WO2022228118A1 (zh) 互动内容生成方法、装置、存储介质及电子设备
KR20220103110A (ko) 비디오 생성 장치 및 방법, 전자 장치, 및 컴퓨터 판독가능 매체
WO2020062683A1 (zh) 视频获取方法、装置、终端和介质
WO2022052838A1 (zh) 视频文件的处理方法、装置、电子设备及计算机存储介质
WO2020220773A1 (zh) 图片预览信息的显示方法、装置、电子设备及计算机可读存储介质
WO2022057348A1 (zh) 音乐海报生成方法、装置、电子设备及介质
WO2022042001A1 (zh) 信息显示方法、装置、设备及存储介质
WO2023011318A1 (zh) 媒体文件处理方法、装置、设备、可读存储介质及产品
WO2023051293A1 (zh) 一种音频处理方法、装置、电子设备和存储介质
US11272136B2 (en) Method and device for processing multimedia information, electronic equipment and computer-readable storage medium
US20240064367A1 (en) Video processing method and apparatus, electronic device, and storage medium
WO2024104333A1 (zh) 演播画面的处理方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21859875

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021020064

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2021859875

Country of ref document: EP

Effective date: 20221020

ENP Entry into the national phase

Ref document number: 112021020064

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20211005

NENP Non-entry into the national phase

Ref country code: DE