CN110266982B - Method and system for providing songs while recording video - Google Patents
Method and system for providing songs while recording video Download PDFInfo
- Publication number
- CN110266982B CN110266982B CN201910568637.3A CN201910568637A CN110266982B CN 110266982 B CN110266982 B CN 110266982B CN 201910568637 A CN201910568637 A CN 201910568637A CN 110266982 B CN110266982 B CN 110266982B
- Authority
- CN
- China
- Prior art keywords
- song
- target
- information
- target song
- same
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/64—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/686—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The disclosure provides a method and a system for providing songs during video recording, and belongs to the technical field of audio and video. The method comprises the following steps: when the terminal device runs an application program for recording videos, a first instruction of a user for selecting audio on the application program is received, the server sends selectable audio information to the terminal device, the terminal device can display the selectable audio information on an audio selection interface of the application program, a second instruction of selecting a first target song on the audio selection interface is received, the server obtains song information of the first target song, whether the first target song is a charging song or not is judged, if the first target song is the charging song, a second target song matched with the song information is searched in a song library, the second target song is a free song, a song file of the second target song is sent to the terminal device, the second target song is played when the videos are recorded, and the second target song and the recorded videos are synthesized. By adopting the method and the device, the recording efficiency can be improved.
Description
Technical Field
The present disclosure relates to the field of audio and video technologies, and in particular, to a method and a system for providing songs during video recording.
Background
With the development of computer technology and network technology, more and more users can record videos by using terminals and use some songs as background music of the videos.
In the related art, when a user finds a song to record a video, the song is a charged song and cannot be used, so that the video cannot be recorded, and further, the recording efficiency is low.
Disclosure of Invention
In order to solve the problem of low recording efficiency, embodiments of the present disclosure provide a method and system for providing songs when recording videos. The technical scheme is as follows:
in a first aspect, a method for providing songs while recording a video is provided, the method comprising:
the method comprises the steps of running an application program for recording videos, and receiving a first instruction of a user for selecting audio on the application program;
sending the selectable audio information to the terminal equipment, and displaying the selectable audio information on an audio selection interface of the application program;
receiving a second instruction of the user to select a first target song on the audio selection interface;
acquiring song information of the first target song, and judging whether the first target song belongs to a charging song or not;
if the first target song is a charging song, searching a second target song matched with the song information of the first target song in a song library, wherein the second target song is a free song;
transmitting the song file of the second target song to the terminal equipment;
and playing the second target song when recording the video, and synthesizing the second target song and the recorded video.
Optionally, the searching for the second target song in the song library, which matches the song information of the first target song, includes:
and searching a song library for a second target song which is the same as the word song in the song information.
Optionally, the searching for the second target song in the song library, which is the same as the word song in the song information, includes:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
Optionally, there are a plurality of singers in the song information of the first target song;
the searching for the second target song in the song library, which is the same as the word song in the song information, further comprises:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
Optionally, the searching for the second target song in the song library, which matches the song information of the first target song, further includes:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
Optionally, the searching for the second target song in the song library, which matches the song information of the first target song, further includes:
if no free song with the same word or song as the song information exists in the song library, judging whether the first target song has an audition fragment;
if the first target song has the audition segment, determining the audition segment of the first target song as the second target song;
and if the first target song has no audition fragment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
Optionally, the second target song matched with the song information of the first target song means that the second target song satisfies one of the following conditions: the words and the songs of the second target song and the first target song are the same, or the songs of the first target song and the second target song are the same and the words are different, or the words of the first target song and the second target song are the same and the songs are different.
In a second aspect, a system for providing songs during video recording is provided, the system includes a terminal device and a server, the terminal device includes an operation module, a receiving module, a display module, a playing module and a synthesizing module, the server includes a sending module, an obtaining module and a determining module, wherein:
the operation module is used for operating an application program for recording videos, and the receiving module is used for receiving a first instruction of selecting audio on the application program by a user;
the sending module is used for sending the selectable audio information to the terminal equipment;
the display module is used for displaying selectable audio information on an audio selection interface of the application program;
the receiving module is used for receiving a second instruction of selecting a first target song on the audio selection interface by a user;
the acquisition module is used for acquiring song information of the first target song and judging whether the first target song belongs to a charging song or not;
the determining module is used for searching a second target song matched with the song information of the first target song in a song library if the first target song is a charging song, wherein the second target song is a free song;
the sending module is further configured to send the song file of the second target song to the terminal device;
the playing module is used for playing the second target song when recording videos, and the synthesizing module is used for synthesizing the second target song and the recorded videos.
Optionally, the determining module is configured to:
and searching a song library for a second target song which is the same as the word song in the song information.
Optionally, the determining module is configured to:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
Optionally, there are a plurality of singers in the song information of the first target song;
the determining module is configured to:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
Optionally, the determining module is configured to:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
Optionally, the determining module is configured to:
if no free song with the same word or song as the song information exists in the song library, judging whether the first target song has an audition fragment;
if the first target song has the audition segment, determining the audition segment of the first target song as the second target song;
and if the first target song has no audition fragment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
Optionally, the second target song matched with the song information of the first target song means that the second target song satisfies one of the following conditions: the words and the songs of the second target song and the first target song are the same, or the songs of the first target song and the second target song are the same and the words are different, or the words of the first target song and the second target song are the same and the songs are different.
In a third aspect, a computer-readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is capable of carrying out the above-mentioned method of providing songs when recording a video.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure at least comprise:
in the embodiment of the disclosure, when a terminal device runs an application program for recording a video, a first instruction of a user for selecting an audio on the application program is received, a server sends selectable audio information to the terminal device, the terminal device can display the selectable audio information on an audio selection interface of the application program and receive a second instruction of the user for selecting a first target song on the audio selection interface, the server obtains song information of the first target song and judges whether the first target song belongs to a charged song, if the first target song is the charged song, a second target song matched with the song information is searched in a song library, the second target song is the free song, a song file of the second target song is sent to the terminal device, the second target song is played when the video is recorded, and the second target song and the recorded video are synthesized. Therefore, when the charged song is used for recording the video, the song recording video close to the song can be provided, so that the video can be continuously recorded, and the recording efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a flowchart of a method for providing songs while recording a video according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a display of a prompt message according to an embodiment of the disclosure;
FIG. 3 is a schematic flow chart of matching songs in a song library according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device provided in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of a server provided in the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The embodiment of the disclosure provides a method for providing songs when recording videos, and the execution main body of the method can be a server and a terminal device. The terminal device may be a terminal used by a user, such as a mobile phone, a tablet, and the like. The server may be a backend server of the video recording application.
The terminal device may have a processor, a transceiver, and a memory disposed therein. The processor may be used for processing of a process of providing songs while recording videos, the transceiver may be used for receiving and transmitting songs, and the memory may be used for storing data required and generated during the process of providing songs while recording videos.
The server may have a processor, transceiver, and memory disposed therein. The processor may be used for processing of a process of providing songs while recording videos, the transceiver may be used for receiving and transmitting songs, and the memory may be used for storing data required and generated during the process of providing songs while recording videos.
Before implementation, an application scenario of the embodiments of the present disclosure and a possible related noun concept are first introduced:
when recording a video, a user wants to select a song as a background song, and when the song selected by the user is a charged song, how to provide the user with a free song for recording the video.
It should be noted that the video mentioned above may be a short video, where the short video refers to a video whose total duration of the video is less than a certain value after the recording is completed, and for example, the certain value may be 30 seconds.
A fee collection song, for a song, if the song needs to be paid for use, then the song is a fee collection song.
A free song, for a song, if the song can be used without a fee, the song is a free song.
The present disclosure provides a method for providing songs during recording a video, taking a scene one as an example, as shown in fig. 1, the flow of the method may be as follows:
The terminal device is a terminal used by a user, that is, a terminal used by the user to record video.
In implementation, when a user wants to record a video, an application program for recording the video can be installed on the terminal device, and then login is performed by using an account and a password of the user. The user can click the video recording option, the terminal receives the click command and enters a recording interface, and the recording interface comprises options such as audio option selection and property option selection. The user can click and select the audio option, and the terminal equipment can receive the first instruction and send an acquisition request of the audio selection interface to the server.
And 102, the server sends the selectable audio information to the terminal equipment, and the terminal equipment displays the selectable audio information on an audio selection interface of the application program.
In implementation, after receiving the acquisition request of the audio selection interface, the server may send selectable audio information to the terminal device, and the terminal device may display the selectable audio information and the audio search box in the audio selection interface.
Or after receiving the acquisition request of the audio selection interface, the server may send information in the audio selection interface to the terminal device, where the information includes singer options and the like. The terminal equipment can display an audio search box, singer options and the like in the audio selection interface after receiving the audio search box. The user may enter information about the desired song in the audio search box, which may be the name of the song and the name of the singer singing the song, or may be the name of only the song. Then clicking the search option of the corresponding audio search box, the terminal device can send an audio acquisition request to the server, wherein the audio acquisition request carries the information of the song input by the user. After receiving the audio acquisition request sent by the terminal, the server can analyze the audio acquisition request to obtain the information of the song input by the user, search the audio information related to the information of the song input by the user in the song library by using the information of the song input by the user, and return the audio information (namely the selectable audio information) to the terminal equipment. After the terminal equipment receives the information, the terminal equipment can display selectable audio information in an audio selection interface of the application program.
Or, after receiving the acquisition request of the audio selection interface, the server may send selectable audio information to the terminal device, the terminal device may display the selectable audio information, an audio search box, a singer option, and the like in the audio selection interface, the selectable audio information may further include a background song of the short video, and the user may also select the background song by watching the short video.
And 103, the terminal equipment receives a second instruction of selecting the first target song on the audio selection interface by the user.
In an implementation, if a user wants to record a video using a certain song in the audio corresponding to the selectable audio information, the user may click on a selection option of the song (which may be referred to as a first target song, subsequently), and the terminal device may receive a second instruction for selecting the first target song. And then sends an acquisition request of the first target song to the server.
Or, corresponding to step 102, in the process of browsing the short video, the user wants to record the short video by using the background song in a certain short video, and may click the option of the same beat shown in the interface, and the terminal device may receive the instruction of the same beat (i.e., the second instruction), and send the request for obtaining the background song of the short video to the server.
And 104, the server acquires song information of the first target song and judges whether the first target song belongs to the charging song.
In implementation, after receiving the acquisition request of the first target song sent by the terminal device, the server may acquire song information of the first target song, where the song information may include a name of the song, composer and writer of the song, singer of the song, and the like.
Corresponding to step 103, the second instruction is a beat money instruction, and after receiving the request for obtaining the background song of the short video, the server may obtain the background song of the beat money short video, that is, the first target song, and then obtain the song information of the first target song.
After the song information of the first target song is acquired, the server can acquire the copyright information of the first target song, judge whether the first target song is a charging song or not based on the copyright information, if the copyright information is limited, the first target song is indicated as the charging song, and if the copyright information is unlimited, the first target song is indicated as a free song. For example, for a first target song of the same beat, if the song information has an identification of pay for use, the first target song is a charged song.
And 105, if the first target song is a charging song, searching a second target song matched with the song information in the song library by the server, wherein the second target song is a free song.
In an implementation, when the first target song is a charged song, the server may search the song library for a free song matching the song information of the first target song, and determine the free song as the second target song.
Optionally, when a song library is searched for a free song matching the song information of the first target song, the extended information of the song information of the first target song may be used for matching, and the corresponding processing may be as follows:
and determining extension information corresponding to the song information of the first target song, and determining a second target song matched with the extension information in the song library according to the extension information.
The extended information comprises song name and attribute information of the first target song, an alias of the song name and the first target song of the first target song, an alias of the first target song and attribute information.
In an implementation, the server may determine extension information of the song information of the first target song using the song information of the first target song, and the server may match a second target song matching the extension information in the song library.
The attribute information refers to the type, source, etc. of the song, the type may include DJ (Disc Jockey, popular) version, rock and roll version, etc., and the source may include concert, art program, etc.
In addition, the alias of the first target song may be obtained by matching, in the alias library, the song name of the first target song.
And 106, sending the song file of the second target song to the terminal equipment, playing the second target song when recording the video, and synthesizing the second target song and the recorded video.
In implementation, the server may send the song file of the second target song to the terminal device, so that when the user records the video, the user may record the video using the song file of the second target song, and then may synthesize the audio of the second target song and the recorded video, thereby completing the process of recording the video.
And when the song file of the second target song is transmitted, a prompt message can be transmitted, wherein the prompt message is used for indicating that the first target song is replaced to be a free song. The terminal may record a video after receiving the notification, and display a prompt message, as shown in fig. 2, where the prompt message may be "the copyright of the first target song is limited, a free version is provided for you," and the prompt message may be displayed in a pop-up window form.
In addition, if the number of the second target songs is multiple, the second target song with the largest playing amount can be selected and provided for the terminal device, or the second target song with the largest frequency for recording the video can be selected and provided for the terminal device.
In addition, if the number of the second target songs is multiple, the related information (related information refers to the name of the singer, the composer, the word writer, and the like) of the multiple second target songs may be all sent to the terminal device, the terminal device may display the related information of the multiple second target songs, and the user may select one of the multiple second target songs for recording the video.
In step 105, the process of determining the second target song may be as follows:
searching the song library for a second target song identical to the vocabulary in the song information.
In an implementation, in order to make the second target song more similar to the first target song, a song library may be searched for a free song having the same vocabulary as the song information of the first target song, and the second target song may be determined.
Optionally, in order to make the second target song closer to the first target song, the following process may be performed:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
In implementation, when the second target song is selected, a free song which has the same word as the song information of the second target song and is the same as the singer may be searched in the song library and determined as the second target song.
Optionally, when there are a plurality of singers of the first target song, if there is no second target song with the same singers, the following processing may be performed:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
In implementation, when the second target song is selected, a free song which has the same word as the song information of the second target song and is the same as the singer may be searched in the song library and determined as the second target song. If the song with the same word and song melody as the song information is different from the singer in the song information, the free song with the same word and melody as the song information and the same with a part of singer in the song information can be searched in the song library and is determined as the second target song.
It should be noted that the partial singer may be a part of the total singers of the first target song. For example, all singers of the first target song are a and B, and any group of partial singers may be a or B. As another example, the total singers for the first target song are A, B and C, and any group of partial singers may be one of A, B, C, AB, AC, BC.
It should be noted that when the total number of the singers of the first target song is n (n is greater than or equal to 2), the partial singers may select n-1 singers, so that the singer of the selected song is closer to the singer of the first target song, and the selected song is also closer to the first target song.
Optionally, when there is no second target song that is the same as the vocabulary in the song information in the song library, in order to find a song that is closer to the first target song, the following processing may be performed:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
In implementation, when a song library is searched for a free song that is the same as the song title in the song information, if there is no free song that is the same as the song title in the song information, a second target song that is the same as the word or the song title in the song information may be searched for in the song library.
Optionally, when there is no second target song that is the same as the word or song in the song information in the song library, in order to find a song that is closer to the first target song, the following process may be performed:
if no free song with the same word or the same song as the song information exists in the song library, judging whether a trial listening segment exists in the first target song, if the trial listening segment exists in the first target song, determining the trial listening segment of the first target song as a second target song, if the trial listening segment does not exist in the first target song, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
In implementation, when there is no free song in the song library that is different from the words or songs in the song information, it may be determined whether there is a trial listening segment for the first target song. If the audition segment exists, the audition segment of the first target song can be determined as the second target song.
If no trial listening segment exists, the original sound with the audio identifier being the same as the song name of the first target song can be determined in the video storage area, and then the original sound is determined as the second target song.
It should be noted that the videos stored in the video storage area are all videos recorded by each user and uploaded to the server, and after the videos are uploaded to the server, the server periodically (for example, 24 hours) identifies the background song of the video received in the last period, and uses the identification result as the audio identifier of the original sound of the video, and correspondingly stores the identification result and the video.
In addition, it should be noted that if a plurality of original sounds with the same audio identifiers as the song names of the first target songs exist in the video storage area, the original sound of the video with the largest playing amount can be selected and determined as the second target song.
In addition, if the original sound which is the same as the song name of the first target song does not exist in the video storage area, the first target song which is charged can be removed from the search result, no related song can be prompted, and a prompting message for switching the recording of other songs is requested.
In addition, if the original sound which is the same as the song name of the first target song does not exist in the video storage area, a payment interface can be provided for the user, the user can pay for the use of the original sound, and after the payment is successful, the first target song can be used for recording the video.
In addition, for the step 105, when the second target song is matched, the following processing may be performed:
the second target song matched with the song information of the first target song means that the second target song satisfies one of the following conditions: the words and the songs of the second target song and the first target song are the same, or the songs of the first target song and the second target song are the same and the words are different, or the words of the first target song and the second target song are the same and the songs are different.
In implementation, songs having the same word and song as the first target song may be directly selected from the song library to be determined as the second target song, or songs having the same word and song as the first target song may be directly selected from the song library to be determined as the second target song.
In addition, in order to facilitate understanding of the embodiment of the present disclosure, in the embodiment of the present disclosure, as shown in fig. 3, a schematic flow diagram of the server searching for the second target song matching the song information in the song library is further provided:
a1, judging whether a song library has free songs which are the same as the words and songs in the song information;
a2, if the song exists, determining the free song which is the same as the vocabulary in the song information as a second target song;
a3, judging whether the singer of the free song with the same vocabulary as the song information is the same as the singer in the song information;
a4, if the song information is the same as the song information, determining the free song which is the same as the vocabulary in the song information and is the same as the singer as a second target song;
a5, if not, determining the free song in the song library, which is the same as the word song in the song information and is the same as part of singers in the song information, as a second target song;
a6, if there is no free song in the song library which is the same as the word song in the song information, judging whether there is a free song in the song library which is the same as the word song or the song in the song information;
a7, if the free song exists, determining the free song which is the same as the word or the song in the song information as a second target song;
a8, if not, judging whether the first target song has a trial listening segment;
a9, if the audition segment of the first target song exists, determining the audition segment of the first target song as a second target song;
a10, if the first target song has no trial listening segment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song.
In the embodiment of the disclosure, when a terminal device runs an application program for recording a video, a first instruction of a user for selecting an audio on the application program is received, a server sends selectable audio information to the terminal device, the terminal device can display the selectable audio information on an audio selection interface of the application program and receive a second instruction of the user for selecting a first target song on the audio selection interface, the server obtains song information of the first target song and judges whether the first target song belongs to a charged song, if the first target song is the charged song, a second target song matched with the song information is searched in a song library, the second target song is the free song, a song file of the second target song is sent to the terminal device, the second target song is played when the video is recorded, and the second target song and the recorded video are synthesized. Therefore, when the charged song is used for recording the video, the song recording video close to the song can be provided, so that the video can be continuously recorded, and the recording efficiency can be improved.
Based on the same technical concept, the embodiment of the present disclosure further provides a system for providing songs when recording videos, the system includes a terminal device and a server, as shown in fig. 4, the terminal device includes an operation module 410, a receiving module 420, a display module 430, a playing module 440, and a synthesis module 450, as shown in fig. 5, the server includes a sending module 510, an obtaining module 520, and a determining module 530, wherein:
the running module 410 is configured to run an application program for recording a video, and the receiving module 420 is configured to receive a first instruction that a user selects an audio on the application program;
the sending module 510 is configured to send selectable audio information to a terminal device;
the display module 430 is configured to display selectable audio information on an audio selection interface of the application program;
the receiving module 420 is further configured to receive a second instruction that the user selects the first target song on the audio selection interface;
the obtaining module 520 is configured to obtain song information of the first target song, and determine whether the first target song belongs to a chargeable song;
the determining module 530 is configured to search a song library for a second target song that matches the song information of the first target song if the first target song is a fee-charging song, where the second target song is a free song;
the sending module 510 is further configured to send the song file of the second target song to the terminal device;
the playing module 440 is configured to play the second target song when recording a video, and the synthesizing module 450 is configured to synthesize the second target song and the recorded video.
Optionally, the determining module 530 is configured to:
and searching a song library for a second target song which is the same as the word song in the song information.
Optionally, the determining module 530 is configured to:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
Optionally, there are a plurality of singers in the song information;
the determining module 530 is configured to:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
Optionally, the determining module 530 is configured to:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
Optionally, the determining module 530 is configured to:
if no free song with the same word or song as the song information exists in the song library, judging whether the first target song has an audition fragment;
if the first target song has the audition segment, determining the audition segment of the first target song as the second target song;
and if the first target song has no audition fragment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
Optionally, the second target song matched with the song information of the first target song means that the second target song satisfies one of the following conditions: the words and the songs of the second target song and the first target song are the same, or the songs of the first target song and the second target song are the same and the words are different, or the words of the first target song and the second target song are the same and the songs are different.
In the embodiment of the disclosure, when a terminal device runs an application program for recording a video, a first instruction of a user for selecting an audio on the application program is received, a server sends selectable audio information to the terminal device, the terminal device can display the selectable audio information on an audio selection interface of the application program and receive a second instruction of the user for selecting a first target song on the audio selection interface, the server obtains song information of the first target song and judges whether the first target song belongs to a charged song, if the first target song is the charged song, a second target song matched with the song information is searched in a song library, the second target song is the free song, a song file of the second target song is sent to the terminal device, the second target song is played when the video is recorded, and the second target song and the recorded video are synthesized. Therefore, when the charged song is used for recording the video, the song recording video close to the song can be provided, so that the video can be continuously recorded, and the recording efficiency can be improved.
It should be noted that: in the device for providing songs during recording videos provided by the above embodiments, when providing songs, the above-mentioned division of the functional modules is merely exemplified, and in practical applications, the above-mentioned function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above-mentioned functions. In addition, the apparatus for providing songs when recording videos provided by the above embodiments and the method embodiment for providing songs when recording videos belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
Fig. 6 is a schematic structural diagram of a server 600 according to an embodiment of the present disclosure, where the server 600 may generate a relatively large difference due to different configurations or performances, and may include one or more processors 601 and one or more memories 602, where the memory 602 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 601 to implement each step in the method for providing songs when recording videos.
Fig. 7 shows a block diagram of a terminal 700 (i.e., the terminal device mentioned above) according to an exemplary embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (13)
1. A method of providing songs while recording a video, the method comprising:
the method comprises the steps of running an application program for recording videos, and receiving a first instruction of a user for selecting audio on the application program;
sending the selectable audio information to the terminal equipment, and displaying the selectable audio information on an audio selection interface of the application program;
receiving a second instruction of the user to select a first target song on the audio selection interface;
acquiring song information of the first target song, and judging whether the first target song belongs to a charged song or not based on copyright information;
if the copyright information is limited to play, the first target song is a charged song, a second target song matched with the song information of the first target song is searched in a song library, the second target song is a free song with the copyright information being unlimited to play, and the second target song is the same as the first target song in terms of words and/or songs;
transmitting the song file of the second target song to the terminal equipment;
and playing the second target song when recording the video, and synthesizing the second target song and the recorded video.
2. The method of claim 1, wherein searching a song library for a second target song that matches the song information of the first target song comprises:
and searching a song library for a second target song which is the same as the word song in the song information.
3. The method according to claim 2, wherein the searching for the second target song in the song library, which is the same as the vocabulary in the song information, comprises:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
4. The method according to claim 3, wherein there are a plurality of singers in the song information of the first target song;
the searching for the second target song in the song library, which is the same as the word song in the song information, further comprises:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
5. The method of claim 2, wherein searching the song library for a second target song that matches the song information of the first target song further comprises:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
6. The method of claim 5, wherein searching the song library for a second target song that matches the song information of the first target song further comprises:
if no free song with the same word or song as the song information exists in the song library, judging whether the first target song has an audition fragment;
if the first target song has the audition segment, determining the audition segment of the first target song as the second target song;
and if the first target song has no audition fragment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
7. The method according to claim 1, wherein the second target song matching the song information of the first target song means that the second target song satisfies one of the following conditions: the words and the songs of the second target song and the first target song are the same, or the songs of the first target song and the second target song are the same and the words are different, or the words of the first target song and the second target song are the same and the songs are different.
8. The system for providing songs during video recording is characterized by comprising a terminal device and a server, wherein the terminal device comprises an operation module, a receiving module, a display module, a playing module and a synthesis module, and the server comprises a sending module, an obtaining module and a determining module, wherein:
the operation module is used for operating an application program for recording videos, and the receiving module is used for receiving a first instruction of selecting audio on the application program by a user;
the sending module is used for sending the selectable audio information to the terminal equipment;
the display module is used for displaying selectable audio information on an audio selection interface of the application program;
the receiving module is used for receiving a second instruction of selecting a first target song on the audio selection interface by a user;
the acquisition module is used for acquiring song information of the first target song and judging whether the first target song belongs to a charging song or not based on copyright information;
the determining module is used for searching a second target song matched with the song information of the first target song in a song library if the copyright information is limited to play, wherein the second target song is a free song with the copyright information being unlimited to play, and the second target song is the same as the first target song in terms of words and/or songs;
the sending module is further configured to send the song file of the second target song to the terminal device;
the playing module is used for playing the second target song when recording videos, and the synthesizing module is used for synthesizing the second target song and the recorded videos.
9. The system of claim 8, wherein the determination module is configured to:
and searching a song library for a second target song which is the same as the word song in the song information.
10. The system of claim 9, wherein the determination module is configured to:
and searching a song library for a second target song which is the same as the word song and the singer in the song information.
11. The system according to claim 10, wherein there are a plurality of singers in the song information of the first target song;
the determining module is configured to:
and if the song in the song library, which is the same as the word song in the song information, is different from the singer in the song information, searching a second target song, which is the same as the word song in the song information and is the same as part of the singer in the song information, in the song library.
12. The system of claim 9, wherein the determination module is configured to:
and if no free song which is the same as the word song in the song information exists in the song library, searching a second target song which is the same as the word or song in the song information in the song library.
13. The system of claim 12, wherein the determination module is configured to:
if no free song with the same word or song as the song information exists in the song library, judging whether the first target song has an audition fragment;
if the first target song has the audition segment, determining the audition segment of the first target song as the second target song;
and if the first target song has no audition fragment, acquiring the original sound of the target video in the video storage area, and determining the original sound as the second target song, wherein the audio identifier of the original sound of the target video is the same as the song name of the first target song.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568637.3A CN110266982B (en) | 2019-06-27 | 2019-06-27 | Method and system for providing songs while recording video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910568637.3A CN110266982B (en) | 2019-06-27 | 2019-06-27 | Method and system for providing songs while recording video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266982A CN110266982A (en) | 2019-09-20 |
CN110266982B true CN110266982B (en) | 2021-10-29 |
Family
ID=67922472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910568637.3A Active CN110266982B (en) | 2019-06-27 | 2019-06-27 | Method and system for providing songs while recording video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266982B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111309963B (en) * | 2020-01-22 | 2023-07-04 | 百度在线网络技术(北京)有限公司 | Audio file processing method and device, electronic equipment and readable storage medium |
CN111309935B (en) * | 2020-03-17 | 2024-01-30 | 广州酷狗计算机科技有限公司 | Song recommendation method and device and computer storage medium |
CN113079419A (en) * | 2021-03-30 | 2021-07-06 | 北京字跳网络技术有限公司 | Video processing method of application program and electronic equipment |
CN113747233B (en) * | 2021-08-24 | 2023-03-24 | 北京达佳互联信息技术有限公司 | Music replacement method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130343567A1 (en) * | 2012-06-26 | 2013-12-26 | Mark Triplett | Systems and Methods for Networked Music Playback Including Remote Add to Queue |
CN105378784A (en) * | 2013-05-03 | 2016-03-02 | 石哲 | Music editing method using video streaming service and music editing apparatus used therefor |
CN207460456U (en) * | 2017-09-23 | 2018-06-05 | 广州番禺巨大汽车音响设备有限公司 | A kind of Streaming Media sound equipment based on hardware code verification |
CN109068081A (en) * | 2018-08-10 | 2018-12-21 | 北京微播视界科技有限公司 | Video generation method, device, electronic equipment and storage medium |
-
2019
- 2019-06-27 CN CN201910568637.3A patent/CN110266982B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130343567A1 (en) * | 2012-06-26 | 2013-12-26 | Mark Triplett | Systems and Methods for Networked Music Playback Including Remote Add to Queue |
CN105378784A (en) * | 2013-05-03 | 2016-03-02 | 石哲 | Music editing method using video streaming service and music editing apparatus used therefor |
CN207460456U (en) * | 2017-09-23 | 2018-06-05 | 广州番禺巨大汽车音响设备有限公司 | A kind of Streaming Media sound equipment based on hardware code verification |
CN109068081A (en) * | 2018-08-10 | 2018-12-21 | 北京微播视界科技有限公司 | Video generation method, device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110266982A (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107908929B (en) | Method and device for playing audio data | |
CN109033335B (en) | Audio recording method, device, terminal and storage medium | |
CN110266982B (en) | Method and system for providing songs while recording video | |
CN108965757B (en) | Video recording method, device, terminal and storage medium | |
CN109327608B (en) | Song sharing method, terminal, server and system | |
CN111061405B (en) | Method, device and equipment for recording song audio and storage medium | |
CN110248236B (en) | Video playing method, device, terminal and storage medium | |
CN108922506A (en) | Song audio generation method, device and computer readable storage medium | |
CN109144346B (en) | Song sharing method and device and storage medium | |
CN108831425B (en) | Sound mixing method, device and storage medium | |
CN111711838B (en) | Video switching method, device, terminal, server and storage medium | |
CN111402844B (en) | Song chorus method, device and system | |
CN109743461B (en) | Audio data processing method, device, terminal and storage medium | |
CN113596516B (en) | Method, system, equipment and storage medium for chorus of microphone and microphone | |
CN113204672A (en) | Resource display method and device, computer equipment and medium | |
CN111081277B (en) | Audio evaluation method, device, equipment and storage medium | |
CN109547847B (en) | Method and device for adding video information and computer readable storage medium | |
CN111399796B (en) | Voice message aggregation method and device, electronic equipment and storage medium | |
CN108831423A (en) | Extract method, apparatus, terminal and the storage medium of theme track in audio data | |
CN112118482A (en) | Audio file playing method and device, terminal and storage medium | |
CN111611430A (en) | Song playing method, device, terminal and storage medium | |
CN108806730B (en) | Audio processing method, device and computer readable storage medium | |
CN109491636A (en) | Method for playing music, device and storage medium | |
CN111241334B (en) | Method, device, system, equipment and storage medium for displaying song information page | |
CN111063372B (en) | Method, device and equipment for determining pitch characteristics and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220406 Address after: 4119, 41st floor, building 1, No.500, middle section of Tianfu Avenue, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610000 Patentee after: Chengdu kugou business incubator management Co.,Ltd. Address before: No. 315, Huangpu Avenue middle, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU KUGOU COMPUTER TECHNOLOGY Co.,Ltd. |