CN106210773B - The method and system of barrage are played in local video - Google Patents
The method and system of barrage are played in local video Download PDFInfo
- Publication number
- CN106210773B CN106210773B CN201610695713.3A CN201610695713A CN106210773B CN 106210773 B CN106210773 B CN 106210773B CN 201610695713 A CN201610695713 A CN 201610695713A CN 106210773 B CN106210773 B CN 106210773B
- Authority
- CN
- China
- Prior art keywords
- barrage
- file
- video
- local video
- barrage information
- 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
- 230000000875 corresponding Effects 0.000 claims abstract description 62
- 230000027455 binding Effects 0.000 claims abstract description 18
- 230000005540 biological transmission Effects 0.000 claims abstract description 3
- 238000000034 method Methods 0.000 claims description 23
- 238000001914 filtration Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 description 10
- 238000007906 compression Methods 0.000 description 4
- 230000001808 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006011 modification reaction Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Abstract
This application discloses a kind of in local video plays the method and system of barrage, comprising: header file is compressed and generates corresponding header file MD5 value by the header file of interception local video file;The local video file with header file MD5 value is identified and collected, video library is formed;All users for having viewed any local video file in video library in local are collected, establishes and gathers with piece user;It collects and passes through the barrage information that barrage sending zone is sent to local video file with each user in piece user set;The barrage information binding of the header file MD5 value of local video file and the user's transmission for watching the local video is uploaded;To after binding header file MD5 value and barrage information parsed and stored into barrage information sending module;The barrage information of storage is sent in all local video files in video library and is shown.
Description
Technical field
This application involves technical field of video processing, specifically, being related to a kind of side for playing barrage in local video
Method and system.
Background technique
Barrage shows the phenomenon that comment referred to as barrage in playing video pictures in the form of subtitle.User can pass through bullet
The form of curtain carries out barrage discussion communication with other users when seeing video.Existing video barrage be all by playing online or
The form of live streaming, in the video corresponding period after each user terminal collection barrage during line plays video or live streaming
On showed.
Resource is still broadcast live in the use of video resource in the prior art, either online resource, is from each video
The own video media library of company, so whether in the uniqueness judgement for watching the same video having many dimensions for user
Degree, judgment method is simple, and then the upload for sending barrage for user is collected, and issues in the user for watching same video
The barrage information of all users, it is equally also easy to accomplish.
However local resource and first video resource or live video resource are different greatly, local resource is all user oneself
The resource downloaded from the Internet, the good and bad jumbled together, and same portion's resource might have thousands of kinds of video names, existing barrage playback method
The barrage of Online Video can only be supported to play form, barrage can not achieve for local video playing and play.Therefore, how to sentence
Which user of breaking seems particularly difficult watching same video resource, it is difficult to matched and analyzed so that how
Barrage is played in local video becomes technical problem urgently to be resolved.
Summary of the invention
The side of barrage is played in view of this, the technical problem to be solved by the application is to provide a kind of in local video
Method and system, can be by intercepting the header file MD5 value of local video file, and according to the MD5 value from the local that the good and bad jumbled together
All users for watching same portion's film are found out in video resource, the barrage file of user is stored and issued, and are realized
The effect of barrage is played in local video resource.
In order to solve the above-mentioned technical problem, the application has following technical solution:
A method of playing barrage in local video characterized by comprising
The header file, is compressed and is generated corresponding header file MD5 value by the header file for intercepting local video file,
Using the header file MD5 value as the unique identifier of the local video file;
The local video file with the header file MD5 value is identified and collected, video library is formed;
All users for having viewed any local video file in the video library in local are collected, are established with piece user
Set;
Collect what each user in the same piece user set was sent by barrage sending zone to the local video file
Barrage information;
By the header file MD5 value of the local video file and watched any local video file in the video library
The barrage information binding that user sends is uploaded to barrage message processing module;
To after binding the header file MD5 value and the barrage information parse, get unbundlings after the head
File MD5 value and the barrage information corresponding with the header file MD5 value, and by the header file MD5 value and the barrage
Information is stored into barrage information sending module;
The barrage information of storage is sent in all local video files in the video library and is shown.
Preferably, in which:
Further comprise:
Barrage information playing time corresponding in the local video file playing process is calculated, so that described
Barrage information matches with video-frequency playing content.
Preferably, in which:
It is described to calculate barrage information playing time corresponding in the local video file playing process, into one
Step are as follows:
It records and passes through each institute that barrage sending zone is sent to the local video file with each user in piece user set
State the frame value of barrage information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file is played to
When the frame value of the corresponding video frame of the barrage information, barrage information corresponding with the frame value is sent to each described local regard
Frequency file is shown.
Preferably, in which:
The barrage information of storage is sent in all local video files in the video library and is shown, into
One step are as follows:
The barrage information of storage is sent in all local video files in the video library, and by the bullet
Curtain information is shown according to corresponding playing time.
Preferably, in which:
Further comprise:
It will include uncultivated bullet before all local video files into the video library send the barrage information
Specific barrage information including curtain information is filtered processing.
A kind of system playing barrage in local video characterized by comprising header file processing module, same view
Frequency identification module sends mould with piece user collection module, barrage information collection module, barrage message processing module and barrage information
Block,
The header file processing module compresses the header file for intercepting the header file of local video file
And corresponding header file MD5 value is generated, using the header file MD5 value as the unique identifier of the local video file;
The same video identification module, for identification and collect have the header file MD5 value local video file,
Form video library;
The same piece user collection module, it is all in any local view locally having viewed in the video library for collecting
The user of frequency file establishes and gathers with piece user;
The barrage information collection module collects each user in the same piece user set and passes through barrage sending zone to institute
The barrage information of local video file transmission is stated, and by the header file MD5 value of the local video file and watched the view
The barrage information binding that the user of any local video file sends in frequency library is uploaded to barrage message processing module;
The barrage message processing module, to after binding the header file MD5 value and the barrage information parse,
The header file MD5 value and the barrage information corresponding with the header file MD5 value after getting unbundlings, and by the head
File MD5 value and the barrage information are stored into barrage information sending module;
The barrage information sending module, it is all in the video library for the barrage information of storage to be sent to
It is shown in local video file.
Preferably, in which:
Further comprise: barrage information playing time computing module,
The barrage information playing time computing module is broadcast for calculating the barrage information in the local video file
Corresponding playing time during putting, so that the barrage information matches with video-frequency playing content.
Preferably, in which:
The barrage information playing time computing module, is further used for:
It records and passes through each institute that barrage sending zone is sent to the local video file with each user in piece user set
State the frame value of barrage information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file is played to
When the frame value of the corresponding video frame of the barrage information, barrage information corresponding with the frame value is sent to each described local regard
Frequency file is shown.
Preferably, in which:
The barrage information sending module is further used for for the barrage information of storage being sent in the video library
All local video files in, and the barrage information is shown according to corresponding playing time.
Preferably, in which:
Further comprise: barrage information filtering module,
The barrage information filtering module, for sending the bullet in all local video files into the video library
Before curtain information, the specific barrage information including uncultivated barrage information is filtered processing.
Compared with prior art, method and system described herein achieving the following effects:
First, the method and system provided by the present invention that barrage is played in local video can be truncated to local view
Header file compression is simultaneously generated corresponding unique header file MD5 value by the header file of frequency resource, and then is based on same header file
MD5 value is collected into all local video resources with header file MD5 value, efficiently solves and is difficult in the prior art from ichthyosauru
The problem of identification is essentially same video file in the thousands of kinds of local video files mixed, so that in local view
Being possibly realized for barrage is played in frequency.
Second, the method and system provided by the present invention that barrage is played in local video are being identified based on same
After the local video file of header file MD5 value, video library is formed, and then can be collected into and have viewed any local view in video library
The user of frequency file establishes and gathers with piece user.The barrage information that further each user in same piece user set is sent into
Row is collected, handles, stores and is sent to be shown in the local video file with above-mentioned header file MD5 value, to realize
In local video file play barrage.
Third, the method and system provided by the present invention that barrage is played in local video, realizes in local video
Play the scheme of barrage in file, user watch online barrage video network speed it is bad when, local CDN and P2P net can be passed through
Network downloads local barrage and carries out video playing, to reach the effect same of online viewing barrage video.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of flow chart for the method that barrage is played in local video of the invention;
Fig. 2 is a kind of structure chart for the system that barrage is played in local video of the invention;
Fig. 3 is a kind of flow chart of the embodiment for the method that barrage is played in local video of the invention.
Specific embodiment
As used some vocabulary to censure specific components in the specification and claims.Those skilled in the art answer
It is understood that hardware manufacturer may call the same component with different nouns.This specification and claims are not with name
The difference of title is as the mode for distinguishing component, but with the difference of component functionally as the criterion of differentiation.Such as logical
The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit
In "." substantially " refer within the acceptable error range, those skilled in the art can within a certain error range solve described in
Technical problem basically reaches the technical effect.In addition, " coupling " word includes any direct and indirect electric property coupling herein
Means.Therefore, if it is described herein that a first device is coupled to a second device, then representing the first device can directly electrical coupling
It is connected to the second device, or the second device indirectly electrically coupled through other devices or coupling means.Specification
Subsequent descriptions be implement the application better embodiment, so it is described description be for the purpose of the rule for illustrating the application,
It is not intended to limit the scope of the present application.The protection scope of the application is as defined by the appended claims.
Embodiment 1
Shown in Figure 1 is the specific embodiment of a kind of herein described method that barrage is played in local video, should
Method includes:
The header file is compressed and generates corresponding head text by step 101, the header file for intercepting local video file
Part MD5 value, using the header file MD5 value as the unique identifier of the local video file;
Step 102 identifies and collects the local video file with the header file MD5 value, forms video library;
Step 103 collects all users that any local video file in the video library is had viewed in local, establishes
Gather with piece user;
Since all video files in video library possess identical MD5 value, and MD5 value is the unique of local video file
Identification marking, so all video files in video library are same video file in fact, only title is different, so only
Any local video file in video library is had viewed, be considered as that these users see in fact is the same local video text
Part, these users form same piece user set.
Each user is literary to the local video by barrage sending zone in step 104, the collection same piece user set
The barrage information that part is sent;
Step 105 by the header file MD5 value of the local video file and watched any in the video library local regard
The barrage information binding that the user of frequency file sends is uploaded to barrage message processing module;
Step 106, to after binding the header file MD5 value and the barrage information parse, after getting unbundlings
The header file MD5 value and the barrage information corresponding with the header file MD5 value, and by the header file MD5 value and
The barrage information is stored into barrage information sending module;
Step 107, by the barrage information of storage be sent in all local video files in the video library into
Row is shown.
The above-mentioned method that barrage is played in local video provided herein, can be truncated to local video resource
Header file compression is simultaneously generated corresponding unique header file MD5 value by header file, and then is collected based on same header file MD5 value
To all local video resources with header file MD5 value.Identifying the local video text based on same header file MD5 value
After part, video library is formed, and then the user for having viewed any local video file in video library can be collected into, establishes and used with piece
Family set.The barrage information further sent to each user in same piece user set is collected, handles, stores and is sent to
All local video files in video library are shown, and play barrage in local video file to realize.
The method that barrage is played in the local video of the application, further comprises: calculating the barrage information at described
Corresponding playing time in ground video file playing process, so that the barrage information matches with video-frequency playing content.
Above-mentioned calculating calculates barrage information playing time corresponding in the local video file playing process,
Further are as follows:
It records and passes through each institute that barrage sending zone is sent to the local video file with each user in piece user set
State the frame value of barrage information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file is played to
When the frame value of the corresponding video frame of the barrage information, barrage information corresponding with the frame value is sent to each described local regard
Frequency file is shown.
Since video is synthesized by image one by one, 25-30 frame is one second picture, and the application is by broadcasting
Put the frame value that core obtains video, frame value be it is incremental with play time, repetition is not had, so sending local barrage
When information, recording except currently transmitted barrage information (color, font, font size, mode), by frame value one locating when sending
Record is used as with barrage message processing module is sent to;When next other users are played to this frame value (being equivalent to one second),
This frame value (being equivalent to one second) sends barrage information, guarantees that barrage information matches with broadcasting content.It is with the benefit of frame value,
When the timestamp of playback progress is problematic, the same broadcast point of video can accurately be also found by frame value.
Barrage information is matched with video-frequency playing content, when being played to a certain section of video content, is popped up corresponding
Barrage information is conducive to the barrage information content of other users when reaction this section of video of viewing, is more advantageous to exchange.
Above-mentioned steps 107, all local video files barrage information of storage being sent in the video library
In be shown, further are as follows:
The barrage information of storage is sent in all local video files in the video library, and by the bullet
Curtain information is shown according to corresponding playing time.In this manner, user can be at a certain section of viewing local video
This section of video content corresponding barrage is seen when content, has reached the effect same of online viewing barrage video.
The method that barrage is played in the local video of the application further comprises: each barrage information of setting is described
Corresponding play position in local video file playing process, so that the barrage information is opened up in the play position of setting
Show.By the above method of the application, barrage information can be shown in the designated position of local video, the designated position
It can be any position during Video Rendering, as long as not influencing user normally watches video content.
Barrage information in the application is at least can include: barrage content and barrage pattern.Above-mentioned barrage content and barrage sample
Formula can be the original barrage content and pattern that user is sent by sending zone editor, so that actual response user watches this
The idea of ground video file.
Certainly, the method provided herein that barrage is played in local video may further comprise: to comprising institute
It states before sending the barrage information in the local video file of header file MD5 value, specific barrage information is filtered processing.
For example, can be filtered to uncultivated barrage information, keyword filtration can be used in the method for filtering, so that comprising having set
The barrage of keyword is not shown in local video file, to improve the barrage information civilization degree played in local video.
Embodiment 2
Shown in Figure 2 is a kind of specific embodiment of herein described system that barrage is played in local video, should
System includes: header file processing module 10, same video identification module 20, with piece user collection module 30, the collection of barrage information
Module 40, barrage message processing module 50 and barrage information sending module 60,
The header file processing module 10 presses the header file for intercepting the header file of local video file
It contracts and generates corresponding header file MD5 value, using the header file MD5 value as the unique identification mark of the local video file
Know;
The same video identification module 20 for identification and collects the local video text with the header file MD5 value
Part forms video library;
The same piece user collection module 30, it is all in any local locally having viewed in the video library for collecting
The user of video file establishes and gathers with piece user;
The barrage information collection module 40, collect in the same piece user set each user by barrage sending zone to
The barrage information that the local video file is sent, and by the header file MD5 value of the local video file and watched described
The barrage information binding that the user of any local video file sends in video library is uploaded to barrage message processing module;
The barrage message processing module 50, for after binding the header file MD5 value and the barrage information into
Row parsing, the header file MD5 value and the barrage information corresponding with the header file MD5 value after getting unbundlings, and
The header file MD5 value and the barrage information are stored into barrage information sending module;
The barrage information sending module 60, for the barrage information of storage to be sent to the institute in the video library
Have in local video file and is shown.
In the above-mentioned system for playing barrage in local video provided herein, header file processing module 10 can be cut
It gets the header file of local video resource and header file compression is generated into corresponding unique header file MD5 value, same video is known
Other module 20 can be collected into all local video resources with header file MD5 value based on same header file MD5 value.Together
One video identification module 20 forms video library after identifying the local video file based on same header file MD5 value, and then makes
The user for having viewed any local video file in video library can be collected into piece user collection module 30 by obtaining, and established and used with piece
Family set.Further, the barrage information that barrage information collection module 40 sends each user in same piece user set is received
Collection, header file MD5 value and barrage information after 50 pairs of barrage message processing module bindings are handled, are finally sent out by barrage information
Send module 60 that will be shown in all local video files that barrage information is sent in video library, to realize in local
Barrage is played in video file.
The system that barrage is played in local video in the application, further comprise: barrage information playing time calculates
Module,
The barrage information playing time computing module is broadcast for calculating the barrage information in the local video file
Corresponding playing time during putting, so that the barrage information matches with video-frequency playing content.
Further, above-mentioned barrage information playing time computing module is used for:
It records and passes through each institute that barrage sending zone is sent to the local video file with each user in piece user set
State the frame value of barrage information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file is played to
When the frame value of the corresponding video frame of the barrage information, barrage information corresponding with the frame value is sent to each described local regard
Frequency file is shown.
Barrage information is matched with video-frequency playing content, when being played to a certain section of video content, is popped up corresponding
Barrage information is conducive to the barrage information content of other users when reaction this section of video of viewing, is more advantageous to exchange.
Above-mentioned barrage information sending module 60 is further used for that the barrage information of storage the video will be sent to
In all local video files in library, and the barrage information is shown according to corresponding playing time.So side
Formula, user can see the corresponding barrage of this section of video content when watching a certain section of content of local video, reach
The effect same of line viewing barrage video.
The system that barrage is played in local video in the application, further comprise: barrage information play position is arranged
Module,
The barrage information play position setup module is broadcast for each barrage information to be arranged in the local video file
Corresponding play position during putting, so that the barrage information is shown in the play position of setting.In this manner, with
Family can see the corresponding barrage of this section of video content when watching a certain section of content of local video, reach online viewing
The effect same of barrage video.
Barrage information in the application is at least can include: barrage content and barrage pattern.Above-mentioned barrage content and barrage sample
Formula can be the original barrage content and pattern that user is sent by sending zone editor, so that actual response user watches this
The idea of ground video file.
Certainly, the system provided herein that barrage is played in local video may further comprise: barrage information mistake
Filter module, the barrage information filtering module, for sending institute into the local video file comprising the header file MD5 value
Before stating barrage information, specific barrage information is filtered processing.For example, uncultivated barrage information can be filtered,
Keyword filtration can be used in the method for filtering, so that the barrage comprising the keyword set is shown not in local video file
Show, to improve the barrage information civilization degree played in local video.
Embodiment 3
A kind of present invention presented below plays the Application Example of the method for barrage in local video, specifically includes:
Step 201, the header file for intercepting local video file carry out the header file to be compressed into zip packet, and generation pair
The header file MD5 value answered, using the header file MD5 value as the unique identifier of the local video file;
The application is existing to intercept the header file of local video file, because header file is the special of local video file
Structure, the probability being destroyed is small, though the filename of local video file is modified as it is all kinds of, header file also will keep
It is constant, therefore header file is set to and judges whether user in the foundation for locally playing same video file.In order to facilitate verification, this Shen
Please after intercepting header file, boil down to zip packet, and MD5 value is generated, as mark.Since header file is unique, life is compressed it
At MD5 value it is also unique, so MD5 value can be used as the unique identifier of local video file.There is local video uniqueness
Judgement after, so that it may be conveniently collected that how many user is locally having viewed the video of same video header file.
Step 202 identifies and collects the local video file with the header file MD5 value, forms video library;
Step 203 collects all users that any local video file in the video library is had viewed in local, establishes
Gather with piece user;
Step 204 collects the barrage information that each user is sent by barrage sending zone in the same piece user set;
Specific barrage information is filtered processing by step 205;
Step 206 calculates barrage information playing time corresponding in the local video file playing process;
Step 207, each barrage information of setting broadcasting position corresponding in the local video file playing process
It sets;
Step 208, by the header file MD5 value of the local video file, watched the local video user send
The barrage information, barrage information play time and the binding of barrage information play position upload;
Step 209, to after binding the header file MD5 value and the barrage information unbinded and store to barrage believe
It ceases in sending module;
The barrage information of storage is sent in all local video files in the video library by step 210, and
The barrage information is shown according to corresponding playing time and corresponding play position.
Above-mentioned barrage information forms local barrage, and local barrage is to establish exchange with the user in piece user set
Circle increases social functions.Example: for user when watching local film, by barrage sending zone, editor thinks the barrage of hair, point
Percussion is sent, the method and system provided herein that barrage is played in local video, by " header file " MD5 of the video
Value, and content, pattern are sent, binding is uploaded to server-side, and server-side formats, and using this MD5 value as one
Key, storage is in the server;MD5 is that the barrage information collected with MD5 value is stored as the effect of key, is issued simultaneously
To all barrage information stored of local video of same MD5 value.Material is thus formed local barrages from uploading to one issued
A process locally sends and watches barrage to realize.
As can be seen from the above embodiments beneficial effect existing for the application is:
First, the method and system provided by the present invention that barrage is played in local video can be truncated to local view
Header file compression is simultaneously generated corresponding unique header file MD5 value by the header file of frequency resource, and then is based on same header file
MD5 value is collected into all local video resources with header file MD5 value, efficiently solves and is difficult in the prior art from ichthyosauru
The problem of identification is essentially same video file in the thousands of kinds of local video files mixed, so that in local view
Being possibly realized for barrage is played in frequency.
Second, the method and system provided by the present invention that barrage is played in local video are being identified based on same
After the local video file of header file MD5 value, video library is formed, and then can be collected into and have viewed any local view in video library
The user of frequency file establishes and gathers with piece user.The barrage information that further each user in same piece user set is sent into
Row is collected, handles, stores and is sent to be shown in the local video file with above-mentioned header file MD5 value, to realize
In local video file play barrage.
Third, the method and system provided by the present invention that barrage is played in local video, realizes in local video
Play the scheme of barrage in file, user watch online barrage video network speed it is bad when, local CDN and P2P net can be passed through
Network downloads local barrage and carries out video playing, to reach the effect same of online viewing barrage video.
It should be understood by those skilled in the art that, embodiments herein can provide as method, apparatus or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
Above description shows and describes several preferred embodiments of the present application, but as previously described, it should be understood that the application
Be not limited to forms disclosed herein, should not be regarded as an exclusion of other examples, and can be used for various other combinations,
Modification and environment, and the above teachings or related fields of technology or knowledge can be passed through within that scope of the inventive concept describe herein
It is modified.And changes and modifications made by those skilled in the art do not depart from spirit and scope, then it all should be in this Shen
It please be in the protection scope of appended claims.
Claims (10)
1. a kind of method for playing barrage in local video characterized by comprising
The header file, is compressed and is generated corresponding header file MD5 value, by institute by the header file for intercepting local video file
State unique identifier of the header file MD5 value as the local video file;
The local video file with the header file MD5 value is identified and collected, video library is formed;
All users for having viewed any local video file in the video library in local are collected, establishes and collects with piece user
It closes;
It collects each user in the same piece user set and passes through the barrage that barrage sending zone is sent to the local video file
Information;
By the header file MD5 value of the local video file and the user for watching any local video file in the video library
The barrage information binding sent is uploaded to barrage message processing module;
To after binding the header file MD5 value and the barrage information parse, get unbundlings after the header file
MD5 value and the barrage information corresponding with the header file MD5 value, and by the header file MD5 value and the barrage information
It stores into barrage information sending module;
The barrage information of storage is sent in all local video files in the video library and is shown.
2. the method for barrage is played in local video according to claim 1, which is characterized in that further comprise:
Barrage information playing time corresponding in the local video file playing process is calculated, so that the barrage
Information matches with video-frequency playing content.
3. the method for barrage is played in local video according to claim 2, which is characterized in that
Barrage information playing time corresponding in the local video file playing process is calculated, further are as follows:
It records and passes through each bullet that barrage sending zone is sent to the local video file with each user in piece user set
The frame value of curtain information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file be played to it is described
When the frame value of the corresponding video frame of barrage information, barrage information corresponding with the frame value is sent to each local video text
Part is shown.
4. the method for barrage is played in local video according to claim 2, which is characterized in that
The barrage information of storage is sent in all local video files in the video library and is shown, further
Are as follows:
The barrage information of storage is sent in all local video files in the video library, and the barrage is believed
Breath is shown according to corresponding playing time.
5. the method for barrage is played in local video according to claim 1, which is characterized in that further comprise:
It will include that uncultivated barrage is believed before all local video files into the video library send the barrage information
Specific barrage information including breath is filtered processing.
6. a kind of system for playing barrage in local video characterized by comprising header file processing module, same video
Identification module sends mould with piece user collection module, barrage information collection module, barrage message processing module and barrage information
Block,
The header file is compressed and is given birth to for intercepting the header file of local video file by the header file processing module
At corresponding header file MD5 value, using the header file MD5 value as the unique identifier of the local video file;
The same video identification module for identification and is collected the local video file with the header file MD5 value, is formed
Video library;
The same piece user collection module, it is all in any local video text locally having viewed in the video library for collecting
The user of part establishes and gathers with piece user;
The barrage information collection module passes through barrage sending zone to institute for collecting each user in the same piece user set
The barrage information of local video file transmission is stated, and by the header file MD5 value of the local video file and watched the view
The barrage information binding that the user of any local video file sends in frequency library is uploaded to barrage message processing module;
The barrage message processing module, for after binding the header file MD5 value and the barrage information parse,
The header file MD5 value and the barrage information corresponding with the header file MD5 value after getting unbundlings, and by the head
File MD5 value and the barrage information are stored into barrage information sending module;
The barrage information sending module, for the barrage information of storage to be sent to all locals in the video library
It is shown in video file.
7. the system of barrage is played in local video according to claim 6, which is characterized in that further comprise: barrage
Information playing time computing module,
The barrage information playing time computing module was played for calculating the barrage information in the local video file
Corresponding playing time in journey, so that the barrage information matches with video-frequency playing content.
8. the system of barrage is played in local video according to claim 7, which is characterized in that
Barrage information playing time computing module, is further used for:
It records and passes through each bullet that barrage sending zone is sent to the local video file with each user in piece user set
The frame value of curtain information corresponding video frame in the local video file playing process;
In the video library in the playing process of each local video file, when the local video file be played to it is described
When the frame value of the corresponding video frame of barrage information, barrage information corresponding with the frame value is sent to each local video text
Part is shown.
9. the system of barrage is played in local video according to claim 7, which is characterized in that
The barrage information sending module is further used for the institute being sent to the barrage information of storage in the video library
Have in local video file, and the barrage information is shown according to corresponding playing time.
10. the system of barrage is played in local video according to claim 6, which is characterized in that further comprise: barrage
Information filtering module,
The barrage information filtering module, for sending the barrage letter in all local video files into the video library
Before breath, the specific barrage information including uncultivated barrage information is filtered processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695713.3A CN106210773B (en) | 2016-08-19 | 2016-08-19 | The method and system of barrage are played in local video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610695713.3A CN106210773B (en) | 2016-08-19 | 2016-08-19 | The method and system of barrage are played in local video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210773A CN106210773A (en) | 2016-12-07 |
CN106210773B true CN106210773B (en) | 2019-02-05 |
Family
ID=57523302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610695713.3A Active CN106210773B (en) | 2016-08-19 | 2016-08-19 | The method and system of barrage are played in local video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210773B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108111921B (en) * | 2017-12-22 | 2019-07-02 | 咪咕视讯科技有限公司 | A kind of barrage processing method, electronic equipment and computer readable storage medium |
CN110611839B (en) * | 2018-06-15 | 2021-10-29 | 阿里巴巴(中国)有限公司 | Interactive content processing method, device and storage medium |
CN108989875B (en) * | 2018-07-04 | 2020-12-25 | 北京奇艺世纪科技有限公司 | Method and device for generating bullet screen file |
WO2020097803A1 (en) * | 2018-11-13 | 2020-05-22 | 深圳市欢太科技有限公司 | Overlay comment processing method and apparatus, electronic device, and computer-readable storage medium |
CN111031397A (en) * | 2019-12-05 | 2020-04-17 | 北京奇艺世纪科技有限公司 | Method, device, equipment and storage medium for collecting clip comments |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN102164152A (en) * | 2010-02-23 | 2011-08-24 | 浙江省公众信息产业有限公司 | Method and system for remotely processing files |
CN104661096A (en) * | 2013-11-21 | 2015-05-27 | 深圳市快播科技有限公司 | Video barrage adding method and device, video playing method and video player |
CN105163156A (en) * | 2015-10-12 | 2015-12-16 | 华勤通讯技术有限公司 | Video resuming method, playing devices and system |
CN105763950A (en) * | 2014-12-19 | 2016-07-13 | 中兴通讯股份有限公司 | Bullet screen display method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140012910A1 (en) * | 2012-07-09 | 2014-01-09 | Mobitude, LLC, a Delaware LLC | Video comment feed |
-
2016
- 2016-08-19 CN CN201610695713.3A patent/CN106210773B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101382867A (en) * | 2008-10-28 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Video playing interaction method and terminal |
CN102164152A (en) * | 2010-02-23 | 2011-08-24 | 浙江省公众信息产业有限公司 | Method and system for remotely processing files |
CN104661096A (en) * | 2013-11-21 | 2015-05-27 | 深圳市快播科技有限公司 | Video barrage adding method and device, video playing method and video player |
CN105763950A (en) * | 2014-12-19 | 2016-07-13 | 中兴通讯股份有限公司 | Bullet screen display method and system |
CN105163156A (en) * | 2015-10-12 | 2015-12-16 | 华勤通讯技术有限公司 | Video resuming method, playing devices and system |
Also Published As
Publication number | Publication date |
---|---|
CN106210773A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106210773B (en) | The method and system of barrage are played in local video | |
KR101728122B1 (en) | Method for recommending users in social network and the system thereof | |
US9288196B2 (en) | Identity verification via selection of sensible output from recorded digital data | |
US9479845B2 (en) | System and method for auto content recognition | |
WO2016150317A1 (en) | Method, apparatus and system for synthesizing live video | |
KR101377235B1 (en) | System for sequential juxtaposition of separately recorded scenes | |
EP2901631B1 (en) | Enriching broadcast media related electronic messaging | |
US20170105036A1 (en) | Method and system for segment based recording | |
US20160381436A1 (en) | System and method for auto content recognition | |
WO2017148442A1 (en) | Audio and video processing method and apparatus, and computer storage medium | |
CN107231581B (en) | Method and system for video playing and streaming media playing control server | |
KR20140092352A (en) | Content evaluation/playback device | |
CN104780346A (en) | Lightweight video information processing method and system | |
CN107659538A (en) | A kind of method and apparatus of Video processing | |
CN104602119A (en) | Video transcoding and decoding method and device and related information release control method and system | |
TW201225669A (en) | System and method for synchronizing with multimedia broadcast program and computer program product thereof | |
JP6145748B2 (en) | Video playback device and video recording device | |
Khoa et al. | Forensic analysis of tiktok application to seek digital artifacts on android smartphone | |
CN109862375A (en) | Cloud recording and broadcasting system | |
CN109587517A (en) | A kind of playback method and device, server and storage medium of multimedia file | |
WO2021101024A1 (en) | Cloud-based video virtual studio service system | |
CN109587141A (en) | A kind of system and method for remote server evidence obtaining | |
CN111741333B (en) | Live broadcast data acquisition method and device, computer equipment and storage medium | |
CN108881305B (en) | Automatic sample calibration method for encrypted flow identification | |
CN106851344A (en) | The message of intelligent television recommends method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20190705 Granted publication date: 20190205 |
|
PP01 | Preservation of patent right |