CN106375782B - Video playing method and device - Google Patents
Video playing method and device Download PDFInfo
- Publication number
- CN106375782B CN106375782B CN201610792528.6A CN201610792528A CN106375782B CN 106375782 B CN106375782 B CN 106375782B CN 201610792528 A CN201610792528 A CN 201610792528A CN 106375782 B CN106375782 B CN 106375782B
- Authority
- CN
- China
- Prior art keywords
- video
- music
- background music
- name
- background
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 115
- 230000008569 process Effects 0.000 claims abstract description 62
- 230000006870 function Effects 0.000 claims description 76
- 238000012544 monitoring process Methods 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 11
- 238000000605 extraction Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 15
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 26
- 238000004891 communication Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/44204—Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure relates to a video playing method and device, and belongs to the technical field of video processing. The method comprises the following steps: detecting whether background music is attached to the video or not in the video playing process; when the video is added with background music, acquiring the name of the background music; and displaying the name of the background music. The method and the device solve the problems of single playing function and low flexibility when the webpage or the video player plays the video. The method and the device have the beneficial effects of enriching the video playing function and improving the flexibility of video playing. The present disclosure is for video playback.
Description
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video playing method and apparatus.
Background
With the rapid development of video processing technology, various videos are visible everywhere on the internet, and more people watch videos through web pages or video players.
In the related art, when a webpage or a video player plays a video, a user can adjust the video playing progress through operations such as clicking a progress bar and the like, and can also make comments or chat with people in real time through a bullet screen on a screen.
Disclosure of Invention
In order to solve the problems of single playing function and low flexibility when a webpage or a video player plays a video in the prior art, the embodiment of the disclosure provides a video playing method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a video playing method, including:
detecting whether background music is attached to the video or not in the video playing process;
when the video is added with background music, acquiring the name of the background music;
and displaying the name of the background music.
Optionally, the displaying the name of the background music includes:
and displaying the name of the background music in a bullet screen mode.
Optionally, the displaying the name of the background music in the form of a bullet screen includes:
and in the background music playing process, displaying the name of the background music at least once in a bullet screen mode.
Optionally, when the video is appended with background music, acquiring a name of the background music, including:
when the video is added with background music, acquiring audio information of the background music;
sending the audio information to a music server;
and receiving the name of the background music sent by the music server, wherein the name of the background music is the music name which is determined by the music server in a music database and is matched with the audio information.
Optionally, the audio information includes: the music fingerprint database is a music fingerprint database, and the acquiring of the audio information of the background music comprises:
intercepting a piece of audio of the background music;
a music fingerprint of the piece of audio is determined.
Optionally, when the video is appended with background music, acquiring a name of the background music, including:
when background music is added to the video, acquiring additional information of the video from a video server, wherein the additional information is generated by the video server after identifying the content of the video when the video is uploaded to the video server, and the additional information comprises: a name of the background music;
extracting a name of the background music in the additional information.
Optionally, the method further includes:
receiving a downloading instruction triggered by a user through appointed operation on the bullet screen;
sending a downloading request to a music server according to the downloading instruction, wherein the downloading request comprises the name of the background music;
and receiving the complete audio corresponding to the name of the background music sent by the music server.
Optionally, in the video playing process, detecting whether background music is attached to the video includes:
monitoring whether the bullet screen function is started or not in the video playing process,
after the bullet screen function is started, detecting whether background music is attached to the video or not;
or, in the video playing process, monitoring whether the music prompt function is started or not,
and after the music prompt function is started, detecting whether background music is added in the video.
According to a second aspect of the embodiments of the present disclosure, there is provided a video playing method, including:
when a video is uploaded to a video server, identifying the content of the video;
when the content of the video includes background music, generating additional information including: a name of the background music;
and providing the additional information of the video to a terminal playing the video.
Optionally, when the content of the video includes background music, generating additional information includes:
when the content of the video comprises background music, acquiring audio information of the background music;
sending the audio information to a music server;
receiving the name of the background music sent by the music server, wherein the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information;
generating the additional information according to the audio information.
According to a third aspect of the embodiments of the present disclosure, there is provided a video playback apparatus including:
the detection module is configured to detect whether background music is attached to the video in the video playing process;
the acquisition module is configured to acquire the name of the background music when the background music is attached to the video;
a display module configured to display a name of the background music.
Optionally, the display module includes:
a display sub-module configured to display a name of the background music in a bullet screen form.
Optionally, the display sub-module is configured to display the name of the background music in a bullet screen at least once during the playing of the background music.
Optionally, the obtaining module includes:
a first obtaining sub-module configured to obtain audio information of background music when the video is appended with the background music;
a transmitting sub-module configured to transmit the audio information to a music server;
the receiving submodule is configured to receive the name of the background music sent by the music server, and the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information.
Optionally, the audio information includes: the music fingerprint, the music database is the music fingerprint storehouse, first acquisition submodule includes:
an intercepting submodule configured to intercept a piece of audio of the background music;
a determination sub-module configured to determine a music fingerprint of the piece of audio.
Optionally, the obtaining module includes:
a second obtaining sub-module, configured to obtain, when background music is added to the video, additional information of the video from a video server, where the additional information is generated by the video server after identifying content of the video when the video is uploaded to the video server, and the additional information includes: a name of the background music;
an extraction sub-module configured to extract a name of the background music in the additional information.
Optionally, the apparatus further comprises:
the first receiving module is configured to receive a downloading instruction triggered by a user through specified operation on the bullet screen;
a sending module configured to send a download request to a music server according to the download instruction, wherein the download request includes a name of the background music;
the second receiving module is configured to receive the complete audio corresponding to the name of the background music sent by the music server.
Optionally, the detection module is configured to:
monitoring whether the bullet screen function is started or not in the video playing process,
after the bullet screen function is started, detecting whether background music is attached to the video or not;
or, in the video playing process, monitoring whether the music prompt function is started or not,
and after the music prompt function is started, detecting whether background music is added in the video.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a video playback apparatus including:
the identification module is configured to identify the content of the video when the video is uploaded to a video server;
a generating module configured to generate additional information when the content of the video includes background music, the additional information including: a name of the background music;
a providing module configured to provide additional information of the video to a terminal playing the video.
Optionally, the generating module includes:
an acquisition sub-module configured to acquire, when the content of the video includes background music, audio information of the background music;
a transmitting sub-module configured to transmit the audio information to a music server;
the receiving submodule is configured to receive the name of the background music sent by the music server, and the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information;
a generating sub-module configured to generate the additional information from the audio information.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a video playback apparatus, the apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether background music is attached to the video or not in the video playing process;
when the video is added with background music, acquiring the name of the background music;
and displaying the name of the background music.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a video playback apparatus, the apparatus including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when a video is uploaded to a video server, identifying the content of the video;
when the content of the video includes background music, generating additional information including: a name of the background music;
and providing the additional information of the video to a terminal playing the video.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the video playing method and device provided by the embodiment of the disclosure, when the video is played, the terminal can detect the background music in the video, acquire the name of the background music and display the name on the interface of the terminal for playing the video, so that the will of a user who wants to know the name of the background music in the video when watching the video is met, the video playing function is enriched, and the flexibility of video playing is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure, the drawings that are needed to be used in the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram illustrating an implementation environment involved with a video playback method according to an example embodiment.
Fig. 2 is a flowchart of a video playing method according to an exemplary embodiment.
Fig. 3 is a flow chart of a video playing method according to an exemplary embodiment.
Fig. 4-1 is a flow chart of a video playing method provided according to an exemplary embodiment.
Fig. 4-2 is a schematic diagram of an implementation environment involved in a video playing method according to an exemplary embodiment.
Fig. 4-3 are flowcharts illustrating a method of obtaining a background music title according to an example embodiment.
Fig. 4-4 are flow diagrams illustrating another method of obtaining a background music title according to an example embodiment.
Fig. 4-5 are flowcharts illustrating yet another method of obtaining a background music title in accordance with an exemplary embodiment.
Fig. 5-1 is a block diagram illustrating a video playback device according to an example embodiment.
Fig. 5-2 is a block diagram illustrating a display module according to an exemplary embodiment.
Fig. 5-3 is a block diagram illustrating an acquisition module in accordance with an exemplary embodiment.
Fig. 5-4 are block diagrams illustrating a first acquisition submodule, according to an example embodiment.
Fig. 5-5 are block diagrams illustrating another acquisition module according to an example embodiment.
Fig. 5-6 are block diagrams illustrating a video playback device according to an exemplary embodiment.
Fig. 6-1 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment.
FIG. 6-2 is a block diagram illustrating a generation module according to an example embodiment.
Fig. 7 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment.
Fig. 8 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments, which can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort, shall fall within the scope of protection of the present disclosure.
Referring to fig. 1, a schematic diagram of an implementation environment related to a video playing method provided in some embodiments of the present disclosure is shown. The implementation environment may include: a video server 110 and at least one terminal 120.
The video server 110 may be a server, a server cluster composed of several servers, or a cloud computing service center. The terminal 120 can be a smartphone, a computer, a multimedia player, an e-reader, a wearable device, etc.
The connection between the video server 110 and the terminal 120 may be established through a wired network or a wireless network, a video database may be stored in the video server, and the terminal 120 may obtain a video from the video server 110 and play the video.
In the related art, when a terminal plays a video through a webpage or a video player, a user can adjust the video playing progress through operations such as clicking a progress bar and the like, and also can make comments or chat with people in real time through a bullet screen on a screen, but the webpage or the video player has a single playing function and is low in flexibility when playing the video.
Fig. 2 is a flowchart of a video playing method provided in an exemplary embodiment of the present disclosure, which may be applied to a terminal in the implementation environment shown in fig. 1, and the method includes:
In the embodiment of the present disclosure, the name of the background music may be displayed in a pop-up screen form, may also be displayed in a pop-up window form, and may also be displayed in a personal center of the user.
To sum up, according to the video playing method provided by the embodiment of the present disclosure, when a video is played, the terminal may detect the background music in the video, obtain the name of the background music, and display the name on the interface of the terminal playing the video, so that a desire of a user to know the name of the background music in the video when the user watches the video is satisfied, a video playing function is enriched, and flexibility of video playing is improved.
Fig. 3 is a flowchart of a video playing method provided by an exemplary embodiment of the present disclosure, which may be applied to a video server in the implementation environment shown in fig. 1, and the method includes:
To sum up, according to the video playing method provided by the embodiment of the present disclosure, when a video is uploaded to a video server, the video server identifies content of the video, when the content of the video includes background music, the video server provides the additional information to a terminal that plays the video, the additional information received by the terminal includes a name of the background music, and the name of the background music can be displayed, so that a desire of a user to know the name of the background music in the video when watching the video is satisfied, a video playing function is enriched, and flexibility of video playing is improved.
Fig. 4-1 is a flowchart of a video playing method provided by an exemplary embodiment of the present disclosure, which can be applied in the implementation environment shown in fig. 1, and the method includes:
It should be noted that before detecting whether the background music is added to the video, the terminal needs to determine whether the detection operation needs to be performed, and for example, the terminal may perform the following determination process:
on one hand, if the name of the background music is displayed in the form of the bullet screen, in the video playing process, whether the bullet screen function is started is monitored, and after the bullet screen function is started, whether the background music is added to the video is detected.
The barrage function can be triggered through the button, in the video playing process, show a barrage function on-button on playing video's interface, whether the suggestion user needs to open the barrage function, if the user clicks this button, the terminal then confirms that this barrage function is opened, whether add the background music in the video begins to detect, if the user does not click this button or click this button once more after this barrage function is opened, the terminal then confirms that this barrage function is closed, the user can not use the barrage to comment on the video, simultaneously the terminal need not detect whether add the background music in the video yet.
On the other hand, if the method for displaying the name of the background music is not limited in the embodiment of the present disclosure, it is monitored whether the music prompt function is turned on during the video playing process, and after the music prompt function is turned on, it is detected whether the background music is added to the video.
For example, whether the terminal monitors the music prompt function to be turned on may include the following two realizable manners:
in a first implementation manner, the music prompt function may be triggered by a button, and in the video playing process, a music prompt start button is displayed on an interface for playing a video to prompt a user whether to acquire background music in the video, if the user clicks the button, the terminal determines that the music prompt function is started, starts to detect whether the background music is added in the video, and if the user does not click the button, the terminal determines that the music prompt function is stopped, without detecting whether the background music is added in the video. It should be noted that, after the music prompt function of the user is turned on, if the user clicks the button again, the terminal determines that the music prompt function is turned off, and stops detecting whether the background music is attached to the video.
In a second implementation manner, the music prompt function may also be triggered by voice, a voice recognition software is inserted into the background of the video player to recognize the voice of the user, and when the voice of the user contains a preset word, it is determined that the music prompt function is turned on, for example, the preset word is "turn on music recognition".
In the embodiment of the present disclosure, in the video playing process, there are various methods for detecting whether the video is added with the background music, and the embodiment of the present disclosure takes the following two detection modes as examples for description:
in a first detection mode, a terminal may obtain additional information of a currently played video in a video server in advance, where the additional information may generally carry a name of background music in the video and a playing time of the background music, and if the video is added with the background music, the terminal detects the additional information in a video playing process, and when the name of the background music exists in the additional information, it indicates that the video is added with the background music, and when the name of the background music does not exist in the additional information, it indicates that the video is not added with the background music, thereby achieving a purpose of detecting whether the video is added with the background music.
The second detection mode is that voice recognition software is inserted into a background of a video player, and whether background music appears in a video or not is judged by detecting the waveform change of sound in the video playing process; for example, waveforms of sound in a video session are generally disordered, and music generally has a fixed rhythm, so that when background music appears, waveform change of the sound in a video playing process can present a certain regularity, when voice recognition software detects that the waveform of the sound in the video playing process presents a certain regular change, the video can be judged to start playing the background music, that is, when a terminal detects that the video is added with the background music, and when the voice recognition software detects that the waveform of the sound in the video playing process does not present a certain regular change any more, the video can be judged to end playing the background music. When the voice recognition software detects that the waveform of the sound does not have regular changes in the video playing process, the terminal detects that no background music exists in the video.
In the embodiment of the present disclosure, the video playing system may have multiple architectures, and accordingly, the terminal may obtain the name of the background music in multiple realizable manners, and the embodiment of the present disclosure takes the following three aspects as examples for description:
on the one hand, fig. 4-2 is an environment schematic diagram of a video playing system provided in an exemplary embodiment of the present disclosure, please refer to fig. 4-2, which shows an implementation environment schematic diagram related to a video playing method provided in an exemplary embodiment of the present disclosure. The implementation environment may include: a video server 110, a music server 130, and at least one terminal 120.
The video server 110 may be a server, a server cluster composed of several servers, or a cloud computing service center. The music server 130 may be a server, a server cluster composed of several servers, or a cloud computing service center. The terminal 120 can be a smartphone, a computer, a multimedia player, an e-reader, a wearable device, etc.
The video server 110, the music server 130, and the terminal 120 may establish a connection therebetween through a wired network or a wireless network. A music database may be stored in the music server and the music server 130 may be capable of providing audio to the terminal 110 or the video server 120.
As shown in fig. 4-3, in the implementation environment shown in fig. 4-2, when the background music is attached to the video, the process of obtaining the name of the background music may include:
step 4021a, when the video is added with the background music, the terminal acquires the audio information of the background music.
Wherein the audio information may include a music fingerprint. The music fingerprint is similar to a fingerprint of a person and is used for distinguishing audio, the music fingerprint can be regarded as a hash value of one audio, the same audio has the same fingerprint, and different audios have different fingerprints. Typically, a music fingerprint consists of three parts, including: and each music fingerprint has a corresponding time, namely the time corresponding to the frequency, and represents the moment when the music fingerprint appears.
For example, the method for acquiring the audio information of the background music may be to intercept a section of audio of the background music and then determine a music fingerprint of the section of audio, and this method is not limited in this disclosure.
The music database may include a music fingerprint database, a correspondence between a music fingerprint and a music name may be stored in the music fingerprint database, and the music server may perform matching according to the music fingerprint sent by the terminal, and determine the music name corresponding to the music fingerprint matched with the music fingerprint sent by the terminal as the name of the background music in the video.
On the other hand, as shown in fig. 4-4, in the implementation environment shown in fig. 4-2, when the background music is attached to the video, the process of obtaining the name of the background music may include:
step 4021b, when the video is uploaded to the video server, the video server identifies the content of the video.
For example, after the video server identifies the content in the video through preset software, or manually identifies the content of the video, when the video is uploaded, the indication information indicating the content of the video is simultaneously uploaded to the video server, and the video server identifies the content of the video according to the indication information.
Step 4022b, when the content of the video includes the background music, the video server generates additional information, the additional information includes the name of the background music.
It should be noted that, when the content of the video includes background music, the video server may obtain audio information of the background music, send the audio information to the music server, the music server matches the audio information in the music database, then sends a music name matching the audio information as a name of the background music to the video server, and the video server receives and generates additional information.
Step 4023b, the video server provides the additional information of the video to the terminal playing the video.
Optionally, when detecting that the video is added with the background music, the terminal may obtain the additional information of the video in real time from the video server; the video and the additional information can also be downloaded to the terminal in advance, and then when detecting that the background music is added to the video, the additional information of the video which is downloaded locally in advance can be directly acquired.
In yet another aspect, as shown in fig. 4-5, in the implementation environment shown in fig. 1, the implementation environment involved in the video playing system may include: a video server 110 and at least one terminal 120. When the background music is attached to the video, the process of obtaining the name of the background music may include:
step 4021c, the video server receives the video and the indication information uploaded to the video server.
Optionally, after the content of the video is manually identified, when the video is uploaded, the indication information indicating the content of the video may be uploaded at the same time, and the video server identifies the content of the video according to the indication information. The indication information may include: the name of the background music, the playing time of the background music in the video, and the like, and the playing time can be the playing start time and the playing end time.
Step 4023c, the video server provides the additional information of the video to the terminal playing the video.
It should be noted that, when detecting that the video is added with the background music, the terminal may obtain the additional information of the video in real time from the video server; the video and the additional information can also be downloaded to the terminal in advance, and then when detecting that the background music is added to the video, the additional information of the video which is downloaded locally in advance can be directly acquired.
In step 403, the terminal displays the name of the background music.
In practical applications, the name of the background music may be displayed at least once during the playing of the background music. Optionally, the name of the background music may be displayed three times, for example, when the background music starts to be played, the name of the background music is displayed for the first time, at a certain time during the playing of the background music, the name of the background music is displayed for the second time, and when the playing of the background music is finished, the name of the background music is displayed for the third time; the display times and the display time of the name of the background music are not limited in the embodiment of the present disclosure.
In the embodiment of the present disclosure, the name of the background music may be displayed in a pop-up screen form, may also be displayed in a pop-up window form, and may also be displayed in a personal center of the user.
Further, after determining the name of the background music, the user may download a complete audio corresponding to the background music, and in practical applications, the terminal may download the audio through the music server, at this time, an implementation environment related to the video playing system provided in the embodiment of the present disclosure is as shown in fig. 4-2, and the terminal may perform the following actions.
For example, when the user performs any one of operations of clicking or double-clicking, sliding left or right, and the like on the bullet screen for displaying the name of the background music, the terminal receives a download instruction triggered by the user.
It should be noted that, when the background music starts to appear in the video, the bullet screen on the terminal for displaying the name of the background music may give some prompts to the user according to the change of the brightness. For example, when background music starts to appear in a video, a bullet screen on the terminal for displaying the name of the background music may prompt the user whether the background music needs to be downloaded by increasing brightness, or may prompt the user whether the background music needs to be downloaded by flickering.
Optionally, in the video playing process, when the voice recognition software detects that the current video starts to play the background music, a popup window may be displayed on the interface for playing the video to prompt the user whether to start the background music downloading service, and when the user clicks the option for starting the downloading, the terminal receives the downloading instruction.
The music server can obtain the complete audio corresponding to the name from the audio database according to the name of the background music, and send the complete audio to the terminal. The full audio refers to the corresponding audio from the beginning to the end of a song.
It should be noted that the terminal may also forward the download request to the music server through the video server, and the music server forwards the complete audio corresponding to the name of the background music to the terminal through the video server.
In practical applications, the download request in step 405 may not include the name of the background music, the terminal may intercept a section of audio of the background music, determine a music fingerprint of the section of audio, carry the music fingerprint as audio information in the download request, and send the audio information to the music server, where a music fingerprint library of the music server may store a correspondence between the music fingerprint and the music name, and the music server may perform matching in the correspondence according to the music fingerprint sent by the terminal, determine a music name corresponding to the music fingerprint matched with the music fingerprint sent by the terminal as the name of the background music in the video, obtain a complete audio corresponding to the name in the music database according to the name of the background music, and send the complete audio to the terminal.
It should be noted that, the order of the steps of the audio interface display method provided in the embodiment of the present disclosure may be appropriately adjusted, and the steps may also be increased or decreased according to the circumstances, and any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is included in the protection scope of the present disclosure, and therefore, the detailed description is omitted.
To sum up, according to the video playing method provided by the embodiment of the present disclosure, when a video is played, a terminal may detect a background music in the video, acquire a name of the background music, and display the name on an interface of the terminal playing the video, so as to satisfy a desire of a user to know the name of the background music in the video when the user watches the video, and the terminal may display the name of the background music in a pop-up screen form, and after the user performs an appointed operation on the pop-up screen, the terminal may download the background music, thereby facilitating the user to acquire the background music, enriching a video playing function, and improving flexibility of video playing.
Fig. 5-1 is a block diagram illustrating a video playback device according to an exemplary embodiment, which may be used in the terminal 120 shown in fig. 1, as shown in fig. 5-1, and includes:
the detecting module 501 is configured to detect whether background music is attached to the video during the video playing process.
An obtaining module 502 configured to obtain a name of the background music when the background music is attached to the video.
A display module 503 configured to display the name of the background music.
To sum up, according to the video playing device provided by the embodiment of the present disclosure, when a video is played, the detection module can detect the background music in the video, and the acquisition module can acquire the name of the background music and display the name on the interface of the terminal playing the video through the display module, so that a desire of a user to know the name of the background music in the video when the user watches the video is met, a function of playing the video is enriched, and flexibility of playing the video is improved.
Fig. 5-2 is a block diagram illustrating a display module 503 according to an exemplary embodiment, and as shown in fig. 5-2, the display module 503 includes:
a display sub-module 5031 configured to display the name of the background music in the form of a bullet screen.
Optionally, the display sub-module is configured to display the name of the background music in the form of a bullet screen at least once during the playing of the background music.
In one aspect, fig. 5-3 is a block diagram illustrating an acquisition module 502 according to an example embodiment, as shown in fig. 5-3, the acquisition module 502 comprising:
the first obtaining sub-module 5021 is configured to, when background music is attached to the video, obtain audio information of the background music by the terminal.
The transmitting sub-module 5022 is configured to transmit the audio information to the music server.
The receiving submodule 5023 is configured to receive the name of the background music sent by the music server, where the name of the background music is the music name that is determined by the music server in the music database and matches with the audio information.
The audio information may include: a music fingerprint, the music database may be a music fingerprint library, fig. 5-4 are block diagrams of a first acquisition sub-module 5021 shown in fig. 5-4 according to an exemplary embodiment, the first acquisition sub-module 5021 including:
the intercepting submodule 5021a is configured to intercept a piece of audio of the background music.
The determining submodule 5021b is configured to determine a music fingerprint of the piece of audio.
On the other hand, fig. 5-5 are block diagrams illustrating an acquisition module 502 according to an exemplary embodiment, as shown in fig. 5-5, the acquisition module 502 comprising:
the second obtaining sub-module 5024 is configured to obtain additional information of the video from the video server when the video is uploaded to the video server and the additional information is generated by the video server after the content of the video is identified, where the additional information includes: the name of the background music.
An extraction sub-module 5025 configured to extract the name of the background music in the additional information.
Fig. 5-6 are block diagrams illustrating a video playback apparatus according to an exemplary embodiment, which may be used for the terminal 120 shown in fig. 4-2, and further includes, as shown in fig. 5-6:
the first receiving module 504 is configured to receive a downloading instruction triggered by a user through a specified operation on a bullet screen.
A sending module 505 configured to send a download request to the music server according to the download instruction, wherein the download request includes the name of the background music.
And a second receiving module 506 configured to receive the complete audio corresponding to the name of the background music sent by the music server.
A detection module 501 configured to:
in the video playing process, whether the barrage function is started or not is monitored, and whether background music is attached to the video or not is detected after the barrage function is started.
Or monitoring whether the music prompt function is started or not in the video playing process, and detecting whether background music is added in the video or not after the music prompt function is started.
To sum up, according to the video playing device provided by the embodiment of the present disclosure, when a video is played, the detection module can detect the background music in the video, and the acquisition module can acquire the name of the background music and display the name on the interface of the terminal playing the video through the display module, so that a desire of a user to know the name of the background music in the video when the user watches the video is met, a function of playing the video is enriched, and flexibility of playing the video is improved.
Fig. 6-1 is a block diagram illustrating a video playback device according to an exemplary embodiment, which may be used in the video server 110 shown in fig. 1, and which includes:
the identifying module 601 is configured to identify the content of the video when the video is uploaded to the video server.
A generating module 602 configured to generate additional information when the content of the video includes background music, the additional information including: the name of the background music.
A providing module 603 configured to provide additional information of the video to a terminal playing the video.
To sum up, according to the video playing apparatus provided by the embodiment of the present disclosure, when a video is uploaded to the video server, the video server identifies the content of the video, when the content of the video includes background music, the video server provides additional information to the terminal that plays the video, and the additional information received by the terminal includes the name of the background music, so that a wish that a user wants to know the name of the background music in the video when watching the video is satisfied, a video playing function is enriched, and flexibility of video playing is improved.
Fig. 6-2 is a block diagram illustrating a generation module 602, according to an example embodiment, as shown in fig. 6-2, the generation module 602 including:
the obtaining sub-module 6021 is configured to, when the content of the video includes background music, the video server 110 obtains the audio information of the background music.
A sending submodule 6022 configured to send the audio information to the music server.
The receiving submodule 6023 is configured to receive the name of the background music sent by the music server, where the name of the background music is a music name that is determined by the music server in the music database and matches with the audio information.
A generation submodule 6024 configured to generate additional information from the audio information.
To sum up, according to the video playing apparatus provided by the embodiment of the present disclosure, when a video is uploaded to the video server, the video server identifies the content of the video, when the content of the video includes background music, the video server provides additional information to the terminal that plays the video, and the additional information received by the terminal includes the name of the background music, so that a wish that a user wants to know the name of the background music in the video when watching the video is satisfied, a video playing function is enriched, and flexibility of video playing is improved.
The disclosed embodiment provides a video playing device, which can be used in a terminal shown in fig. 1, and the device includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
detecting whether background music is attached to the video or not in the video playing process;
when the video is added with background music, acquiring the name of the background music;
and displaying the name of the background music.
The disclosed embodiment provides a video playing device, which can be used in a video server shown in fig. 1, and the device includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when a video is uploaded to a video server, identifying the content of the video;
when the content of the video includes background music, generating additional information including: a name of the background music;
and providing the additional information of the video to a terminal playing the video.
Fig. 7 is a block diagram illustrating an apparatus 700 for video playback according to an example embodiment. The apparatus 700 may be used in the terminal shown in fig. 1, for example, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of an apparatus 700, enable the apparatus 700 to perform a video playback method provided by an embodiment of the present disclosure, the method comprising:
detecting whether background music is attached to the video or not in the video playing process;
when the video is added with background music, acquiring the name of the background music;
and displaying the name of the background music.
Fig. 8 is a block diagram illustrating an apparatus 800 for video playback according to an example embodiment. May be used for the video server of fig. 1, for example, the apparatus 800 may be provided as a server. Referring to FIG. 8, apparatus 800 includes a processing component 822, which further includes one or more processors and memory resources, represented by memory 832, for storing instructions, such as application programs, that are executable by processing component 822. The application programs stored in memory 832 may include one or more modules that each correspond to a set of instructions. Further, the processing component 822 is configured to execute instructions to perform the video playback method described above.
The device 800 may also include a power component 826 configured to perform power management of the device 800, a wired or wireless network interface 850 configured to connect the device 800 to a network, and an input/output (I/O) interface 858. The apparatus 800 may operate based on an operating system stored in the memory 832, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a device 800, enable the device 800 to perform a video playing method provided by an embodiment of the present disclosure, the method comprising:
when a video is uploaded to a video server, identifying the content of the video;
when the content of the video includes background music, generating additional information including: a name of the background music;
and providing the additional information of the video to a terminal playing the video.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (12)
1. A video playback method, the method comprising:
monitoring whether a bullet screen function is started or not in the video playing process, and detecting whether background music is attached to the video or not after the bullet screen function is started; or monitoring whether a music prompt function is started or not in the video playing process, and detecting whether background music is attached to the video or not after the music prompt function is started;
when the video is added with background music, acquiring the name of the background music; in the background music playing process, the name of the background music is displayed at least once in a bullet screen mode, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
receiving a downloading instruction triggered by a user through appointed operation on the bullet screen; sending a downloading request to a music server according to the downloading instruction, wherein the downloading request comprises the name of the background music; receiving a complete audio corresponding to the name of the background music sent by the music server;
whether monitoring music prompt facility opens includes:
when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected, determining that the music prompt function is started; or recognizing the voice of a user through voice recognition software inserted into the background of the video player, and determining that the music prompt function is started when the voice of the user contains preset words;
the detecting whether the background music is attached to the video comprises the following steps:
acquiring additional information of a currently played video from a video server, detecting the additional information in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or when the voice recognition software inserted into the background of the video player detects that the waveform of the sound is regularly changed in the video playing process, determining that the video is added with background music.
2. The method according to claim 1, wherein when the video is appended with background music, acquiring a name of the background music comprises:
when the video is added with background music, acquiring audio information of the background music;
sending the audio information to a music server;
and receiving the name of the background music sent by the music server, wherein the name of the background music is the music name which is determined by the music server in a music database and is matched with the audio information.
3. The method of claim 2, wherein the audio information comprises: the music fingerprint database is a music fingerprint database, and the acquiring of the audio information of the background music comprises:
intercepting a piece of audio of the background music;
a music fingerprint of the piece of audio is determined.
4. The method according to claim 1, wherein when the video is appended with background music, acquiring a name of the background music comprises:
when background music is added to the video, acquiring additional information of the video from a video server, wherein the additional information is generated by the video server after identifying the content of the video when the video is uploaded to the video server, and the additional information comprises: a name of the background music;
extracting a name of the background music in the additional information.
5. A video playback method, comprising:
when a video is uploaded to a video server, identifying the content of the video; when the content of the video comprises background music, acquiring audio information of the background music; sending the audio information to a music server;
receiving the name of the background music sent by the music server, wherein the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information; generating additional information from the audio information, the additional information comprising: a name of the background music;
providing additional information of the video to a terminal playing the video, so that the terminal displays the name of the background music at least once in a bullet screen mode in the process of playing the background music, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
the terminal is used for detecting the additional information after monitoring that the barrage function is started or after monitoring that the music prompt function is started in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or the terminal is used for determining that background music is added to the video when voice recognition software inserted into the background of the video player detects that the waveform of sound in the video playing process is regularly changed after the bullet screen function is monitored to be started or the music prompt function is monitored to be started in the video playing process;
the terminal is further used for determining that the music prompt function is started when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected; or recognizing the voice of the user through voice recognition software inserted into the video player background, and determining that the music prompt function is started when the voice of the user contains preset words.
6. A video playback apparatus, comprising:
the detection module is configured to monitor whether a barrage function is started or not in the video playing process, and detect whether background music is attached to the video or not after the barrage function is started; or monitoring whether a music prompt function is started or not in the video playing process, and detecting whether background music is attached to the video or not after the music prompt function is started;
the acquisition module is configured to acquire the name of the background music when the background music is attached to the video;
the display module is configured to display the name of the background music at least once in a bullet screen mode in the playing process of the background music, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
the first receiving module is configured to receive a downloading instruction triggered by a user through specified operation on the bullet screen;
a sending module configured to send a download request to a music server according to the download instruction, wherein the download request includes a name of the background music;
the second receiving module is configured to receive a complete audio corresponding to the name of the background music sent by the music server;
the detection module is further configured to:
when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected, determining that the music prompt function is started; or recognizing the voice of a user through voice recognition software inserted into a video player background, and determining that the music prompt function is started when the voice of the user contains preset words;
the detecting whether the background music is attached to the video comprises the following steps:
acquiring additional information of a currently played video from a video server, detecting the additional information in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or when the voice recognition software inserted into the background of the video player detects that the waveform of the sound is regularly changed in the video playing process, determining that the video is added with background music.
7. The apparatus of claim 6, wherein the obtaining module comprises:
a first obtaining sub-module configured to obtain audio information of background music when the video is appended with the background music;
a transmitting sub-module configured to transmit the audio information to a music server;
the receiving submodule is configured to receive the name of the background music sent by the music server, and the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information.
8. The apparatus of claim 7, wherein the audio information comprises: the music fingerprint, the music database is the music fingerprint storehouse, first acquisition submodule includes:
an intercepting submodule configured to intercept a piece of audio of the background music;
a determination sub-module configured to determine a music fingerprint of the piece of audio.
9. The apparatus of claim 6, wherein the obtaining module comprises:
a second obtaining sub-module, configured to obtain, when background music is added to the video, additional information of the video from a video server, where the additional information is generated by the video server after identifying content of the video when the video is uploaded to the video server, and the additional information includes: a name of the background music;
an extraction sub-module configured to extract a name of the background music in the additional information.
10. A video playback apparatus, comprising:
the identification module is configured to identify the content of the video when the video is uploaded to a video server;
a generating module, configured to, when the content of the video includes background music, obtain audio information of the background music, send the audio information to a music server, receive a name of the background music sent by the music server, where the name of the background music is a music name that is determined by the music server in a music database and matches with the audio information, and generate additional information according to the audio information, where the additional information includes: a name of the background music;
the providing module is configured to provide additional information of the video to a terminal playing the video, so that the terminal displays the name of the background music at least once in a bullet screen mode in the process of playing the background music, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
the terminal is used for detecting the additional information after monitoring that the barrage function is started or after monitoring that the music prompt function is started in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or the terminal is used for determining that background music is added to the video when voice recognition software inserted into the background of the video player detects that the waveform of sound in the video playing process is regularly changed after the bullet screen function is monitored to be started or the music prompt function is monitored to be started in the video playing process;
the terminal is further used for determining that the music prompt function is started when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected; or recognizing the voice of the user through voice recognition software inserted into the video player background, and determining that the music prompt function is started when the voice of the user contains preset words.
11. A video playback apparatus, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
monitoring whether a bullet screen function is started or not in the video playing process, and detecting whether background music is attached to the video or not after the bullet screen function is started; or monitoring whether a music prompt function is started or not in the video playing process, and detecting whether background music is attached to the video or not after the music prompt function is started;
when the video is added with background music, acquiring the name of the background music; in the background music playing process, the name of the background music is displayed at least once in a bullet screen mode, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
receiving a downloading instruction triggered by a user through appointed operation on the bullet screen; sending a downloading request to a music server according to the downloading instruction, wherein the downloading request comprises the name of the background music; receiving a complete audio corresponding to the name of the background music sent by the music server;
whether monitoring music prompt facility opens includes:
when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected, determining that the music prompt function is started; or recognizing the voice of a user through voice recognition software inserted into the background of the video player, and determining that the music prompt function is started when the voice of the user contains preset words;
the detecting whether the background music is attached to the video comprises the following steps:
acquiring additional information of a currently played video from a video server, detecting the additional information in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or when the voice recognition software inserted into the background of the video player detects that the waveform of the sound is regularly changed in the video playing process, determining that the video is added with background music.
12. A video playback apparatus, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
when a video is uploaded to a video server, identifying the content of the video; when the content of the video comprises background music, acquiring audio information of the background music; sending the audio information to a music server;
receiving the name of the background music sent by the music server, wherein the name of the background music is a music name which is determined by the music server in a music database and is matched with the audio information; generating additional information from the audio information, the additional information comprising: a name of the background music;
providing additional information of the video to a terminal playing the video, so that the terminal displays the name of the background music at least once in a bullet screen mode in the process of playing the background music, and the bullet screen prompts a user whether the background music needs to be downloaded or not in a display mode of improving brightness or flickering;
the terminal is used for detecting the additional information after monitoring that the barrage function is started or after monitoring that the music prompt function is started in the video playing process, and determining that background music is added to the video when the name of the background music exists in the additional information; or the terminal is used for determining that background music is added to the video when voice recognition software inserted into the background of the video player detects that the waveform of sound in the video playing process is regularly changed after the bullet screen function is monitored to be started or the music prompt function is monitored to be started in the video playing process;
the terminal is further used for determining that the music prompt function is started when the clicking operation of a user on a music prompt starting button displayed on an interface for playing the video is detected; or recognizing the voice of the user through voice recognition software inserted into the video player background, and determining that the music prompt function is started when the voice of the user contains preset words.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610792528.6A CN106375782B (en) | 2016-08-31 | 2016-08-31 | Video playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610792528.6A CN106375782B (en) | 2016-08-31 | 2016-08-31 | Video playing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375782A CN106375782A (en) | 2017-02-01 |
CN106375782B true CN106375782B (en) | 2020-12-18 |
Family
ID=57899887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610792528.6A Active CN106375782B (en) | 2016-08-31 | 2016-08-31 | Video playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375782B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135419A (en) * | 2017-06-14 | 2017-09-05 | 北京奇虎科技有限公司 | A kind of method and apparatus for editing video |
CN108600825B (en) * | 2018-07-12 | 2019-10-25 | 北京微播视界科技有限公司 | Select method, apparatus, terminal device and the medium of background music shooting video |
CN108668164A (en) | 2018-07-12 | 2018-10-16 | 北京微播视界科技有限公司 | Select method, apparatus, terminal device and the medium of background music shooting video |
CN108848411B (en) * | 2018-08-01 | 2020-09-25 | 夏颖 | System and method for defining program boundaries and advertisement boundaries based on audio signal waveforms |
CN109068160B (en) * | 2018-09-20 | 2021-05-07 | 广州酷狗计算机科技有限公司 | Method, device and system for linking videos |
CN109547847B (en) * | 2018-11-22 | 2021-10-22 | 广州酷狗计算机科技有限公司 | Method and device for adding video information and computer readable storage medium |
CN110335625A (en) * | 2019-07-08 | 2019-10-15 | 百度在线网络技术(北京)有限公司 | The prompt and recognition methods of background music, device, equipment and medium |
CN111629247B (en) * | 2020-05-26 | 2022-03-01 | 北京达佳互联信息技术有限公司 | Information display method and device and electronic equipment |
CN111583972B (en) * | 2020-05-28 | 2022-03-25 | 北京达佳互联信息技术有限公司 | Singing work generation method and device and electronic equipment |
CN112040339A (en) * | 2020-08-31 | 2020-12-04 | 广州市百果园信息技术有限公司 | Method and device for making video data, computer equipment and storage medium |
CN115880677A (en) * | 2021-09-27 | 2023-03-31 | 华为技术有限公司 | Multimedia information identification method and electronic equipment |
CN116048335A (en) * | 2021-10-28 | 2023-05-02 | 北京字跳网络技术有限公司 | Interaction method, interaction device, electronic apparatus, and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010003383A (en) * | 2008-06-23 | 2010-01-07 | Victor Co Of Japan Ltd | Broadcast program recording and reproducing device |
CN104065979A (en) * | 2013-03-22 | 2014-09-24 | 北京中传数广技术有限公司 | Method for dynamically displaying information related with video content and system thereof |
CN104199885A (en) * | 2014-08-22 | 2014-12-10 | 广州三星通信技术研究有限公司 | Device and method for acquiring relevant content of video files |
CN104598502A (en) * | 2014-04-22 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method, device and system for obtaining background music information in played video |
CN105898364A (en) * | 2016-05-26 | 2016-08-24 | 北京小米移动软件有限公司 | Video playing processing method, device, terminal and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113785A (en) * | 2014-06-26 | 2014-10-22 | 小米科技有限责任公司 | Information acquisition method and device |
CN104113768A (en) * | 2014-06-26 | 2014-10-22 | 小米科技有限责任公司 | Associated information generation method and device |
-
2016
- 2016-08-31 CN CN201610792528.6A patent/CN106375782B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010003383A (en) * | 2008-06-23 | 2010-01-07 | Victor Co Of Japan Ltd | Broadcast program recording and reproducing device |
CN104065979A (en) * | 2013-03-22 | 2014-09-24 | 北京中传数广技术有限公司 | Method for dynamically displaying information related with video content and system thereof |
CN104598502A (en) * | 2014-04-22 | 2015-05-06 | 腾讯科技(北京)有限公司 | Method, device and system for obtaining background music information in played video |
CN104199885A (en) * | 2014-08-22 | 2014-12-10 | 广州三星通信技术研究有限公司 | Device and method for acquiring relevant content of video files |
CN105898364A (en) * | 2016-05-26 | 2016-08-24 | 北京小米移动软件有限公司 | Video playing processing method, device, terminal and system |
Also Published As
Publication number | Publication date |
---|---|
CN106375782A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106375782B (en) | Video playing method and device | |
CN107105314B (en) | Video playing method and device | |
CN106791893B (en) | Video live broadcasting method and device | |
CN104469437B (en) | Advertisement sending method and device | |
CN106941624B (en) | Processing method and device for network video trial viewing | |
CN111107421B (en) | Video processing method and device, terminal equipment and storage medium | |
EP3174053A1 (en) | Method, apparatus and system for playing multimedia data, computer program and recording medium | |
CN111970533A (en) | Interaction method and device for live broadcast room and electronic equipment | |
US20210258619A1 (en) | Method for processing live streaming clips and apparatus, electronic device and computer storage medium | |
CN106792173B (en) | Video playing method and device and non-transitory computer readable storage medium | |
CN109087650B (en) | Voice wake-up method and device | |
CN110798726A (en) | Bullet screen display method and device, electronic equipment and storage medium | |
WO2023040202A1 (en) | Face recognition method and apparatus, electronic device, and storage medium | |
WO2023061028A1 (en) | Respiratory rate measurement method and apparatus, electronic device, and storage medium | |
CN110392304A (en) | A kind of video display method, apparatus, electronic equipment and storage medium | |
CN106331328B (en) | Information prompting method and device | |
CN108986803B (en) | Scene control method and device, electronic equipment and readable storage medium | |
CN108156506A (en) | The progress adjustment method and device of barrage information | |
CN106341712A (en) | Processing method and apparatus of multimedia data | |
CN112532931A (en) | Video processing method and device and electronic equipment | |
WO2023035560A9 (en) | Information processing method and apparatus | |
CN108460138A (en) | Music recommends method, apparatus, equipment and storage medium | |
CN112948704A (en) | Model training method and device for information recommendation, electronic equipment and medium | |
CN110852163A (en) | Binding method and device | |
CN107247794B (en) | Topic guiding method in live broadcast, live broadcast device and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |