CN106131610A - The online broadcasting method of video, equipment and device - Google Patents
The online broadcasting method of video, equipment and device Download PDFInfo
- Publication number
- CN106131610A CN106131610A CN201610493469.2A CN201610493469A CN106131610A CN 106131610 A CN106131610 A CN 106131610A CN 201610493469 A CN201610493469 A CN 201610493469A CN 106131610 A CN106131610 A CN 106131610A
- Authority
- CN
- China
- Prior art keywords
- video
- playlist
- video segment
- resolution version
- played file
- 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.)
- Pending
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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26258—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/74—Browsing; Visualisation therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the present invention provides method, equipment and the device of a kind of online broadcasting video, described method includes: when needing the first resolution version of target video is switched to second resolution version, obtain the second played file that second resolution version is corresponding, second played file includes the second playlist, and playlist is for describing the playing sequence of multiple video segments in target video;Search the position being positioned at the first video segment at caching broadcasting queue end position in the second playlist;According to putting in order of the multiple video segments in position and the second playlist, the second video segment of the progressive download second edition;Label position corresponding with the second video segment in the second playlist adds discontinuous label;According to discontinuous label, playing the second video segment, it is achieved thereby that the seamless switching having between the video data of different resolution, the viewing substantially increasing user is experienced.
Description
Technical field
The present embodiments relate to video technique field, particularly relate to the method and apparatus of a kind of online broadcasting video and answer
The device of the method for video is play online with this.
Background technology
Background content is introduced: along with the development of the network communications technology, the function of network is the most increasing, not only can pass through
Network browsing webpage, Query Information, but also can be by netcast video etc..When playing video, can be by under video
It is downloaded to this locality play out, it is also possible to direct-on-line plays video.Online when playing video, it will usually to have high definition, SD, super clear
It is available for user selects Deng the film source of different resolution.
In existing online broadcasting video technique, it is common that utilize HLS protocol to realize online to switch there is different resolution
The video of rate.Although HLS protocol having bandwidth self-adaption mechanism, it is possible to make the resolution of currently playing video enter with bandwidth
Row self adaptation.But, when user wants the video of manual switching different resolution, this kind of method then cannot meet the need of user
Ask.
Secondly, prior art, when switching the video of different resolution, needs to close currently playing process, re-creates
Play example for one and just can complete the switching of video.Play, owing to re-creating, the operation that example is a heavyweight, need consumption
Expense long time just can complete to play the establishment of example, and therefore, the phenomenon that current video time out can be caused longer occurs,
The viewing greatly reducing user is experienced.
Summary of the invention
The embodiment of the present invention provides method, equipment and the device of a kind of online broadcasting video, exists in order to solve prior art
When switching the video of different resolution, there is time out longer, the problem that image user's viewing is experienced.
The embodiment of the present invention provides a kind of method of online broadcasting video, including:
When needing the first resolution version of target video is switched to second resolution version, obtain second resolution
The second played file that version is corresponding, the second played file includes the second playlist, and playlist is used for describing target and regards
The playing sequence of multiple video segments in Pin;
Search the position being positioned at the first video segment at caching broadcasting queue end position in the second playlist;
According to putting in order of the multiple video segments in position and the second playlist, the progressive download second edition
Second video segment;
Label position corresponding with the second video segment in the second playlist adds discontinuous label;
According to discontinuous label, play the second video segment.
The embodiment of the present invention provides the equipment of a kind of online broadcasting video, including:
First acquisition module, for when needing the first resolution version of target video is switched to second resolution version
Time, obtaining the second played file that second resolution version is corresponding, the second played file includes the second playlist, played column
Table is for describing the playing sequence of multiple video segments in target video;
Search module, be positioned at the first video segment at caching broadcasting queue end position in the second played column for searching
Position in table;
First download module, for putting in order according to the multiple video segments in position and the second playlist,
Second video segment of the progressive download second edition;
Add module, add discontinuous mark for label position corresponding with the second video segment in the second playlist
Sign;
Playing module, for according to discontinuous label, plays the second video segment.
The embodiment of the present invention also provides for the device of a kind of online broadcasting video, and this device includes processor, wherein, and processor
In program perform above-mentioned online broadcasting video method in any one.
What the embodiment of the present invention provided online plays the method and apparatus of video, device, by needs by target video
First resolution version switch to second resolution version in the case of, obtain second resolution version corresponding second broadcasting
File, the second played file includes the second playlist, and playlist is for describing multiple video segments in target video
Playing sequence;Search the position being positioned at the first video segment at caching broadcasting queue end position in the second playlist;
According to putting in order of the multiple video segments in position and the second playlist, the second video of the progressive download second edition
Section;Label position corresponding with the second video segment in the second playlist adds discontinuous label;According to discontinuous mark
Sign, play the second video segment, thus effectively overcome and prior art needs re-establish the drawback playing example, it is achieved
Having the seamless switching between the video data of different resolution, the viewing substantially increasing user is experienced.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the embodiment of the method flow chart that the present invention plays video online;
Fig. 2 is the method specific embodiment flow chart that the present invention plays video online;
Fig. 3 is the apparatus embodiments structural representation that the present invention plays video online;
Fig. 4 is the apparatus embodiments structural representation that the present invention plays video online;
Fig. 5 is the apparatus embodiments structural representation that the present invention plays video online;
Fig. 6 is the apparatus embodiments structural representation that the present invention plays video online.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
With reference to Fig. 1, it is shown that the flow chart of steps of the embodiment of the method for a kind of online broadcasting video of the present invention.At Fig. 1
In:
Step 101, when needing the first resolution version of target video is switched to second resolution version, obtains the
The second played file that two resolution version are corresponding.
Wherein, the second played file includes the second playlist, and playlist is used for describing multiple in target video regarding
The playing sequence of frequency section.
Concrete, the sheet source address download adaptation current network conditions pre-set from user or the broadcasting literary composition of user's request
Part.Sheet source address includes the download address with the played file corresponding to the video data of different resolution.
Step 102, searches and is positioned at the first video segment at caching broadcasting queue end position in the second playlist
Position.
Concrete, after the most often downloading a video segment, all can suitable according in playlist
Sequence, sends successively by video segment to caching broadcasting queue.When the needs switching second edition, search to be positioned to cache and play team
The position in the second playlist of the first video segment at row end position.
Step 103, according to putting in order of the multiple video segments in this position and the second playlist, progressive download
Second video segment of the second edition.
Concrete, according to first video segment position in the second playlist, according to multiple in the second playlist
Putting in order of video segment, continues to download the second video segment of the second edition.
Step 104, label position corresponding with the second video segment in the second playlist adds discontinuous label.
Concrete, each video segment in playlist has attribute and arranges, and wherein, attribute includes mark in arranging
Sign position.The label position corresponding at the second video segment adds discontinuous label DISCONTINUITY.
Step 105, according to discontinuous label, plays the second video segment.
Concrete, during video segment in player plays buffer queue, the label position of the second video segment detected
Put containing discontinuous label DISCONTINUITY, then, after the first currently playing video segment finishes, switch to second
Second video segment of version.
By means of the technical scheme of the above embodiment of the present invention, when needing to be switched by the first resolution version of target video
When becoming second resolution version, the second played file that the present invention is corresponding by obtaining second resolution version;Lookup is positioned at slow
Deposit the position play in the second playlist in the second played file of the first video segment at queue end position;According to
Putting in order of multiple video segments in this position and the second playlist, the second video of the progressive download second edition is cut
Sheet;Label position corresponding with the second video segment in the second playlist adds discontinuous label;According to discontinuous label,
Play the second video segment, thus effectively overcome and prior art needs re-establish the drawback playing example, it is achieved that
Having the seamless switching between the video data of different resolution, the viewing substantially increasing user is experienced.
In order to be better understood from the technique scheme of the present invention, below in conjunction with a specific embodiment come the present invention upper
State technical scheme to be described in detail.
With reference to such as Fig. 2, it is shown that the flow chart of steps of the online method specific embodiment playing video of the present invention, at figure
In 2:
Step 201: user setup sheet source address.
User, by arranging sheet source address to player, enables player to select to adapt to currently playing from sheet source address
The screen data of environment.In the present embodiment, the video data with 4K resolution is selected to illustrate with acquiescence.User setup
Address is: http://le.com/test.m3u8.Player obtains the screen data with different resolution from this address
Played file download address, in the present embodiment, played file is M3U8 file.
Wherein, the file format that sheet source address is pointed to is as shown in table 1:
Table 1
As shown in table 1, user can pre-set the corresponding relation between bandwidth and different resolution video data.Such as:
If current network environment is bandwidth when being 1500000M, the download address of the video data of corresponding 4K.
Step 202, obtains first played file corresponding with first resolution version.
Concrete, the M3U8Service process in player is excited, from http://le.com/test.m3u8 address
The M3U8 file that middle download 4K video data is corresponding.
Step 203, resolves the first played file, the download address of the multiple video segments in acquisition first resolution version
And first playlist.
Concrete, resolving a M3U8 file by M3U8Service process, M3U8 file includes 4K video data
The download address of multiple video segments and for determining the playlist of playing sequence.Notice Livesession process.
Step 204, according to download address, downloads and is positioned at the video segment of first position in the first playlist.
According to download address, Livesession process waits the notice that M3U8Service sends.After receiving notice,
From M3U8 process, obtain the download address of the 1.ts video segment being positioned at first position in index list, and download this 1.ts
Video segment.
Step 205, parsing video segment, the video segment after resolving sends to caching broadcasting queue etc. to be played.
1.ts video segment is resolved by Livesession process, parses voice data and video data, and will solve
Voice & Video data after analysis send extremely caching broadcasting queue and wait that decoder reads and plays.
Step 206, according to putting in order of the multiple video segments in the first playlist, downloads next video and cuts
Sheet, and repeat a upper analyzing step.
After 1.ts is parsed, according to putting in order of the multiple video segments in index list, download 2.ts video
Section, and repeat step 205, after i.e. 2.ts being resolved, continue to download 3.ts and successively multiple video segments be downloaded and solve
Analysis.
Step 207, if the network bandwidth changes after the first video segment sends extremely caching broadcasting queue, then root
According to current network bandwidth, obtain the second played file matched with current network bandwidth.
BandwidthEstimator process monitors the network bandwidth in real time, in the present embodiment, if downloaded
N.ts video segment, and n.ts section is sent to caching broadcasting queue, now, monitor the network bandwidth and drop from 1500000M
To 1000000M.BandwidthEstimator monitoring the process there occurs change to the network bandwidth, sends out broadcast notice
M3U8Service process.
M3U8Service process has notice, and detects that the network bandwidth is by the near 1000000M of 1500000M.Then this
Time, need the 1080P video data that currently playing 4K video data is switched to match with the 1000000M network bandwidth.Then
M3U8Service process will download the M3U8 file of 1080P video data.Enter step 209.
Step 208, if receive video switching command, then basis being sent by the first video segment after buffer queue
Video switching command, obtains the second played file.
In the present embodiment, if having downloaded n.ts video segment, and n.ts section is sent to caching broadcasting
In queue, now, user actively specifies and 4K video data is switched to 1080P video data.SetParms process receives video
Switching command, and it is sent to m3u8Service process.M3u8Service process, according to video switching command, is downloaded 1080P and is regarded
The M3U8 file of frequency evidence.Enter step 209.
Step 209, resolves the second played file, the download address of the multiple video segments in acquisition second resolution version
And second playlist.
M3U8Service process resolves the M3U8 file of 1080P video data, obtains the multiple of 1080P video data and regards
The download address of frequency section and playlist.
Step 210, searches and is positioned at the first video segment at caching broadcasting queue end position in the second playlist
Position.
The n.ts video segment being positioned at tail of the queue position in the lookup current cache broadcasting queue of M3U8Service process is being broadcast
Emplace the position in table.In the present embodiment, the n-th sequential bits during n.ts is positioned at playlist.
Step 211, according to putting in order of the multiple video segments in position and the second playlist, progressive download
Second video segment of two versions.
Concrete, M3U8Service process puts in order according to the multiple video segments in playlist, (n+1)th
Discontinuous label DISCONTINUITY is added at the label position that individual video segment is corresponding.
Step 212, according to discontinuous label, plays the second video segment.
Concrete, Livesession process, putting in order according to the multiple video segments in the second playlist, depends on
During the secondary multiple video segments play in caching broadcasting queue, playing n.ts video segment and i.e. will play n+
During 1.ts video segment, detect that the label position that n+1.ts cuts into slices includes discontinuous label DISCONTINUITY, then
Livesession process is known by this label position needs the 4K video data by currently playing to switch to 1080P video data,
Relevant parameter is revised as the parameter corresponding with 1080P by Livesession process simultaneously, and commences play out the second of 1080P and regard
Frequency section.
Then, similar with step 204-206, same repeated downloads and analyzing step, thus complete the video of 1080P is cut
The download of sheet and broadcasting.
By means of the technical scheme of the above embodiment of the present invention, the present invention is worked by multithreading simultaneously, thus effectively
Overcome and prior art needs re-establish the drawback playing example, it is achieved that have between the video data of different resolution
Seamless switching.Additionally, the present invention can also utilize HLS protocol manually to specify the video data of switching different resolution user
In the case of, it is achieved the seamless switching that Online Video is play, the viewing substantially increasing user is experienced.
With reference to Fig. 3, it is shown that the structured flowchart of the equipment of a kind of online broadcasting video of the present invention, specifically can include as follows
Module:
First acquisition module 31, for when needing the first resolution version of target video is switched to second resolution version
In this time, obtaining the second played file that second resolution version is corresponding, the second played file includes the second playlist, plays
List is for describing the playing sequence of multiple video segments in target video.
Searching module 32, the first video segment being positioned at caching broadcasting queue end position for lookup is play second
Position in list.
First download module 33, suitable for the arrangement according to the multiple video segments in position and the second playlist
Sequence, the second video segment of the progressive download second edition.
Add module 34, add for label position corresponding with the second video segment in the second playlist discontinuous
Label.
Playing module 35, for according to discontinuous label, plays the second video segment.
With reference to Fig. 4, in a preferred embodiment of the invention, on the basis of Fig. 3, online broadcasting of the present invention regards
The equipment of frequency can also include the second acquisition module 41, for obtaining first played file corresponding with first resolution version.
First parsing module 42, for resolving the first played file, the download of the multiple video segments in acquisition first resolution version
Address and the first playlist, wherein, putting in order and the second played column of the multiple video segments in the first playlist
Putting in order of multiple video segments in table is identical.Second download module 43, for according to download address, downloads and is positioned at first
The video segment of first position in playlist.Second parsing module 44, is used for resolving video segment, the video after resolving
Section sends to caching broadcasting queue etc. to be played.3rd download module 45, for regarding according to multiple in the first playlist
Putting in order of frequency section, downloads next video segment, polyphony the second parsing module 44 of laying equal stress on.
With reference to Fig. 5, in a preferred embodiment of the invention, on the basis of Fig. 3, the first acquisition module 31 also may be used
To include the first acquisition submodule 51, if sending out for the network bandwidth after the first video segment is sent extremely caching broadcasting queue
Changing, then according to current network bandwidth, obtain the second played file matched with current network bandwidth.First resolves submodule
Block 52, for resolving the second played file, obtains the download address and the of multiple video segments in second resolution version
Two playlists.Second obtains submodule 53, if regarding for receiving after by the first video segment transmission to buffer queue
Frequently switching command, then according to video switching command, obtain the second played file.Second analyzing sub-module 54, for parsing second
Played file, the download address of the multiple video segments in acquisition second resolution version and the second playlist.
With reference to Fig. 6, in a preferred embodiment of the invention, on the basis of Fig. 3, playing module 35 can also wrap
Include the first broadcasting submodule 61, for putting in order according to the multiple video segments in the second playlist, play slow successively
Deposit the multiple video segments play in queue.Detection sub-module 62, for after the first video playback terminates, detects and will broadcast
The label position of the second video segment put contains discontinuous label.Second plays submodule 63, cuts for playing the second video
Sheet.
Also provide for the device of a kind of method applying above-mentioned online broadcasting video in another embodiment of the present invention, should
Device includes processor, can pass through hardware processor (hardware processor) and realize being correlated with in the embodiment of the present invention
Functional module.
For equipment and device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described is simple
Single, relevant part sees the part of embodiment of the method and illustrates.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (11)
1. the method for an online broadcasting video, it is characterised in that including:
When needing the first resolution version of target video is switched to second resolution version, obtain described second resolution
The second played file that version is corresponding, described second played file includes that the second playlist, described playlist are used for retouching
State the playing sequence of multiple video segments in described target video;
Search the position being positioned at the first video segment at caching broadcasting queue end position in described second playlist;
According to putting in order of the multiple video segments in described position and described second playlist, described in progressive download
Second video segment of two versions;
Label position corresponding with described second video segment in described second playlist adds discontinuous label;
According to described discontinuous label, play described second video segment.
Method the most according to claim 1, it is characterised in that described when needing the first resolution version of target video
When switching to second resolution version, before obtaining the step of played file corresponding to described second resolution version, including:
Obtain first played file corresponding with described first resolution version;
Resolve described first played file, obtain multiple video segments in described first resolution version download address and
First playlist, wherein, putting in order and described second played column of the multiple video segments in described first playlist
Putting in order of multiple video segments in table is identical;
According to described download address, download and be positioned at the video segment of first position in described first playlist;
Resolving described video segment, the described video segment after resolving sends to described caching broadcasting queue etc. to be played;
According to putting in order of the multiple video segments in described first playlist, download next video segment, and repeat
A upper analyzing step.
Method the most according to claim 2, it is characterised in that described when needing the first resolution version of target video
When switching to second resolution version, obtain the step of the second played file corresponding to described second resolution version, including:
If changing, then according to working as described first video segment being sent the network bandwidth after the most described caching plays queue
The front network bandwidth, obtains described second played file matched with described current network bandwidth;
Resolve described second played file, obtain multiple video segments in described second resolution version download address and
Described second playlist.
Method the most according to claim 2, it is characterised in that described when needing the first resolution version of target video
When switching to second resolution version, obtain the step of the second played file corresponding to described second resolution version, including:
If receiving video switching command, then according to described being sent by described first video segment after described buffer queue
Video switching command, obtains described second played file;
Resolve described second played file, obtain multiple video segments in described second resolution version download address and
Described second playlist.
5., according to the method described in claim 3 or 4, it is characterised in that described according to described discontinuous label, play described
The step of two video segments, including:
According to putting in order of the multiple video segments in described second playlist, play described caching successively and play in queue
Multiple video segments;
After described first video playback terminates, detect that the described label position of described second video segment that will play contains
There is described discontinuous label;
Play described second video segment.
6. the equipment of an online broadcasting video, it is characterised in that including:
First acquisition module, is used for when needing the first resolution version of target video is switched to second resolution version,
Obtaining the second played file that described second resolution version is corresponding, described second played file includes the second playlist,
Described playlist is for describing the playing sequence of multiple video segments in described target video;
Search module, be positioned at the first video segment at caching broadcasting queue end position in described second played column for searching
Position in table;
First download module, suitable for the arrangement according to the multiple video segments in described position and described second playlist
Sequence, the second video segment of the second edition described in progressive download;
Add module, add for label position corresponding with described second video segment in described second playlist and do not connect
Continuous label;
Playing module, for according to described discontinuous label, plays described second video segment.
Equipment the most according to claim 6, it is characterised in that described device includes:
Second acquisition module, for obtaining first played file corresponding with described first resolution version;
First parsing module, is used for resolving described first played file, obtains the multiple videos in described first resolution version
The download address of section and the first playlist, wherein, the arrangement of the multiple video segments in described first playlist is suitable
Sequence is identical with putting in order of the multiple video segments in described second playlist;
Second download module, for according to described download address, downloads and is positioned at first position in described first playlist
Video segment;
Second parsing module, is used for resolving described video segment, and the described video segment after resolving sends extremely described caching and broadcasts
Put queue etc. to be played;
3rd download module, for putting in order according to the multiple video segments in described first playlist, downloads next
Individual video segment, described second parsing module of polyphony of laying equal stress on.
Equipment the most according to claim 7, it is characterised in that described first acquisition module includes:
First obtains submodule, if for described first video segment is sending Netowrk tape after the most described caching plays queue
Width changes, then according to current network bandwidth, obtain described second played file matched with described current network bandwidth;
First analyzing sub-module, is used for resolving described second played file, and obtain in described second resolution version multiple regards
The download address of frequency section and described second playlist.
Equipment the most according to claim 7, it is characterised in that described first acquisition module includes:
Second obtains submodule, if for receiving video after by described first video segment transmission extremely described buffer queue
Switching command, then according to described video switching command, obtain described second played file;
Second analyzing sub-module, is used for resolving described second played file, and obtain in described second resolution version multiple regards
The download address of frequency section and described second playlist.
Equipment the most according to claim 8 or claim 9, it is characterised in that described playing module includes:
First plays submodule, for putting in order according to the multiple video segments in described second playlist, broadcasts successively
Put described caching and play the multiple video segments in queue;
Detection sub-module, for after described first video playback terminates, detects described second video segment that will play
Described label position contain described discontinuous label;
Second plays submodule, is used for playing described second video segment.
The device of 11. 1 kinds of online broadcasting videos, described device includes processor, it is characterised in that the journey in described processor
Sequence performs the method playing video online any one of claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610493469.2A CN106131610A (en) | 2016-06-28 | 2016-06-28 | The online broadcasting method of video, equipment and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610493469.2A CN106131610A (en) | 2016-06-28 | 2016-06-28 | The online broadcasting method of video, equipment and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106131610A true CN106131610A (en) | 2016-11-16 |
Family
ID=57284380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610493469.2A Pending CN106131610A (en) | 2016-06-28 | 2016-06-28 | The online broadcasting method of video, equipment and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106131610A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108174280A (en) * | 2018-01-18 | 2018-06-15 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of online playback method of audio and video and system |
CN108574880A (en) * | 2017-03-07 | 2018-09-25 | 合网络技术(北京)有限公司 | Multimedia resource playback method and device |
CN108848414A (en) * | 2018-06-26 | 2018-11-20 | 曜宇航空科技(上海)有限公司 | The switching method and player of a kind of playback method of video, clarity |
CN109168039A (en) * | 2018-10-22 | 2019-01-08 | 武汉斗鱼网络科技有限公司 | Code stream clarity switching method, device, terminal and the readable medium of android system |
CN109495761A (en) * | 2017-09-13 | 2019-03-19 | 杭州海康威视系统技术有限公司 | Video switching method and device |
CN109547813A (en) * | 2018-12-29 | 2019-03-29 | 山东浪潮商用系统有限公司 | A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box |
CN110545483A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Method, device and storage medium for playing media file by switching resolution in webpage |
CN110545467A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file loading control method and device and storage medium |
CN110545482A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Continuous playing method and device during resolution switching and storage medium |
CN110677727A (en) * | 2019-09-10 | 2020-01-10 | 北京奇艺世纪科技有限公司 | Audio and video playing method and device, electronic equipment and storage medium |
CN111277869A (en) * | 2020-02-14 | 2020-06-12 | 腾讯科技(深圳)有限公司 | Video playing method, device, equipment and storage medium |
WO2020151398A1 (en) * | 2019-01-23 | 2020-07-30 | 上海哔哩哔哩科技有限公司 | Method,device and storage medium for seamlessly switching hardware decoding dynamic resolution, |
CN111836076A (en) * | 2019-04-18 | 2020-10-27 | 腾讯科技(深圳)有限公司 | Video resolution switching method and device and electronic equipment |
CN111935361A (en) * | 2020-07-10 | 2020-11-13 | 深圳威尔视觉传媒有限公司 | Video color ring interaction method and device, electronic equipment and storage medium |
CN112468876A (en) * | 2020-12-16 | 2021-03-09 | 湖南新云网科技有限公司 | Resource playing method, device and system and readable storage medium |
CN113438513A (en) * | 2021-06-25 | 2021-09-24 | 深圳Tcl新技术有限公司 | Video resolution switching method, device, equipment and storage medium |
CN113936365A (en) * | 2021-11-25 | 2022-01-14 | 青岛海信智慧生活科技股份有限公司 | Remote unlocking method and device |
CN114615540A (en) * | 2022-05-11 | 2022-06-10 | 北京搜狐新动力信息技术有限公司 | Video resolution switching method and device, storage medium and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238179A (en) * | 2010-04-07 | 2011-11-09 | 苹果公司 | Real-time or near real-time streaming |
US20150271235A1 (en) * | 2014-03-24 | 2015-09-24 | Giraffic Technologies Ltd. | System And Method For Predicting Buffering And Network Shaping |
CN105052160A (en) * | 2012-11-20 | 2015-11-11 | 谷歌技术控股有限责任公司 | Method and apparatus for streaming media content to client devices |
-
2016
- 2016-06-28 CN CN201610493469.2A patent/CN106131610A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238179A (en) * | 2010-04-07 | 2011-11-09 | 苹果公司 | Real-time or near real-time streaming |
CN105052160A (en) * | 2012-11-20 | 2015-11-11 | 谷歌技术控股有限责任公司 | Method and apparatus for streaming media content to client devices |
US20150271235A1 (en) * | 2014-03-24 | 2015-09-24 | Giraffic Technologies Ltd. | System And Method For Predicting Buffering And Network Shaping |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108574880A (en) * | 2017-03-07 | 2018-09-25 | 合网络技术(北京)有限公司 | Multimedia resource playback method and device |
CN109495761A (en) * | 2017-09-13 | 2019-03-19 | 杭州海康威视系统技术有限公司 | Video switching method and device |
CN108174280A (en) * | 2018-01-18 | 2018-06-15 | 湖南快乐阳光互动娱乐传媒有限公司 | A kind of online playback method of audio and video and system |
CN110545482B (en) * | 2018-05-29 | 2022-01-07 | 北京字节跳动网络技术有限公司 | Continuous playing method and device during resolution switching and storage medium |
CN110545483A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Method, device and storage medium for playing media file by switching resolution in webpage |
CN110545467A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file loading control method and device and storage medium |
CN110545482A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Continuous playing method and device during resolution switching and storage medium |
US10924801B2 (en) | 2018-05-29 | 2021-02-16 | Beijing Bytedance Network Technology Co., Ltd. | Method and device for playing media file while switching resolution in webpage and storage medium |
CN110545483B (en) * | 2018-05-29 | 2021-08-10 | 北京字节跳动网络技术有限公司 | Method, device and storage medium for playing media file by switching resolution in webpage |
CN108848414A (en) * | 2018-06-26 | 2018-11-20 | 曜宇航空科技(上海)有限公司 | The switching method and player of a kind of playback method of video, clarity |
CN109168039A (en) * | 2018-10-22 | 2019-01-08 | 武汉斗鱼网络科技有限公司 | Code stream clarity switching method, device, terminal and the readable medium of android system |
CN109547813A (en) * | 2018-12-29 | 2019-03-29 | 山东浪潮商用系统有限公司 | A kind of method of unaware switching clarity when playing HLS video flowing on Android set-top box |
WO2020151398A1 (en) * | 2019-01-23 | 2020-07-30 | 上海哔哩哔哩科技有限公司 | Method,device and storage medium for seamlessly switching hardware decoding dynamic resolution, |
CN111836076A (en) * | 2019-04-18 | 2020-10-27 | 腾讯科技(深圳)有限公司 | Video resolution switching method and device and electronic equipment |
CN111836076B (en) * | 2019-04-18 | 2023-01-20 | 腾讯科技(深圳)有限公司 | Video resolution switching method and device and electronic equipment |
CN110677727A (en) * | 2019-09-10 | 2020-01-10 | 北京奇艺世纪科技有限公司 | Audio and video playing method and device, electronic equipment and storage medium |
CN111277869A (en) * | 2020-02-14 | 2020-06-12 | 腾讯科技(深圳)有限公司 | Video playing method, device, equipment and storage medium |
CN111277869B (en) * | 2020-02-14 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Video playing method, device, equipment and storage medium |
CN111935361A (en) * | 2020-07-10 | 2020-11-13 | 深圳威尔视觉传媒有限公司 | Video color ring interaction method and device, electronic equipment and storage medium |
CN112468876A (en) * | 2020-12-16 | 2021-03-09 | 湖南新云网科技有限公司 | Resource playing method, device and system and readable storage medium |
CN113438513A (en) * | 2021-06-25 | 2021-09-24 | 深圳Tcl新技术有限公司 | Video resolution switching method, device, equipment and storage medium |
CN113438513B (en) * | 2021-06-25 | 2023-05-02 | 深圳Tcl新技术有限公司 | Video resolution switching method, device, equipment and storage medium |
CN113936365A (en) * | 2021-11-25 | 2022-01-14 | 青岛海信智慧生活科技股份有限公司 | Remote unlocking method and device |
CN114615540A (en) * | 2022-05-11 | 2022-06-10 | 北京搜狐新动力信息技术有限公司 | Video resolution switching method and device, storage medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106131610A (en) | The online broadcasting method of video, equipment and device | |
CN103686245B (en) | A kind of program request based on HLS protocol and live switching method and apparatus | |
CA2825048C (en) | A method of targeted ad insertion using http live streaming protocol | |
CN103686255B (en) | Video advertisement putting method and device based on HLS protocol | |
CN103391454B (en) | A kind of multithreading method for down loading and device | |
CN108124202B (en) | Method for making stream media server support H L S protocol | |
US10149020B2 (en) | Method for playing a media stream in a browser application | |
CN103607634A (en) | Method for reducing network video ordering terminal user waiting time | |
CN111836112B (en) | Multimedia file output method, device, medium and electronic equipment | |
CN105376612A (en) | Video playing method, media equipment, playing equipment and multimedia system | |
CN104079999A (en) | Video screenshot preview method and system used on smart television | |
KR20150038170A (en) | Just-in-time distributed video cache | |
CN108319708B (en) | Video playing method and device, storage medium and electronic equipment | |
CN105323597B (en) | MP4 document play-back method, treating method and apparatus and play system | |
CN105354288A (en) | Image searching method and apparatus based on video contents | |
CN103414959B (en) | A kind of method and apparatus for accelerating Internet video broadcasting speed | |
CN103763587A (en) | Method and device for playing multimedia data | |
CN105812847A (en) | HLS video live broadcast method, server and system | |
CN108933764A (en) | It is a kind of to realize the method and apparatus for quickly rising and broadcasting | |
CN106658226A (en) | Play method and apparatus | |
US20090172752A1 (en) | Streaming multiple videos in a playlist | |
CN103176996A (en) | Image search method based on image feature information and image search engine server based on image feature information | |
CN105187950A (en) | Video file playing method, equipment and system | |
CN105898392A (en) | Online live video player and method | |
CN105872758A (en) | Intelligent television channel operation and play method and corresponding 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161116 |
|
WD01 | Invention patent application deemed withdrawn after publication |