CN109309880A - Video broadcasting method, device, computer equipment and storage medium - Google Patents
Video broadcasting method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109309880A CN109309880A CN201811166702.1A CN201811166702A CN109309880A CN 109309880 A CN109309880 A CN 109309880A CN 201811166702 A CN201811166702 A CN 201811166702A CN 109309880 A CN109309880 A CN 109309880A
- Authority
- CN
- China
- Prior art keywords
- barrage
- video
- rate
- selected works
- preset
- 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.)
- Granted
Links
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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- 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/4314—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 fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Abstract
The application proposes a kind of video broadcasting method, device, computer equipment and storage medium, wherein method, which includes: acquisition, selects the corresponding barrage file of the video played with user;According to the barrage quantity of target time sections one or more in video described in the barrage file acquisition;The video is controlled in the playback rate of one or more of target time sections according to the barrage quantity.Pass through this method, it can be realized the adjust automatically of video playing rate, it avoids manually performing fast forwarding and fast rewinding operation bring trouble, reduce operating cost, improve the convenience of playback rate control, solve the playback rate for manually adjusting video in the prior art, the technical problem that convenience is poor, operating cost is high.
Description
Technical field
This application involves field of video broadcasting technology more particularly to a kind of video broadcasting method, device, computer equipment and
Storage medium.
Background technique
With the development of internet technology, video display arts are more intelligent.User passes through Web TV or various views
When frequency player watches video, it can be suspended at any time according to self-demand, fast forward and fast reverse video.For example, user is in viewing electricity
When depending on play, the segment dilatory for plot, user can use the modes such as remote controler, mouse, keyboard, touch screen sliding and carry out F.F.
Operation, to adjust the playback rate of video, skips the segment for being not desired to see.
It is mostly that F.F., fast reverse operation realization are manually performed by user however, playing out speed adjust to video at present
, this mode of operation is not convenient enough, and user is needed to be manually operated, and has certain operating cost, poor user experience.
Summary of the invention
The application proposes a kind of video broadcasting method, device, computer equipment and storage medium, for solving the prior art
In manually adjust the playback rate of video, the technical problem that convenience is poor, operating cost is high.
The application one side embodiment proposes a kind of video broadcasting method, comprising:
Obtain barrage file corresponding with the video that user's selection plays;
According to the barrage quantity of target time sections one or more in video described in the barrage file acquisition;
The video is controlled in the playback rate of one or more of target time sections according to the barrage quantity.
The application another aspect embodiment proposes a kind of video play device, comprising:
Module is obtained, for obtaining barrage file corresponding with the video of user's selection broadcasting;
Statistical module, the barrage for target time sections one or more in the video according to the barrage file acquisition
Quantity;
Control module, for controlling the video in one or more of target time sections according to the barrage quantity
Playback rate.
The application another aspect embodiment proposes a kind of computer equipment, comprising: processor and memory;Wherein, institute
Processor is stated by reading the executable program code stored in the memory to run and the executable program code pair
The program answered, for realizing the video broadcasting method as described in the embodiment of the present application.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the video broadcasting method as described in the embodiment of the present application when the program is executed by processor.
The video broadcasting method, device, computer equipment and storage medium of the embodiment of the present application are selected by obtaining with user
The corresponding barrage file of video for selecting broadcasting, according to the barrage number of target time sections one or more in barrage file acquisition video
Amount, and then video is controlled in the playback rate of one or more target time sections according to barrage quantity.Reached as a result, according to
The relevant barrage quantity of video controls the purpose of the playback rate of video, realizes the adjust automatically of video playing rate, keeps away
Exempt to manually perform fast forwarding and fast rewinding operation bring trouble, reduced operating cost, improve the convenience of playback rate control,
Improve user chases after acute experience.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of video broadcasting method provided by the embodiment of the present application;
Fig. 2 is the partial content exemplary diagram of barrage file;
Fig. 3 is the flow diagram of another kind video broadcasting method provided by the embodiment of the present application;
Fig. 4 is the flow diagram of another video broadcasting method provided by the embodiment of the present application;
Fig. 5 is the flow diagram of another video broadcasting method provided by the embodiment of the present application;
Fig. 6 is a kind of structural schematic diagram of video play device provided by the embodiment of the present application;
Fig. 7 is the structural schematic diagram of another kind video play device provided by the embodiment of the present application;And
Fig. 8 is a kind of structural schematic diagram of computer equipment provided by the embodiment of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings the video broadcasting method, device, computer equipment and storage medium of the embodiment of the present application are described.
Fig. 1 is a kind of flow diagram of video broadcasting method provided by the embodiment of the present application, and this method can be applied
In video playback website, video player.For convenient for Unify legislation, following embodiment will be applied to the video broadcasting method
The application is explained in video player, selects the video played to play out speed user by video player
Rate control.
As shown in Figure 1, the video broadcasting method may comprise steps of:
Step 101, barrage file corresponding with the video that user's selection plays is obtained.
With the development of barrage culture, currently, most video websites, video APP etc., support the input of barrage and show
Show.Barrage refers to the comment subtitle that pops up when watching video on network, display same particular point in time in video
Barrage, usual theme having the same, barrage quantity is more, often means that current video pictures have stronger topic
Property.
User can deliver barrage by barrage input frame when watching video at any time, can also open barrage and show function
It can check the barrage that other users are delivered.The announced barrage of user is stored in barrage database, can be with when storing barrage
All barrages for belonging to same video are stored in the same barrage file, in barrage database, different barrage files can
To be distinguished according to the video identifier of corresponding video, video identifier can uniquely determine corresponding video.
In the present embodiment, when user selects to play a certain video in video player, video player can basis
The video identifier of the video obtains the corresponding barrage file of video that broadcasting is currently selected with user from barrage database,
In, it include all barrages relevant to the video that user currently selects in barrage file.For example, the video that user currently selects is
First collection of 25 collection TV series Pilgrimage to the Wests, then video player is according to the video identifier of Pilgrimage to the West, from barrage data
It is obtained and the matched barrage file of the video identifier in library, wherein include the 1st collection to all bullets of the 25th collection in the barrage file
Curtain.
Fig. 2 is the partial content exemplary diagram of barrage file, as shown in Fig. 2, including a plurality of barrage, every bullet in barrage file
Curtain is made of the relevant information (such as the information such as corresponding video selected works mark, timestamp) and the particular content of barrage of barrage.
In a kind of possible implementation of the embodiment of the present application, starting video playing can be voluntarily chosen whether by user
Rate automatic regulating function.For example, " adjust automatically playback rate " function can be arranged in the set interface of video player
Selection switch, alternatively, " adjust automatically playback rate " functional select switch is set in the relevant information display interface of video, when
When user opens the function, if user has selected video, video player, which is obtained, currently selects the video played with user
Corresponding barrage file.It is used hereby it is achieved that user to the autonomous selectivity for automatically controlling video playing rate, is conducive to meet
The individual demand at family promotes user experience.
Step 102, according to the barrage quantity of target time sections one or more in barrage file acquisition video.
It, can be according to barrage after obtaining the corresponding barrage file of video that user currently selects broadcasting in the present embodiment
File counts the barrage quantity of one or more target time sections in video.For example, can be according to every bullet in barrage file
The corresponding information of curtain obtains the barrage quantity of one or more target time sections in video, wherein the corresponding information of every barrage
It can be selected works mark and/or timestamp, at the time of timestamp refers to that barrage occurs in video content, for example video content is broadcast
There is barrage when putting to 23 ' 55 ", then the timestamp of the barrage is 23 ' 55 ".
Wherein, target time section can be the playing duration of a video content, be also possible to broadcasting for a video content
A part of duration is put, for example is used as a target time section for 1/5th of playing duration.
As an example, for the video comprising multiple selected works, target time section can be the broadcasting of each selected works
Duration, i.e., using a selected works in video as a target time section, according in the barrage file and barrage file of acquisition
The corresponding selected works mark of every barrage, can determine the corresponding barrage quantity of each selected works;Alternatively, target time section is also possible to
A part of the playing duration of one selected works, for example, the playing duration of selected works is 40 minutes, when can be a target with 30 seconds
Between section, each selected works are divided into 80 target time sections, then according to every bullet in the barrage file of acquisition and barrage file
The corresponding selected works mark of curtain and timestamp, can determine the barrage quantity for including in every 30 seconds in each selected works.
As an example, video independent for one, target time section can be the one of the playing duration of the video
Part.Such as a film, playing duration is 90 minutes, can be using 1 minute as one target time section, by the electricity
The video content of shadow is divided into 90 target time sections, then according to every barrage pair in the barrage file of acquisition and barrage file
The timestamp answered can determine the barrage quantity for including in every 1 minute in the film.
Step 103, video is controlled in the playback rate of one or more target time sections according to barrage quantity.
In the present embodiment, it is determined that, can be according to each in video after the barrage quantity of one or more target time sections
The barrage quantity that period includes controls the playback rate of corresponding period.Specifically, barrage quantity is more, and playback rate is got over
Slowly.
As an example, it may be predetermined that barrage amount threshold is obtaining one or more target time sections
After barrage quantity, the barrage quantity of one or more target time sections is compared with barrage amount threshold, by barrage quantity
More than the corresponding video content of target time section of barrage amount threshold, played out according to lower playback rate, by barrage
Quantity is less than the corresponding video content of target time section of barrage amount threshold, plays according to lower playback rate.For example,
The corresponding video content of target time section that barrage quantity is more than barrage amount threshold (is indicated) according to normal play rate with x
Play out, the corresponding video content of the target time section that barrage quantity is less than barrage amount threshold according to 1.5x broadcasting
Rate plays.
As an example, the mapping table that can preset different barrage quantity and playback rate, is obtaining
After the barrage quantity of one or more target time sections, passes through inquiry preset relation table, determine the one or more object times
The playback rate of section.For example, when target time section is a selected works of video, the corresponding relationship of barrage quantity and playback rate
Table can be as shown in table 1;When a part that target time section is the play time of a selected works or an independent video in video
When, the mapping table of barrage quantity and playback rate can be as shown in table 2.
Table 1
Barrage quantity (y) | Playback rate (x) |
y≥6000 | 0.5x |
5000≤y<6000 | x |
3000≤y<5000 | 1.1x |
y<3000 | 1.5x |
Table 2
Barrage quantity (y) | Playback rate (x) |
y≥500 | 0.5x |
300≤y<500 | x |
100≤y<300 | 1.1x |
y<100 | 1.5x |
After the barrage quantity for obtaining target time section, by inquiry table 1 or table 2, that is, target time section pair can determine
The playback rate answered, and then when video content is played to target time section, it is played out according to determining playback rate.
It, can also be according to every barrage in the barrage file of acquisition in a kind of possible implementation of the embodiment of the present application
Content counted in one or more target time sections using semantics recognition technology, barrage content includes the default barrage being intended to
Quantity.Wherein, default intention can be such as F.F., broadcast slowly.For example, be " disagreeable female two, be not desired to see " for barrage content,
The barrage of " plot is too dilatory, wastes time " identifies that these barrages are corresponding and is intended to F.F.;For barrage content be " into
Degree item is walked too fast ", the barrage of " excellent ", identify that these barrages are corresponding and be intended to broadcast slowly.In turn, according to counting
The barrage quantity arrived adjusts the playback rate of one or more target time sections.
Further, for same adjustment mode, different barrage quantity can be set and correspond to different playback rates.
For example, when barrage quantity is less than 100, corresponding playback rate is normal play rate for F.F.;When barrage quantity is not small
In 100 and be no more than 200 when, corresponding playback rate be (1.1* normal play rate);Etc..For broadcasting slowly, when barrage number
When amount is less than 100, corresponding playback rate is normal play rate;It is right when barrage quantity is not less than 100 and is no more than 200
The playback rate answered is (0.9* normal play rate);Etc..
For example, it is assumed that in a certain target time section, the barrage quantity for being identified as F.F. intention is 87, if be identified as
Slowly the barrage quantity for broadcasting intention is 63, then the playback rate of the video of the target time section is normal play rate;If identification
It is 118 to broadcast the barrage quantity of intention slowly, then the playback rate of the video of the target time section is (0.9* normal play rate).
If the barrage quantity for being identified as F.F. intention is 142, the barrage quantity for being identified as broadcasting intention slowly is 105, then the object time
The playback rate of the video of section is (1.1* normal play rate).
The video broadcasting method of the embodiment of the present application, by obtaining barrage text corresponding with the video of user's selection broadcasting
Part according to the barrage quantity of target time sections one or more in barrage file acquisition video, and then is controlled according to barrage quantity
Playback rate of the video in one or more target time sections.Reach as a result, according to barrage quantity relevant to video and has controlled
The purpose of the playback rate of video processed realizes the adjust automatically of video playing rate, avoids and manually performs fast forwarding and fast rewinding behaviour
Make bring trouble, reduce operating cost, improves the convenience of playback rate control, improve user chases after acute experience.
As it was noted above, current Web TV, video player etc. can provide TV series, film, variety show
Etc. different types of video for user's selection, user can watch TV series or variety show with multiple selected works,
Also the independent videos such as viewing film be can choose.In a kind of possible implementation of the embodiment of the present application, when user selects
The video of broadcasting be video collection in a selected works when, for example, user selection be TV play Pilgrimage to the West the 5th collection, can
With the barrage quantity for including according to the selected works, the playback rate of the selected works is controlled, reaches the different selected works for being included according to video
Excellent degree, control the purpose of the playback rate of different selected works.Thus present applicant proposes another video broadcasting method,
Fig. 3 is the flow diagram of another kind video broadcasting method provided by the embodiment of the present application.
As shown in figure 3, the video broadcasting method may comprise steps of:
Step 201, barrage file corresponding with the video that user's selection plays is obtained, wherein user selects the view played
Frequency is a selected works in video collection, and barrage file includes the corresponding selected works mark of every barrage.
In the present embodiment, when user selects the video played as selected works in video collection, video player is obtained
The barrage file corresponding with the video of user's selection broadcasting taken, is barrage file corresponding with video collection, i.e. video playing
It include all barrages corresponding with each selected works in the video collection in the barrage file that device obtains.
Step 202, matched first object is identified according to the corresponding selected works mark screening of every barrage and the selected works of video
Barrage, and determine all first object barrage quantity.
In the present embodiment, in the barrage file that video player obtains, comprising the corresponding selected works mark of every barrage, then may be used
To be identified according to the corresponding selected works of every barrage, is filtered out from barrage file and identify matched first object with the selected works of video
Barrage, and obtain all first object barrage quantity.
For example, the video that user currently selects is the 20th collection of 25 collection TV series Pilgrimage to the Wests, then can will acquire
Barrage file in, every barrage that selected works are identified as 20 is determined as first object barrage, and counts selected works and be identified as 20
Barrage quantity is as first object barrage quantity.
Step 203, judge whether first object barrage quantity is greater than the selected works barrage threshold value of preset video collection.
Wherein, selected works barrage threshold value can be preset, for example, setting selected works barrage threshold value is 5000.
In the present embodiment, it is determined that the corresponding first object barrage quantity of the selected works in video collection that user currently selects
Later, first object barrage quantity can be compared, if first object barrage quantity is greater than preset selected works barrage door
Limit value thens follow the steps 205;Otherwise, step 204 is executed.
In a kind of possible implementation of the embodiment of the present application, the selected works barrage threshold value of video collection can also basis
The barrage quantity for including in the corresponding barrage file of the video collection is determined.It specifically, can be first according to every barrage packet
The selected works mark contained obtains the corresponding barrage quantity of each selected works in video collection, then calculates the flat of the corresponding barrage quantity of each selected works
Resulting average value is determined as the selected works barrage threshold value of video collection by mean value.Thereby, it is possible to selected works are targetedly arranged
Barrage threshold value, thus improve playback rate control accuracy, avoid selected works barrage threshold value excessive to a certain extent or
Too small to cause user to miss perhaps to chase after acute the problem of time-consuming in excellent selected works, further promote user chases after acute experience.
Step 204, preset first rate corresponding with first object barrage quantity is obtained, and is played according to first rate
The full content of video.
Step 205, preset the second rate corresponding with first object barrage quantity is obtained, and is played according to the second rate
The entire content of video, wherein the second rate is less than first rate.
In the present embodiment, when compare know first object barrage quantity be less than or equal to selected works barrage threshold value when, then obtain
Preset first rate corresponding with first object barrage quantity, and according to the full content of first rate broadcasting video;When than
When relatively knowing that first object barrage quantity is greater than selected works barrage threshold value, then obtain preset corresponding with the first barrage destination number
The second rate, and according to the second rate play video entire content, wherein the second rate be less than first rate.
For example, it is assumed that the corresponding relationship of preset first object barrage quantity and playback rate are as follows: first object barrage number
Amount is greater than selected works barrage threshold value, playback rate x;First object barrage quantity is less than or equal to selected works barrage threshold value, plays
Rate is 1.5x.Assuming that the selected works that user currently selects are that Pilgrimage to the West the 5th collects, the corresponding first object barrage quantity of the selected works
It is 3700, selected works barrage threshold value is 3500, then can determine that the corresponding first rate of first object barrage quantity is x, video
Player plays the full content that Pilgrimage to the West the 5th collects according to the playback rate of x.
The video broadcasting method of the present embodiment is a selected works in video collection when user selects the video played, leads to
It crosses and matched first object barrage is identified according to the corresponding selected works mark screening of every barrage and the selected works of video, and determine all
First object barrage quantity, and then first object barrage quantity and the selected works barrage threshold value of preset video collection are compared
Compared with obtaining preset with first object barrage quantity pair when first object barrage quantity is less than or equal to selected works barrage threshold value
The first rate answered, and according to the whole of first rate broadcasting video, when first object barrage quantity is greater than selected works barrage thresholding
Value, then obtain preset the second rate corresponding with the first barrage destination number, and the second rate is less than first rate, and according to the
Two rates play the entire content of video, have reached the playback rate that the selected works are controlled according to the barrage quantity of selected works as a result,
Purpose realizes the adjust automatically of the playback rate to different selected works.
Video broadcasting method disclosed in the present application can also currently select user the video played, according to video content
Excellent degree, adjust video in different video segment playback rate so that user efficiently chase after play while, do not miss essence
Color video clip.
Fig. 4 is the flow diagram of another video broadcasting method provided by the embodiment of the present application.
As shown in figure 4, the video broadcasting method may comprise steps of:
Step 301, barrage file corresponding with the video that user's selection plays is obtained, wherein user selects the view played
Frequency is a selected works in video collection, and barrage file includes the corresponding selected works mark of every barrage and timestamp.
Step 302, it identifies and presets according to the selected works of the corresponding selected works mark of every barrage and timestamp screening and video
The matched second target barrage of when segment identification, and determine all second target barrage quantity.
Wherein, segment identification can be preset when, for example, for each selected works in video collection, it can be by each choosing
Collection is divided into multiple periods, and to each period with it is unique when segment identification be marked.
In the present embodiment, in the barrage file that video player obtains, comprising every barrage corresponding selected works mark and when
Between stab, according to the corresponding selected works of every barrage and timestamp, the view currently selected with user can be filtered out from barrage file
The selected works mark of frequency and it is preset when the matched second target barrage of segment identification, and segment identification corresponding all the when determining each
Two target barrage quantity.
For example, it is assumed that the playing duration of each selected works of 25 collection TV series Pilgrimage to the Wests is 40 minutes, it was with 30 seconds
One period, each selected works are divided into 80 periods, and the when segment identification of each period is followed successively by 1~80, i.e., each
The period that 0 ' 0 "~0 ' 30 " period is identified as 1,0 ' 31 "~1 ' 00 " in selected works is identified as 2, and so on, 39 ' 31 "~40 '
00 " period is identified as 80.Assuming that the selected works that user currently selects are that Pilgrimage to the West the 5th collects, in the barrage file of acquisition, wherein
The corresponding selected works of one barrage are identified as 5, and timestamp 0 ' 21 " then can determine time identifier 1 of the barrage and the 5th concentration
Match, which is one of them second target barrage that the 5th concentrative time interval is identified as in 1 video clip.According to such side
Formula, can be filtered out from barrage file the 5th concentration with it is each when segment identification distinguish matched all second target barrages, and needle
To it is each when segment identification, the quantity with the matched all second target barrages of segment identification when this is counted, as segment identification when this
The second target barrage quantity.
Step 303, the selected works mark and timestamp for including according to every barrage obtain and video in each preset unit when
The corresponding barrage quantity of section.
The video collection for for one including multiple selected works can be with after obtaining the corresponding barrage file of the video collection
Every barrage in barrage file is parsed, the selected works mark and timestamp that every barrage includes, and then basis are extracted
Selected works that every barrage includes mark and timestamp obtain barrage quantity corresponding with preset unit time period each in video.
Wherein, preset unit time period can be preset, for example, the setting unit period when it is 10 seconds a length of, be with 10 seconds
The each selected works for including in video collection are divided into multiple unit time periods by one period.In turn, according to every in barrage file
The corresponding selected works mark of barrage and timestamp, can determine the barrage quantity for including in every 10 seconds in each selected works.
It should be noted that the duration of unit time period and the duration of preset period may be the same or different, also
It is to say, when determining the corresponding barrage quantity of each preset unit time period and determining the second target barrage quantity, when being carried out to selected works
Between section when dividing used duration it is different, for example, will be selected with 30 seconds for a period when determining the second target barrage quantity
Collection is divided into multiple preset periods, and when determining the corresponding barrage quantity of each preset unit time period, when with 10 seconds being one
Between section selected works are divided into multiple unit time periods.Preferably, the duration of unit time period is identical as the duration of preset period, to protect
Demonstrate,prove the accuracy of playback rate control.
Step 304, the average value for calculating the corresponding barrage quantity of each preset unit time period, determines the video barrage of video
Threshold value.
In the present embodiment, it is determined that in each selected works of video collection after the corresponding barrage quantity of each preset unit time period,
Resulting average value is determined as video by the average value that can further calculate the corresponding barrage quantity of each preset unit time period
Video barrage threshold value.
It should be noted that can be according only to the corresponding barrage of preset unit time period each in the selected works that user currently selects
Quantity determines the corresponding video barrage threshold value of the selected works, alternatively, can also be according to each default of selected works all in video selected works
The corresponding barrage quantity of unit time period, determine the corresponding video barrage threshold value of all selected works, that is, determine that video collection is corresponding
Video barrage threshold value.
Step 305, judge whether the second target barrage quantity is greater than the video barrage threshold value of preset video.
It, can will be in the selected works currently selected with user after obtaining the video barrage threshold value of video in the present embodiment
The matched second target barrage quantity of segment identification is compared with video barrage threshold value when each preset, if the second target bullet
Curtain quantity is greater than video barrage threshold value, thens follow the steps 307;Otherwise, step 306 is executed.
Herein it should be noted that preset video barrage threshold value can also be preset, such as setting video barrage
Threshold value is 300,400 etc., to simplify the calculation process of video player, reduces processing load.
Step 306, preset third speed corresponding with the second target barrage quantity is obtained, and is played according to third speed
In video with when the corresponding video clip of segment identification.
Step 307, preset fourth rate corresponding with the second target barrage quantity is obtained, and is played according to fourth rate
In video with when the corresponding video clip of segment identification, wherein fourth rate is less than third speed.
In the present embodiment, the second target barrage quantity is compared with the video barrage threshold value of preset video, when
Compare when knowing that the second target barrage quantity is less than or equal to video barrage threshold value, then obtains preset with the second target barrage number
Measure corresponding third speed, and according to third speed play in video with when the corresponding video clip of segment identification;Know when comparing
Second target barrage quantity is greater than video barrage threshold value, then obtains preset four-speed corresponding with the second target barrage quantity
Rate, and according to fourth rate play in video with when the corresponding video clip of segment identification, wherein fourth rate is less than third speed
Rate.
For example, it is assumed that the corresponding relationship of preset second target barrage quantity and playback rate are as follows: the second target barrage number
Amount is greater than video barrage threshold value, playback rate 0.5x;Second target barrage quantity is less than or equal to video barrage threshold value, broadcasts
Putting rate is x.Assuming that the selected works that user currently selects are that Pilgrimage to the West the 5th collects, concentrative time interval is selected to identify 1 matched second with this
Target barrage quantity be 330, with when the matched second target barrage quantity of segment identification 2 be 270, video barrage threshold value be 300,
When then video player plays the collection of Pilgrimage to the West the 5th, the corresponding piece of video of segment identification 1 when being played according to the playback rate of 0.5x
Section, the corresponding video clip of segment identification 2 when being played according to the playback rate of x.
In a kind of possible implementation of the embodiment of the present application, in the selected works mark for including according to every barrage and time
It, can also more each preset unit time period pair after stamp obtains barrage quantity corresponding with preset unit time period each in video
The barrage quantity answered determines and corresponding first unit time period of maximum barrage quantity, and corresponding with minimum barrage quantity the
Two unit time periods.In turn, video is controlled in the playback rate of one or more target time sections according to barrage quantity, can obtained
Take preset the 5th rate corresponding with maximum barrage quantity, and according to the 5th rate play in video with the first unit time period pair
The video clip answered, and preset the 6th rate corresponding with minimum barrage quantity is obtained, and play and regard according to the 6th rate
Video clip corresponding with the second unit time period in frequency, wherein the 6th rate is greater than the 5th rate.Further, for except the
Other unit period corresponding video clip except one unit time period and the second unit time period, can be according to greater than the 5th rate
But the playback rate less than the 6th rate plays out.
It should be noted that between fourth rate and the 5th rate and the size between third speed and the 6th rate
Relationship is not made comparisons, when the period that is marked of when segment identification for the second target barrage quantity for being greater than video barrage threshold value,
Exactly when the first unit time period corresponding with maximum barrage quantity, segment mark when prespecified can play this according to fourth rate
Know corresponding video clip or prespecified segment identification corresponding video clip when playing this according to the 5th rate, the application
With no restriction to this.
In a kind of possible implementation of the embodiment of the present application, according to the corresponding selected works mark of every barrage and timestamp
Segment identification matched second target barrage when screening and the selected works of video identify and are preset, and determine all second target bullets
After curtain quantity, can also from it is each preset when the corresponding second target barrage quantity of segment identification in filter out maximum second target
Barrage quantity and minimum second target barrage quantity, and the when segment mark with maximum second target barrage quantity is played according to rate v1
Know corresponding video clip, and plays video corresponding with the minimum when segment identification of second target barrage quantity according to rate v2
Segment, segment identification corresponding video clip when playing other in the selected works according to rate v3.Wherein, v1 < v3 < v2.
The corresponding barrage quantity of each preset unit time period by comparing, determining corresponding with maximum barrage quantity first is single
Position period and the second unit time period corresponding with minimum barrage quantity, according to the 5th rate play in video with the first unit time period
Corresponding video clip plays piece of video corresponding with the second unit time period in video according to the 6th rate for being greater than the 5th rate
Section, so that the video clip in same selected works is divided into most wonderful and least wonderful, and according to different broadcastings
Rate plays out, and automatic control to different video segment playback rate can be realized without calculating threshold value, reduce view
The processing load of frequency player.
The video broadcasting method of the present embodiment, by according to the corresponding selected works mark of every barrage and timestamp screening and view
Segment identification matched second target barrage when the selected works of frequency identify and is preset, and determine all second target barrage quantity,
Second target barrage quantity is compared with the video barrage threshold value of preset video, when the second target barrage quantity is less than
When equal to video barrage threshold value, preset third speed corresponding with the second target barrage quantity is obtained, and according to third speed
Rate play in video with when the corresponding video clip of segment identification, when the second target barrage quantity is greater than video barrage threshold value,
Preset fourth rate corresponding with the second target barrage quantity is obtained, wherein fourth rate is less than third speed, and according to the
Four rates play in video with when the corresponding video clip of segment identification.Hereby it is achieved that different views in the same selected works of adjust automatically
The effect of the playback rate of frequency segment has saved user and has chased after the acute time, improved viewing efficiency, improve and chase after acute experience.This
Outside, pass through the selected works that include according to every barrage mark and timestamp acquisition bullet corresponding with preset unit time period each in video
Curtain quantity calculates the average value of the corresponding barrage quantity of each preset unit time period, determines the video barrage threshold value of video, make
Obtaining determining video barrage threshold value has specific aim, is conducive to the accuracy for improving playback rate control.
It should be noted that the selected works play when it is a selected works in video collection that user, which selects the video played,
After, next selected works can be voluntarily jumped to, then the video broadcasting method of earlier figures 3 and embodiment illustrated in fig. 4, is also suitable
In the playback rate for controlling next selected works.
Fig. 5 is the flow diagram of another video broadcasting method provided by the embodiment of the present application.
As shown in figure 5, the video broadcasting method may comprise steps of:
Step 401, barrage file corresponding with the video that user's selection plays is obtained, wherein user selects the view played
Frequency is an independent video, and barrage file includes the corresponding timestamp of every barrage.
Wherein, independent video is such as film, MV etc..
Step 402, according to the screening of every barrage corresponding timestamp with it is preset in video when segment identification matched second
Target barrage, and determine all second target barrage quantity.
Step 403, the timestamp that includes according to every barrage obtains bullet corresponding with preset unit time period each in video
Curtain quantity.
Step 404, the average value for calculating the corresponding barrage quantity of each preset unit time period, determines the video barrage of video
Threshold value.
It should be noted that the description in the present embodiment to step 402- step 404, it is right in previous embodiment to may refer to
The description of step 302- step 304, realization principle is similar, and difference is only that, segment mark when determining each preset in the present embodiment
When knowing the corresponding barrage quantity of corresponding second target barrage quantity, each preset unit time period, according to every in barrage file
Barrage corresponding timestamp screens barrage, therefore details are not described herein again.
Step 405, judge whether the second target barrage quantity is greater than the video barrage threshold value of preset video.
In the present embodiment, it is determined that the corresponding second target barrage quantity of segment identification and video when each preset in video
After video barrage threshold value, the second target barrage quantity can be compared with video barrage threshold value, if the second mesh
It marks barrage quantity and is greater than video barrage threshold value, then follow the steps 407;Otherwise, step 406 is executed.
Step 406, preset third speed corresponding with the second target barrage quantity is obtained, and is played according to third speed
In video with when the corresponding video clip of segment identification.
Step 407, preset fourth rate corresponding with third target barrage quantity is obtained, and is played according to fourth rate
In video with when the corresponding video clip of segment identification, wherein fourth rate is less than third speed.
In the present embodiment, the second target barrage quantity is compared with video barrage threshold value, knows second when comparing
When target barrage quantity is less than or equal to video barrage threshold value, then preset third corresponding with the second target barrage quantity is obtained
Rate, and according to third speed play in video with when the corresponding video clip of segment identification;The second target barrage is known when comparing
When quantity is greater than video barrage threshold value, then preset fourth rate corresponding with the second target barrage quantity is obtained, and according to
Fourth rate play in video with when the corresponding video clip of segment identification, wherein fourth rate is less than third speed.
In a kind of possible implementation of the embodiment of the present application, obtains and regard in the timestamp for including according to every barrage
It, can also the corresponding barrage number of more each preset unit time period in frequency after the corresponding barrage quantity of each preset unit time period
Amount, determining the first unit time period corresponding with maximum barrage quantity, and the second unit time period corresponding with minimum barrage quantity.
To, according to barrage quantity control video in the playback rate of one or more target time sections, it is available it is preset with
Corresponding 5th rate of maximum barrage quantity, and piece of video corresponding with the first unit time period in video is played according to the 5th rate
Section, and obtain preset the 6th rate corresponding with minimum barrage quantity, and according in the 6th rate broadcasting video with second
The corresponding video clip of unit time period, wherein the 6th rate is greater than the 5th rate.Further, for removing the first unit time period
Video clip corresponding with the other unit period except the second unit time period, can be according to greater than the 5th rate but less than the 6th
The playback rate of rate plays out.Reach as a result, and independent video is divided into most wonderful and least wonderful
Purpose, and played out according to different playback rates, it can be realized without calculating threshold value to different video segment broadcasting speed
The automatic control of rate reduces the processing load of video player.
The video broadcasting method of the present embodiment, by according to the screening of every barrage corresponding timestamp with it is preset in video
When the matched second target barrage of segment identification, and determine all second target barrage quantity, by the second target barrage quantity with
The video barrage threshold value of preset video is compared, when the second target barrage quantity is less than or equal to video barrage threshold value
When, obtain preset third speed corresponding with the second target barrage quantity, and according in third speed broadcasting video with the period
Corresponding video clip is identified, when the second target barrage quantity is greater than video barrage threshold value, obtains preset and the second mesh
Mark the corresponding fourth rate of barrage quantity, wherein fourth rate is less than third speed, and according to fourth rate play in video with
When the corresponding video clip of segment identification.Hereby it is achieved that in adjust automatically video the playback rate of different video segment effect,
It has saved user and has chased after the acute time, improved viewing efficiency, improve and chase after acute experience.In addition, by including according to every barrage
Timestamp obtain barrage quantity corresponding with preset unit time period each in video, each preset unit time period of calculating is corresponding
The average value of barrage quantity determines the video barrage threshold value of video, so that the video barrage threshold value determined has specific aim,
Be conducive to improve the accuracy of playback rate control.
In order to realize above-described embodiment, the application also proposes a kind of video play device.
Fig. 6 is a kind of structural schematic diagram of video play device provided by the embodiment of the present application.
As shown in fig. 6, the video play device 50 includes: to obtain module 510, statistical module 520 and control module
530。
Wherein, module 510 is obtained, for obtaining barrage file corresponding with the video of user's selection broadcasting.
Statistical module 520, for the barrage quantity according to target time sections one or more in barrage file acquisition video.
Control module 530, for controlling video in the playback rate of one or more target time sections according to barrage quantity.
Further, in a kind of possible implementation of the embodiment of the present application, it is video that user, which selects the video played,
A selected works in set, barrage file include the corresponding selected works mark of every barrage.To, in the present embodiment, statistical module
520 are specifically used for identifying matched first object barrage according to the corresponding selected works mark screening of every barrage and the selected works of video,
And determine all first object barrage quantity.Control module 530 is specifically used for first object barrage quantity and preset view
The selected works barrage threshold value of frequency set is compared;Know that first object barrage quantity is less than or equal to selected works barrage thresholding if comparing
Value then obtains preset first rate corresponding with first object barrage quantity, and the whole of video is played according to first rate
Content;Know that first object barrage quantity is greater than selected works barrage threshold value if comparing, obtains preset and the first barrage target
Corresponding second rate of quantity, and according to the entire content of the second rate broadcasting video, wherein the second rate is less than the first speed
Rate.The playback rate for controlling the selected works according to the barrage quantity of selected works is achieved the purpose that as a result, has realized to different selected works
The adjust automatically of playback rate.
Wherein, selected works barrage threshold value can be preset, for example, setting selected works barrage threshold value is 5000;Alternatively, can
To be determined according to the barrage quantity for including in the corresponding barrage file of the video collection.
When according to the barrage quantity for including in the corresponding barrage file of the video collection to determine selected works barrage threshold value,
As shown in fig. 7, on the basis of embodiment as shown in Figure 6, which can also include:
Preprocessing module 500, it is corresponding that the selected works mark for including according to every barrage obtains each selected works in video collection
Barrage quantity;The average value for calculating the corresponding barrage quantity of each selected works determines the selected works barrage threshold value of video collection.
The corresponding barrage quantity of each selected works in video collection is obtained by the selected works that include according to every barrage mark;It calculates
The average value of the corresponding barrage quantity of each selected works, determines the selected works barrage threshold value of video collection, can targetedly be arranged
Selected works barrage threshold value avoids selected works barrage threshold value mistake to improve the accuracy of playback rate control to a certain extent
It is big or it is too small cause user to miss perhaps to chase after acute the problem of time-consuming in excellent selected works, further promote user chases after acute experience.
In a kind of possible implementation of the embodiment of the present application, the video play device 50 of the embodiment of the present application can be with
The playback rate of each period is carried out according to the barrage quantity for including in each period for the different periods of a video
Control.
In the present embodiment, statistical module 520 is specifically used for according to the corresponding barrage document screening of every barrage and video
Segment identification matched second target barrage when preset, and determine all second target barrage quantity.
Specifically, in a kind of possible implementation of the embodiment of the present application, it is video set that user, which selects the video played,
A selected works in conjunction, barrage file include the corresponding selected works mark of every barrage and timestamp.Then, in the present embodiment, statistics
Module 520 is specifically used for being identified according to the selected works of every barrage corresponding selected works mark and timestamp screening and video and preset
When the matched second target barrage of segment identification, and determine all second target barrage quantity.
In a kind of possible implementation of the embodiment of the present application, it is an independent video that user, which selects the video played,
Barrage file includes the corresponding timestamp of every barrage.Then, in the present embodiment, statistical module 520 is specifically used for according to every bullet
Segment identification matched second target barrage when preset in the corresponding timestamp screening of curtain and video, and determine all second mesh
Mark barrage quantity.
Control module 530 is specifically used for carrying out the second target barrage quantity and the video barrage threshold value of preset video
Compare;Know that the second target barrage quantity is less than or equal to video barrage threshold value if comparing, obtains preset and the second target
The corresponding third speed of barrage quantity, and according to third speed play in video with when the corresponding video clip of segment identification;If than
Relatively know that the second target barrage quantity is greater than video barrage threshold value, then obtains preset corresponding with the second target barrage quantity
Fourth rate, and according to fourth rate play in video with when the corresponding video clip of segment identification, wherein fourth rate is less than the
Three rates.
Preprocessing module 500 is specifically used for according to each preset list in the corresponding barrage file acquisition of every barrage and video
Position period corresponding barrage quantity;The average value for calculating the corresponding barrage quantity of each preset unit time period, determines the view of video
Frequency barrage threshold value.
Specifically, in a kind of possible implementation of the embodiment of the present application, it is video set that user, which selects the video played,
A selected works in conjunction, barrage file include the corresponding selected works mark of every barrage and timestamp.Then, pre- to locate in the present embodiment
When reason module 500 is specifically used for each preset unit in the selected works for including according to every barrage mark and timestamp acquisition and video
The corresponding barrage quantity of section.
In a kind of possible implementation of the embodiment of the present application, it is an independent video that user, which selects the video played,
Barrage file includes the corresponding timestamp of every barrage.Then, in the present embodiment, preprocessing module 500 is specifically used for according to every
Timestamp that barrage includes obtains barrage quantity corresponding with preset unit time period each in video.
Hereby it is achieved that the playback rate of different video segment in the same selected works of adjust automatically or the same independent video
Effect has saved user and has chased after the acute time, improved viewing efficiency, improve and chase after acute experience.
In a kind of possible implementation of the embodiment of the present application, preprocessing module 500 is according to the corresponding bullet of every barrage
After curtain file acquisition barrage quantity corresponding with preset unit time period each in video, can also more each preset unit when
The corresponding barrage quantity of section, determining the first unit time period corresponding with maximum barrage quantity, and it is corresponding with minimum barrage quantity
The second unit time period.At this point, control module 530 can be also used for obtaining preset the 5th speed corresponding with maximum barrage quantity
Rate, and according to the 5th rate play video in video clip corresponding with the first unit time period, and obtain it is preset with it is minimum
Corresponding 6th rate of barrage quantity, and video clip corresponding with the second unit time period in video is played according to the 6th rate,
Wherein, the 6th rate is greater than the 5th rate.
The corresponding barrage quantity of each preset unit time period by comparing, determining corresponding with maximum barrage quantity first is single
Position period and the second unit time period corresponding with minimum barrage quantity, according to the 5th rate play in video with the first unit time period
Corresponding video clip plays piece of video corresponding with the second unit time period in video according to the 6th rate for being greater than the 5th rate
Section, so that the video clip in same selected works or an independent video is divided into most wonderful and least wonderful,
And played out according to different playback rates, without calculate threshold value can be realized to different video segment playback rate from
Dynamic control, reduces the processing load of video player.
It should be noted that the aforementioned video for being also applied for the embodiment to the explanation of video broadcasting method embodiment
Playing device, realization principle is similar, and details are not described herein again.
The video play device of the present embodiment, by obtaining barrage file corresponding with the video of user's selection broadcasting, root
According to the barrage quantity of target time sections one or more in barrage file acquisition video, and then video is controlled according to barrage quantity and is existed
The playback rate of one or more target time sections.Reach as a result, according to barrage quantity relevant to video and has controlled video
Playback rate purpose, realize the adjust automatically of video playing rate, avoid manually perform fast forwarding and fast rewinding operation bring
Trouble, reduce operating cost, improve playback rate control convenience, improve user chases after acute experience.
In order to realize above-described embodiment, the application also proposes a kind of computer equipment.
Fig. 8 is a kind of structural schematic diagram of computer equipment provided by the embodiment of the present application.
As shown in figure 8, the computer equipment 90 includes: processor 910 and memory 920.Wherein, processor 910 passes through
The executable program code that stores is read in memory 920 to run program corresponding with executable program code, for real
Video broadcasting method now as in the foregoing embodiment.
In order to realize above-described embodiment, the application also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon
Computer program is contained, which realizes video broadcasting method as in the foregoing embodiment when being executed by processor.
In order to realize above-described embodiment, the application also proposes a kind of computer program product, when the computer program product
In instruction realize video broadcasting method as in the foregoing embodiment when being executed by processor.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (10)
1. a kind of video broadcasting method characterized by comprising
Obtain barrage file corresponding with the video that user's selection plays;
According to the barrage quantity of target time sections one or more in video described in the barrage file acquisition;
The video is controlled in the playback rate of one or more of target time sections according to the barrage quantity.
2. the method according to claim 1, wherein the user selects the video played in video collection
One selected works, the barrage file include the corresponding selected works mark of every barrage,
The barrage quantity of one or more target time sections in the video according to the barrage file acquisition, including;
Matched first object barrage is identified according to the corresponding selected works mark screening of every barrage and the selected works of the video,
And determine all first object barrage quantity;
It is described that the video is controlled in the playback rate of one or more of target time sections, packet according to the barrage quantity
It includes:
The first object barrage quantity is compared with the selected works barrage threshold value of the preset video collection;
Know that the first object barrage quantity is less than or equal to the selected works barrage threshold value if comparing, obtains preset and institute
The corresponding first rate of first object barrage quantity is stated, and plays the full content of the video according to the first rate;
Know that the first object barrage quantity is greater than the selected works barrage threshold value if comparing, obtains preset with described the
Corresponding second rate of one target barrage quantity, and play according to second rate entire content of the video, wherein institute
The second rate is stated less than the first rate.
3. according to the method described in claim 2, it is characterized in that, by the first object barrage quantity with it is preset described
Before the selected works barrage threshold value of video collection is compared, further includes:
The selected works mark for including according to every barrage obtains the corresponding barrage quantity of each selected works in the video collection;
The average value for calculating the corresponding barrage quantity of each selected works determines the selected works barrage threshold value of the video collection.
4. the method according to claim 1, wherein one in the video according to the barrage file acquisition
The barrage quantity of a or multiple target time sections, comprising:
According to the corresponding barrage document screening of every barrage and the video it is preset when matched second mesh of segment identification
Barrage is marked, and determines all second target barrage quantity;
It is described that the video is controlled in the playback rate of one or more of target time sections, packet according to the barrage quantity
It includes:
The second target barrage quantity is compared with the video barrage threshold value of the preset video;
Know that the second target barrage quantity is less than or equal to the video barrage threshold value if comparing, obtains preset and institute
State the corresponding third speed of the second target barrage quantity, and according to the third speed play in the video with it is described when segment mark
Know corresponding video clip;
Know that the second target barrage quantity is greater than the video barrage threshold value if comparing, obtains preset with described the
The corresponding fourth rate of two target barrage quantity, and according to the fourth rate play in the video with it is described when segment identification pair
The video clip answered, wherein the fourth rate is less than the third speed.
5. according to the method described in claim 4, it is characterized in that, by the second target barrage quantity with it is preset described
Before the video barrage threshold value of video is compared, further includes:
According to the corresponding barrage file acquisition of every barrage barrage corresponding with preset unit time period each in the video
Quantity;
The average value for calculating the corresponding barrage quantity of each preset unit time period, determines the video barrage thresholding of the video
Value.
6. according to the method described in claim 5, it is characterized in that, described according to the corresponding barrage file of every barrage
After obtaining barrage quantity corresponding with preset unit time period each in the video, the method also includes:
Compare the corresponding barrage quantity of each preset unit time period, determine the first unit time period corresponding with maximum barrage quantity,
And the second unit time period corresponding with minimum barrage quantity;
It is described that the video is controlled in the playback rate of one or more of target time sections, packet according to the barrage quantity
It includes:
Preset the 5th rate corresponding with the maximum barrage quantity is obtained, and plays the video according to the 5th rate
In video clip corresponding with first unit time period;
Preset the 6th rate corresponding with the minimum barrage quantity is obtained, and plays the video according to the 6th rate
In video clip corresponding with second unit time period, wherein the 6th rate be greater than the 5th rate.
7. according to the described in any item methods of claim 4-6, which is characterized in that it is video that the user, which selects the video played,
A selected works in set, then the barrage file includes the corresponding selected works mark of every barrage and timestamp, described preset
When segment identification include the video selected works mark and when segment identification;
Alternatively, it is an independent video that the user, which selects the video played, then the barrage file includes that every barrage is corresponding
Timestamp.
8. a kind of video play device characterized by comprising
Module is obtained, for obtaining barrage file corresponding with the video of user's selection broadcasting;
Statistical module, the barrage number for target time sections one or more in the video according to the barrage file acquisition
Amount;
Control module, for controlling the video in the broadcasting of one or more of target time sections according to the barrage quantity
Rate.
9. a kind of computer equipment, which is characterized in that including processor and memory;
Wherein, the processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, for realizing video broadcasting method such as of any of claims 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as video broadcasting method of any of claims 1-7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166702.1A CN109309880B (en) | 2018-10-08 | 2018-10-08 | Video playing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166702.1A CN109309880B (en) | 2018-10-08 | 2018-10-08 | Video playing method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109309880A true CN109309880A (en) | 2019-02-05 |
CN109309880B CN109309880B (en) | 2021-10-22 |
Family
ID=65225454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811166702.1A Active CN109309880B (en) | 2018-10-08 | 2018-10-08 | Video playing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109309880B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889918A (en) * | 2019-03-22 | 2019-06-14 | 清华大学深圳研究生院 | A kind of self-adapting regulation method of instructional video broadcasting speed |
CN110062281A (en) * | 2019-05-29 | 2019-07-26 | 维沃移动通信有限公司 | A kind of playback progress adjusting method and its terminal device |
CN110225405A (en) * | 2019-07-12 | 2019-09-10 | 青岛一舍科技有限公司 | A kind of panoramic video playback method and device |
CN111416996A (en) * | 2020-03-26 | 2020-07-14 | 腾讯科技(深圳)有限公司 | Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium |
CN112004117A (en) * | 2020-09-02 | 2020-11-27 | 维沃移动通信有限公司 | Video playing method and device |
CN112511766A (en) * | 2020-11-23 | 2021-03-16 | 上海明略人工智能(集团)有限公司 | Barrage NLP-based video clipping method and system, electronic equipment and storage medium |
CN112516598A (en) * | 2020-11-20 | 2021-03-19 | 网易(杭州)网络有限公司 | Game service fault processing method, device, server and medium |
CN112565916A (en) * | 2020-11-26 | 2021-03-26 | 厦门理工学院 | Bullet screen display method, bullet screen display device, bullet screen display equipment and computer readable storage medium |
CN112689161A (en) * | 2020-12-22 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Multimedia file playing method, device, system, equipment and storage medium |
CN112887761A (en) * | 2021-01-19 | 2021-06-01 | 深圳聚果科技有限公司 | Video playing method, device, server and storage medium |
CN112911326A (en) * | 2021-01-29 | 2021-06-04 | 平安科技(深圳)有限公司 | Barrage information processing method and device, electronic equipment and storage medium |
CN112969100A (en) * | 2021-03-24 | 2021-06-15 | 西安闻泰信息技术有限公司 | Video playing control method, device, equipment and medium |
CN113347475A (en) * | 2021-05-31 | 2021-09-03 | 北京达佳互联信息技术有限公司 | Method and device for adjusting playing speed of multimedia information |
CN114257874A (en) * | 2020-09-24 | 2022-03-29 | 腾讯科技(深圳)有限公司 | Video playing speed control method and device, electronic equipment and storage medium |
CN115150663A (en) * | 2022-07-01 | 2022-10-04 | 北京奇艺世纪科技有限公司 | Heat curve generation method and device, electronic equipment and storage medium |
CN115209210A (en) * | 2022-07-19 | 2022-10-18 | 抖音视界有限公司 | Method and device for generating information based on bullet screen |
CN115484491A (en) * | 2022-08-31 | 2022-12-16 | 北京奇艺世纪科技有限公司 | Video playing speed control method, device, equipment, system and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727487A (en) * | 2009-12-04 | 2010-06-09 | 中国人民解放军信息工程大学 | Network criticism oriented viewpoint subject identifying method and system |
US20100153184A1 (en) * | 2008-11-17 | 2010-06-17 | Stics, Inc. | System, method and computer program product for predicting customer behavior |
US20140129825A1 (en) * | 2012-11-08 | 2014-05-08 | Morega Systems Inc. | Adaptive video server with fast initialization and methods for use therewith |
CN105578301A (en) * | 2015-12-23 | 2016-05-11 | 武汉斗鱼网络科技有限公司 | Optimization method and device for optimizing transmission length of screen-popping information in live telecast room |
CN105872623A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Control method and system for playing video |
US20170163697A1 (en) * | 2005-12-16 | 2017-06-08 | At&T Intellectual Property Ii, L.P. | Real-time media control for audio and multimedia conferencing services |
CN107105314A (en) * | 2017-05-12 | 2017-08-29 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN107222780A (en) * | 2017-06-23 | 2017-09-29 | 中国地质大学(武汉) | A kind of live platform comprehensive state is perceived and content real-time monitoring method and system |
CN107438204A (en) * | 2017-07-26 | 2017-12-05 | 维沃移动通信有限公司 | A kind of method and mobile terminal of media file loop play |
CN107682750A (en) * | 2017-05-11 | 2018-02-09 | 腾讯科技(北京)有限公司 | Video broadcasting method and device |
CN107872714A (en) * | 2017-10-27 | 2018-04-03 | 咪咕视讯科技有限公司 | A kind of processing method of barrage, terminal device and computer-readable recording medium |
CN107888948A (en) * | 2017-11-07 | 2018-04-06 | 北京小米移动软件有限公司 | Determine method and device, the electronic equipment of video file broadcasting speed |
CN108307230A (en) * | 2018-02-07 | 2018-07-20 | 北京奇艺世纪科技有限公司 | A kind of extracting method and device of video highlight segment |
CN108495149A (en) * | 2018-03-16 | 2018-09-04 | 优酷网络技术(北京)有限公司 | Multimedia content playback method and device |
-
2018
- 2018-10-08 CN CN201811166702.1A patent/CN109309880B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170163697A1 (en) * | 2005-12-16 | 2017-06-08 | At&T Intellectual Property Ii, L.P. | Real-time media control for audio and multimedia conferencing services |
US20100153184A1 (en) * | 2008-11-17 | 2010-06-17 | Stics, Inc. | System, method and computer program product for predicting customer behavior |
CN101727487A (en) * | 2009-12-04 | 2010-06-09 | 中国人民解放军信息工程大学 | Network criticism oriented viewpoint subject identifying method and system |
US20140129825A1 (en) * | 2012-11-08 | 2014-05-08 | Morega Systems Inc. | Adaptive video server with fast initialization and methods for use therewith |
CN105872623A (en) * | 2015-12-14 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Control method and system for playing video |
CN105578301A (en) * | 2015-12-23 | 2016-05-11 | 武汉斗鱼网络科技有限公司 | Optimization method and device for optimizing transmission length of screen-popping information in live telecast room |
CN107682750A (en) * | 2017-05-11 | 2018-02-09 | 腾讯科技(北京)有限公司 | Video broadcasting method and device |
CN107105314A (en) * | 2017-05-12 | 2017-08-29 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN107222780A (en) * | 2017-06-23 | 2017-09-29 | 中国地质大学(武汉) | A kind of live platform comprehensive state is perceived and content real-time monitoring method and system |
CN107438204A (en) * | 2017-07-26 | 2017-12-05 | 维沃移动通信有限公司 | A kind of method and mobile terminal of media file loop play |
CN107872714A (en) * | 2017-10-27 | 2018-04-03 | 咪咕视讯科技有限公司 | A kind of processing method of barrage, terminal device and computer-readable recording medium |
CN107888948A (en) * | 2017-11-07 | 2018-04-06 | 北京小米移动软件有限公司 | Determine method and device, the electronic equipment of video file broadcasting speed |
CN108307230A (en) * | 2018-02-07 | 2018-07-20 | 北京奇艺世纪科技有限公司 | A kind of extracting method and device of video highlight segment |
CN108495149A (en) * | 2018-03-16 | 2018-09-04 | 优酷网络技术(北京)有限公司 | Multimedia content playback method and device |
Non-Patent Citations (2)
Title |
---|
GEORGIOS PALAIOKRASSAS: "Video Annotation with Aggregate Social Network Data", 《2014 IEEE FOURTH INTERNATIONAL CONFERENCE ON BIG DATA AND CLOUD COMPUTING》 * |
卢迪: "移动视频平台新变化的特征、动因与管理对策", 《视听界》 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109889918A (en) * | 2019-03-22 | 2019-06-14 | 清华大学深圳研究生院 | A kind of self-adapting regulation method of instructional video broadcasting speed |
CN109889918B (en) * | 2019-03-22 | 2020-12-29 | 清华大学深圳研究生院 | Self-adaptive adjustment method for teaching video playing speed |
CN110062281A (en) * | 2019-05-29 | 2019-07-26 | 维沃移动通信有限公司 | A kind of playback progress adjusting method and its terminal device |
CN110062281B (en) * | 2019-05-29 | 2021-08-24 | 维沃移动通信有限公司 | Play progress adjusting method and terminal equipment thereof |
CN110225405A (en) * | 2019-07-12 | 2019-09-10 | 青岛一舍科技有限公司 | A kind of panoramic video playback method and device |
CN110225405B (en) * | 2019-07-12 | 2021-06-25 | 青岛一舍科技有限公司 | Panoramic video playing method and device |
CN111416996A (en) * | 2020-03-26 | 2020-07-14 | 腾讯科技(深圳)有限公司 | Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium |
CN111416996B (en) * | 2020-03-26 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Multimedia file detection method, multimedia file playing device, multimedia file equipment and storage medium |
CN112004117A (en) * | 2020-09-02 | 2020-11-27 | 维沃移动通信有限公司 | Video playing method and device |
CN114257874A (en) * | 2020-09-24 | 2022-03-29 | 腾讯科技(深圳)有限公司 | Video playing speed control method and device, electronic equipment and storage medium |
CN114257874B (en) * | 2020-09-24 | 2023-05-12 | 腾讯科技(深圳)有限公司 | Video playing speed control method and device, electronic equipment and storage medium |
CN112516598A (en) * | 2020-11-20 | 2021-03-19 | 网易(杭州)网络有限公司 | Game service fault processing method, device, server and medium |
CN112511766A (en) * | 2020-11-23 | 2021-03-16 | 上海明略人工智能(集团)有限公司 | Barrage NLP-based video clipping method and system, electronic equipment and storage medium |
CN112565916A (en) * | 2020-11-26 | 2021-03-26 | 厦门理工学院 | Bullet screen display method, bullet screen display device, bullet screen display equipment and computer readable storage medium |
CN112689161A (en) * | 2020-12-22 | 2021-04-20 | 北京达佳互联信息技术有限公司 | Multimedia file playing method, device, system, equipment and storage medium |
CN112887761A (en) * | 2021-01-19 | 2021-06-01 | 深圳聚果科技有限公司 | Video playing method, device, server and storage medium |
CN112911326A (en) * | 2021-01-29 | 2021-06-04 | 平安科技(深圳)有限公司 | Barrage information processing method and device, electronic equipment and storage medium |
CN112969100A (en) * | 2021-03-24 | 2021-06-15 | 西安闻泰信息技术有限公司 | Video playing control method, device, equipment and medium |
CN113347475B (en) * | 2021-05-31 | 2023-02-28 | 北京达佳互联信息技术有限公司 | Method and device for adjusting playing speed of multimedia information |
CN113347475A (en) * | 2021-05-31 | 2021-09-03 | 北京达佳互联信息技术有限公司 | Method and device for adjusting playing speed of multimedia information |
CN115150663A (en) * | 2022-07-01 | 2022-10-04 | 北京奇艺世纪科技有限公司 | Heat curve generation method and device, electronic equipment and storage medium |
CN115150663B (en) * | 2022-07-01 | 2023-12-15 | 北京奇艺世纪科技有限公司 | Heat curve generation method and device, electronic equipment and storage medium |
CN115209210A (en) * | 2022-07-19 | 2022-10-18 | 抖音视界有限公司 | Method and device for generating information based on bullet screen |
CN115484491A (en) * | 2022-08-31 | 2022-12-16 | 北京奇艺世纪科技有限公司 | Video playing speed control method, device, equipment, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109309880B (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109309880A (en) | Video broadcasting method, device, computer equipment and storage medium | |
US20210287012A1 (en) | Detection of demarcating segments in video | |
US10547877B2 (en) | Methods and apparatus for identifying media content using temporal signal characteristics | |
US9535988B2 (en) | Blog-based video summarization | |
EP1298542A2 (en) | Multimedia searching and browsing system based on user profile | |
US20080115166A1 (en) | Digital video recorder processing system | |
CN100493132C (en) | Method and apparatus for managing image display | |
US20170034583A1 (en) | Media clip systems and methods | |
CN107888948A (en) | Determine method and device, the electronic equipment of video file broadcasting speed | |
CN105791949B (en) | Method of program recording and device | |
US20030212993A1 (en) | System and method for efficiently managing video files | |
CN102217301A (en) | Method for distributing second multi-media content items in a list of first multi-media content items | |
CN111031349B (en) | Method and device for controlling video playing | |
CN104394433A (en) | Method and device for detecting play times of multimedia file in television channel | |
CN1606746A (en) | Television program recommender with interval-based profiles for determining time-varying conditional probabilities | |
CN106488256B (en) | data processing method and device | |
US11863843B2 (en) | Rewind and fast forward of content | |
JP2010502085A (en) | Method and apparatus for automatically generating a summary of multimedia content items | |
US20030121058A1 (en) | Personal adaptive memory system | |
JP2008022351A (en) | Digest generating device and digest generating method | |
JP2007096560A (en) | User-taste extractor | |
CN104394343A (en) | Target map track and history video synchronous playback control method | |
CN104320704A (en) | Method and device for detecting network television installation states | |
JP2006094018A (en) | Program recommending apparatus, program recommending method, program, and recoding medium with the program recorded | |
Liang et al. | Program segmentation for TV videos |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |